:root {
  --ink: #081012;
  --ink-deep: #050b0d;
  --ink-soft: #0d1818;
  --panel: #101c1b;
  --panel-light: #172421;
  --paper: #ded7c2;
  --paper-deep: #c9c1aa;
  --cream: #f0eadc;
  --muted: #91a39d;
  --muted-dark: #5e6c66;
  --moss: #86a287;
  --rain: #a7c6bd;
  --ember: #ef8247;
  --ember-bright: #f2bd68;
  --line: rgba(218, 229, 216, 0.14);
  --line-strong: rgba(218, 229, 216, 0.27);
  --header-height: 76px;
  --container: 1240px;
  --page-gutter: clamp(22px, 4vw, 56px);
  --font-sans: "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(51, 81, 70, 0.13), transparent 27rem),
    var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.045;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, #ffffff 2px 3px),
    repeating-linear-gradient(90deg, transparent 0 3px, #ffffff 3px 4px);
  mix-blend-mode: soft-light;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

button {
  color: inherit;
  font: inherit;
}

p,
h1,
h2,
h3,
blockquote {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  transform: translateY(-160%);
  background: var(--ember-bright);
  color: var(--ink-deep);
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.container {
  width: min(var(--container), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-bottom-color: var(--line);
  background: rgba(6, 13, 14, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  align-items: center;
  width: min(1360px, calc(100% - var(--page-gutter) * 2));
  height: 100%;
  margin-inline: auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(8, 16, 18, 0.52);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  color: var(--cream);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.primary-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 34px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b8c4bf;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  transition: color 180ms ease;
}

.nav-link span {
  color: #61716c;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  background: var(--ember);
  transition: transform 220ms var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cream);
}

.nav-link:hover span,
.nav-link.is-active span {
  color: var(--ember-bright);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 42px;
  color: #71827b;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.status-light {
  width: 5px;
  height: 5px;
  background: #84a981;
  box-shadow: 0 0 8px #84a981;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--cream);
  transition: transform 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #060f11;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 74% 70%, rgba(241, 132, 72, 0.26), transparent 12%),
    linear-gradient(154deg, transparent 0 57%, rgba(14, 34, 28, 0.9) 57.4% 66%, transparent 66.4%),
    linear-gradient(25deg, #0a1613 0 22%, transparent 22.4%),
    repeating-linear-gradient(111deg, transparent 0 20px, rgba(151, 188, 176, 0.08) 20px 21px),
    linear-gradient(180deg, #071114 0%, #10231f 55%, #07100e 100%);
}

#hero-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.hero-scrim {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 12, 14, 0.97) 0%, rgba(5, 12, 14, 0.87) 31%, rgba(5, 12, 14, 0.37) 57%, rgba(5, 12, 14, 0.05) 78%, rgba(5, 12, 14, 0.32) 100%),
    linear-gradient(180deg, rgba(4, 10, 11, 0.7) 0%, transparent 25%, transparent 68%, rgba(5, 11, 12, 0.92) 100%),
    radial-gradient(ellipse at 73% 49%, transparent 0 20%, rgba(4, 10, 11, 0.12) 56%, rgba(4, 10, 11, 0.68) 100%);
}

.hero-scanlines {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.2) 3px 4px);
  mix-blend-mode: multiply;
}

.hero-shell {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1360px, calc(100% - var(--page-gutter) * 2));
  min-height: max(720px, 100svh);
  margin-inline: auto;
  padding: calc(var(--header-height) + 36px) 0 74px;
}

.hero-copy {
  width: min(780px, 66%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-square {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--ember);
  box-shadow: 9px 0 0 rgba(239, 130, 71, 0.26);
}

.hero-eyebrow {
  margin-bottom: clamp(24px, 3.8vh, 42px);
  color: #b0c5bd;
}

.hero h1 {
  color: #f1eee2;
  font-size: clamp(4rem, 7.1vw, 7.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-shadow: 0 8px 48px rgba(0, 0, 0, 0.34);
}

.title-line {
  display: block;
}

.title-line--accent {
  margin-top: 0.1em;
  color: var(--ember-bright);
  text-shadow: 4px 4px 0 rgba(132, 54, 26, 0.32);
}

.title-period {
  color: var(--ember);
}

.hero-description {
  max-width: 590px;
  margin-top: clamp(25px, 3.3vh, 34px);
  color: #b2c0bb;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: clamp(30px, 4vh, 42px);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button--primary {
  border-color: var(--ember);
  background: var(--ember);
  color: #101514;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.button--primary:hover {
  transform: translate(-2px, -2px);
  background: #f3975d;
  box-shadow: 5px 5px 0 rgba(242, 189, 104, 0.24);
}

.button--ghost {
  border-color: rgba(220, 232, 218, 0.23);
  background: rgba(10, 20, 21, 0.56);
  color: var(--cream);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 232, 218, 0.48);
  background: rgba(24, 40, 38, 0.74);
}

.button-arrow {
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 15px;
}

.button-index {
  color: #7f948e;
  font-family: var(--font-mono);
  font-size: 8px;
}

.hero-facts {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 630px;
  margin-top: clamp(34px, 5.5vh, 58px);
  border-top: 1px solid var(--line);
}

.hero-fact {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 8px;
  padding: 20px 22px 0 0;
}

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

.hero-fact span {
  color: #60736d;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.hero-fact strong {
  overflow: hidden;
  color: #c4d0cb;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-telemetry {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translate(40%, -50%) rotate(90deg);
  transform-origin: center;
  color: rgba(190, 208, 201, 0.48);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.telemetry-rule {
  width: 78px;
  height: 1px;
  background: rgba(190, 208, 201, 0.24);
}

.telemetry-coords {
  color: rgba(190, 208, 201, 0.28);
}

.scroll-cue {
  position: absolute;
  right: 4px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #6d817a;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  transition: color 180ms ease;
}

.scroll-cue:hover {
  color: var(--cream);
}

.scroll-cue__track {
  position: relative;
  display: block;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(210, 224, 215, 0.2);
}

.scroll-cue__track span {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 16px;
  background: var(--ember);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(-18px);
  }
  55%,
  100% {
    transform: translateY(48px);
  }
}

.signal-strip {
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid rgba(214, 226, 214, 0.12);
  border-bottom: 1px solid rgba(214, 226, 214, 0.12);
  background: #0b1415;
}

.signal-track {
  display: flex;
  width: max-content;
  padding: 13px 0 12px;
  animation: signal-marquee 30s linear infinite;
}

.signal-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.signal-group span {
  color: #778a83;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.signal-group i {
  width: 5px;
  height: 5px;
  background: var(--ember);
}

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

.section {
  position: relative;
  padding: clamp(96px, 11vw, 152px) 0;
  scroll-margin-top: var(--header-height);
}

.works {
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 15%, rgba(69, 102, 84, 0.1), transparent 27rem),
    linear-gradient(180deg, #081012 0%, #091312 100%);
}

.works::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 540px;
  content: "";
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(174, 196, 183, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 196, 183, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(100deg, transparent, #000);
  mask-image: linear-gradient(100deg, transparent, #000);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.72fr);
  align-items: end;
  gap: clamp(40px, 7vw, 110px);
  margin-bottom: clamp(58px, 7vw, 90px);
}

.section-heading h2 {
  margin-top: 22px;
  color: #f0eddf;
  font-size: clamp(2.8rem, 4.7vw, 5.3rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-intro {
  max-width: 390px;
  padding-left: 20px;
  border-left: 1px solid rgba(239, 130, 71, 0.54);
  color: #8e9e98;
  font-size: 14px;
  line-height: 1.95;
}

.works-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1716;
  transition:
    transform 340ms var(--ease-out),
    border-color 300ms ease,
    background-color 300ms ease;
}

.game-card::before,
.game-card::after {
  position: absolute;
  z-index: 5;
  width: 12px;
  height: 12px;
  content: "";
  pointer-events: none;
}

.game-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--ember);
  border-left: 2px solid var(--ember);
}

.game-card::after {
  right: 0;
  bottom: 0;
  border-right: 1px solid rgba(239, 130, 71, 0.8);
  border-bottom: 1px solid rgba(239, 130, 71, 0.8);
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 219, 204, 0.28);
  background: #101d1b;
}

.game-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.68fr);
}

.game-art {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #07100f;
}

.game-card--featured .game-art {
  min-height: 500px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.game-art > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    filter 350ms ease,
    transform 800ms var(--ease-out);
}

.game-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.35;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.25) 3px 4px),
    linear-gradient(180deg, rgba(4, 8, 9, 0.16), transparent 50%, rgba(4, 8, 9, 0.78));
}

