@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Shippori+Mincho:wght@500;700&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

:root {
  --night: #07131f;
  --night-soft: #0c1d2b;
  --ink: #102130;
  --paper: #f5efd9;
  --paper-deep: #e8ddbe;
  --amber: #ffb23e;
  --orange: #e85a2a;
  --red: #a93f32;
  --sea: #2f8f8a;
  --sea-deep: #17605f;
  --signal: #b8f04b;
  --mist: #b9c8c5;
  --pixel: 'DotGothic16', sans-serif;
  --sans: 'Zen Kaku Gothic New', sans-serif;
  --serif: 'Shippori Mincho', serif;
  --shell: min(1180px, calc(100vw - 48px));
  --border: 2px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

body::selection {
  color: var(--night);
  background: var(--signal);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--night);
  background: var(--signal);
  font-family: var(--pixel);
  transform: translateY(-150%);
}

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

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.boot {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--paper);
  background: var(--night);
  font-family: var(--pixel);
  letter-spacing: .12em;
  transition: opacity .55s steps(5), visibility .55s;
}

.boot span {
  font-size: clamp(1.3rem, 4vw, 2.4rem);
}

.boot i {
  position: relative;
  width: min(280px, 70vw);
  height: 12px;
  border: 2px solid var(--paper);
  box-shadow: 4px 4px 0 rgba(245, 239, 217, .18);
}

.boot i::after {
  position: absolute;
  inset: 2px;
  content: '';
  background: var(--signal);
  transform-origin: left;
  animation: boot-load .8s steps(8) forwards;
}

.boot small {
  color: var(--mist);
  font-size: .68rem;
}

body.is-ready .boot {
  opacity: 0;
  visibility: hidden;
}

@keyframes boot-load {
  from { transform: scaleX(.04); }
  to { transform: scaleX(1); }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 32px;
  color: var(--paper);
  border-bottom: 1px solid rgba(245, 239, 217, .2);
  transition: background .25s, min-height .25s, box-shadow .25s;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 68px;
  background: rgba(7, 19, 31, .96);
  box-shadow: 0 6px 0 rgba(2, 10, 17, .28);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--pixel);
  line-height: 1;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand strong {
  font-size: .94rem;
  letter-spacing: .16em;
}

.brand small {
  color: var(--amber);
  font-size: .64rem;
  letter-spacing: .42em;
}

.brand__mark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  background: var(--paper);
  box-shadow: inset 0 0 0 4px var(--night), 0 0 0 2px var(--paper);
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  content: '';
  background: var(--night);
}

.brand__mark::before {
  top: 15px;
  left: 9px;
  width: 16px;
  height: 4px;
}

.brand__mark::after {
  top: 9px;
  left: 15px;
  width: 4px;
  height: 16px;
}

.brand__mark i,
.brand__mark b {
  position: absolute;
  z-index: 1;
  right: 6px;
  width: 4px;
  height: 4px;
  background: var(--orange);
}

.brand__mark i { top: 7px; }
.brand__mark b { top: 13px; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  font-family: var(--pixel);
  font-size: .78rem;
  letter-spacing: .08em;
}

.main-nav a,
.language-nav a {
  position: relative;
  transition: color .2s;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  content: '';
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s steps(3);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
}

.language-nav {
  display: flex;
  gap: 12px;
  font-family: var(--pixel);
  font-size: .62rem;
}

.language-nav a {
  color: var(--mist);
}

.language-nav a[aria-current='page'],
.language-nav a:hover {
  color: var(--signal);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(720px, 100svh);
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
}

.hero__image,
.hero__shade,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  image-rendering: auto;
  transform: scale(1.03);
  animation: hero-arrive 1.4s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 19, 31, .94) 0%, rgba(7, 19, 31, .63) 48%, rgba(7, 19, 31, .2) 78%),
    linear-gradient(0deg, rgba(7, 19, 31, .9) 0%, transparent 40%);
}

