@font-face {
  font-family: "Heebo";
  src: url("./assets/heebo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f1eee5;
  --ink: #181817;
  --ink-soft: #34332f;
  --white: #fffdf5;
  --signal: #f6d54a;
  --fault: #f05a3c;
  --game-blue: #36c5e8;
  --game-navy: #071326;
  --rule: rgba(24, 24, 23, 0.3);
  --max: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --body: "Heebo", Arial, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(90deg, transparent 49.85%, rgba(24, 24, 23, 0.025) 50%, transparent 50.15%), var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--game-blue); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 11px 16px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header, .hero-copy, .release, .studio, .closing, footer {
  width: min(calc(100% - (2 * var(--gutter))), var(--max));
  margin-inline: auto;
}
.site-header {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  border-bottom: 2px solid var(--ink);
}
.wordmark {
  width: max-content;
  display: grid;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.72;
  transform: skewX(-5deg);
}
.wordmark span:last-child {
  margin-left: 16px;
  color: var(--fault);
  -webkit-text-stroke: 1px var(--ink);
  text-shadow: 2px 2px 0 var(--ink);
}
.header-note {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
}
.header-note span { color: #5e5b53; text-transform: none; }
nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}
nav a:not(.nav-play) { border-bottom: 3px solid transparent; }
nav a:not(.nav-play):hover, nav a:not(.nav-play):focus-visible { border-color: var(--fault); }
.nav-play {
  gap: 18px;
  padding: 0 17px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--fault);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.nav-play:hover, .nav-play:focus-visible { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--fault); }

