:root {
  --paper: #ecebe5;
  --white: #f7f6f1;
  --ink: #0a0a0a;
  --red: #ff2020;
  --muted: #676761;
  --line: rgba(10,10,10,.18);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(10,10,10,.045) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(10,10,10,.04) 50%, transparent 50.2%);
  background-size: 86px 86px;
  animation: grid-drift 18s linear infinite;
}
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: .13;
  background-image: radial-gradient(circle, var(--ink) .7px, transparent .8px);
  background-size: 7px 7px;
  mask-image: radial-gradient(circle at 78% 20%, black, transparent 36%), radial-gradient(circle at 8% 78%, black, transparent 28%);
}
.page-art {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.page-art::before {
  position: absolute;
  top: 12%;
  right: -7%;
  color: rgba(255,32,32,.055);
  content: "ID";
  font-family: "Archivo Black";
  font-size: min(48vw, 680px);
  letter-spacing: -.19em;
  line-height: .7;
  animation: giant-type-drift 13s ease-in-out infinite;
}
.page-art::after {
  position: absolute;
  top: 0;
  left: 9%;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(transparent, rgba(255,32,32,.4), transparent);
  box-shadow: 46vw 0 rgba(10,10,10,.06), 78vw 0 rgba(10,10,10,.05);
  animation: tracking-line 8s ease-in-out infinite;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 130px 0; }

.nav-shell { position: fixed; top: 0; right: 0; left: 0; z-index: 50; }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  transition: .3s ease;
}
.nav.scrolled {
  padding-inline: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0 0 16px 16px;
  color: white;
  background: rgba(10,10,10,.91);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 43px; aspect-ratio: 1; border-radius: 7px; }