.hero__grid {
  opacity: .18;
  background-image:
    linear-gradient(rgba(245, 239, 217, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 217, .22) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(760px, calc(100vw - 48px));
  margin: 76px max(24px, calc((100vw - 1180px) / 2)) 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--orange);
  font-family: var(--pixel);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--signal);
}

.hero .eyebrow::before {
  width: 18px;
  height: 18px;
  content: '';
  border: 4px solid currentColor;
  box-shadow: inset 0 0 0 3px var(--night);
  animation: signal-pulse 1.2s steps(2) infinite;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7.7rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.hero h1 strong {
  color: var(--amber);
  font-weight: 700;
  text-shadow: 7px 7px 0 rgba(7, 19, 31, .65);
}

.hero__lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: #e3e7dd;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 500;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 210px;
  padding: 14px 16px 14px 20px;
  border: 2px solid currentColor;
  font-family: var(--pixel);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
  transition: transform .15s steps(2), box-shadow .15s steps(2), color .2s, background .2s;
}

.button i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--night);
  background: var(--paper);
  font-style: normal;
}

.button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
}

.button--signal {
  color: var(--night);
  background: var(--signal);
  border-color: var(--signal);
}

.button--signal i {
  background: var(--night);
  color: var(--signal);
}

.button--ghost {
  color: var(--paper);
  background: rgba(7, 19, 31, .58);
}

.hero__status {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 50px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 10px 12px;
  background: rgba(7, 19, 31, .76);
  border-left: 3px solid var(--signal);
  font-family: var(--pixel);
  line-height: 1.4;
}

.hero__status > span {
  color: var(--mist);
  font-size: .54rem;
}

.hero__status strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--signal);
  font-size: .65rem;
}

.hero__status strong i {
  width: 7px;
  height: 7px;
  background: currentColor;
  animation: signal-pulse .9s steps(2) infinite;
}

.hero__location {
  position: absolute;
  z-index: 2;
  right: 27px;
  top: 50%;
  margin: 0;
  color: rgba(245, 239, 217, .6);
  font-family: var(--pixel);
  font-size: .56rem;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

@keyframes hero-arrive {
  from { opacity: .3; transform: scale(1.1); filter: saturate(.5); }
  to { opacity: 1; transform: scale(1.03); filter: saturate(1); }
}

@keyframes signal-pulse {
  50% { opacity: .28; }
}

.ticker {
  overflow: hidden;
  color: var(--night);
  background: var(--amber);
  border-block: 3px solid var(--ink);
  font-family: var(--pixel);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  white-space: nowrap;
}

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

.ticker div::after {
  content: 'PLAY ◆ LANGUAGE ◆ MEMORY ◆ CULTURE ◆ LOVE AS A SYSTEM ◆ SHIMONOSEKI ◆';
  padding: 10px 0 10px 24px;
}

.ticker span,
.ticker i {
  padding-block: 10px;
}

.ticker i {
  margin-inline: 22px;
  font-style: normal;
}

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

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: clamp(60px, 9vw, 130px);
  padding-block: clamp(100px, 12vw, 170px);
}

.manifesto__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.manifesto__intro h2,
.works__heading h2,
.method__intro h2,
.partners h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.8vw, 4.5rem);
  line-height: 1.28;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.manifesto__intro > p:last-child,
.works__heading > p:last-child,
.method__intro > p:last-child,
.partners__copy > p:nth-of-type(2) {
  margin: 28px 0 0;
  color: #46545a;
  font-size: 1.02rem;
  line-height: 2.1;
}

.creed {
  border-top: 3px solid var(--ink);
}

.creed__header {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 33, 48, .3);
  font-family: var(--pixel);
  font-size: .7rem;
  letter-spacing: .08em;
}

.creed__header small {
  color: var(--orange);
}

