:root {
  --bg: #070907;
  --bg-deep: #050605;
  --surface: #0d100e;
  --surface-soft: #121612;
  --ink: #f0f1eb;
  --ink-soft: #c2c5bd;
  --muted: #858b83;
  --line: rgba(234, 238, 226, 0.15);
  --line-strong: rgba(234, 238, 226, 0.28);
  --acid: #c7ff36;
  --acid-soft: #a6d92b;
  --cool: #9cb8b1;
  --warm: #d6d0c5;
  --font-sans: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", "PingFang SC", sans-serif;
  --font-serif: "Iowan Old Style", "Baskerville", "Songti SC", serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --shell: 1440px;
  --pad: 36px;
  --heading-scale: 1;
  --hero-title-scale: 1;
  --section-scale: 1;
  --hero-offset-y: 0px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    var(--bg);
  background-size: 80px 80px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #0a0c09;
  background: var(--acid);
}

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

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

button {
  color: inherit;
  font: inherit;
}

img,
canvas,
svg {
  display: block;
}

img {
  max-width: 100%;
}

p,
h1,
h2,
h3,
ol,
ul,
dl,
dd {
  margin: 0;
}

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

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #0a0c09;
  background: var(--acid);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.cursor {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}

.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor__dot {
  width: 5px;
  height: 5px;
  background: #fff;
}

.cursor__ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition:
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    background 0.3s var(--ease-out);
}

.cursor.is-hovering .cursor__ring {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.12);
}

