.ascii-pages {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
}

.ascii-pages .subpage-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 5;
  width: min(86rem, calc(100vw - 2.8rem));
  border-bottom: 1px solid rgba(242, 242, 242, 0.14);
  transform: translateX(-50%);
}

.ascii-pages .subpage-brand,
.ascii-pages .subpage-nav a {
  color: rgba(242, 242, 242, 0.84);
}

.ascii-pages .subpage-nav {
  color: rgba(242, 242, 242, 0.45);
}

.ascii-pages .subpage-nav a[aria-current="page"] {
  color: #ffffff;
}

.ascii-main {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: #000000;
}

.ascii-main::before {
  content: none;
}

.ascii-stage {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(5.4rem, 9vh, 7rem) clamp(0.75rem, 2vw, 1.8rem) 2rem;
  overflow: hidden;
  color: #ffffff;
  background: transparent;
  display: block;
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  font-size: clamp(6px, 0.76vw, 10px);
  line-height: 0.86;
  letter-spacing: 0;
  white-space: pre;
  user-select: none;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.42);
}

.coming-soon {
  position: fixed;
  top: clamp(7.2rem, 15vh, 10rem);
  left: 50%;
  z-index: 3;
  color: rgba(255, 255, 255, 0.92);
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  font-size: clamp(1.2rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.ascii-caption {
  position: fixed;
  right: 2.2rem;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  color: rgba(242, 242, 242, 0.68);
  font-family: "IBM Plex Sans KR", "Avenir Next", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.ascii-caption a {
  color: rgba(242, 242, 242, 0.86);
  text-decoration: none;
}

.ascii-caption a:hover,
.ascii-caption a:focus-visible {
  color: #ffffff;
}

@media (max-width: 720px) {
  .ascii-pages .subpage-header {
    width: min(100% - 1.6rem, 86rem);
    padding-top: 1rem;
  }

  .ascii-stage {
    padding-top: 5.4rem;
    font-size: clamp(5px, 1.25vw, 8px);
  }

  .ascii-caption {
    right: 1rem;
  }

  .coming-soon {
    top: 6.8rem;
    font-size: clamp(1rem, 5vw, 1.8rem);
  }
}