.creed-row {
  display: grid;
  grid-template-columns: 50px minmax(170px, .8fr) 1fr;
  gap: 20px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(16, 33, 48, .3);
  transition: padding .2s, background .2s;
}

.creed-row:hover {
  padding-inline: 12px;
  background: rgba(255, 178, 62, .12);
}

.creed-row__number {
  color: var(--orange);
  font-family: var(--pixel);
  font-size: .68rem;
}

.creed-row h3 {
  margin: 0;
  font-family: var(--pixel);
  font-size: .9rem;
  line-height: 1.5;
}

.creed-row p {
  margin: 0;
  color: #596268;
  font-size: .88rem;
}

.works {
  position: relative;
  overflow: hidden;
  padding-block: 120px 0;
  background: var(--night);
  color: var(--paper);
}

.works::before {
  position: absolute;
  inset: 0;
  content: '';
  opacity: .14;
  background-image: radial-gradient(var(--mist) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.works__heading {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 90px;
}

.works__heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -32px;
  color: var(--signal);
}

.works__heading > p:last-child {
  color: var(--mist);
}

.game-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 760px;
  border-top: 3px solid var(--paper);
}

.game-feature::before {
  position: absolute;
  z-index: 2;
  top: -3px;
  left: 50%;
  width: 3px;
  height: calc(100% + 3px);
  content: '';
  background: var(--paper);
}

.game-feature__index {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 26px;
  color: rgba(245, 239, 217, .38);
  font-family: var(--pixel);
  font-size: 1.1rem;
}

.game-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 590px;
  padding: clamp(80px, 10vw, 150px) clamp(34px, 6vw, 100px);
}

.status-chip {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 40px;
  padding: 7px 10px;
  color: var(--night);
  background: var(--signal);
  font-family: var(--pixel);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.status-chip i {
  width: 7px;
  height: 7px;
  background: var(--night);
  animation: signal-pulse 1s steps(2) infinite;
}

.status-chip--warm {
  background: var(--amber);
}

.game-feature__motif {
  margin: 0 0 15px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: .62rem;
  letter-spacing: .15em;
}

.game-feature h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.game-feature__alternate {
  margin: 12px 0 0;
  color: var(--mist);
  font-family: var(--pixel);
  font-size: .78rem;
  letter-spacing: .08em;
}

.game-feature__description {
  margin: 36px 0 0;
  color: #d1d8d2;
  font-size: 1rem;
  line-height: 2.05;
}

.game-feature__note {
  margin: 15px 0 0;
  color: var(--amber);
  font-size: .8rem;
}

.game-feature__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 239, 217, .3);
  font-family: var(--pixel);
  font-size: .72rem;
}

.game-feature__footer > span {
  color: var(--mist);
}

.game-feature__footer a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--signal);
}

.game-feature__footer a i {
  font-style: normal;
}

.buku-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 760px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(169, 63, 50, .13) 48% 52%, transparent 52%),
    var(--paper-deep);
}

.buku-visual::before {
  position: absolute;
  inset: 32px;
  content: '';
  border: 2px solid rgba(16, 33, 48, .28);
}

.buku-visual__paper {
  position: absolute;
  width: 390px;
  height: 520px;
  background: #fff9e8;
  border: 3px solid var(--ink);
  box-shadow: 18px 18px 0 var(--red);
  transform: rotate(-7deg);
}

.buku-visual img {
  position: relative;
  z-index: 2;
  width: min(270px, 38vw);
  max-height: 570px;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(16, 33, 48, .3);
  transform: rotate(3deg);
}

.buku-visual__code,
.buku-visual__seal {
  position: absolute;
  z-index: 3;
  font-family: var(--pixel);
}

.buku-visual__code {
  top: 12%;
  left: 9%;
  padding: 10px;
  color: var(--paper);
  background: var(--ink);
  font-size: .7rem;
  line-height: 1.7;
  transform: rotate(-4deg);
}