.page-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: calc(92px + var(--safe-top));
  padding-top: var(--safe-top);
  padding-inline: var(--pad);
  border-bottom: 1px solid transparent;
  transition:
    height 0.35s var(--ease-out),
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  height: calc(72px + var(--safe-top));
  border-color: var(--line);
  background: rgba(7, 9, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: fit-content;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.brand__mark::before,
.brand__mark::after,
.brand__mark span::before,
.brand__mark span::after {
  position: absolute;
  display: block;
  background: currentColor;
  content: "";
}

.brand__mark::before {
  top: -4px;
  left: 50%;
  width: 1px;
  height: 8px;
}

.brand__mark::after {
  bottom: -4px;
  left: 50%;
  width: 1px;
  height: 8px;
}

.brand__mark span:first-child::before {
  top: 50%;
  left: -4px;
  width: 8px;
  height: 1px;
}

.brand__mark span:first-child::after {
  top: 50%;
  right: -4px;
  width: 8px;
  height: 1px;
}

.brand__mark span:last-child {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(199, 255, 54, 0.55);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.brand__copy strong {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__copy small {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.desktop-nav a span {
  margin-right: 5px;
  color: var(--muted);
  font-size: 0.57rem;
}

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

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  padding: 10px 0 10px 14px;
  font-size: 0.76rem;
  font-weight: 500;
}

.header-cta svg {
  width: 31px;
  height: 31px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.35s var(--ease-out);
}

.header-cta:hover svg {
  color: #080a07;
  background: var(--acid);
  transform: rotate(45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.music-player {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
  background: rgba(7, 9, 7, 0.5);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.music-player:hover,
.music-player[data-state="playing"] {
  color: var(--ink);
  border-color: rgba(199, 255, 54, 0.45);
  background: rgba(199, 255, 54, 0.055);
}

.music-player__bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 22px;
  height: 22px;
}

.music-player__bars i {
  display: block;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: var(--acid);
  transform-origin: center;
}

.music-player[data-state="playing"] .music-player__bars i {
  animation: music-bar 0.85s ease-in-out infinite alternate;
}

.music-player[data-state="playing"] .music-player__bars i:nth-child(2) {
  animation-delay: -0.45s;
  animation-duration: 0.65s;
}

.music-player[data-state="playing"] .music-player__bars i:nth-child(3) {
  animation-delay: -0.2s;
  animation-duration: 0.95s;
}

.music-player[data-state="playing"] .music-player__bars i:nth-child(4) {
  animation-delay: -0.6s;
  animation-duration: 0.72s;
}

.music-player__copy {
  display: flex;
  min-width: 112px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.2;
}

.music-player__copy small {
  color: var(--muted);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.music-player__copy strong {
  max-width: 130px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-player[data-state="playing"] .music-player__copy small {
  color: var(--acid);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  margin: auto;
}

.menu-toggle__close {
  display: none;
}

.mobile-menu {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(120px + var(--safe-top)) var(--pad)
    calc(36px + var(--safe-bottom));
  background:
    linear-gradient(rgba(199, 255, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 54, 0.04) 1px, transparent 1px),
    #080a08;
  background-size: 48px 48px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.45s var(--ease-out);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: 1.25;
}

.mobile-menu nav a span {
  color: var(--acid);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
}

.mobile-menu__mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.mobile-menu__mail svg {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  color: #080a07;
  background: var(--acid);
}

.hero {
  position: relative;
  min-height: 760px;
  min-height: max(100svh, 760px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero__canvas-wrap,
.hero__fallback,
.hero__grid,
.hero__vignette {
  position: absolute;
  inset: 0;
}

.hero__canvas-wrap {
  z-index: -3;
  background: var(--bg-deep);
}

#hero-canvas {
  width: 100%;
  height: 100%;
}

.hero__fallback {
  background:
    linear-gradient(120deg, rgba(199, 255, 54, 0.07), transparent 32%),
    linear-gradient(300deg, rgba(156, 184, 177, 0.08), transparent 45%),
    #070907;
}

.hero__grid {
  background:
    linear-gradient(rgba(231, 237, 223, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 237, 223, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero__vignette {
  background:
    linear-gradient(to right, rgba(5, 7, 5, 0.72), transparent 50%),
    linear-gradient(to top, var(--bg) 0, transparent 38%),
    linear-gradient(to bottom, rgba(5, 7, 5, 0.48), transparent 24%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 760px;
  min-height: max(100svh, 760px);
  padding-top: 138px;
  padding-bottom: 124px;
  transform: translateY(var(--hero-offset-y));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(199, 255, 54, 0.45);
  animation: status-pulse 2.6s infinite;
}

.hero__eyebrow {
  width: fit-content;
  margin-bottom: 30px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(9, 12, 9, 0.32);
  backdrop-filter: blur(10px);
}

.hero__title {
  max-width: 1240px;
  font-family: var(--font-display);
  font-size: calc(8.25rem * var(--heading-scale) * var(--hero-title-scale));
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__title .reveal-line {
  display: block;
  overflow: hidden;
}

.hero__title .reveal-line > span,
.hero__title .reveal-line > em {
  display: block;
  transform: translateY(0);
  animation: title-rise 1.15s var(--ease-out) both;
}

.hero__title em {
  color: var(--warm);
  font-family: var(--font-serif);
  font-size: 0.94em;
  font-weight: 400;
  letter-spacing: 0;
}

.hero__lower {
  display: grid;
  grid-template-columns: minmax(280px, 430px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 44px;
}

html[data-hero-align="center"] .hero__content {
  align-items: center;
  text-align: center;
}

html[data-hero-align="center"] .hero__eyebrow {
  margin-inline: auto;
}

html[data-hero-align="center"] .hero__title {
  margin-inline: auto;
}

html[data-hero-align="center"] .hero__lower {
  grid-template-columns: 1fr;
  justify-items: center;
  width: min(100%, 720px);
  margin-inline: auto;
}

html[data-hero-align="center"] .hero__actions {
  justify-content: center;
}

.hero__intro {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.9;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 0 8px 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.button svg {
  width: 36px;
  height: 36px;
  padding: 10px;
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out);
}

.button:hover svg {
  transform: rotate(45deg);
}

.button--primary {
  color: #080a07;
  background: var(--acid);
}

.button--primary svg {
  color: var(--acid);
  background: #080a07;
}

.button--primary:hover {
  background: #dcff7e;
}

.button--ghost {
  padding-left: 8px;
  color: var(--ink-soft);
  border-color: var(--line);
  background: rgba(8, 10, 8, 0.28);
  backdrop-filter: blur(10px);
}

.button--ghost svg {
  color: var(--acid);
}

.button--ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.button--outline {
  color: var(--ink);
  border-color: var(--line-strong);
}

.button--outline svg {
  border: 1px solid var(--line);
}

.button--outline:hover {
  color: #080a07;
  border-color: var(--acid);
  background: var(--acid);
}

.hero__portrait {
  position: absolute;
  z-index: 1;
  right: max(3vw, 24px);
  bottom: 66px;
  width: min(34vw, 470px);
  height: min(72vh, 690px);
  pointer-events: none;
  opacity: 0;
  animation: portrait-in 1.4s 0.35s var(--ease-out) forwards;
}

.hero__portrait::before,
.hero__portrait::after {
  position: absolute;
  z-index: 2;
  content: "";
}

.hero__portrait::before {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--line-strong), transparent);
}

.hero__portrait::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero__portrait-frame {
  position: absolute;
  inset: 24px 0;
  border: 1px solid rgba(230, 238, 219, 0.1);
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%);
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.5;
  filter: invert(1) grayscale(1) contrast(1.3);
  mix-blend-mode: screen;
  transform: scale(0.96);
}

.hero__portrait-label {
  position: absolute;
  right: 0;
  bottom: 18px;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  color: var(--muted);
}

.hero__rail {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(229, 234, 221, 0.45);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
}

.hero__rail span:nth-child(2) {
  color: var(--acid);
}

.hero__bottom {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding-bottom: var(--safe-bottom);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink-soft);
}

.scroll-cue__icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.scroll-cue svg {
  width: 13px;
  height: 13px;
  animation: scroll-nudge 2s infinite;
}

.hero__bottom > p:nth-child(2) {
  justify-self: center;
}

.hero__availability {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.hero__availability i,
.contact__detail p i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
}

.signal-strip {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--acid);
  color: #080a07;
}

.signal-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding-block: 10px;
  animation: marquee 32s linear infinite;
}

.signal-strip span {
  padding-inline: 24px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.signal-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.section {
  position: relative;
  padding-block: calc(132px * var(--section-scale));
}

.section-heading {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 210px;
  gap: 36px;
  align-items: start;
  margin-bottom: 72px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.section-index > span:first-child {
  color: var(--acid);
}

.section-index i {
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

.section-title {
  max-width: 800px;
  font-family: var(--font-display);
  font-size: calc(4.25rem * var(--heading-scale));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-title span {
  color: #8a9088;
}

.section-title .title-lead,
.contact__title .title-lead {
  color: var(--ink);
}

.section-side-note {
  justify-self: end;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.8;
  letter-spacing: 0.11em;
  text-align: right;
  white-space: pre-line;
}

.about {
  overflow: hidden;
}

.about::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--line), transparent);
  content: "";
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.portrait-stage {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(13, 16, 14, 0.76);
}

.portrait-stage::after {
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 130px;
  height: 130px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  content: "";
}

.portrait-stage__top,
.portrait-stage__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.portrait-stage__top {
  padding: 2px 2px 14px;
}

.portrait-stage__image {
  position: relative;
  height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(199, 255, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 54, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, #101410, #080a08);
  background-size:
    44px 44px,
    44px 44px,
    auto;
}

.portrait-stage__image::before,
.portrait-stage__image::after {
  position: absolute;
  z-index: 2;
  content: "";
}

.portrait-stage__image::before {
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid rgba(234, 238, 226, 0.15);
  clip-path: polygon(0 0, 34% 0, 34% 1px, 100% 1px, 100% 100%, 0 100%);
}

.portrait-stage__image::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 255, 54, 0.5), transparent);
}

.portrait-stage__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px;
  opacity: 0.82;
  filter: invert(1) grayscale(1) contrast(1.18);
  mix-blend-mode: screen;
  transform: scale(1.08);
  transition: transform 0.8s var(--ease-out);
}

.portrait-stage:hover .portrait-stage__image img {
  transform: scale(1.12);
}

.portrait-stage__scan {
  position: absolute;
  z-index: 3;
  top: -15%;
  right: 0;
  left: 0;
  height: 18%;
  background: linear-gradient(transparent, rgba(199, 255, 54, 0.06), transparent);
  animation: portrait-scan 6s linear infinite;
}

.portrait-stage__meta {
  justify-content: flex-start;
  gap: 20px;
  padding: 14px 2px 2px;
}

.portrait-stage__meta span:nth-child(2) {
  color: var(--acid);
}

.about__copy {
  padding-top: 22px;
}

.about__lede {
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: calc(3.1rem * var(--heading-scale));
  line-height: 1.25;
  letter-spacing: 0;
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about__body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.95;
}

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

.stats > div {
  padding: 24px 20px 22px 0;
}

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

.stats dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1;
}

.stats dt::after {
  color: var(--acid);
  content: ".";
}

.stats dd {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.contact-line {
  margin-top: 36px;
}

.contact-line > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-line__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-line__links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.contact-line__links svg {
  width: 13px;
  height: 13px;
  color: var(--acid);
}

.contact-line__links a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.projects {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(230, 236, 222, 0.04) 50%, transparent 50.05%),
    #090b09;
}

.section-heading--projects {
  margin-bottom: 64px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.project {
  grid-column: span 5;
  min-width: 0;
}

.project--wide {
  grid-column: span 7;
}

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

.project__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #050705;
  transition: transform 0.35s ease;
}

.project__media-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.project--wide .project__visual {
  aspect-ratio: 16 / 9;
}

.project--full .project__visual {
  aspect-ratio: 16 / 9;
}

.project-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050705;
  transform: scale(1.002);
  transition:
    transform 0.9s var(--ease-out),
    filter 0.6s ease;
}

.project-cover-media {
  position: absolute;
  inset: 0;
}

.project__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 7, 5, 0.8), transparent 34%),
    linear-gradient(to bottom, rgba(5, 7, 5, 0.42), transparent 28%);
  pointer-events: none;
}

.project-empty {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(199, 255, 54, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 54, 0.035) 1px, transparent 1px),
    #090c09;
  background-size: 56px 56px;
}

.project-empty span {
  color: var(--acid);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.project-empty p {
  max-width: 460px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.project:hover .project-canvas {
  filter: brightness(1.12) saturate(1.1);
  transform: scale(1.035);
}

.project__topline {
  position: absolute;
  top: 16px;
  right: 16px;
  left: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(238, 241, 232, 0.72);
  font-size: 0.52rem;
  letter-spacing: 0.11em;
}

.project__view {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid rgba(238, 241, 232, 0.24);
  border-radius: 1px;
  color: rgba(238, 241, 232, 0.8);
  background: rgba(6, 8, 6, 0.45);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  transform: translateY(4px);
  opacity: 0;
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.35s ease;
}

.project__view svg {
  width: 12px;
  height: 12px;
  color: var(--acid);
}

.project:hover .project__view {
  opacity: 1;
  transform: translateY(0);
}

.project__info {
  display: grid;
  grid-template-columns: minmax(140px, 0.75fr) minmax(0, 1.25fr);
  gap: 22px;
  padding-top: 21px;
}

.project__kicker {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.project h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.project__desc {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.8;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  gap: 6px;
  margin-top: -8px;
}

.project__tags li {
  padding: 3px 7px;
  border: 1px solid rgba(234, 238, 226, 0.13);
  color: rgba(205, 210, 201, 0.7);
  font-size: 0.49rem;
  letter-spacing: 0.09em;
}

.projects__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.projects__footer p {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--muted);
  font-size: 0.7rem;
}

.projects__footer p span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: inherit;
}

.projects__footer p [data-projects-footer-title] {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.games {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(234, 238, 226, 0.04) 50%, transparent 50.05%),
    #080a07;
}

.game-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050705;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.game-stage__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(5, 7, 5, 0.1), rgba(5, 7, 5, 0.78)),
    linear-gradient(125deg, #0d140e, #050705 55%, #11170f);
}

.game-stage__visual::before,
.game-stage__visual::after {
  position: absolute;
  content: "";
}

.game-stage__visual::before {
  top: 0;
  right: 13%;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(199, 255, 54, 0.42), transparent);
}

