.other-projects {
  color: var(--text);
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(58px, 8vw, 112px) 7%;
}

.other-inner { max-width: 1320px; margin-inline: auto; }
.other-inner > h2 {
  margin: 0 0 clamp(24px, 4vw, 44px);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -.045em;
}

.other-grid { display: grid; gap: 18px; }

.other-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.other-panel h3 {
  margin: 0;
  font-size: clamp(22px, 2.45vw, 34px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.other-kind {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
}

.other-subtitle { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.other-game {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 26%);
  align-items: center;
  gap: clamp(16px, 3.5vw, 52px);
  padding: clamp(18px, 3vw, 40px);
}

.other-game-cover {
  width: 100%;
  max-width: 220px;
  margin-inline: auto;
  overflow: hidden;
  border: 5px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: 0 10px 22px #0004;
}

.other-game-cover img { display: block; width: 100%; height: auto; }
.other-game-title { color: var(--text); font-weight: 700; }
.other-game-copy .other-subtitle { max-width: 34em; }

.other-game-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  margin-top: 19px;
  min-height: 44px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
}
.other-game-link:hover { background: var(--text); }

.other-game-qr {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(12px, 2.1vw, 26px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  text-align: center;
}
.other-game-qr figcaption { display: grid; gap: 5px; }
.other-game-qr strong { font-size: 14px; }
.other-game-qr figcaption span { color: var(--muted); font-size: 12px; }
.other-game-qr img {
  display: block;
  width: 156px;
  max-width: 100%;
  height: auto;
  padding: 6px;
  border-radius: 5px;
  background: #fff;
}

.other-ar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 52px);
  padding: clamp(18px, 3vw, 40px);
}

.other-ar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
}

.other-ar-card { min-width: 0; margin: 0; }
.other-ar-flip {
  display: block;
  width: 100%;
  aspect-ratio: 1181 / 1748;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  perspective: 1000px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.other-ar-faces {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.other-ar-flip[aria-pressed="true"] .other-ar-faces { transform: rotateY(180deg); }
.other-ar-faces img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 18px #0004;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
  user-select: none;
}
.other-ar-back { transform: rotateY(180deg); }
.other-ar-card figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 5px 6px;
  padding-top: 11px;
  font-size: 14px;
}
.other-ar-side { color: var(--muted); font-size: 12px; }
.other-ar-card figcaption a {
  grid-column: 1 / -1;
  justify-self: start;
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.other-film {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  overflow: hidden;
}

.other-film-screen { align-self: stretch; display: grid; align-items: center; background: var(--bg); }
.other-film-screen video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--bg); }
.other-film-copy { padding: clamp(18px, 3vw, 40px); }
.other-film-notes { border-top: 1px solid var(--line); margin-top: 20px; }
.other-film-notes summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 700; }
.other-film-notes p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.other-projects :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.other-game-link:focus-visible { outline-color: var(--text); }

@media (max-width: 850px) {
  .other-game { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
  .other-ar { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .other-projects { padding-inline: 6%; }
  .other-grid { gap: 14px; }
  .other-game { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .other-game-qr { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 110px); align-items: center; text-align: left; }
  .other-game-qr figcaption { justify-self: start; }
  .other-film { grid-template-columns: 1fr; }
  .other-ar-card figcaption { font-size: 12px; }
  .other-ar-side, .other-ar-card figcaption a { font-size: 11px; }
}

@media (max-width: 480px) {
  .site-header {
    height: auto;
    min-height: 65px;
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 12px;
    row-gap: 10px;
  }
  .site-header nav { flex: 0 0 100%; justify-content: center; gap: clamp(7px, 3vw, 15px); }
}

@media (prefers-reduced-motion: reduce) {
  .other-ar-faces { transition: none; }
}