.buku-visual__seal {
  right: 9%;
  bottom: 10%;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  color: var(--red);
  border: 5px double var(--red);
  border-radius: 50%;
  font-size: .7rem;
  line-height: 1.5;
  text-align: center;
  transform: rotate(8deg);
}

.game-feature--kana {
  background: #102d37;
}

.game-feature--kana .game-feature__copy {
  max-width: none;
}

.kana-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(rgba(245, 239, 217, .06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(245, 239, 217, .06) 2px, transparent 2px),
    #ba4c34;
  background-size: 34px 34px;
}

.kana-visual::before {
  position: absolute;
  right: 5%;
  bottom: 7%;
  left: 5%;
  height: 16%;
  content: '';
  background: var(--night);
  box-shadow: 0 -12px 0 rgba(7, 19, 31, .25);
}

.kana-visual__sign {
  position: absolute;
  top: 10%;
  left: 10%;
  display: grid;
  place-items: center;
  width: 96px;
  height: 112px;
  color: var(--night);
  background: var(--amber);
  border: 5px solid var(--night);
  box-shadow: 10px 10px 0 rgba(7, 19, 31, .28);
  transform: rotate(-4deg);
}

.kana-visual__sign span {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 700;
}

.kana-visual__steam {
  position: absolute;
  top: 21%;
  display: flex;
  gap: 35px;
}

.kana-visual__steam i {
  width: 13px;
  height: 76px;
  border-left: 13px solid var(--paper);
  border-top: 13px solid var(--paper);
  opacity: .8;
  animation: steam-rise 2s steps(5) infinite;
}

.kana-visual__steam i:nth-child(2) { animation-delay: -.7s; }
.kana-visual__steam i:nth-child(3) { animation-delay: -1.4s; }

@keyframes steam-rise {
  0% { opacity: 0; transform: translateY(24px); }
  40% { opacity: .85; }
  100% { opacity: 0; transform: translateY(-24px); }
}

.kana-visual__pot {
  position: relative;
  width: min(400px, 70%);
  height: 230px;
  margin-top: 120px;
  background: var(--night);
  border: 10px solid var(--paper);
  border-radius: 15px 15px 95px 95px;
  box-shadow: 14px 14px 0 rgba(7, 19, 31, .35);
}

.kana-visual__pot::before,
.kana-visual__pot::after {
  position: absolute;
  top: 50px;
  width: 85px;
  height: 32px;
  content: '';
  background: var(--night);
  border: 8px solid var(--paper);
}

.kana-visual__pot::before { left: -92px; }
.kana-visual__pot::after { right: -92px; }

.kana-ball {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: var(--night);
  background: var(--amber);
  border: 5px solid var(--night);
  font-family: var(--pixel);
  font-size: 1.5rem;
  box-shadow: 6px 6px 0 rgba(245, 239, 217, .35);
  animation: ball-bob 2s steps(4) infinite;
}

.kana-ball--one { top: -31px; left: 12%; transform: rotate(-8deg); }
.kana-ball--two { top: 26px; left: 38%; background: var(--signal); animation-delay: -.5s; }
.kana-ball--three { top: -54px; right: 24%; background: var(--paper); animation-delay: -1s; }
.kana-ball--four { top: 66px; right: 8%; background: #ed8370; animation-delay: -1.5s; }

@keyframes ball-bob {
  50% { margin-top: -12px; }
}

.kana-visual__ticket {
  position: absolute;
  right: 8%;
  bottom: 11%;
  z-index: 2;
  padding: 12px 16px;
  color: var(--night);
  background: var(--signal);
  border: 3px solid var(--night);
  font-family: var(--pixel);
  font-size: .67rem;
  letter-spacing: .05em;
  box-shadow: 7px 7px 0 rgba(7, 19, 31, .34);
  transform: rotate(2deg);
}

.development {
  position: relative;
  padding-block: 140px;
}

.development__heading {
  display: grid;
  grid-template-columns: 90px minmax(0, 800px);
  gap: 30px;
  align-items: start;
  margin-bottom: 56px;
}

.pixel-prompt {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--night);
  background: var(--signal);
  border: 3px solid var(--paper);
  font-family: var(--pixel);
  font-size: 1.2rem;
  box-shadow: 7px 7px 0 rgba(245, 239, 217, .2);
}