.game-stage__visual::after {
  top: 58%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 255, 54, 0.3), transparent);
}

.game-stage__cover {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  mask-image: linear-gradient(90deg, transparent 28%, black 72%);
  opacity: 0.62;
}

.game-stage__cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 7, 0.78), transparent 54%);
  content: "";
}

.game-stage__cover img,
.game-stage__cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-stage__skyline {
  position: absolute;
  top: 13%;
  right: 8%;
  bottom: 34%;
  left: 42%;
  background:
    linear-gradient(90deg, transparent 0 5%, rgba(8, 12, 8, 0.98) 5% 9%, transparent 9% 13%, rgba(8, 12, 8, 0.98) 13% 19%, transparent 19% 22%, rgba(8, 12, 8, 0.98) 22% 27%, transparent 27% 32%, rgba(8, 12, 8, 0.98) 32% 42%, transparent 42% 47%, rgba(8, 12, 8, 0.98) 47% 52%, transparent 52% 58%, rgba(8, 12, 8, 0.98) 58% 66%, transparent 66% 71%, rgba(8, 12, 8, 0.98) 71% 78%, transparent 78% 85%, rgba(8, 12, 8, 0.98) 85% 96%, transparent 96%),
    linear-gradient(to top, #050705, rgba(13, 20, 14, 0.18));
  opacity: 0.78;
}

.game-stage__portal {
  position: absolute;
  right: 19%;
  bottom: 21%;
  width: min(19vw, 220px);
  aspect-ratio: 0.52;
  border: 1px solid rgba(232, 239, 226, 0.7);
  background:
    linear-gradient(to top, rgba(199, 255, 54, 0.2), transparent 72%),
    rgba(199, 255, 54, 0.035);
  box-shadow:
    0 0 0 8px rgba(199, 255, 54, 0.012),
    0 0 42px rgba(199, 255, 54, 0.08);
  animation: portal-breathe 5s ease-in-out infinite;
}

.game-stage__portal::before {
  position: absolute;
  top: 7%;
  right: 8%;
  bottom: 0;
  left: 8%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(199, 255, 54, 0.15) 0,
    rgba(199, 255, 54, 0.15) 1px,
    transparent 1px,
    transparent 11px
  );
  content: "";
}

