:root {
  color-scheme: light;
  --bg: #f7f7f4;
  --ink: #070707;
  --muted: #666;
  --line: #d9d9d2;
  --panel: #fff;
  --soft: #edede7;
  --focus: #111;
  --radius: 8px;
  --max: 1180px;
  --mx: 50%;
  --my: 50%;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(0, 0, 0, 0.09), transparent 24rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 96px 96px, 96px 96px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

a {
  color: inherit;
}

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

main,
.site-header,
.site-footer,
.ticker {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

.fx-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  contain: strict;
}

.cursor-glow {
  position: fixed;
  left: var(--x, 50vw);
  top: var(--y, 50vh);
  z-index: -1;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.13), transparent 62%);
  pointer-events: none;
  transition: opacity 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(247, 247, 244, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: #000;
  color: #fff;
  border-radius: 6px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-5deg) translateY(-2px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.22);
}

.brand-name {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: #222;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  content: "";
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  transition: transform 160ms ease, border-color 160ms ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  border-color: #000;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: #000;
}

.section {
  width: min(var(--max), calc(100vw - 36px));
  max-width: calc(100vw - 36px);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 108px) 0;
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  padding-bottom: clamp(36px, 5vw, 70px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: #505050;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 8.5vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #000;
  pointer-events: none;
  content: attr(data-text);
  opacity: 0;
}

.glitch:hover::before,
.glitch:hover::after {
  opacity: 0.55;
}

.glitch:hover::before {
  transform: translate(3px, -2px);
  clip-path: inset(0 0 58% 0);
  animation: glitchTop 480ms steps(2, end) infinite;
}