.development__heading .section-kicker {
  margin-bottom: 12px;
  color: var(--signal);
}

.development__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
  line-height: 1.35;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--paper);
  border-left: 2px solid var(--paper);
}

.dev-card {
  position: relative;
  display: grid;
  grid-template-columns: 126px 1fr;
  column-gap: 25px;
  min-height: 330px;
  padding: 30px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transition: color .2s, background .2s;
}

.dev-card:hover {
  color: var(--night);
  background: var(--paper);
}

.dev-card__screen {
  grid-row: 1 / span 5;
  display: grid;
  place-items: center;
  align-self: start;
  width: 126px;
  height: 126px;
  color: var(--signal);
  background: #0e2634;
  border: 3px solid currentColor;
  box-shadow: inset 0 0 0 8px var(--night);
}

.dev-card:hover .dev-card__screen {
  color: var(--orange);
}

.dev-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--signal);
  font-family: var(--pixel);
  font-size: .53rem;
  letter-spacing: .05em;
}

.dev-card:hover .dev-card__meta {
  color: var(--red);
}

.dev-card__code {
  margin: 24px 0 5px;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: .58rem;
}

.dev-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.4;
}

.dev-card > p:not(.dev-card__code) {
  margin: 13px 0 0;
  color: var(--mist);
  font-size: .84rem;
  line-height: 1.9;
}

.dev-card:hover > p:not(.dev-card__code) {
  color: #4e5b60;
}

.dev-card small {
  align-self: end;
  margin-top: 18px;
  color: #849391;
  font-family: var(--pixel);
  font-size: .55rem;
}

.pixel-icon {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
}

.pixel-icon::before,
.pixel-icon::after,
.pixel-icon i,
.pixel-icon b {
  position: absolute;
  display: block;
  content: '';
  background: currentColor;
}

.pixel-icon--seed::before { left: 25px; bottom: 5px; width: 12px; height: 38px; }
.pixel-icon--seed::after { top: 8px; left: 7px; width: 23px; height: 18px; box-shadow: 26px 12px 0 currentColor; }
.pixel-icon--seed i { bottom: 0; left: 10px; width: 42px; height: 8px; }
.pixel-icon--seed b { top: 26px; left: 25px; width: 12px; height: 12px; background: var(--amber); }
.pixel-icon--pair::before { top: 8px; left: 4px; width: 24px; height: 24px; box-shadow: 30px 0 0 currentColor; }
.pixel-icon--pair::after { bottom: 5px; left: 12px; width: 16px; height: 25px; box-shadow: 22px 0 0 currentColor; }
.pixel-icon--pair i { top: 15px; left: 11px; width: 7px; height: 7px; background: var(--night); box-shadow: 30px 0 0 var(--night); }
.pixel-icon--pair b { top: 37px; left: 27px; width: 9px; height: 9px; background: var(--amber); }
.pixel-icon--home::before { top: 19px; left: 7px; width: 48px; height: 38px; }
.pixel-icon--home::after { top: 6px; left: 15px; width: 32px; height: 32px; transform: rotate(45deg); }
.pixel-icon--home i { z-index: 1; bottom: 5px; left: 24px; width: 14px; height: 25px; background: var(--night); }
.pixel-icon--home b { z-index: 1; top: 30px; left: 13px; width: 8px; height: 8px; background: var(--amber); }
.pixel-icon--town::before { bottom: 5px; left: 4px; width: 18px; height: 40px; box-shadow: 20px -12px 0 currentColor, 40px 6px 0 currentColor; }
.pixel-icon--town::after { bottom: 0; left: 0; width: 62px; height: 8px; }
.pixel-icon--town i { bottom: 13px; left: 10px; width: 5px; height: 5px; background: var(--amber); box-shadow: 20px -13px 0 var(--amber), 40px 5px 0 var(--amber); }
.pixel-icon--town b { bottom: 5px; left: 26px; width: 8px; height: 16px; background: var(--night); }