.game-art::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24%;
  content: "";
  background: linear-gradient(0deg, rgba(8, 16, 16, 0.58), transparent);
}

.game-card:hover .game-art > svg {
  transform: scale(1.018);
  filter: saturate(1.09) brightness(1.06);
}

.game-art__chrome {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(226, 235, 224, 0.65);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.game-art__number {
  position: absolute;
  z-index: 3;
  right: 19px;
  bottom: 8px;
  color: rgba(238, 235, 222, 0.22);
  font-family: var(--font-mono);
  font-size: clamp(5rem, 8.4vw, 8.2rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.09em;
  transition: color 300ms ease;
}

.game-card:hover .game-art__number {
  color: rgba(242, 189, 104, 0.35);
}

.game-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.game-card--featured .game-card__body {
  justify-content: space-between;
  padding: clamp(32px, 4vw, 56px);
}

.game-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: #71837c;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.game-card h3 {
  margin-top: 28px;
  color: #eeeadd;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.game-title-en {
  margin-top: 7px;
  color: var(--ember-bright);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
}

.game-description {
  margin-top: 22px;
  color: #91a19b;
  font-size: 13px;
  line-height: 1.85;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
}

.tag-list li {
  padding: 7px 9px 6px;
  border: 1px solid rgba(204, 220, 210, 0.13);
  color: #93a49d;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.game-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #586a64;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.studio {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(129, 154, 133, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(129, 154, 133, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 88% 38%, rgba(58, 83, 65, 0.21), transparent 31rem),
    #0b1514;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.studio::after {
  position: absolute;
  top: 0;
  right: 7%;
  width: 1px;
  height: 100%;
  content: "";
  opacity: 0.28;
  background: linear-gradient(transparent, var(--moss) 35%, transparent 85%);
}

.studio-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.studio h2 {
  max-width: 720px;
  margin-top: 22px;
  color: #f0eddf;
  font-size: clamp(2.7rem, 4.5vw, 5rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.studio-body {
  display: grid;
  max-width: 610px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 38px;
  color: #91a29b;
  font-size: 14px;
  line-height: 1.95;
}

.studio-body p {
  margin: 0;
}

.studio-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.signature-mark {
  color: var(--ember);
  font-size: 21px;
}

.studio-signature div {
  display: grid;
  gap: 4px;
}

.studio-signature strong {
  color: #cfd7d2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.studio-signature span:last-child {
  color: #62746d;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.field-dossier {
  position: relative;
  width: 100%;
  max-width: 570px;
  justify-self: end;
  padding: 24px;
  border: 1px solid #a9a28c;
  background:
    linear-gradient(rgba(76, 69, 50, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 24px, auto;
  color: #20261f;
  box-shadow:
    12px 12px 0 rgba(239, 130, 71, 0.12),
    0 34px 80px rgba(0, 0, 0, 0.3);
}

.field-dossier::before {
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: 6px;
  left: 6px;
  border: 1px solid rgba(72, 70, 57, 0.25);
  content: "";
  pointer-events: none;
}

.dossier-top,
.dossier-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.dossier-top {
  padding: 5px 7px 16px;
  border-bottom: 1px solid rgba(54, 58, 46, 0.28);
}

.dossier-map {
  position: relative;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid rgba(57, 65, 51, 0.38);
}

.dossier-map svg {
  width: 100%;
  height: auto;
}

.map-coordinate {
  position: absolute;
  z-index: 2;
  color: rgba(39, 51, 40, 0.75);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.map-coordinate--top {
  top: 10px;
  left: 12px;
}

.map-coordinate--bottom {
  right: 12px;
  bottom: 9px;
}

.map-stamp {
  position: absolute;
  top: 25px;
  right: 24px;
  padding: 5px 7px;
  transform: rotate(6deg);
  border: 2px solid rgba(181, 86, 53, 0.72);
  color: rgba(181, 86, 53, 0.86);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.dossier-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(54, 58, 46, 0.24);
  border-bottom: 1px solid rgba(54, 58, 46, 0.24);
}

.dossier-data div {
  display: grid;
  gap: 6px;
  padding: 15px 14px;
}

.dossier-data div + div {
  border-left: 1px solid rgba(54, 58, 46, 0.24);
}

.dossier-data span {
  color: #777763;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.dossier-data strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.field-dossier blockquote {
  position: relative;
  padding: 24px 26px 25px 36px;
  color: #30362d;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}

.field-dossier blockquote::before {
  position: absolute;
  top: 15px;
  left: 10px;
  color: #b35e3c;
  content: "“";
  font-family: Georgia, serif;
  font-size: 38px;
}

.dossier-foot {
  padding: 14px 7px 4px;
  border-top: 1px solid rgba(54, 58, 46, 0.24);
  color: #656854;
}

.principles {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 70%, rgba(122, 91, 55, 0.11), transparent 25rem),
    #081012;
}

.principle-list {
  border-top: 1px solid var(--line-strong);
}

.principle {
  position: relative;
  display: grid;
  grid-template-columns: 52px 70px minmax(0, 1fr) 166px;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  min-height: 176px;
  padding: 30px 24px;
  border-bottom: 1px solid var(--line-strong);
  transition:
    background-color 260ms ease,
    border-color 260ms ease;
}

.principle::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  transform: scaleY(0);
  background: var(--ember);
  transition: transform 260ms var(--ease-out);
}

.principle:hover {
  border-color: rgba(218, 229, 216, 0.24);
  background: rgba(30, 49, 43, 0.24);
}

.principle:hover::before {
  transform: scaleY(1);
}

.principle-number {
  align-self: start;
  padding-top: 7px;
  color: #52635d;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  transition: color 220ms ease;
}

.principle:hover .principle-number {
  color: var(--ember-bright);
}

.principle-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid var(--line);
  color: #8dab91;
  transition:
    border-color 220ms ease,
    color 220ms ease,
    transform 300ms var(--ease-out);
}

.principle:hover .principle-icon {
  transform: translateY(-3px);
  border-color: rgba(239, 130, 71, 0.45);
  color: var(--ember);
}

.principle-icon svg {
  width: 38px;
  height: 38px;
}

.principle-copy h3 {
  color: #eae7db;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.principle-copy p {
  max-width: 660px;
  margin-top: 12px;
  color: #8d9d97;
  font-size: 13px;
  line-height: 1.85;
}

.principle-terms {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.principle-terms span {
  color: #60726b;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.outro {
  position: relative;
  display: grid;
  min-height: 690px;
  overflow: hidden;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 72%, rgba(229, 118, 57, 0.21), transparent 25rem),
    radial-gradient(circle at 50% 48%, rgba(48, 80, 64, 0.22), transparent 34rem),
    #07100f;
}

.outro-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(150, 174, 156, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 174, 156, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at center, #000 0, transparent 68%);
  mask-image: radial-gradient(circle at center, #000 0, transparent 68%);
}

.outro-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 820px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(136, 160, 143, 0.15);
  border-radius: 50%;
}

.orbit--one {
  inset: 16%;
}

.orbit--two {
  inset: 28%;
  border-style: dashed;
  animation: orbit-spin 42s linear infinite;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(239, 130, 71, 0.18), transparent 67%);
  box-shadow: 0 0 120px rgba(239, 130, 71, 0.12);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.outro-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 100px 0 120px;
  text-align: center;
}

.outro-inner .eyebrow {
  justify-content: center;
}

.outro h2 {
  margin-top: 25px;
  color: #f1ecdd;
  font-size: clamp(3.5rem, 7.6vw, 8.3rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.outro h2 span {
  color: var(--ember-bright);
  text-shadow: 5px 5px 0 rgba(130, 57, 28, 0.34);
}

.outro-inner > p:not(.eyebrow) {
  margin-top: 28px;
  color: #94a49d;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.outro-button {
  margin-top: 38px;
}

.outro-word {
  position: absolute;
  right: 0;
  bottom: -0.08em;
  left: 0;
  overflow: hidden;
  color: transparent;
  font-family: var(--font-mono);
  font-size: clamp(4.8rem, 15vw, 14rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.09em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(160, 182, 165, 0.1);
}

.site-footer {
  background: #050b0c;
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  min-height: 150px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
}

.footer-brand > span:last-child {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: #cbd5d0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.footer-brand small {
  color: #52635d;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.footer-shell p {
  color: #4f615a;
  font-size: 9px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  text-align: center;
}

.icp-link {
  color: #6b7c74;
  text-decoration: underline;
  text-decoration-color: rgba(107, 124, 116, 0.45);
  text-underline-offset: 3px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.icp-link:hover {
  color: var(--ember-bright);
  text-decoration-color: var(--ember-bright);
}

.back-to-top {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 12px;
  color: #7a8c84;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  transition: color 180ms ease;
}

.back-to-top span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 13px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

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

.back-to-top:hover span {
  transform: translateY(-3px);
  border-color: rgba(239, 130, 71, 0.45);
  color: var(--ember-bright);
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms var(--ease-out) var(--reveal-delay, 0ms),
    transform 720ms var(--ease-out) var(--reveal-delay, 0ms);
}

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

@media (max-width: 1120px) {
  .header-status {
    display: none;
  }

  .game-card--featured {
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  }

  .game-card--featured .game-art {
    min-height: 450px;
  }

  .studio-grid {
    gap: 54px;
  }

  .principle {
    grid-template-columns: 44px 64px minmax(0, 1fr) 138px;
    gap: 26px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 32px;
  }

  .hero-copy {
    width: min(760px, 78%);
  }

  .hero h1 {
    font-size: clamp(3.8rem, 9vw, 6rem);
  }

  .game-card--featured {
    display: flex;
  }

  .game-card--featured .game-art {
    min-height: 410px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .game-card--featured .game-card__body {
    min-height: 410px;
  }

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

  .studio-copy {
    max-width: 720px;
  }

  .field-dossier {
    width: min(100%, 650px);
    max-width: none;
    justify-self: start;
  }

  .principle {
    grid-template-columns: 42px 62px minmax(0, 1fr);
  }

  .principle-terms {
    display: none;
  }

  .section-heading--split {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
    gap: 42px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
    --page-gutter: 22px;
  }

  .site-header {
    height: var(--header-height);
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark svg {
    width: 19px;
    height: 19px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    height: calc(100svh - var(--header-height));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 28px var(--page-gutter) 42px;
    transform: translateY(-10px);
    visibility: hidden;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    background:
      linear-gradient(rgba(132, 155, 139, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(132, 155, 139, 0.055) 1px, transparent 1px),
      #07100f;
    background-size: 48px 48px;
    transition:
      transform 260ms var(--ease-out),
      opacity 200ms ease,
      visibility 200ms ease;
  }

  .primary-nav::after {
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    color: #52645d;
    content: "SURVIVE / EXPLORE / REMEMBER";
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .site-header.is-menu-open .primary-nav,
  .primary-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .nav-link {
    min-height: 82px;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    color: #d6dfda;
    font-size: 21px;
    letter-spacing: 0.04em;
  }

  .nav-link span {
    order: 2;
    color: #6e8179;
    font-size: 10px;
  }

  .nav-link::after {
    display: none;
  }

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

  #hero-canvas {
    object-position: 67% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 10, 11, 0.6) 0%, rgba(5, 12, 14, 0.3) 26%, rgba(5, 12, 14, 0.64) 57%, rgba(5, 12, 14, 0.97) 100%),
      linear-gradient(90deg, rgba(5, 12, 14, 0.64), rgba(5, 12, 14, 0.05));
  }

  .hero-shell {
    justify-content: flex-end;
    padding-top: 190px;
    padding-bottom: 60px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 13vw, 5rem);
    line-height: 1;
  }

  .hero-description {
    max-width: 510px;
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button {
    min-height: 52px;
    padding-inline: 17px;
  }

  .hero-facts {
    max-width: 100%;
    margin-top: 32px;
  }

  .hero-fact {
    padding-top: 16px;
  }

  .hero-fact strong {
    font-size: 10px;
  }

  .hero-telemetry,
  .scroll-cue {
    display: none;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 50px;
  }

  .section-heading h2,
  .studio h2 {
    font-size: clamp(2.15rem, 8.6vw, 3rem);
  }

  .works .section-heading h2 {
    font-size: clamp(2rem, 8.2vw, 2.8rem);
  }

  .section-intro {
    max-width: 520px;
  }

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

  .game-card {
    grid-column: 1;
  }

  .game-card--featured .game-art {
    min-height: 390px;
  }

  .game-card--featured .game-card__body {
    min-height: auto;
    padding: 32px 26px;
  }

  .game-art {
    min-height: 330px;
  }

  .game-card__body {
    padding: 26px;
  }

  .game-card h3 {
    font-size: 2.35rem;
  }

  .studio-body {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
  }

  .studio-signature {
    margin-top: 34px;
  }

  .studio::after {
    display: none;
  }

  .field-dossier {
    padding: 17px;
  }

  .dossier-top {
    padding-bottom: 13px;
  }

  .dossier-map {
    margin: 13px 0;
  }

  .dossier-data div {
    padding: 13px 9px;
  }

  .field-dossier blockquote {
    padding: 20px 16px 22px 30px;
    font-size: 15px;
  }

  .dossier-foot {
    gap: 8px;
    font-size: 7px;
  }

  .principle {
    grid-template-columns: 35px 56px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 28px 4px;
  }

  .principle-icon {
    width: 52px;
    height: 52px;
  }

  .principle-icon svg {
    width: 33px;
    height: 33px;
  }

  .principle-copy h3 {
    font-size: 1.55rem;
  }

  .principle-copy p {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .outro {
    min-height: 620px;
  }

  .outro h2 {
    font-size: clamp(3.6rem, 15vw, 6.2rem);
  }

  .outro-word {
    font-size: clamp(4rem, 17vw, 7rem);
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
    gap: 26px;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .footer-shell p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .header-shell {
    width: calc(100% - 36px);
  }

  .brand-copy small {
    font-size: 7px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13.6vw, 3.75rem);
  }

  .hero-actions {
    gap: 9px;
  }

  .button {
    flex: 1;
    gap: 10px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero-fact + .hero-fact {
    padding-left: 15px;
  }

  .hero-fact {
    padding-right: 12px;
  }

  .hero-fact strong {
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .game-card--featured .game-art,
  .game-art {
    min-height: 272px;
  }

  .game-art__chrome {
    top: 15px;
    right: 15px;
    left: 15px;
    font-size: 7px;
  }

  .game-art__number {
    right: 13px;
    font-size: 5.5rem;
  }

  .game-card__body,
  .game-card--featured .game-card__body {
    padding: 24px 20px;
  }

  .game-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

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

  .dossier-map {
    overflow: hidden;
  }

  .map-stamp {
    top: 14px;
    right: 14px;
  }

  .dossier-data {
    grid-template-columns: 1fr;
  }

  .dossier-data div {
    grid-template-columns: 66px 1fr;
    align-items: center;
  }

  .dossier-data div + div {
    border-top: 1px solid rgba(54, 58, 46, 0.24);
    border-left: 0;
  }

  .dossier-foot span:last-child {
    display: none;
  }

  .principle {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .principle-icon {
    display: none;
  }

  .principle-number {
    padding-top: 6px;
  }

  .footer-brand {
    gap: 9px;
  }

  .footer-brand strong {
    font-size: 11px;
  }

  .back-to-top {
    gap: 7px;
    font-size: 7px;
  }

  .back-to-top span {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-facts {
    flex-direction: column;
  }

  .hero-fact {
    padding: 12px 0;
  }

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

  .signal-group {
    gap: 20px;
  }
}

@media (hover: none) {
  .game-card:hover {
    transform: none;
  }

  .game-card:hover .game-art > svg {
    transform: none;
  }
}

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

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

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

  .signal-track {
    transform: translateX(0);
  }
}