.game-stage__floor {
  position: absolute;
  right: -18%;
  bottom: -32%;
  left: 32%;
  height: 68%;
  background:
    linear-gradient(rgba(199, 255, 54, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 54, 0.18) 1px, transparent 1px);
  background-size: 48px 38px;
  mask-image: linear-gradient(to top, black, transparent 88%);
  transform: perspective(520px) rotateX(62deg);
  transform-origin: bottom center;
}

.game-stage__coordinate {
  position: absolute;
  top: 22px;
  left: 24px;
  color: rgba(233, 239, 226, 0.46);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.game-stage__coordinate--right {
  right: 24px;
  left: auto;
}

.game-stage__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 560px);
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 7vw, 92px);
}

.game-stage__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}

.game-stage__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: calc(1.35rem * var(--heading-scale));
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.game-stage__english {
  margin-top: 8px;
  color: var(--acid);
  font-size: 0.56rem;
  letter-spacing: 0.13em;
}

.game-stage h3 {
  max-width: 480px;
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: calc(3.7rem * var(--heading-scale));
  font-weight: 400;
  line-height: 1.15;
}

.game-stage__content > [data-game-description] {
  max-width: 480px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.9;
}

.game-stage__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(199, 255, 54, 0.32);
  color: var(--acid);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}

.game-stage__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  animation: status-pulse 2.6s infinite;
}

.game-stage--live {
  color: var(--ink);
  transition:
    border-color 0.35s ease,
    transform 0.35s var(--ease-out);
}

.game-stage--live:hover {
  border-color: rgba(199, 255, 54, 0.34);
  transform: translateY(-4px);
}

