@font-face {
  font-family: "CCdy Serif";
  src: url("assets/ccdy-serif.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0c0c0b;
  --bg-raised: #121210;
  --ink: #f0ece2;
  --ink-soft: #cbc5b8;
  --muted: #938e83;
  --line: rgba(240, 236, 226, 0.14);
  --line-soft: rgba(240, 236, 226, 0.08);
  --accent: #d8ff5d;
  --serif: "CCdy Serif", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", "Courier New", monospace;
  --page-pad: clamp(22px, 4.2vw, 68px);
  --max-width: 1600px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #4b4a44 var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 520px;
  height: 520px;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 255, 93, 0.07), transparent 68%);
  transform: translate3d(calc(var(--mx, 50vw) - 260px), calc(var(--my, 50vh) - 260px), 0);
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  height: 88px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-bottom-color: var(--line-soft);
  background: rgba(12, 12, 11, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--accent);
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(90deg);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-type strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-type small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0.05em;
}

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

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.header-status:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.status-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(216, 255, 93, 0.8);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.5);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.menu-toggle {
  position: relative;
  z-index: 90;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.3s 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);
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow > span + span::before {
  content: "/";
  margin-right: 18px;
  color: var(--line);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(132px, 15vh, 190px) var(--page-pad) 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(480px, 1.04fr);
  align-items: center;
  gap: clamp(48px, 6vw, 100px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 74vw;
  height: 74vw;
  top: -35vw;
  right: -22vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 93, 0.12), rgba(216, 255, 93, 0.025) 38%, transparent 67%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 48vw;
  height: 42vw;
  bottom: -22vw;
  left: -18vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 112, 55, 0.15), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-eyebrow {
  margin-bottom: clamp(28px, 4vh, 50px);
}

