:root {
  color-scheme: dark;
  --ink: #060a14;
  --navy: #0a1020;
  --blue-gray: #8390a8;
  --off-white: #edf0ea;
  --cobalt: #4269c8;
  --gold: #b59a64;
  font-family: Inter, "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--ink);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--off-white);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.58rem 0.78rem;
  background: var(--off-white);
  color: var(--ink);
  font-size: 0.72rem;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.coming-header {
  display: flex;
  width: min(100%, 112rem);
  min-height: clamp(6rem, 11vw, 9.5rem);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.35rem, 4.4vw, 4.75rem);
}

.coming-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: rgba(237, 240, 234, 0.9);
  font-size: clamp(0.68rem, 0.92vw, 0.94rem);
  font-weight: 400;
  letter-spacing: 0.36em;
  line-height: 1;
  text-decoration: none;
}

.coming-brand::after {
  width: clamp(1.75rem, 3vw, 3rem);
  height: 1px;
  background: rgba(181, 154, 100, 0.72);
  content: "";
  transition: background-color 200ms ease;
}

.coming-header__meta {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  color: rgba(131, 144, 168, 0.78);
  font-size: 0.58rem;
  letter-spacing: 0.19em;
  line-height: 1;
}

.coming-header h1,
.coming-header__page {
  margin: 0;
  font: inherit;
  font-weight: 400;
}

.coming-header h1 span,
.coming-header__page span {
  color: rgba(66, 105, 200, 0.88);
}

.coming-room-link {
  color: rgba(237, 240, 234, 0.84);
  text-decoration: none;
}

.coming-brand:is(:hover, :focus-visible)::after {
  background: rgba(66, 105, 200, 0.78);
}

.coming-brand:focus-visible,
.coming-room-link:focus-visible {
  outline: 1px solid rgba(237, 240, 234, 0.88);
  outline-offset: 0.55rem;
}

.coming-main {
  display: grid;
  width: min(100%, 112rem);
  min-height: calc(100vh - clamp(6rem, 11vw, 9.5rem));
  min-height: calc(100svh - clamp(6rem, 11vw, 9.5rem));
  margin-inline: auto;
  align-items: center;
  padding: 0 clamp(1.35rem, 8.5vw, 9.5rem) clamp(4rem, 10vh, 8rem);
}

.coming-status {
  width: min(100%, 42rem);
  transform: translateY(-2vh);
}

.coming-status__number {
  margin: 0 0 0.8rem;
  color: rgba(66, 105, 200, 0.9);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
}

.coming-status__title {
  margin: 0;
  color: rgba(237, 240, 234, 0.9);
  font-size: clamp(0.78rem, 1vw, 0.96rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.25;
}

.coming-status__sub {
  margin: 0.75rem 0 0;
  color: rgba(131, 144, 168, 0.64);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  line-height: 1.4;
}

.game-project__type,
.game-project__credit {
  margin: 0;
  color: rgba(131, 144, 168, 0.58);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.game-project__type {
  margin-bottom: 0.85rem;
}

.game-project__credit {
  margin-top: 1.15rem;
}

.coming-page--game .coming-main {
  grid-template-columns: minmax(16rem, 0.72fr) minmax(24rem, 1.28fr);
  min-height: auto;
  align-content: start;
  column-gap: clamp(3rem, 7vw, 8rem);
  row-gap: clamp(1.25rem, 2vw, 2rem);
  padding-top: 0;
}

.coming-page--game .coming-header {
  min-height: clamp(5.5rem, 6vw, 6rem);
}

.game-project {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(24rem, 1.28fr);
  grid-column: 1 / -1;
  align-items: center;
  column-gap: clamp(3rem, 7vw, 8rem);
  row-gap: 1.5rem;
}

.game-project + .game-project {
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(131, 144, 168, 0.18);
}

.game-project--eclair .coming-status__title {
  font-size: clamp(0.88rem, 1.12vw, 1.08rem);
  letter-spacing: 0.13em;
  line-height: 1.75;
}

.game-project__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.game-project__actions .coming-launch {
  margin-top: 0;
}

.coming-launch--play {
  border-color: rgba(66, 105, 200, 0.64);
  background: rgba(66, 105, 200, 0.06);
}

.coming-launch--play span {
  color: rgba(94, 134, 230, 0.92);
}

.coming-launch--play:is(:hover, :focus-visible) {
  border-color: rgba(94, 134, 230, 0.9);
  background: rgba(66, 105, 200, 0.12);
}

.game-gallery {
  display: grid;
  width: min(100%, 58rem);
  justify-self: end;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.45rem, 0.8vw, 0.8rem);
}

.game-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(131, 144, 168, 0.22);
  background: #060a14;
}