.hero { padding: clamp(56px, 7vw, 104px) 0 clamp(92px, 11vw, 160px); }
.hero-copy { position: relative; }
.kicker, .section-mark {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker::before, .section-mark::before {
  content: "";
  width: 36px;
  height: 9px;
  display: inline-block;
  margin-right: 11px;
  background: var(--signal);
  border: 1px solid var(--ink);
  vertical-align: 1px;
  transform: rotate(-2deg);
}
h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { max-width: 1180px; font-size: clamp(58px, 9.2vw, 148px); }
h1 span { position: relative; display: inline-block; color: var(--fault); transform: rotate(-1deg); }
h1 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 2%;
  height: 8px;
  background: var(--ink);
  clip-path: polygon(0 32%, 78% 0, 100% 42%, 75% 66%, 4% 100%);
}
.hero-bottomline {
  margin-top: clamp(40px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
  gap: 40px;
}
.tagline { margin: 0; font-size: clamp(25px, 3.4vw, 49px); font-weight: 800; letter-spacing: -0.035em; }
.hero-note {
  margin: 0 6vw 4px 0;
  padding-left: 17px;
  border-left: 3px solid var(--fault);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  transform: rotate(1.5deg);
}

.release {
  position: relative;
  margin-top: clamp(64px, 8vw, 116px);
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(310px, 0.72fr);
  color: var(--white);
  background: var(--game-navy);
  border: 3px solid var(--ink);
  box-shadow: 11px 11px 0 var(--ink);
}
.release::before {
  content: "FEATURED RELEASE / DO NOT DISCONNECT";
  position: absolute;
  z-index: 6;
  top: -18px;
  left: clamp(18px, 6vw, 92px);
  padding: 7px 22px 6px;
  color: var(--ink);
  background: var(--signal);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(-1.5deg);
}
.release-visual {
  position: relative;
  min-height: 670px;
  padding: clamp(34px, 4vw, 64px) 0 clamp(56px, 6vw, 90px) clamp(22px, 3vw, 48px);
  background: radial-gradient(circle, rgba(54, 197, 232, 0.22) 1.5px, transparent 1.6px) 0 0 / 34px 34px, var(--game-navy);
}
.bench-shot, .mission-shot { margin: 0; background: #030b17; }
.bench-shot {
  position: relative;
  z-index: 2;
  width: 91%;
  border: 2px solid var(--white);
  box-shadow: 13px 13px 0 var(--fault);
  transform: rotate(-0.7deg);
}
.bench-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bench-shot figcaption, .mission-shot figcaption {
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}
.mission-shot {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 26px;
  width: 43%;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--signal);
  transform: rotate(2.2deg);
}
.mission-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.scribble, .margin-note { font-family: "Comic Sans MS", "Bradley Hand", cursive; font-weight: 700; line-height: 1.05; }
.scribble { position: absolute; z-index: 5; margin: 0; color: var(--signal); font-size: 16px; }
.scribble-wire { left: 8%; bottom: 24px; transform: rotate(-7deg); }
.scribble-wire::after { content: "↗"; display: inline-block; margin-left: 8px; font: 34px/0.6 var(--body); transform: rotate(-20deg); }
.scribble-wrong { top: 34px; right: 4%; color: var(--fault); transform: rotate(5deg); }
.release-copy {
  position: relative;
  z-index: 3;
  padding: clamp(46px, 6vw, 82px) clamp(28px, 4vw, 58px);
  background: var(--game-navy);
  border-left: 1px dashed rgba(255, 253, 245, 0.35);
}
.release-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.release-label span:last-child::before { content: ""; width: 8px; height: 8px; display: inline-block; margin-right: 7px; background: var(--fault); border-radius: 50%; }
.release-copy h2 { color: var(--game-blue); font-size: clamp(60px, 5.2vw, 78px); text-shadow: 4px 4px 0 #075a73; }
.game-kind { margin: 20px 0 0; font-size: 19px; font-weight: 800; }
.game-pitch { max-width: 460px; margin: 18px 0 0; color: #c8d0d9; font-size: 16px; line-height: 1.65; }
.release-facts { margin: 30px 0 34px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 253, 245, 0.24); }
.release-facts li {
  position: relative;
  padding: 11px 4px 11px 22px;
  border-bottom: 1px solid rgba(255, 253, 245, 0.24);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}
.release-facts li::before { content: "+"; position: absolute; left: 2px; color: var(--signal); font-weight: 900; }
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 0 22px;
  border: 2px solid currentColor;
  font-size: 15px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.button-primary { min-width: 238px; color: var(--ink); background: var(--signal); box-shadow: 6px 6px 0 var(--fault); }
.button-primary:hover, .button-primary:focus-visible { background: #ffe36c; transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--fault); }
.button:active { transform: translate(5px, 5px); box-shadow: none; }
.play-note { margin: 16px 0 0; color: #aeb8c4; font-family: var(--mono); font-size: 10px; line-height: 1.5; }

.studio {
  padding: clamp(90px, 11vw, 156px) 0 clamp(82px, 10vw, 140px);
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(54px, 10vw, 150px);
  border-top: 2px solid var(--ink);
}
.studio-heading { align-self: start; position: sticky; top: 32px; }
.studio-heading h2 { font-size: clamp(54px, 6.2vw, 92px); }
.studio-heading h2 span { color: var(--fault); }
.studio-heading > p:last-child { max-width: 510px; margin: 32px 0 0; font-size: 18px; line-height: 1.7; }
.principles { border-top: 2px solid var(--ink); }
.principle {
  position: relative;
  min-height: 248px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 28px;
  align-content: center;
  padding: 36px 88px 36px 0;
  border-bottom: 2px solid var(--ink);
}
.principle-mark {
  color: transparent;
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.9;
  -webkit-text-stroke: 2px var(--ink);
  transform: rotate(-4deg);
}
.principle h3 { margin: 0 0 12px; font-size: clamp(25px, 2.3vw, 34px); letter-spacing: -0.035em; }
.principle p:not(.margin-note) { max-width: 510px; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.margin-note {
  position: absolute;
  right: -17px;
  top: 50%;
  margin: 0;
  color: var(--fault);
  font-size: 14px;
  text-align: center;
  transform: translateY(-50%) rotate(5deg);
}
.principle-failure { background: linear-gradient(90deg, rgba(246, 213, 74, 0.55), transparent 78%); }
.principle-failure .principle-mark { -webkit-text-stroke-color: var(--fault); transform: rotate(4deg); }
.warning-sticker {
  position: absolute;
  right: -23px;
  bottom: 18px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--fault);
  border: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  transform: rotate(-7deg);
}

.closing {
  margin-bottom: clamp(70px, 8vw, 116px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  color: var(--white);
  background: var(--fault);
  border: 3px solid var(--ink);
  box-shadow: 11px 11px 0 var(--ink);
}
.closing-image { position: relative; min-height: 520px; overflow: hidden; background: var(--game-navy); }
.closing-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.closing-image span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--signal);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  transform: rotate(2deg);
}
.closing-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(38px, 6vw, 82px); }
.closing-copy .section-mark::before { background: var(--game-blue); }
.closing-copy h2 { font-size: clamp(54px, 6vw, 92px); }
.closing-rhythm { margin: 28px 0 32px; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.button-light { min-width: 244px; color: var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.button-light:hover, .button-light:focus-visible { background: var(--signal); transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }

footer {
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  border-top: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
}
footer p { max-width: 300px; margin: 0; }

@media (max-width: 1080px) {
  .header-note { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .release { grid-template-columns: 1fr; }
  .release-visual { min-height: 640px; padding-right: 20px; }
  .release-copy { border-top: 1px dashed rgba(255, 253, 245, 0.35); border-left: 0; }
  .game-pitch, .release-facts { max-width: 670px; }
  .studio { gap: 60px; }
  .closing { grid-template-columns: 1fr; }
  .closing-image { min-height: auto; aspect-ratio: 16 / 8; }
  footer { grid-template-columns: auto 1fr auto; }
  footer p:last-of-type { display: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .site-header { min-height: 84px; }
  nav > a:not(.nav-play) { display: none; }
  .wordmark { font-size: 20px; }
  .nav-play { min-height: 46px; padding-inline: 14px; }
  .hero { padding-top: 48px; }
  .hero-bottomline { grid-template-columns: 1fr; gap: 22px; }
  .hero-note { width: max-content; margin: 0 0 0 auto; }
  .release, .closing { box-shadow: 7px 7px 0 var(--ink); }
  .release-visual { min-height: 470px; padding: 36px 12px 60px; }
  .bench-shot { width: 97%; }
  .mission-shot { right: 0; width: 55%; }
  .scribble-wrong { display: none; }
  .release-copy { padding: 46px 24px; }
  .studio { grid-template-columns: 1fr; padding-top: 96px; }
  .studio-heading { position: static; }
  .principle { padding-right: 64px; }
  .closing-copy { padding: 48px 24px 54px; }
  footer { min-height: 220px; grid-template-columns: 1fr auto; align-content: center; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 480px) {
  .site-header { gap: 12px; }
  .nav-play { gap: 10px; font-size: 12px; }
  h1 { font-size: clamp(54px, 17.2vw, 78px); }
  h1 br { display: none; }
  h1 span::after { height: 5px; bottom: -6px; }
  .tagline { font-size: 27px; }
  .release { margin-top: 72px; }
  .release::before { left: 10px; padding-inline: 10px; font-size: 9px; }
  .release-visual { min-height: 355px; padding-top: 29px; }
  .bench-shot { box-shadow: 7px 7px 0 var(--fault); }
  .bench-shot figcaption { display: none; }
  .mission-shot { bottom: 28px; width: 58%; box-shadow: 5px 5px 0 var(--signal); }
  .mission-shot figcaption { padding: 6px; font-size: 8px; }
  .scribble-wire { left: 4%; bottom: 17px; font-size: 12px; }
  .scribble-wire::after { font-size: 25px; }
  .release-copy h2 { font-size: 61px; }
  .game-kind { font-size: 18px; }
  .button { width: 100%; min-width: 0; }
  .principle { min-height: 226px; grid-template-columns: 54px 1fr; gap: 15px; padding: 30px 12px 30px 0; }
  .principle-mark { font-size: 45px; -webkit-text-stroke-width: 1.5px; }
  .margin-note, .warning-sticker { display: none; }
  .closing-image { aspect-ratio: 4 / 3; }
  footer { grid-template-columns: 1fr; gap: 22px; padding: 42px 0; }
  footer p { grid-column: auto; grid-row: auto; }
}

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