.glitch:hover::after {
  transform: translate(-3px, 2px);
  clip-path: inset(44% 0 0 0);
  animation: glitchBottom 520ms steps(2, end) infinite;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero-lede {
  max-width: 660px;
  color: #2d2d2d;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #262626;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-tags span:hover {
  transform: translateY(-3px);
  border-color: #000;
  background: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #000;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 34%, rgba(255, 255, 255, 0.32) 46%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  content: "";
}

.button.secondary::after {
  background: linear-gradient(100deg, transparent 0 34%, rgba(0, 0, 0, 0.1) 46%, transparent 58%);
}

.button:hover::after {
  transform: translateX(120%);
}

.button.primary,
.button.light {
  background: #000;
  color: #fff;
}

.button.secondary {
  background: transparent;
}

.button.light {
  border-color: #fff;
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-height: min(74vh, 620px);
  border: 1px solid #111;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(#111 1px, transparent 1px),
    linear-gradient(90deg, #111 1px, transparent 1px),
    #fefefe;
  background-size: 42px 42px;
  box-shadow: 10px 10px 0 #000;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-stage::before {
  background: linear-gradient(180deg, transparent 0 47%, rgba(0, 0, 0, 0.08) 49%, transparent 51%);
  animation: sweep 4.8s linear infinite;
}

.hero-stage::after {
  border: 1px solid rgba(0, 0, 0, 0.16);
  transform: translate(14px, -14px);
  opacity: 0.45;
}

.arena-grid {
  position: absolute;
  inset: 0;
}

.node,
.track {
  position: absolute;
  display: block;
  background: #000;
}

.node {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  animation: pulse 1.9s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
}

.node-a {
  left: 16%;
  top: 18%;
}

.node-b {
  right: 18%;
  top: 30%;
  animation-delay: 260ms;
}

.node-c {
  left: 28%;
  bottom: 22%;
  animation-delay: 520ms;
}

.node-d {
  right: 24%;
  bottom: 18%;
  animation-delay: 780ms;
}

.track {
  height: 2px;
  transform-origin: left;
  animation: scan 3.2s ease-in-out infinite;
}

.reticle {
  position: absolute;
  width: 84px;
  height: 84px;
  border: 1px solid #000;
  border-radius: 50%;
  animation: rotate 9s linear infinite;
}

.reticle::before,
.reticle::after {
  position: absolute;
  background: #000;
  content: "";
}

.reticle::before {
  top: 50%;
  left: -12px;
  width: calc(100% + 24px);
  height: 1px;
}

.reticle::after {
  top: -12px;
  left: 50%;
  width: 1px;
  height: calc(100% + 24px);
}

.reticle-a {
  right: 12%;
  top: 13%;
}

.reticle-b {
  left: 12%;
  bottom: 13%;
  width: 58px;
  height: 58px;
  animation-direction: reverse;
}

.hud-panel {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid #000;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hud-panel span {
  color: #666;
  font-weight: 800;
}

.hud-panel strong {
  font-size: 0.9rem;
}

.hud-top {
  top: 24px;
  right: 24px;
}

.hud-left {
  top: 38%;
  left: 24px;
}

.track-a {
  left: 16%;
  top: 20%;
  width: 55%;
  transform: rotate(11deg);
}

.track-b {
  left: 30%;
  bottom: 24%;
  width: 46%;
  transform: rotate(-8deg);
  animation-delay: 600ms;
}

.track-c {
  left: 22%;
  top: 50%;
  width: 62%;
  animation-delay: 1.1s;
}

.build-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 22px;
  border: 1px solid #000;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  transform: translateZ(24px);
}

.build-label,
.build-card small {
  display: block;
  color: #555;
}

.build-card strong {
  display: block;
  margin: 4px 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1;
}

.ticker {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  background: #000;
  color: #fff;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 20s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 28px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  margin-left: 28px;
  content: "/";
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
}

.stat {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stat::before {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
  content: "";
}

.stat:hover {
  border-color: #000;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.16);
}

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

.stat-value {
  display: block;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.game-card {
  position: relative;
  display: grid;
  min-height: 0;
  align-content: space-between;
  padding: 16px;
  border: 1px solid #111;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.game-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(0, 0, 0, 0.08) 48% 52%, transparent 52%),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(0, 0, 0, 0.045) 16px 17px);
  content: "";
  transition: opacity 180ms ease, transform 180ms ease;
}

.game-card::after {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(100deg, transparent 35%, rgba(0, 0, 0, 0.12), transparent 65%);
  transform: translateX(-70%) rotate(12deg);
  opacity: 0;
  transition: transform 520ms ease, opacity 180ms ease;
  content: "";
}

.game-card:hover {
  border-color: #000;
  box-shadow: 7px 7px 0 #000;
}

.game-card:hover::before {
  transform: scale(1.05);
}

.game-card:hover::after {
  transform: translateX(70%) rotate(12deg);
  opacity: 1;
}

.thumb-placeholder,
.game-thumb,
.game-meta {
  position: relative;
  z-index: 1;
}

.game-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid #111;
  background: #000;
  overflow: hidden;
}

.game-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: filter 180ms ease, transform 260ms ease;
}

.game-card:hover .game-thumb img {
  filter: contrast(1.05) saturate(1.08);
  transform: scale(1.08);
}

.game-code {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #000;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 0.72rem;
  font-weight: 900;
}

.thumb-placeholder {
  display: grid;
  min-height: 230px;
  place-items: center;
  border: 1px dashed #111;
  color: #555;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  overflow: hidden;
}

.thumb-placeholder::before {
  position: absolute;
  width: 12px;
  height: 120%;
  background: #000;
  opacity: 0.08;
  transform: rotate(18deg) translateX(-90px);
  animation: placeholderBeam 2.8s ease-in-out infinite;
  content: "";
}

.thumb-placeholder span {
  position: relative;
  z-index: 1;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
}

.open-label {
  flex: 0 0 auto;
  color: #555;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.game-card:hover .open-label {
  color: #000;
  transform: translateX(3px);
}

.game-meta strong,
.game-meta small {
  display: block;
}

.game-meta strong {
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.12;
}

.game-meta small {
  color: #666;
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.playtime {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  min-width: 138px;
  padding: 10px 12px;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 0.9;
  text-align: right;
  white-space: nowrap;
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.playtime small {
  display: block;
  margin-top: 6px;
  color: #d8d8d8;
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
}

.game-card:hover .playtime {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.45);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 80px);
}

.split .section-head {
  display: block;
  margin-bottom: 0;
}

.capability-list {
  display: grid;
  gap: 10px;
}

.capability {
  display: grid;
  grid-template-columns: 56px 170px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: padding-left 180ms ease, border-color 180ms ease, background 180ms ease;
}

.capability::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: #000;
  content: "";
  transition: width 180ms ease;
}

.capability:hover {
  padding-left: 18px;
  border-color: #000;
  background: rgba(255, 255, 255, 0.55);
}

.capability:hover::before {
  width: 4px;
}