.method {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-deep);
  border-block: 3px solid var(--ink);
}

.method__art {
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  overflow: hidden;
  background: var(--sea);
  border-bottom: 3px solid var(--ink);
}

.method__sun {
  position: absolute;
  top: 22px;
  right: 12%;
  width: 48px;
  height: 48px;
  background: var(--amber);
  box-shadow: 8px 0 0 rgba(255, 178, 62, .4), -8px 0 0 rgba(255, 178, 62, .4);
}

.method__bridge {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 6px;
  background: var(--night);
  box-shadow: 0 14px 0 rgba(7, 19, 31, .45);
}

.method__bridge::before,
.method__bridge::after {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 62px;
  content: '';
  background: var(--night);
}

.method__bridge::before { left: 28%; }
.method__bridge::after { right: 28%; }

.method__water {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 28px, transparent 28px 44px);
}

.method__layout {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(60px, 9vw, 130px);
  padding-top: 220px;
  padding-bottom: 130px;
}

.method__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
  border-top: 3px solid var(--ink);
}

.method__steps li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(16, 33, 48, .34);
}

.method__steps span {
  color: var(--red);
  font-family: var(--pixel);
  font-size: .72rem;
}

.method__steps p {
  margin: 0;
  line-height: 1.9;
}

.partners {
  padding-block: 140px;
}

.partners__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  padding: clamp(40px, 7vw, 90px);
  color: var(--paper);
  background: var(--sea-deep);
  border: 3px solid var(--ink);
  box-shadow: 14px 14px 0 var(--ink);
}

.partners__panel::before {
  position: absolute;
  top: -14px;
  right: 40px;
  width: 132px;
  height: 26px;
  content: '';
  background: var(--amber);
  border: 3px solid var(--ink);
}

.partners .section-kicker {
  color: var(--signal);
}

.partners__copy > p:nth-of-type(2) {
  color: #d6e3dc;
}

.partners ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.partners li {
  padding: 6px 10px;
  border: 1px solid rgba(245, 239, 217, .55);
  font-family: var(--pixel);
  font-size: .6rem;
}

.partners__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.partners__disk {
  position: relative;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin-bottom: 40px;
  color: var(--night);
  background: var(--paper);
  border: 5px solid var(--night);
  box-shadow: 12px 12px 0 rgba(7, 19, 31, .28);
  transform: rotate(3deg);
}

.partners__disk::before {
  position: absolute;
  top: 0;
  width: 74px;
  height: 53px;
  content: '';
  background: var(--night);
}

.partners__disk i {
  position: absolute;
  top: 8px;
  width: 22px;
  height: 35px;
  background: var(--amber);
}

.partners__disk span {
  margin-top: 44px;
  font-family: var(--pixel);
  font-size: .77rem;
  line-height: 1.55;
}

.partners__action .button {
  width: 100%;
  max-width: 350px;
}

.partners__action small {
  display: block;
  margin-top: 25px;
  color: #c1d6cd;
  font-size: .7rem;
  line-height: 1.8;
}

.site-footer {
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
  border-top: 3px solid var(--ink);
}