.game-stage--live .game-stage__visual {
  background:
    linear-gradient(to bottom, rgba(5, 9, 8, 0.08), rgba(5, 9, 8, 0.86)),
    radial-gradient(circle at 77% 18%, rgba(164, 239, 255, 0.19), transparent 24%),
    linear-gradient(126deg, #12211d, #07100d 54%, #101a16);
}

.game-stage--live .game-stage__skyline {
  right: -2%;
  bottom: 17%;
  left: 28%;
  opacity: 0.34;
  transform: scaleY(0.76);
  transform-origin: bottom;
}

.game-stage--live .game-stage__portal {
  display: none;
}

.game-stage--live .game-stage__floor {
  right: -12%;
  bottom: -36%;
  left: 20%;
  height: 72%;
  background:
    linear-gradient(rgba(170, 239, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 239, 255, 0.11) 1px, transparent 1px);
  background-size: 54px 42px;
}

.game-stage__aurora {
  position: absolute;
  top: -20%;
  right: 9%;
  width: 58%;
  height: 68%;
  opacity: 0.28;
  background:
    linear-gradient(
      112deg,
      transparent 0 19%,
      rgba(152, 238, 230, 0.2) 19.2% 20.1%,
      transparent 20.3% 34%,
      rgba(143, 231, 255, 0.16) 34.2% 35.2%,
      transparent 35.4% 51%,
      rgba(172, 242, 207, 0.12) 51.2% 52%,
      transparent 52.2%
    );
  filter: blur(5px);
  transform: skewX(-8deg);
}

.game-stage__snow {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(circle, rgba(231, 251, 248, 0.72) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(168, 221, 212, 0.5) 0 1px, transparent 1.2px);
  background-position:
    0 0,
    23px 17px;
  background-size:
    54px 54px,
    87px 87px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 88%);
}

.game-stage__hero,
.game-stage__enemy {
  position: absolute;
  z-index: 2;
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  pointer-events: none;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.48));
  transition: transform 0.55s var(--ease-out);
}

.game-stage__hero {
  right: clamp(8%, 10vw, 15%);
  bottom: 7%;
  width: min(20vw, 290px);
}

.game-stage__enemy {
  right: clamp(31%, 35vw, 40%);
  bottom: 13%;
  width: min(12vw, 160px);
  opacity: 0.54;
  filter:
    brightness(0.62)
    drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}

.game-stage--live:hover .game-stage__hero {
  transform: translateY(-8px) scale(1.015);
}

.game-stage--live:hover .game-stage__enemy {
  transform: translateX(10px);
}

.game-stage--live .game-stage__content {
  width: min(100%, 620px);
}

.game-stage--live .game-stage__content::before {
  position: absolute;
  z-index: -1;
  inset: 0 -18% 0 -40%;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 7, 0.94) 0 44%,
    rgba(5, 8, 7, 0.72) 62%,
    transparent 100%
  );
  content: "";
}

.game-stage__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.game-stage__tags li {
  padding: 5px 8px;
  border: 1px solid rgba(234, 238, 226, 0.16);
  color: var(--muted);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.game-stage--live .game-stage__status {
  margin-top: 20px;
}

.game-stage__enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 290px);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(199, 255, 54, 0.24);
  color: var(--acid);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.game-stage__enter svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

.game-stage--live:hover .game-stage__enter svg {
  transform: translate(3px, -3px);
}

.game-stage--live .game-stage__coordinate {
  color: rgba(231, 243, 236, 0.34);
}

.game-meta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(9, 14, 11, 0.7);
}

.game-meta-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.game-meta-strip li {
  position: relative;
  padding-left: 11px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.game-meta-strip li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--acid);
  content: "";
}

.game-meta-strip > p {
  color: var(--muted);
  font-size: 0.56rem;
  line-height: 1.7;
  text-align: right;
}

.capabilities::before {
  position: absolute;
  top: 0;
  right: 4%;
  width: 32%;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

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

.capability {
  position: relative;
  min-height: 400px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 10, 0.55);
  transition: background 0.35s ease;
}

.capability::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--acid);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.capability:hover {
  background: rgba(18, 23, 18, 0.85);
}

.capability:hover::before {
  transform: scaleX(1);
}

.capability__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.capability__top svg {
  width: 25px;
  height: 25px;
  color: var(--acid);
  stroke-width: 1.3;
}

.capability h3 {
  max-width: 380px;
  margin-top: 100px;
  font-family: var(--font-serif);
  font-size: calc(2.4rem * var(--heading-scale));
  font-weight: 400;
  line-height: 1.25;
}

.capability > p {
  max-width: 500px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.9;
}

.capability__output {
  position: absolute;
  right: 32px;
  bottom: 30px;
  left: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.capability__output span {
  color: var(--acid);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.capability__output p {
  color: var(--ink-soft);
  font-size: 0.65rem;
  text-align: right;
}

.method-strip {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 19px 24px;
  color: #080a07;
  background: var(--acid);
}

.method-strip__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.method-strip__label svg {
  width: 17px;
  height: 17px;
}

.method-strip ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.method-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
}

.method-strip li + li {
  padding-left: 22px;
  border-left: 1px solid rgba(8, 10, 7, 0.22);
}

.method-strip li span {
  font-size: 0.5rem;
  opacity: 0.6;
}

.method-strip li b {
  font-weight: 400;
}

.contact {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #050705;
}

.contact__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(199, 255, 54, 0.08) 48.05%, transparent 48.15%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(25% - 1px),
      rgba(230, 238, 221, 0.05) 25%,
      transparent calc(25% + 1px)
    );
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.contact__texture::before {
  position: absolute;
  top: 14%;
  left: 8%;
  color: transparent;
  font-family: var(--font-display);
  font-size: 15rem;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(231, 237, 223, 0.035);
  content: "OPEN CHANNEL";
  transform: rotate(-5deg);
}