.capability:last-child {
  border-bottom: 1px solid var(--line);
}

.capability span,
.role {
  color: #606060;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.capability p,
.person-card p {
  color: #4d4d4d;
}

.team-grid {
  display: grid;
  gap: 14px;
}

.founders {
  grid-template-columns: repeat(3, 1fr);
}

.designers {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 14px;
}

.person-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 430px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transform-style: preserve-3d;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.person-card:hover {
  border-color: #000;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.16);
}

.person-card.compact {
  grid-template-columns: 116px 1fr;
  grid-template-rows: none;
  min-height: 150px;
  align-items: center;
}

.portrait-placeholder {
  display: grid;
  min-height: 240px;
  place-items: center;
  border: 1px dashed #111;
  background: var(--soft);
  color: #555;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  position: absolute;
  content: "";
}

.portrait-placeholder::before {
  inset: 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  animation: framePulse 2.4s ease-in-out infinite;
}

.portrait-placeholder::after {
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 10px, rgba(0, 0, 0, 0.04) 10px 11px);
}

.portrait-placeholder {
  isolation: isolate;
}

.portrait-placeholder {
  z-index: 0;
}

.compact .portrait-placeholder {
  min-height: 116px;
}

.role {
  margin-bottom: 6px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 36px));
  margin-bottom: 48px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-band h2 {
  max-width: 760px;
}

.contact-band > div {
  min-width: 0;
}

.contact-band .button {
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  padding: 12px 16px;
  line-height: 1.15;
  white-space: nowrap;
}

.contact-band::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 46%, transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.07) 18px 19px);
  transform: translateX(-80%);
  animation: contactSweep 5.8s ease-in-out infinite;
  content: "";
}

.contact-band > * {
  position: relative;
  z-index: 1;
}

.contact-band .eyebrow {
  color: #bdbdbd;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: #555;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

.tilt-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
}

.tilt-card:hover {
  --lift: -4px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.42;
  }
}

@keyframes scan {
  0%,
  100% {
    clip-path: inset(0 100% 0 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes sweep {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

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

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

@keyframes placeholderBeam {
  0%,
  100% {
    transform: rotate(18deg) translateX(-120px);
  }
  50% {
    transform: rotate(18deg) translateX(120px);
  }
}

@keyframes framePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(0.94);
    opacity: 0.9;
  }
}

@keyframes contactSweep {
  0%,
  100% {
    transform: translateX(-82%);
  }
  50% {
    transform: translateX(82%);
  }
}

@keyframes glitchTop {
  0%,
  100% {
    clip-path: inset(0 0 58% 0);
  }
  50% {
    clip-path: inset(12% 0 46% 0);
  }
}

@keyframes glitchBottom {
  0%,
  100% {
    clip-path: inset(44% 0 0 0);
  }
  50% {
    clip-path: inset(62% 0 8% 0);
  }
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  h1 {
    max-width: 900px;
    font-size: clamp(3.35rem, 10.5vw, 6.8rem);
  }

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

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 900px;
    font-size: clamp(3.25rem, 12vw, 6.4rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 460px;
  }

  .stats,
  .founders {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .capability p {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-band .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  body {
    background-size: auto, 72px 72px, 72px 72px, auto;
  }

  .site-header {
    padding: 14px 18px;
  }

  .cursor-glow {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 71px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid #000;
    border-radius: var(--radius);
    background: #fff;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .stats,
  .game-grid,
  .founders,
  .designers {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-band .button {
    flex-basis: auto;
    width: 100%;
    min-width: 0;
    font-size: clamp(0.86rem, 3.7vw, 1rem);
    white-space: nowrap;
  }

  .hero-stage {
    min-height: 380px;
    box-shadow: none;
  }

  .hero-stage::after {
    transform: none;
  }

  .hud-panel {
    font-size: 0.66rem;
  }

  .hud-top {
    top: 14px;
    right: 14px;
  }

  .hud-left {
    top: 32%;
    left: 14px;
  }

  .game-card {
    min-height: 0;
  }

  .game-meta {
    align-items: start;
    flex-direction: row;
  }

  .playtime {
    min-width: 118px;
    padding: 8px 10px;
  }

  .tilt-card,
  .tilt-card:hover {
    --lift: 0;
    transform: none !important;
  }

  .person-card,
  .person-card.compact {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
