@font-face {
  font-family: Noto;
  src: url("assets/noto-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f6f3ea;
  --ink: #253b34;
  --muted: #68746b;
  --line: #d8dccf;
  --orange: #ba4e2e;
  --green: #1c3e35;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.75 Noto,
    Arial,
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 10px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font:
    700 29px/1 Arial,
    sans-serif;
  letter-spacing: -1.5px;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-right: 12px;
}
.brand strong,
.hero-wordmark strong {
  font-weight: 800;
}
.brand b,
.hero-wordmark b {
  color: var(--orange);
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 12px;
}
nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--orange);
}
.nav-github {
  padding: 8px 15px;
  border: 1px solid #a7b1a4;
  border-radius: 3px;
}
.nav-github span {
  margin-left: 15px;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  padding-block: 64px 68px;
}
.development-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}
.development-label span {
  background: var(--orange);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
h1 {
  font:
    600 72px/1.05 Arial,
    sans-serif;
  letter-spacing: -3px;
}
.hero-copy > p {
  margin-block: 24px 28px;
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 13px 19px;
  border-radius: 3px;
  background: var(--orange);
  color: #fffaf1;
  font-size: 12px;
}
.button:hover {
  background: #983c23;
}
.text-link {
  font-size: 12px;
}
.text-link span {
  margin-left: 10px;
}
.hero-identity {
  text-align: center;
  justify-self: center;
}
.hero-identity > img {
  height: 235px;
  width: 235px;
  object-fit: contain;
  margin: auto;
}
.hero-wordmark {
  font:
    600 52px/1.1 Arial,
    sans-serif;
  letter-spacing: -3px;
  margin-top: 12px;
}
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 15px;
}
.section-bar h2 {
  font-size: 15px;
  font-weight: 400;
}
.section-bar > span {
  color: var(--muted);
  font-size: 11px;
}
.game-frame {
  position: relative;
  background: #4d6354;
  border: 4px solid #fffdf7;
  border-radius: 5px;
  overflow: hidden;
}
.game-frame > img {
  height: auto;
  width: 100%;
}
.expand-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  border: 1px solid #ffffff61;
  border-radius: 3px;
  background: #f8f6ede8;
  padding: 8px 13px;
  font-size: 11px;
  color: var(--ink);
}
.expand-button span {
  margin-left: 8px;
}
.expand-button:hover {
  background: #fff;
}
.showcase-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.showcase-bottom > span {
  font-size: 10px;
  color: var(--muted);
}
.view-switch {
  display: flex;
  gap: 22px;
  padding-block: 14px;
}
.view-switch button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  padding: 3px 0;
  color: var(--muted);
  font-size: 11px;
}
.view-switch button.active {
  color: var(--ink);
  border-color: var(--orange);
}
.game-section {
  padding-block: 90px 80px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  margin-bottom: 48px;
}
.section-label {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  margin-bottom: 18px;
}
h2 {
  font:
    500 46px/1.12 Arial,
    sans-serif;
  letter-spacing: -1.8px;
}
.intro-copy {
  color: var(--muted);
  font-size: 13px;
  max-width: 520px;
  padding-top: 4px;
}
.intro-copy p + p {
  margin-top: 17px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  padding: 30px 30px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdf72b;
}
.feature svg {
  width: 36px;
  height: 36px;
  stroke: var(--orange);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 20px;
}
.feature h3 {
  font:
    500 19px/1.3 Arial,
    sans-serif;
  letter-spacing: -0.45px;
  margin-bottom: 13px;
}
.feature p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.interface-section {
  background: var(--green);
  color: var(--paper);
  padding-block: 70px 50px;
}
.interface-intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 35px;
}
.interface-intro .section-label {
  color: #e2ad83;
}
.interface-intro > p {
  font-size: 13px;
  color: #bdcabe;
  max-width: 470px;
  padding-bottom: 5px;
}
.interface-views {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}
.interface-views button {
  border: 1px solid #b8c9b44a;
  background: none;
  color: #d1dbcb;
  padding: 8px 16px;
  font-size: 11px;
  border-radius: 3px;
}
.interface-views button.selected {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.interface-views button:hover {
  border-color: #e2ad83;
}
.interface-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 35px;
  align-items: start;
}
.interface-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 3px solid #ffffff21;
}
.interface-frame > img {
  width: 100%;
  height: auto;
}
.interface-copy {
  padding-top: 2px;
}
.interface-selection h3 {
  font:
    500 23px/1.25 Arial,
    sans-serif;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.interface-selection p {
  font-size: 12px;
  color: #c4d0c0;
  line-height: 1.85;
}
.layout-details {
  margin: 23px 0 0;
}
.layout-details > div {
  padding-block: 14px;
  border-top: 1px solid #bacbb329;
}
.layout-details dt {
  color: #f6f3ea;
  font-size: 12px;
  margin-bottom: 5px;
}
.layout-details dd {
  color: #adbfad;
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}
.controls-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #bacbb329;
  margin-top: 35px;
  padding-top: 22px;
  gap: 20px;
}
.controls-strip div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.controls-strip strong {
  font-size: 11px;
  font-weight: 400;
}
.controls-strip span {
  font-size: 10px;
  color: #aebfab;
}
.artwork-section {
  padding-block: 85px;
}
.artwork-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.artwork-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.artwork-image {
  width: 100%;
  height: 210px;
  border: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ebdf;
  padding: 18px;
}
.artwork-image:hover {
  background: #dde3d0;
}
.artwork-image > span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: var(--muted);
}
.artwork-image img {
  width: 100%;
  height: 175px;
  object-fit: contain;
}
.artwork-caption {
  padding: 18px 16px 22px;
}
.artwork-caption > span {
  color: var(--orange);
  font-size: 9px;
}
.artwork-caption h3 {
  font:
    500 16px/1.3 Arial,
    sans-serif;
  letter-spacing: -0.3px;
  margin: 7px 0 9px;
}
.artwork-caption p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}
.project-section {
  border-top: 1px solid var(--line);
  padding-block: 75px 70px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 120px;
  align-items: center;
}
.project-section h2 {
  margin-bottom: 23px;
}
.project-section > div > p:not(.section-label) {
  color: var(--muted);
  font-size: 13px;
  max-width: 500px;
  margin-bottom: 17px;
}
.project-section .button {
  margin-top: 8px;
}
.project-details {
  border-top: 1px solid var(--line);
}
.project-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 17px;
  border-bottom: 1px solid var(--line);
}
.project-details > div > span {
  font-size: 11px;
  color: var(--muted);
}
.project-details strong,
.project-details a {
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}
.project-details a:hover {
  color: var(--orange);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 25px;
  color: var(--muted);
  font-size: 10px;
}
.footer-brand {
  font:
    700 20px/1 Arial,
    sans-serif;
  letter-spacing: -0.8px;
  color: var(--ink);
}
.site-footer > div {
  display: flex;
  gap: 25px;
}
dialog {
  padding: 0;
  border: 0;
  background: #152b25;
  max-width: 95vw;
  max-height: 94vh;
  overflow: auto;
  border-radius: 6px;
}
dialog::backdrop {
  background: #0e231fea;
}
dialog img {
  max-width: none;
  width: min(2400px, 90vw);
  height: auto;
}
dialog button {
  position: sticky;
  top: 10px;
  float: right;
  margin: 10px;
  background: var(--paper);
  border: 0;
  border-radius: 3px;
  padding: 8px 18px;
  font-size: 12px;
  z-index: 1;
}
body.dialog-open {
  overflow: hidden;
}
.hero-copy > .save-compatibility {
  font-size: 12px;
  color: var(--ink);
  margin-top: -12px;
}
.trademark-notice {
  color: var(--muted);
  font-size: 10px;
  padding-bottom: 25px;
  line-height: 1.8;
}
.artwork-dialog {
  background: #e9ebdf;
}
.artwork-dialog img {
  width: auto;
  max-width: 85vw;
  max-height: 80vh;
  object-fit: contain;
  margin: 20px auto;
}
@media (max-width: 1100px) {
  .artwork-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wrap {
    width: calc(100% - 64px);
  }
  nav {
    gap: 18px;
    font-size: 11px;
  }
  h1 {
    font-size: 61px;
  }
  .hero {
    gap: 30px;
  }
  .hero-wordmark {
    font-size: 46px;
  }
  .section-intro,
  .interface-intro {
    gap: 55px;
  }
  h2 {
    font-size: 40px;
  }
  .feature {
    padding: 25px 22px;
  }
  .interface-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 25px;
  }
  .layout-details {
    margin-top: 18px;
  }
  .project-section {
    gap: 70px;
  }
}
@media (max-width: 850px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 18px 14px;
    gap: 18px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-github {
    padding: 4px 10px;
  }
  .nav-github span {
    margin-left: 6px;
  }
  h1 {
    font-size: 53px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-identity > img {
    height: 190px;
    width: 190px;
  }
  .hero-wordmark {
    font-size: 38px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .interface-layout {
    grid-template-columns: 1fr;
  }
  .interface-copy {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 35px;
    padding-top: 5px;
  }
  .layout-details {
    margin: 0;
  }
  .layout-details > div:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .artwork-grid {
    gap: 15px;
  }
  .artwork-caption {
    padding: 20px 17px;
  }
  .artwork-image {
    height: 220px;
    padding: 15px;
  }
  .artwork-image img {
    width: 100%;
    height: 185px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  nav {
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 35px 40px;
    gap: 32px;
  }
  .development-label {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 10px;
  }
  h1 {
    font-size: clamp(44px, 9vw, 58px);
    letter-spacing: -2px;
  }
  .hero-copy > p {
    margin-block: 20px 23px;
    font-size: 13px;
  }
  .hero-actions {
    justify-content: center;
    gap: 22px;
  }
  .button {
    font-size: 11px;
    padding: 12px 15px;
    gap: 18px;
  }
  .text-link {
    font-size: 11px;
  }
  .hero-identity > img {
    width: 145px;
    height: 145px;
  }
  .hero-wordmark {
    font-size: 35px;
    letter-spacing: -2px;
    margin-top: 8px;
  }
  .section-bar h2 {
    font-size: 13px;
  }
  .section-bar > span {
    font-size: 9px;
  }
  .game-frame {
    border-width: 3px;
  }
  .expand-button {
    bottom: 10px;
    right: 10px;
    font-size: 9px;
    padding: 5px 8px;
  }
  .showcase-bottom {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  .showcase-bottom > span {
    font-size: 9px;
  }
  .view-switch {
    padding-block: 12px 7px;
  }
  .view-switch button {
    font-size: 10px;
  }
  .game-section {
    padding-block: 55px 45px;
  }
  .section-intro,
  .interface-intro {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }
  .section-label {
    font-size: 9px;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 35px;
    letter-spacing: -1.3px;
  }
  .intro-copy {
    padding: 0;
    font-size: 12px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    padding: 25px;
  }
  .feature svg {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
  }
  .feature h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .feature p {
    font-size: 12px;
  }
  .interface-section {
    padding-block: 45px 30px;
  }
  .interface-intro > p {
    font-size: 12px;
  }
  .interface-views {
    gap: 6px;
    margin-bottom: 15px;
  }
  .interface-views button {
    font-size: 10px;
    padding: 7px 12px;
  }
  .interface-layout {
    gap: 25px;
  }
  .interface-copy {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .interface-selection h3 {
    font-size: 22px;
  }
  .interface-selection p {
    font-size: 12px;
  }
  .layout-details dt {
    font-size: 12px;
  }
  .layout-details dd {
    font-size: 11px;
  }
  .controls-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
  }
  .artwork-section {
    padding-block: 50px;
  }
  .artwork-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .artwork-image {
    height: 190px;
  }
  .artwork-image img {
    width: 100%;
    height: 160px;
  }
  .artwork-caption {
    padding: 15px;
  }
  .artwork-caption h3 {
    font-size: 16px;
  }
  .project-section {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 45px;
  }
  .project-section > div > p:not(.section-label) {
    font-size: 12px;
  }
  .project-details > div {
    padding-block: 14px;
  }
  .project-details strong,
  .project-details a {
    font-size: 11px;
  }
  .project-details > div > span {
    font-size: 10px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 25px;
  }
  .site-footer > p {
    margin-left: auto;
    font-size: 9px;
  }
  .site-footer > div {
    width: 100%;
    gap: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