.hero-eyebrow span:first-child {
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 7.8vw, 130px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.hero-outline {
  display: inline-block;
  color: transparent;
  white-space: nowrap;
  -webkit-text-stroke: 1.4px rgba(240, 236, 226, 0.58);
}

@supports not (-webkit-text-stroke: 1px #000) {
  .hero-outline {
    color: var(--ink);
    opacity: 0.55;
  }
}

.hero-lede {
  max-width: 550px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 0.3s var(--ease);
}

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

.button:hover svg {
  transform: translateX(4px);
}

.button--primary {
  background: var(--accent);
  color: #11120e;
}

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

.button--large {
  min-height: 64px;
  padding-inline: 30px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.text-link svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 570px;
  margin: clamp(46px, 7vh, 78px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats > div {
  padding-right: 18px;
}

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

.hero-stats dt {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 720px;
  min-height: clamp(540px, 47vw, 700px);
  justify-self: end;
}

.hero-orbit {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  top: 5%;
  right: -8%;
  border: 1px solid rgba(240, 236, 226, 0.1);
  border-radius: 50%;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-orbit::before {
  inset: 12%;
  border: 1px dashed rgba(240, 236, 226, 0.07);
}

.hero-orbit::after {
  width: 7px;
  height: 7px;
  top: 19%;
  left: 7%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(216, 255, 93, 0.75);
}

.hero-card {
  --rx: 0deg;
  --ry: 0deg;
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 236, 226, 0.22);
  background: #181816;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), border-color 0.3s ease;
}

.hero-card:hover {
  border-color: rgba(216, 255, 93, 0.48);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 5, 4, 0.8));
  pointer-events: none;
}

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

.hero-card figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 13px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-card figcaption span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.hero-card figcaption strong {
  font-family: var(--serif);
  font-size: clamp(14px, 1.25vw, 19px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-card--main {
  width: 92%;
  aspect-ratio: 16 / 9;
  top: 4%;
  right: 0;
  z-index: 2;
  transform: rotate(-1.5deg) perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
}

.hero-card--night {
  width: 42%;
  aspect-ratio: 16 / 9;
  left: 0;
  bottom: 52px;
  z-index: 4;
  transform: rotate(-5deg) perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
}

.hero-card--night img {
  filter: saturate(0.75) brightness(0.9);
}

.hero-card--throne {
  width: 40%;
  aspect-ratio: 16 / 9;
  right: 1%;
  bottom: 1%;
  z-index: 3;
  transform: rotate(4.5deg) perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
}

.hero-card--throne img {
  object-position: 55% 50%;
}

.hero-seal {
  position: absolute;
  z-index: 5;
  width: clamp(90px, 8vw, 126px);
  height: clamp(90px, 8vw, 126px);
  top: 18%;
  left: -3%;
  color: var(--ink);
  background: rgba(12, 12, 11, 0.82);
  border: 1px solid var(--line);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.hero-seal svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: rotateSeal 24s linear infinite;
}

.hero-seal text {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 8.1px;
  letter-spacing: 0.14em;
}

.hero-seal path {
  fill: var(--accent);
}

@keyframes rotateSeal {
  to {
    transform: rotate(360deg);
  }
}

.hero-note {
  position: absolute;
  z-index: 5;
  left: 4%;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.scroll-cue {
  position: absolute;
  left: var(--page-pad);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.genre-strip {
  position: relative;
  overflow: hidden;
  padding: 17px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #0f0f0e;
}

.genre-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.genre-strip:hover .genre-track {
  animation-play-state: paused;
}

.genre-track span {
  padding: 0 32px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.genre-track i {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
}

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

section[id] {
  scroll-margin-top: 84px;
}

.section {
  position: relative;
  padding: clamp(100px, 11vw, 180px) var(--page-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: end;
  gap: 50px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading .eyebrow {
  margin-bottom: 24px;
}

.section-heading h2,
.about-sticky h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5.6vw, 92px);
  font-weight: 640;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.section-note {
  max-width: 370px;
  margin: 0 0 9px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.game-list {
  max-width: var(--max-width);
  margin: clamp(70px, 9vw, 130px) auto 0;
}

.game {
  --accent: #d8ff5d;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(330px, 0.84fr);
  align-items: center;
  gap: clamp(38px, 5.5vw, 90px);
  margin-bottom: clamp(90px, 12vw, 180px);
}

.game:last-child {
  margin-bottom: 0;
}

.game:nth-child(even) {
  grid-template-columns: minmax(330px, 0.84fr) minmax(0, 1.16fr);
}

.game:nth-child(even) .game-visual {
  order: 2;
}

.game--throne {
  --accent: #d7b779;
}

.game--dianji {
  --accent: #ff9258;
}

.game--night {
  --accent: #9fd7db;
}

.game-visual {
  position: relative;
  isolation: isolate;
}

.game-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% -4% -5% 5%;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  opacity: 0.55;
  transition: inset 0.5s var(--ease), opacity 0.4s ease;
}

.game-visual:hover::before {
  inset: 4% -2% -2% 2%;
  opacity: 1;
}

.game-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.game-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.18), transparent 32%),
    linear-gradient(0deg, rgba(5, 5, 4, 0.52), transparent 36%);
  pointer-events: none;
}

.game-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}

.game--throne .game-image-wrap img {
  object-position: 50% 52%;
}

.game--night .game-image-wrap img {
  filter: saturate(0.8) brightness(0.9);
}

.game-visual:hover .game-image-wrap img {
  transform: scale(1.035);
}

.game-index {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 18px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 350;
  letter-spacing: -0.08em;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.game-state {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(12, 12, 11, 0.66);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.game-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.gallery-trigger {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 12, 11, 0.68);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.gallery-trigger svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.gallery-trigger:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.game-body {
  padding-block: 10px;
}

.game-kicker {
  margin: 0 0 23px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.game h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 61px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.game h3 span {
  color: var(--ink-soft);
  font-weight: 430;
}

.game-desc {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.game-tags li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.game-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 5px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.game-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
  transition: transform 0.35s var(--ease);
}

.game-link:hover {
  color: var(--accent);
}

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

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(60px, 9vw, 150px);
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 12% 20%, rgba(107, 79, 36, 0.11), transparent 30%),
    #10100e;
}

.about-sticky {
  align-self: start;
}

.about-sticky .eyebrow {
  margin-bottom: 26px;
}

.about-sticky h2 {
  max-width: 580px;
  font-size: clamp(42px, 5vw, 76px);
}

.about-stamp {
  margin: clamp(58px, 8vw, 110px) 0 0;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(80px, 11vw, 170px);
  font-weight: 750;
  letter-spacing: -0.08em;
  line-height: 0.73;
  opacity: 0.12;
  -webkit-text-stroke: 1px var(--ink);
}

.about-copy {
  max-width: 780px;
  padding-top: 4px;
}

.about-lede {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.1vw, 45px);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1.45;
}

.about-text {
  max-width: 670px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.about-text p {
  margin: 0 0 18px;
}

.principles {
  margin-top: clamp(54px, 8vw, 92px);
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 44px minmax(150px, 0.65fr) 1.35fr;
  gap: 24px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.principle > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 2.4;
}

.principle h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.about-quote {
  margin: clamp(65px, 9vw, 110px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.about-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 470;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.about-quote cite {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.07em;
}

.in-progress {
  max-width: none;
}

.in-progress .section-heading,
.upcoming-grid {
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(60px, 8vw, 110px);
}

.upcoming {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
  padding: 26px 28px 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}

.upcoming::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.8;
  transition: transform 0.8s var(--ease), opacity 0.5s ease;
}

.upcoming--palace {
  background: #201712;
}

.upcoming--palace::before {
  background:
    radial-gradient(circle at 74% 24%, rgba(168, 104, 55, 0.17), transparent 30%),
    linear-gradient(135deg, transparent 20%, rgba(111, 67, 34, 0.16) 52%, transparent 74%);
}

.upcoming--dream {
  background: #10191a;
}

.upcoming--dream::before {
  background:
    radial-gradient(circle at 76% 20%, rgba(72, 137, 129, 0.19), transparent 30%),
    linear-gradient(135deg, transparent 20%, rgba(64, 116, 112, 0.17) 52%, transparent 74%);
}

.upcoming:hover::before {
  transform: scale(1.08);
  opacity: 1;
}

.upcoming-glyph {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: -18%;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(230px, 28vw, 420px);
  font-weight: 700;
  line-height: 1;
  opacity: 0.14;
  -webkit-text-stroke: 1px var(--ink);
  transition: transform 0.8s var(--ease), opacity 0.5s ease;
}

.upcoming:hover .upcoming-glyph {
  transform: translateY(-14px);
  opacity: 0.22;
}

.upcoming-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.upcoming-top span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.upcoming-top span:first-child::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cdbf9f;
}

.upcoming--dream .upcoming-top span:first-child::before {
  background: #9fc9c6;
}

.upcoming-bottom p {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.upcoming-bottom h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1;
}

.upcoming-bottom > span {
  color: var(--muted);
  font-size: 11px;
}

.contact {
  position: relative;
  padding: clamp(84px, 9vw, 130px) var(--page-pad) 0;
  overflow: hidden;
  background: #e9e4d8;
  color: #11110f;
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact .eyebrow {
  color: #656055;
}

.contact h2 {
  margin: 34px 0 clamp(64px, 8vw, 105px);
  font-family: var(--serif);
  font-size: clamp(72px, 11.4vw, 180px);
  font-weight: 670;
  letter-spacing: -0.08em;
  line-height: 1.16;
}

.contact h2 span {
  color: transparent;
  -webkit-text-stroke: 1.6px #11110f;
}

@supports not (-webkit-text-stroke: 1px #000) {
  .contact h2 span {
    color: #11110f;
    opacity: 0.5;
  }
}

.contact-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: clamp(65px, 8vw, 110px);
}

.contact-bottom p {
  max-width: 570px;
  margin: 0;
  color: #565248;
  font-size: 14px;
  line-height: 1.9;
}

.contact .button--primary {
  background: #11110f;
  color: var(--ink);
  white-space: nowrap;
}

.contact .button--primary:hover {
  background: #2d2c27;
}

.contact-marquee {
  overflow: hidden;
  padding: 17px 0 21px;
  border-top: 1px solid rgba(17, 17, 15, 0.22);
}

.contact-marquee span {
  display: block;
  width: max-content;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 70px);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(17, 17, 15, 0.26);
  animation: contactMarquee 30s linear infinite;
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 44px var(--page-pad);
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}

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

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

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-meta {
  justify-self: end;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-align: right;
}

.gallery-dialog {
  width: min(1160px, calc(100vw - 42px));
  max-width: none;
  max-height: calc(100svh - 42px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  background: #10100e;
  color: var(--ink);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.65);
}

.gallery-dialog::backdrop {
  background: rgba(5, 5, 4, 0.88);
  backdrop-filter: blur(9px);
}

.gallery-dialog[open] {
  animation: dialogIn 0.35s var(--ease);
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-shell {
  padding: clamp(20px, 3vw, 38px);
}

.gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.gallery-header .eyebrow {
  margin-bottom: 9px;
  color: var(--accent);
}

.gallery-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.gallery-close {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.gallery-close svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.2;
}

.gallery-close:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 14px;
}

.gallery-figure {
  margin: 0;
}

.gallery-figure img {
  width: 100%;
  height: min(58vh, 600px);
  object-fit: contain;
  border: 1px solid var(--line);
  background: #080807;
}

.gallery-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 11px;
}

.gallery-figure figcaption span:last-child {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.gallery-nav {
  display: grid;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gallery-nav svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.gallery-nav:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.gallery-thumbs {
  display: flex;
  gap: 9px;
  margin-top: 20px;
  padding-left: 64px;
}

.gallery-thumb {
  position: relative;
  width: 90px;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080807;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

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

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--accent);
  opacity: 1;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

html.js .game.reveal {
  transform: translateY(52px);
}

html.js .game.reveal.is-visible {
  transform: translateY(0);
}

html.js .hero-copy > * {
  animation: heroIn 0.9s var(--ease) both;
}

html.js .hero-copy > :nth-child(1) {
  animation-delay: 0.08s;
}

html.js .hero-copy > :nth-child(2) {
  animation-delay: 0.16s;
}

html.js .hero-copy > :nth-child(3) {
  animation-delay: 0.25s;
}

html.js .hero-copy > :nth-child(4) {
  animation-delay: 0.34s;
}

html.js .hero-copy > :nth-child(5) {
  animation-delay: 0.43s;
}

html.js .hero-card {
  animation: cardIn 1.1s var(--ease) both;
}

html.js .hero-card--main {
  animation-delay: 0.18s;
}

html.js .hero-card--night {
  animation-delay: 0.36s;
}

html.js .hero-card--throne {
  animation-delay: 0.48s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(35px) rotate(0deg) scale(0.96);
  }
}

@media (max-width: 1240px) {
  .hero {
    grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
    gap: 40px;
  }

  .hero-collage {
    min-height: 560px;
  }

  .hero-seal {
    left: -1%;
  }

  .game {
    grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  }

  .game:nth-child(even) {
    grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1.08fr);
  }
}

@media (max-width: 1020px) {
  .site-header {
    gap: 20px;
  }

  .site-nav {
    gap: 24px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
    padding-bottom: 110px;
    gap: 70px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero h1 {
    font-size: clamp(68px, 11.5vw, 118px);
  }

  .hero-collage {
    width: min(100%, 760px);
    min-height: 600px;
    justify-self: center;
  }

  .hero-seal {
    left: 1%;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-note {
    max-width: 520px;
    margin-bottom: 0;
  }

  .game,
  .game:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 110px;
  }

  .game:nth-child(even) .game-visual {
    order: 0;
  }

  .game-body {
    max-width: 680px;
  }

  .game h3 {
    font-size: clamp(39px, 6vw, 58px);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-sticky {
    position: static;
  }

  .about-stamp {
    display: none;
  }

  .about-copy {
    max-width: 800px;
  }

  .upcoming {
    min-height: 390px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 76px;
  }

  .site-header.is-scrolled {
    height: 68px;
  }

  .header-status {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    z-index: 75;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 100px var(--page-pad) 60px;
    background: rgba(10, 10, 9, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s var(--ease);
  }

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

  .site-nav a {
    padding: 8px 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(38px, 7vw, 56px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.25;
  }

  .site-nav a::after {
    bottom: 6px;
    background: var(--accent);
  }

  .site-nav a:nth-child(even) {
    align-self: flex-end;
  }

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

  .upcoming {
    min-height: 360px;
  }

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

  .footer-links {
    display: none;
  }

  .footer-meta {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 122px;
    padding-bottom: 85px;
    gap: 55px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 82px);
    letter-spacing: -0.07em;
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.9;
  }

  .hero-actions {
    gap: 20px;
    margin-top: 29px;
  }

  .button {
    min-height: 50px;
    padding-inline: 20px;
  }

  .hero-stats {
    margin-top: 44px;
  }

  .hero-stats > div {
    padding-right: 8px;
  }

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

  .hero-stats dd {
    font-size: 9px;
  }

  .hero-collage {
    min-height: 420px;
    margin-bottom: 20px;
  }

  .hero-card--main {
    width: 94%;
    top: 2%;
  }

  .hero-card--night {
    width: 47%;
    bottom: 40px;
  }

  .hero-card--throne {
    width: 45%;
    right: 0;
    bottom: 6px;
  }

  .hero-seal {
    width: 76px;
    height: 76px;
    top: 24%;
    left: -1%;
  }

  .hero-card figcaption span {
    font-size: 7px;
  }

  .hero-note {
    bottom: 4px;
    font-size: 8px;
  }

  .genre-track span {
    padding-inline: 22px;
    font-size: 13px;
  }

  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-heading h2,
  .about-sticky h2 {
    font-size: clamp(34px, 9vw, 64px);
    letter-spacing: -0.055em;
  }

  .game-list {
    margin-top: 56px;
  }

  .game,
  .game:nth-child(even) {
    gap: 27px;
    margin-bottom: 82px;
  }

  .game h3 {
    font-size: clamp(34px, 9.8vw, 50px);
  }

  .game-desc {
    font-size: 12px;
  }

  .game-meta {
    flex-direction: column;
    gap: 5px;
  }

  .game-index {
    font-size: 40px;
  }

  .game-state {
    top: 13px;
    left: 13px;
    padding: 6px 9px;
    font-size: 8px;
  }

  .gallery-trigger {
    right: 12px;
    bottom: 12px;
    min-height: 36px;
    font-size: 9px;
  }

  .about {
    gap: 40px;
  }

  .about-lede {
    font-size: 27px;
  }

  .about-text {
    font-size: 13px;
  }

  .principle {
    grid-template-columns: 32px 1fr;
    gap: 12px 16px;
    padding: 22px 0;
  }

  .principle p {
    grid-column: 2;
  }

  .about-quote p {
    font-size: 32px;
  }

  .upcoming {
    min-height: 330px;
    padding: 20px 20px 24px;
  }

  .upcoming-bottom h3 {
    font-size: 36px;
  }

  .contact {
    padding-top: 82px;
  }

  .contact h2 {
    margin-top: 26px;
    font-size: clamp(66px, 20vw, 115px);
    line-height: 1.16;
  }

  .contact-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 65px;
  }

  .contact-marquee span {
    font-size: 32px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 34px;
  }

  .footer-meta {
    grid-column: auto;
    justify-self: start;
    text-align: left;
  }

  .gallery-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .gallery-shell {
    padding: 17px 13px 20px;
  }

  .gallery-header {
    margin-bottom: 16px;
  }

  .gallery-close {
    width: 38px;
    height: 38px;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-figure img {
    height: auto;
    max-height: 56vh;
  }

  .gallery-nav {
    position: absolute;
    z-index: 2;
    width: 39px;
    height: 39px;
    top: 45%;
    background: rgba(12, 12, 11, 0.7);
    backdrop-filter: blur(6px);
  }

  .gallery-nav--prev {
    left: 19px;
  }

  .gallery-nav--next {
    right: 19px;
  }

  .gallery-thumbs {
    gap: 6px;
    margin-top: 14px;
    padding-left: 0;
    overflow-x: auto;
  }

  .gallery-thumb {
    width: 68px;
    flex: 0 0 auto;
  }

  .gallery-figure figcaption {
    font-size: 9px;
  }
}

@media (max-width: 430px) {
  .brand-type small {
    display: none;
  }

  .hero-stats dt {
    font-size: 28px;
  }

  .hero-card--main {
    width: 97%;
  }

  .hero-card--night {
    width: 49%;
    bottom: 49px;
  }

  .hero-card--throne {
    width: 48%;
  }

  .hero-collage {
    min-height: 350px;
  }

  .hero-seal {
    width: 67px;
    height: 67px;
  }

  .hero-note {
    display: none;
  }
}

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

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

  html.js .reveal,
  html.js .game.reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}