.site-footer__marquee {
  width: max-content;
  padding: 12px 0;
  color: var(--night);
  background: var(--signal);
  font-family: var(--pixel);
  font-size: clamp(1.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  animation: footer-drift 18s linear infinite alternate;
}

@keyframes footer-drift {
  to { transform: translateX(calc(100vw - 100%)); }
}

.site-footer__grid {
  display: grid;
  grid-template-columns: .7fr 1.4fr .7fr;
  gap: 50px;
  padding-block: 70px 35px;
}

.brand--footer {
  align-self: start;
}

.site-footer__statement strong {
  display: block;
  color: var(--amber);
  font-family: var(--pixel);
  font-size: .85rem;
  line-height: 1.6;
}

.site-footer__statement p {
  margin: 18px 0 0;
  color: var(--mist);
  font-size: .72rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-family: var(--pixel);
  font-size: .68rem;
}

.site-footer__links a:hover {
  color: var(--signal);
}

.site-footer__legal {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 22px;
  color: #718083;
  border-top: 1px solid rgba(245, 239, 217, .2);
  font-family: var(--pixel);
  font-size: .58rem;
  letter-spacing: .06em;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

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

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

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

  .main-nav,
  .header-tools > .language-nav {
    display: none;
  }

  .header-tools {
    justify-content: end;
  }

  .menu-button {
    display: grid;
    grid-template-columns: 24px auto;
    grid-template-rows: repeat(3, 4px);
    column-gap: 9px;
    row-gap: 4px;
    align-items: center;
    padding: 7px 8px;
    color: var(--paper);
    background: transparent;
    border: 2px solid var(--paper);
  }

  .menu-button span {
    grid-column: 1;
    display: block;
    width: 24px;
    height: 3px;
    background: currentColor;
    transition: transform .2s, opacity .2s;
  }

  .menu-button b {
    grid-column: 2;
    grid-row: 1 / 4;
    font-family: var(--pixel);
    font-size: .56rem;
    font-weight: 400;
  }

  .menu-button[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: var(--paper);
    background: var(--night);
    border-top: 1px solid rgba(245, 239, 217, .2);
    border-bottom: 3px solid var(--signal);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .mobile-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-nav > a {
    padding: 17px 20px;
    border-right: 1px solid rgba(245, 239, 217, .16);
    border-bottom: 1px solid rgba(245, 239, 217, .16);
    font-family: var(--pixel);
    font-size: .75rem;
  }

  .mobile-nav > div {
    grid-column: 1 / -1;
    display: flex;
    gap: 22px;
    padding: 14px 20px;
    color: var(--mist);
    font-family: var(--pixel);
    font-size: .62rem;
  }

  .mobile-nav a[aria-current='page'] {
    color: var(--signal);
  }

  .hero__content {
    margin-left: 24px;
  }

  .hero__status {
    right: 18px;
  }

  .manifesto,
  .method__layout {
    grid-template-columns: 1fr;
  }

  .manifesto__intro {
    position: static;
  }

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

  .works__heading .section-kicker {
    margin-bottom: 8px;
  }

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

  .game-feature::before {
    display: none;
  }

  .game-feature__copy {
    max-width: 760px;
    min-height: 630px;
  }

  .buku-visual,
  .kana-visual {
    min-height: 650px;
  }

  .game-feature--kana .kana-visual {
    order: 2;
  }

  .dev-card {
    grid-template-columns: 100px 1fr;
  }

  .dev-card__screen {
    width: 100px;
    height: 100px;
  }

  .method__layout {
    padding-top: 200px;
  }

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

  .partners__action {
    padding-top: 15px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 28px);
  }

  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
  }

  .brand strong { font-size: .78rem; }
  .brand small { font-size: .54rem; }

  .hero {
    min-height: 760px;
  }

  .hero__image img {
    object-position: 63% 50%;
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(7, 19, 31, .97) 2%, rgba(7, 19, 31, .62) 62%, rgba(7, 19, 31, .48));
  }

  .hero__grid {
    background-size: 32px 32px;
    mask-image: linear-gradient(0deg, #000, transparent 90%);
  }

  .hero__content {
    align-self: end;
    width: calc(100% - 28px);
    margin: 100px 14px 112px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .hero__lead {
    margin-top: 22px;
    font-size: .94rem;
    line-height: 1.9;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    min-width: 0;
    padding: 12px;
    gap: 10px;
    font-size: .67rem;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
  }

  .button i {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
  }

  .hero__status {
    right: auto;
    bottom: 25px;
    left: 14px;
    align-items: start;
  }

  .hero__status strong {
    max-width: 180px;
  }

  .hero__location {
    top: 105px;
    right: 13px;
  }

  .manifesto {
    gap: 60px;
    padding-block: 85px;
  }

  .manifesto__intro h2,
  .works__heading h2,
  .method__intro h2,
  .partners h2 {
    font-size: 2.25rem;
  }

  .creed-row {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .creed-row p {
    grid-column: 2;
  }

  .works {
    padding-top: 85px;
  }

  .works__heading {
    margin-bottom: 60px;
  }

  .game-feature__index {
    top: 14px;
    left: 14px;
  }

  .game-feature__copy {
    min-height: auto;
    padding: 74px 20px 70px;
  }

  .status-chip {
    margin-bottom: 30px;
  }

  .game-feature h3 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .game-feature__description {
    margin-top: 26px;
    font-size: .92rem;
  }

  .game-feature__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .buku-visual,
  .kana-visual {
    min-height: 520px;
  }

  .buku-visual::before {
    inset: 16px;
  }

  .buku-visual__paper {
    width: 250px;
    height: 380px;
  }

  .buku-visual img {
    width: 190px;
    max-height: 410px;
  }

  .buku-visual__code {
    top: 9%;
    left: 5%;
    font-size: .54rem;
  }

  .buku-visual__seal {
    right: 5%;
    bottom: 6%;
    width: 90px;
    height: 90px;
    font-size: .55rem;
  }

  .kana-visual__sign {
    top: 8%;
    left: 6%;
    width: 68px;
    height: 80px;
  }

  .kana-visual__sign span {
    font-size: 2.7rem;
  }

  .kana-visual__pot {
    width: 66%;
    height: 185px;
  }

  .kana-visual__pot::before,
  .kana-visual__pot::after {
    width: 53px;
  }

  .kana-visual__pot::before { left: -60px; }
  .kana-visual__pot::after { right: -60px; }

  .kana-ball {
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
  }

  .kana-visual__ticket {
    right: 5%;
    bottom: 7%;
  }

  .development {
    padding-block: 95px;
  }

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

  .pixel-prompt {
    width: 48px;
    height: 48px;
    font-size: .8rem;
  }

  .development__heading h2 {
    font-size: 1.55rem;
  }

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

  .dev-card {
    grid-template-columns: 70px 1fr;
    gap: 15px;
    min-height: 300px;
    padding: 22px 18px;
  }

  .dev-card__screen {
    width: 70px;
    height: 70px;
    box-shadow: inset 0 0 0 5px var(--night);
  }

  .pixel-icon {
    transform: scale(.7);
  }

  .dev-card__meta {
    flex-direction: column;
    gap: 2px;
  }

  .dev-card__code {
    margin-top: 15px;
  }

  .dev-card h3 {
    font-size: 1.35rem;
  }

  .dev-card > p:not(.dev-card__code),
  .dev-card small {
    grid-column: 1 / -1;
  }

  .method__art {
    height: 96px;
  }

  .method__layout {
    gap: 50px;
    padding-top: 160px;
    padding-bottom: 90px;
  }

  .method__steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .partners {
    padding-block: 90px 105px;
  }

  .partners__panel {
    gap: 45px;
    padding: 50px 20px 35px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .partners__disk {
    width: 140px;
    height: 140px;
  }

  .partners__action .button {
    max-width: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 55px 28px;
  }

  .site-footer__links {
    align-items: flex-start;
  }

  .site-footer__legal {
    grid-column: 1;
  }
}

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