.contact__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 88svh;
  padding-top: 78px;
  padding-bottom: var(--safe-bottom);
}

.section-index--light {
  color: rgba(235, 239, 229, 0.45);
}

.contact__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-block: 80px;
}

.contact__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.contact__title {
  max-width: 1100px;
  font-family: var(--font-display);
  font-size: calc(7.5rem * var(--heading-scale));
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.contact__title span {
  color: var(--acid);
  font-family: var(--font-serif);
  font-weight: 400;
}

.contact__mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 920px);
  margin-top: 58px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 2rem;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.contact__mail svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--acid);
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.4s var(--ease-out);
}

.contact__mail:hover {
  color: var(--ink);
  border-color: var(--acid);
}

.contact__mail:hover svg {
  color: #080a07;
  background: var(--acid);
  transform: rotate(45deg);
}

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

.contact__detail {
  min-height: 102px;
  padding: 24px 24px 20px 0;
}

.contact__detail + .contact__detail {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.contact__detail > span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.contact__detail a,
.contact__detail p {
  color: var(--ink-soft);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.contact__detail a {
  transition: color 0.25s ease;
}

.contact__detail a:hover {
  color: var(--acid);
}

.contact__detail p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 108px;
}

.brand--footer {
  opacity: 0.85;
}

.site-footer > p {
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  color: var(--muted);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.back-to-top svg {
  width: 27px;
  height: 27px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.back-to-top:hover {
  color: var(--ink);
}

.back-to-top:hover svg {
  color: var(--acid);
  border-color: var(--acid);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

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

.js .project.reveal:nth-child(2),
.js .capability.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.js .project.reveal:nth-child(3),
.js .capability.reveal:nth-child(3) {
  transition-delay: 0.14s;
}

.js .project.reveal:nth-child(4),
.js .capability.reveal:nth-child(4) {
  transition-delay: 0.2s;
}

@keyframes title-rise {
  from {
    transform: translateY(110%);
  }

  to {
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(199, 255, 54, 0.4);
  }

  65% {
    box-shadow: 0 0 0 7px rgba(199, 255, 54, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(199, 255, 54, 0);
  }
}

@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(3px);
  }
}

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

@keyframes portrait-scan {
  0% {
    top: -18%;
  }

  100% {
    top: 105%;
  }
}

@keyframes music-bar {
  from {
    height: 5px;
    opacity: 0.65;
  }

  to {
    height: 20px;
    opacity: 1;
  }
}

@keyframes portal-breathe {
  0%,
  100% {
    opacity: 0.65;
    box-shadow:
      0 0 0 8px rgba(199, 255, 54, 0.012),
      0 0 34px rgba(199, 255, 54, 0.06);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 0 0 14px rgba(199, 255, 54, 0.022),
      0 0 58px rgba(199, 255, 54, 0.14);
  }
}

@media (max-width: 1180px) {
  :root {
    --pad: 28px;
  }

  .desktop-nav {
    display: none;
  }

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

  .header-cta {
    margin-right: 14px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero__title {
    font-size: calc(6.4rem * var(--heading-scale) * var(--hero-title-scale));
  }

  .hero__portrait {
    right: 1vw;
    width: 38vw;
    opacity: 0.78;
  }

  .hero__rail {
    display: none;
  }

  .section-heading {
    grid-template-columns: 130px minmax(0, 1fr) 170px;
  }

  .section-title {
    font-size: calc(3.65rem * var(--heading-scale));
  }

  .about__grid {
    gap: 52px;
  }

  .about__lede {
    font-size: calc(2.65rem * var(--heading-scale));
  }

  .contact__title {
    font-size: calc(6.4rem * var(--heading-scale));
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: max(100svh, 780px);
  }

  .hero__content {
    min-height: max(100svh, 780px);
    padding-bottom: 116px;
  }

  .hero__title {
    font-size: calc(5.15rem * var(--heading-scale) * var(--hero-title-scale));
  }

  .hero__lower {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .hero__intro {
    max-width: 520px;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__portrait {
    right: -7%;
    bottom: 92px;
    width: 54vw;
    height: 64vh;
    opacity: 0.5;
  }

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

  .hero__bottom > p:nth-child(2) {
    display: none;
  }

  .section {
    padding-block: calc(100px * var(--section-scale));
  }

  .section-heading {
    grid-template-columns: 1fr auto;
    gap: 22px;
    margin-bottom: 52px;
  }

  .section-heading .section-title {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .section-side-note {
    grid-column: 2;
    grid-row: 1;
  }

  .section-title {
    font-size: calc(3.3rem * var(--heading-scale));
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .portrait-stage {
    width: min(100%, 580px);
  }

  .portrait-stage__image {
    height: 600px;
  }

  .about__copy {
    padding-top: 0;
  }

  .about__lede {
    font-size: calc(2.9rem * var(--heading-scale));
  }

  .project-grid {
    gap: 18px;
  }

  .project,
  .project--wide,
  .project--full {
    grid-column: span 6;
  }

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

  .project__visual,
  .project--wide .project__visual {
    aspect-ratio: 16 / 9;
  }

  .project__info {
    display: block;
  }

  .project__desc {
    margin-top: 14px;
  }

  .project__tags {
    margin-top: 12px;
  }

  .game-stage {
    grid-template-columns: 1fr;
    min-height: 560px;
  }

  .game-stage__skyline {
    right: -5%;
    left: 24%;
  }

  .game-stage__portal {
    right: 10%;
    bottom: 14%;
    width: 140px;
    opacity: 0.65;
  }

  .game-stage__floor {
    left: 0;
  }

  .game-stage__content {
    align-self: end;
    padding: 40px;
    background: linear-gradient(
      to top,
      rgba(5, 7, 5, 0.96),
      rgba(5, 7, 5, 0.2) 72%,
      transparent
    );
  }

  .game-stage h3 {
    font-size: calc(3rem * var(--heading-scale));
  }

  .capability {
    min-height: 360px;
  }

  .capability h3 {
    margin-top: 72px;
    font-size: calc(2rem * var(--heading-scale));
  }

  .method-strip {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    padding-top: 56px;
  }

  .contact__title {
    font-size: calc(5rem * var(--heading-scale));
  }

  .contact__mail {
    font-size: 1.55rem;
  }

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

  .contact__detail:nth-child(3) {
    border-left: 0;
  }

  .contact__detail:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .site-footer > p {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --pad: 20px;
  }

  body {
    background-size: 56px 56px;
  }

  .cursor {
    display: none;
  }

  .site-header,
  .site-header.is-scrolled {
    height: calc(72px + var(--safe-top));
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .music-player {
    width: 42px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 0;
  }

  .music-player__copy {
    display: none;
  }

  .brand__copy small {
    display: none;
  }

  .mobile-menu {
    padding-top: calc(98px + var(--safe-top));
  }

  .mobile-menu nav a {
    padding-block: 14px;
    font-size: 2rem;
  }

  .hero {
    min-height: 700px;
    min-height: max(100svh, 700px);
  }

  .hero__content {
    min-height: 700px;
    min-height: max(100svh, 700px);
    padding-top: calc(118px + var(--safe-top));
    padding-bottom: calc(104px + var(--safe-bottom));
  }

  .hero__eyebrow {
    max-width: calc(100vw - 40px);
    margin-bottom: 22px;
    overflow: hidden;
    font-size: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero__title {
    font-size: calc(3.65rem * var(--heading-scale) * var(--hero-title-scale));
    line-height: 1.02;
  }

  .hero__title em {
    font-size: 0.85em;
  }

  .hero__lower {
    margin-top: 28px;
  }

  .hero__intro {
    font-size: 0.82rem;
    line-height: 1.8;
  }

  .hero__actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .button {
    min-height: 48px;
    font-size: 0.7rem;
  }

  .hero__portrait {
    right: -29%;
    bottom: 112px;
    width: 88vw;
    height: 58vh;
    opacity: 0.3;
  }

  .hero__portrait-frame,
  .hero__portrait-label {
    display: none;
  }

  .hero__grid {
    background-size: 60px 60px;
  }

  .hero__vignette {
    background:
      linear-gradient(to right, rgba(5, 7, 5, 0.82), transparent 85%),
      linear-gradient(to top, var(--bg) 0, transparent 46%),
      linear-gradient(to bottom, rgba(5, 7, 5, 0.28), transparent 22%);
  }

  .hero__bottom {
    min-height: 62px;
  }

  .hero__availability {
    max-width: 148px;
    font-size: 0.5rem;
    line-height: 1.35;
    text-align: right;
  }

  .signal-strip__track {
    padding-block: 8px;
  }

  .signal-strip span {
    padding-inline: 18px;
    font-size: 0.58rem;
  }

  .section {
    padding-block: calc(78px * var(--section-scale));
  }

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

  .section-index {
    font-size: 0.52rem;
  }

  .section-side-note {
    display: none;
  }

  .section-title {
    font-size: calc(2rem * var(--heading-scale));
    line-height: 1.14;
  }

  .portrait-stage {
    padding: 9px;
  }

  .portrait-stage__image {
    height: 440px;
  }

  .portrait-stage__image img {
    padding: 18px;
  }

  .about__lede {
    font-size: calc(2.2rem * var(--heading-scale));
    line-height: 1.3;
  }

  .about__body {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .about__body p {
    font-size: 0.8rem;
  }

  .stats {
    margin-top: 36px;
  }

  .stats > div {
    padding: 18px 10px 16px 0;
  }

  .stats > div + div {
    padding-left: 12px;
  }

  .stats dt {
    font-size: 2rem;
  }

  .stats dd {
    font-size: 0.57rem;
    line-height: 1.45;
  }

  .contact-line__links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-line__links a {
    justify-content: flex-start;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .project,
  .project--wide,
  .project--full {
    grid-column: auto;
  }

  .project__visual,
  .project--wide .project__visual {
    aspect-ratio: 16 / 9;
  }

  .project__topline {
    top: 11px;
    right: 11px;
    left: 11px;
    gap: 8px;
    font-size: 0.44rem;
  }

  .project__view {
    right: 11px;
    bottom: 11px;
    opacity: 1;
    transform: none;
  }

  .project__info {
    padding-top: 16px;
  }

  .project h3 {
    font-size: 1.5rem;
  }

  .projects__footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 52px;
  }

  .projects__footer p {
    display: block;
    line-height: 1.8;
  }

  .projects__footer p [data-projects-footer-title] {
    display: block;
    margin-bottom: 4px;
  }

  .game-stage {
    min-height: 500px;
  }

  .game-stage__content {
    padding: 28px 24px;
  }

  .game-stage h3 {
    margin-top: 20px;
    font-size: calc(2.35rem * var(--heading-scale));
  }

  .game-stage__content > [data-game-description] {
    font-size: 0.76rem;
  }

  .game-stage__portal {
    right: 9%;
    bottom: 25%;
    width: 92px;
  }

  .game-stage__coordinate {
    top: 14px;
    left: 14px;
  }

  .game-stage__coordinate--right {
    right: 14px;
    left: auto;
  }

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

  .capability {
    min-height: 370px;
    padding: 24px;
  }

  .capability h3 {
    margin-top: 64px;
    font-size: calc(2rem * var(--heading-scale));
  }

  .capability > p {
    font-size: 0.77rem;
  }

  .capability__output {
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .capability__output p {
    font-size: 0.58rem;
  }

  .method-strip {
    margin-top: 16px;
    padding: 20px;
  }

  .method-strip ol {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .method-strip li {
    font-size: 0.65rem;
  }

  .method-strip li + li {
    padding-left: 0;
    border-left: 0;
  }

  .method-strip li:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid rgba(8, 10, 7, 0.22);
  }

  .contact {
    min-height: 0;
  }

  .contact__texture::before {
    top: 20%;
    left: 5%;
    font-size: 5rem;
  }

  .contact__inner {
    min-height: 0;
    padding-top: 42px;
  }

  .contact__main {
    padding-block: 76px;
  }

  .contact__eyebrow {
    align-items: flex-start;
    font-size: 0.66rem;
  }

  .contact__eyebrow .status-dot {
    margin-top: 7px;
  }

  .contact__title {
    font-size: calc(3.35rem * var(--heading-scale));
    line-height: 1.03;
  }

  .contact__title span {
    display: block;
  }

  .contact__mail {
    gap: 16px;
    margin-top: 40px;
    font-size: 1.08rem;
  }

  .contact__mail svg {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

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

  .contact__detail {
    min-height: 82px;
    padding: 19px 0;
  }

  .contact__detail + .contact__detail {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact__detail > span {
    margin-bottom: 7px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 92px;
  }

  .back-to-top {
    font-size: 0;
  }

  .back-to-top svg {
    width: 35px;
    height: 35px;
    padding: 9px;
  }
}

@media (max-width: 390px) {
  .hero__title {
    font-size: calc(3.15rem * var(--heading-scale) * var(--hero-title-scale));
  }

  .section-title {
    font-size: calc(1.9rem * var(--heading-scale));
  }

  .about__lede {
    font-size: calc(1.95rem * var(--heading-scale));
  }

  .contact__title {
    font-size: calc(2.95rem * var(--heading-scale));
  }
}

@media (max-width: 900px) {
  .game-stage--live .game-stage__content::before {
    inset: -25% -20% 0 -30%;
    background: linear-gradient(
      to top,
      rgba(5, 8, 7, 0.96) 0 56%,
      rgba(5, 8, 7, 0.68) 76%,
      transparent 100%
    );
  }

  .game-stage__hero {
    right: 7%;
    bottom: 24%;
    width: min(24vw, 220px);
    opacity: 0.8;
  }

  .game-stage__enemy {
    right: 35%;
    bottom: 33%;
    width: min(16vw, 120px);
  }
}

@media (max-width: 680px) {
  .game-stage--live {
    min-height: 610px;
  }

  .game-stage--live .game-stage__visual {
    background:
      linear-gradient(to top, rgba(5, 9, 8, 0.98), rgba(5, 9, 8, 0.22) 65%),
      radial-gradient(circle at 74% 16%, rgba(164, 239, 255, 0.18), transparent 32%),
      linear-gradient(126deg, #12211d, #07100d 54%, #101a16);
  }

  .game-stage__hero {
    right: -7%;
    bottom: 29%;
    width: 54vw;
    opacity: 0.62;
  }

  .game-stage__enemy {
    right: 44%;
    bottom: 38%;
    width: 25vw;
    opacity: 0.32;
  }

  .game-stage--live .game-stage__skyline {
    right: -20%;
    left: 18%;
  }

  .game-stage__aurora {
    right: -18%;
    width: 110%;
  }

  .game-stage--live .game-stage__content {
    align-self: end;
  }

  .game-stage--live .game-stage__content::before {
    inset: -18% -20% -20% -24%;
  }

  .game-stage__tags {
    margin-top: 19px;
  }

  .game-stage__tags li {
    font-size: 0.43rem;
  }

  .game-meta-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .game-meta-strip > p {
    text-align: left;
  }

  .game-stage__enter {
    width: 100%;
    margin-top: 16px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