.brand strong { font-family: "Archivo Black", sans-serif; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-center { color: #44443f; font-size: .58rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.nav.scrolled .nav-center { color: #a7a7a0; }
.nav-links { display: flex; justify-content: flex-end; align-items: center; gap: 26px; }
.nav-links a { font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.nav-links a:hover { color: var(--red); }
.nav-cta { padding: 11px 15px; border: 1px solid currentColor; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid currentColor; background: transparent; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: 125px 0 42px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  position: absolute;
  top: 105px;
  left: 0;
  width: 23%;
  height: 7px;
  content: "";
  background: var(--red);
  animation: header-rule 5s ease-in-out infinite;
}
.hero::after {
  position: absolute;
  top: 42%;
  left: -28px;
  width: 58px;
  height: 150px;
  border: 1px solid rgba(10,10,10,.25);
  content: "";
  background: repeating-linear-gradient(45deg,var(--ink) 0 2px,transparent 2px 8px);
  opacity: .2;
  animation: side-stamp 6s steps(2) infinite;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  min-height: calc(100svh - 167px);
  border: 1px solid var(--ink);
  background: var(--white);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(28px,4vw,62px);
  border-right: 1px solid var(--ink);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-kicker::before { width: 11px; aspect-ratio: 1; content: ""; background: var(--red); animation: blink 1.3s steps(1) infinite; }
.hero h1 {
  max-width: 730px;
  margin: 34px 0 25px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4rem,8.2vw,8.6rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .82;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--red); }
.hero-summary { max-width: 510px; margin: 0 0 28px; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: .22s ease;
}
.button:hover { color: white; background: var(--ink); transform: translate(-3px,-3px); box-shadow: 4px 4px 0 var(--red); }
.button-primary { color: white; background: var(--red); }
.hero-meta { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.hero-meta div { padding: 18px 12px 0 0; color: #77776f; font-size: .51rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-meta strong { display: block; margin-bottom: 3px; color: var(--ink); font-family: "Archivo Black"; font-size: 1.35rem; letter-spacing: -.04em; }

.hero-visual { position: relative; min-width: 0; overflow: hidden; background: var(--ink); }
.scene { position: absolute; inset: 0; opacity: 0; animation: scene-cycle 15s linear infinite; }
.scene:nth-of-type(1) { animation-delay: 0s; }
.scene:nth-of-type(2) { animation-delay: -10s; }
.scene:nth-of-type(3) { animation-delay: -5s; }
.scene img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.08); animation: scene-zoom 5s ease-out infinite; }
.scene::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to top,rgba(10,10,10,.72),transparent 55%); }
.scene-caption { position: absolute; right: 28px; bottom: 28px; left: 28px; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: white; }
.scene-caption span { display: block; margin-bottom: 7px; color: var(--red); font-size: .55rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.scene-caption strong { display: block; max-width: 430px; font-family: "Archivo Black"; font-size: clamp(1.6rem,3vw,3.2rem); line-height: .95; text-transform: uppercase; }
.scene-count { font-family: "Archivo Black"; font-size: 2rem; }
.sight {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  animation: sight-pulse 2.5s ease-in-out infinite;
}
.sight::before,.sight::after { position: absolute; top: 50%; left: 50%; content: ""; background: rgba(255,255,255,.65); transform: translate(-50%,-50%); }
.sight::before { width: 140%; height: 1px; }
.sight::after { width: 1px; height: 140%; }
.red-block { position: absolute; top: 0; right: 0; z-index: 5; width: 26%; height: 12px; background: var(--red); animation: block-slide 3s ease-in-out infinite; }
.hero-side-label { position: absolute; top: 50%; right: 8px; z-index: 6; color: white; font-size: .5rem; font-weight: 800; letter-spacing: .2em; writing-mode: vertical-rl; text-transform: uppercase; transform: translateY(-50%); }

.kinetic-strip { overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--red); }
.strip-track { display: flex; width: max-content; animation: marquee 18s linear infinite; }
.strip-group { display: flex; align-items: center; gap: 34px; padding: 14px 34px 14px 0; }
.strip-group span { color: white; font-family: "Archivo Black"; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.strip-group b { color: var(--ink); }

.section-label { display: grid; grid-template-columns: 110px 1fr; gap: 24px; margin-bottom: 55px; }
.section-index { color: var(--red); font-family: "Archivo Black"; font-size: .72rem; }
.section-label h2 { max-width: 850px; margin: 0; font-family: "Archivo Black"; font-size: clamp(3rem,6vw,6rem); font-weight: 400; letter-spacing: -.07em; line-height: .88; text-transform: uppercase; }
.section-label h2 span { color: var(--red); }

.game-rows { border-top: 1px solid var(--ink); }
.game-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr 70px;
  gap: 24px;
  align-items: center;
  min-height: 155px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  transition: color .3s ease,background .3s ease;
}
.game-row:hover { color: white; background: var(--ink); }
.game-num { padding-left: 12px; color: var(--red); font-family: "Archivo Black"; font-size: .72rem; }
.game-name { position: relative; z-index: 2; font-family: "Archivo Black"; font-size: clamp(1.4rem,2.7vw,2.8rem); line-height: .95; text-transform: uppercase; }
.game-detail { position: relative; z-index: 2; color: var(--muted); font-size: .72rem; line-height: 1.7; }
.game-row:hover .game-detail { color: #adada7; }
.game-arrow { position: relative; z-index: 2; display: grid; width: 44px; aspect-ratio: 1; place-items: center; border: 1px solid currentColor; transition: .25s ease; }
.game-row:hover .game-arrow { color: white; background: var(--red); transform: rotate(45deg); }
.game-preview { position: absolute; top: 50%; right: 12%; z-index: 1; width: 280px; height: 145px; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(-40%) rotate(-5deg) scale(.9); transition: .35s cubic-bezier(.16,1,.3,1); }
.game-preview img { width: 100%; height: 100%; object-fit: cover; }
.game-row:hover .game-preview { opacity: .55; transform: translateY(-50%) rotate(-2deg) scale(1); }

.manifesto { color: white; background: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.manifesto-sticky { position: sticky; top: 130px; }
.manifesto .section-index { color: var(--red); }
.manifesto h2 { margin: 18px 0 20px; font-family: "Archivo Black"; font-size: clamp(3rem,5vw,5.2rem); font-weight: 400; letter-spacing: -.07em; line-height: .88; text-transform: uppercase; }
.manifesto h2 span { color: var(--red); }
.manifesto-sticky p { max-width: 450px; color: #93938d; font-size: .82rem; line-height: 1.8; }
.principles { border-top: 1px solid rgba(255,255,255,.18); }
.principle { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.principle-num { color: var(--red); font-family: "Archivo Black"; font-size: .7rem; }
.principle h3 { margin: 0 0 8px; font-family: "Archivo Black"; font-size: 1.55rem; font-weight: 400; text-transform: uppercase; }
.principle p { margin: 0; color: #8f8f89; font-size: .75rem; line-height: 1.75; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--ink); background: var(--white); }
.contact-copy { position: relative; overflow: hidden; padding: clamp(32px,6vw,80px); border-right: 1px solid var(--ink); }
.contact-copy::after { position: absolute; right: -60px; bottom: -80px; color: rgba(255,32,32,.08); content: "ID"; font-family: "Archivo Black"; font-size: 18rem; letter-spacing: -.15em; }
.contact-copy h2 { position: relative; z-index: 1; max-width: 550px; margin: 18px 0 20px; font-family: "Archivo Black"; font-size: clamp(3rem,5.5vw,5.6rem); font-weight: 400; letter-spacing: -.07em; line-height: .86; text-transform: uppercase; }
.contact-copy h2 span { color: var(--red); }
.contact-copy p { position: relative; z-index: 1; max-width: 430px; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.contact-form { display: grid; gap: 18px; padding: clamp(28px,5vw,65px); background: var(--paper); }
.field { display: grid; gap: 8px; }
.field label { font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.field input,.field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: 0; background: transparent; font-size: .84rem; transition: border-color .2s ease; }
.field input { height: 48px; }
.field textarea { min-height: 125px; padding: 14px 0; resize: vertical; }
.field input:focus,.field textarea:focus { border-color: var(--red); }
.field input::placeholder,.field textarea::placeholder { color: #93938d; }
.contact-form .button { cursor: pointer; }
.contact-form .button:disabled { cursor: wait; opacity: .6; }
.form-status { min-height: 1.3em; margin: 0; color: var(--muted); font-size: .68rem; }
.form-status.success { color: #087947; }
.form-status.error { color: var(--red); }
.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 30px 0 38px; font-size: .61rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; }
.footer a:hover { color: var(--red); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease,transform .75s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes scene-cycle {
  0%, 30% { opacity: 1; visibility: visible; }
  33.333%, 96.667% { opacity: 0; visibility: hidden; }
  100% { opacity: 1; visibility: visible; }
}
@keyframes scene-zoom { from { transform: scale(1.03); } to { transform: scale(1.1); } }
@keyframes sight-pulse { 50% { width: 116px; opacity: .5; } }
@keyframes block-slide { 50% { width: 44%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grid-drift { to { background-position: 86px 86px; } }
@keyframes giant-type-drift { 50% { transform: translate(-22px,18px) rotate(-2deg); } }
@keyframes tracking-line { 50% { transform: translateX(26px); opacity: .45; } }
@keyframes header-rule { 50% { width: 44%; } }
@keyframes side-stamp { 50% { transform: translateY(80px); } }

@media (max-width: 1000px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-center { display: none; }
  .nav-links { position: absolute; top: 78px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; color: white; background: var(--ink); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; }
  .menu-button { display: grid; place-items: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .hero-visual { min-height: 600px; }
  .game-row { grid-template-columns: 70px 1fr 70px; }
  .game-detail { display: none; }
  .game-preview { right: 14%; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-sticky { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { border-right: 0; border-bottom: 1px solid var(--ink); }
}

@media (max-width: 640px) {
  .container { width: 340px; max-width: calc(100vw - 24px); margin-left: 12px; margin-right: auto; }
  .nav-shell { top: 0; }
  .brand strong { font-size: .7rem; }
  .hero { padding-top: 92px; }
  .hero-grid { width: 100%; }
  .hero-copy { min-height: 600px; padding: 26px 20px; }
  .hero h1 { width: 100%; max-width: 100%; font-size: 2.55rem; }
  .hero h1 span { font-size: .82em; }
  .hero-summary { font-size: .78rem; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-meta { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-meta div { padding-right: 5px; font-size: .4rem; }
  .hero-meta strong { font-size: .95rem; }
  .hero-visual { min-height: 470px; }
  .scene-caption { right: 18px; bottom: 18px; left: 18px; }
  .scene-count { font-size: 1.35rem; }
  .section { padding: 90px 0; }
  .section-label { grid-template-columns: 1fr; gap: 12px; }
  .section-label h2 { font-size: clamp(2.7rem,15vw,4rem); }
  .game-row { grid-template-columns: 42px 1fr 44px; gap: 10px; min-height: 125px; }
  .game-num { padding-left: 2px; }
  .game-name { font-size: 1.2rem; }
  .game-arrow { width: 38px; }
  .game-preview { display: none; }
  .manifesto-grid { gap: 45px; }
  .principle { grid-template-columns: 42px 1fr; gap: 10px; }
  .contact-copy,.contact-form { padding: 28px 20px; }
  .footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

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