.game-gallery__hero {
  grid-column: 1 / -1;
}

.game-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.82);
  transition: filter 220ms ease;
}

.game-gallery:is(:hover, :focus-within) img {
  filter: brightness(0.96) saturate(0.9);
}

.game-lead {
  display: grid;
  min-height: clamp(7.25rem, 8vw, 8rem);
  grid-column: 1 / -1;
  align-content: center;
}

.game-lead__number {
  margin: 0 0 0.75rem;
  color: var(--cobalt);
  font-size: 0.54rem;
  letter-spacing: 0.28em;
}

.game-lead h1 {
  margin: 0;
  color: rgba(237, 240, 234, 0.9);
  font-size: clamp(0.92rem, 1.35vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1;
}

.game-lead__mode {
  margin: 1.15rem 0 0;
  color: rgba(131, 144, 168, 0.62);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  line-height: 1.4;
}

.coming-page--game .coming-status {
  width: 100%;
}

.game-preview {
  display: block;
  width: min(100%, 58rem);
  justify-self: end;
  color: rgba(131, 144, 168, 0.68);
  text-decoration: none;
}

.game-preview__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  border: 1px solid rgba(131, 144, 168, 0.3);
  background: #060a14;
  filter: brightness(0.86) saturate(0.82);
  object-fit: cover;
  transition: border-color 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.game-preview__meta {
  display: flex;
  margin-top: 0.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
  transition: color 220ms ease;
}

.game-preview:is(:hover, :focus-visible) {
  color: rgba(237, 240, 234, 0.9);
  outline: none;
}

.game-preview:is(:hover, :focus-visible) .game-preview__image {
  border-color: rgba(66, 105, 200, 0.72);
  filter: brightness(0.96) saturate(0.9);
}

.game-preview:focus-visible .game-preview__image {
  outline: 1px solid rgba(237, 240, 234, 0.78);
  outline-offset: 0.35rem;
}

.coming-launch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(181, 154, 100, 0.48);
  color: rgba(237, 240, 234, 0.92);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.coming-launch span {
  color: var(--gold);
}

.coming-launch:is(:hover, :focus-visible) {
  border-color: rgba(181, 154, 100, 0.9);
  background: rgba(181, 154, 100, 0.09);
  outline: none;
}

.coming-motif {
  position: relative;
  margin-top: clamp(3rem, 6vw, 6rem);
  color: rgba(131, 144, 168, 0.27);
}

.coming-motif,
.coming-motif span,
.coming-motif::before,
.coming-motif::after {
  display: block;
}

.coming-motif::before,
.coming-motif::after,
.coming-motif span {
  position: absolute;
  content: "";
}

/* MOVIE — a quiet widescreen frame. */
.coming-page--movie .coming-motif {
  width: clamp(11rem, 21vw, 18rem);
  aspect-ratio: 16 / 5;
  border: 1px solid currentColor;
}

.coming-page--movie .coming-motif::before {
  top: -1px;
  left: 22%;
  width: 20%;
  height: 1px;
  background: rgba(66, 105, 200, 0.75);
}

.coming-page--movie .coming-motif span:nth-child(1),
.coming-page--movie .coming-motif span:nth-child(2) {
  top: 50%;
  width: 1px;
  height: 0.7rem;
  background: currentColor;
  transform: translateY(-50%);
}

.coming-page--movie .coming-motif span:nth-child(1) { left: 8%; }
.coming-page--movie .coming-motif span:nth-child(2) { right: 8%; }

/* MUSIC — a restrained record / waveform reference. */
.coming-page--music .coming-motif {
  width: clamp(6.5rem, 10vw, 8.5rem);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.coming-page--music .coming-motif::before {
  inset: 25%;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.coming-page--music .coming-motif::after {
  top: 50%;
  right: -70%;
  left: 50%;
  height: 1px;
  background: currentColor;
}

.coming-page--music .coming-motif span:nth-child(1) {
  top: calc(50% - 2px);
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  background: rgba(66, 105, 200, 0.84);
  border-radius: 50%;
}

.coming-page--music .coming-motif span:nth-child(2),
.coming-page--music .coming-motif span:nth-child(3) {
  right: -64%;
  width: 18%;
  height: 1px;
  background: currentColor;
}

.coming-page--music .coming-motif span:nth-child(2) { top: 42%; }
.coming-page--music .coming-motif span:nth-child(3) { top: 58%; }

/* GAME — a compact coordinate window. */
.coming-page--game .coming-motif {
  width: clamp(9rem, 15vw, 12rem);
  aspect-ratio: 2 / 1;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.coming-page--game .coming-motif::before {
  top: -2px;
  right: -2px;
  width: 4px;
  height: 4px;
  background: rgba(66, 105, 200, 0.84);
}

.coming-page--game .coming-motif::after {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 42%;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.coming-page--game .coming-motif span:nth-child(1) {
  top: 50%;
  left: 40%;
  width: 28%;
  height: 1px;
  background: currentColor;
}

.coming-page--game .coming-motif span:nth-child(2) {
  top: 30%;
  left: 54%;
  width: 1px;
  height: 40%;
  background: currentColor;
}

.coming-page--game .coming-motif span:nth-child(3) {
  bottom: -0.8rem;
  left: 0;
  width: 2rem;
  height: 1px;
  background: rgba(181, 154, 100, 0.48);
}

/* CHARACTERS — a narrow portrait frame. */
.coming-page--characters .coming-motif {
  width: clamp(4.8rem, 7vw, 6rem);
  aspect-ratio: 3 / 5;
  border: 1px solid currentColor;
}

.coming-page--characters .coming-motif::before {
  inset: 10%;
  border: 1px solid rgba(131, 144, 168, 0.17);
}

.coming-page--characters .coming-motif::after {
  top: -1px;
  left: 22%;
  width: 26%;
  height: 1px;
  background: rgba(66, 105, 200, 0.8);
}

.coming-page--characters .coming-motif span:nth-child(1) {
  right: -2.8rem;
  bottom: 20%;
  width: 2.8rem;
  height: 1px;
  background: currentColor;
}

.coming-page--characters .coming-motif span:nth-child(2) {
  right: -3px;
  bottom: calc(20% - 2px);
  width: 4px;
  height: 4px;
  background: rgba(66, 105, 200, 0.76);
  border-radius: 50%;
}

@media (max-width: 760px) {
  .coming-header {
    min-height: 7.2rem;
    align-items: flex-start;
    padding-top: max(1.5rem, env(safe-area-inset-top));
  }

  .coming-brand {
    font-size: 0.66rem;
    letter-spacing: 0.31em;
  }

  .coming-brand::after {
    width: 1.6rem;
  }

  .coming-header__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    font-size: 0.5rem;
  }

  .coming-main {
    min-height: calc(100svh - 7.2rem);
    align-items: start;
    padding-top: clamp(5rem, 18vh, 9rem);
    padding-bottom: max(3rem, env(safe-area-inset-bottom));
  }

  .coming-page--game .coming-main {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 6vw, 2.25rem);
    padding-top: 0;
  }

  .game-project {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 6vw, 2.25rem);
  }

  .game-project + .game-project {
    margin-top: clamp(3rem, 14vw, 5rem);
    padding-top: clamp(2.5rem, 10vw, 4rem);
  }

  .game-project--eclair .coming-status__title {
    font-size: 0.82rem;
    line-height: 1.7;
  }

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

  .game-gallery {
    width: 100%;
    justify-self: stretch;
    gap: 0.4rem;
  }

  .game-lead {
    min-height: 8.25rem;
  }

  .game-preview {
    width: 100%;
    justify-self: stretch;
  }

  .game-preview__meta {
    font-size: 0.45rem;
  }

  .coming-status {
    transform: none;
  }

  .coming-status__title {
    font-size: 0.76rem;
  }

  .coming-status__sub {
    font-size: 0.5rem;
  }

  .coming-motif {
    margin-top: 3.5rem;
  }
}

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