/* Native CRT / ASCII extensions — no floating pill bar, pure inline scroll-scene integration */
.vh-lang-corner {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 9000;
  background: rgba(24, 23, 23, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(189, 193, 255, 0.34);
  color: var(--accent, #bdc1ff);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.vh-lang-corner:hover {
  background: var(--accent, #bdc1ff);
  color: #141313;
}

/* Native About scene inside #intro */
.vh-native-about {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  max-width: 820px;
  width: min(92vw, 820px);
  text-align: left;
  padding: 1.5rem 1.75rem;
  background: rgba(20, 19, 20, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(189, 193, 255, 0.2);
  border-radius: 10px;
}

.vh-native-portrait {
  width: 180px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 90px 90px 8px 8px;
  border: 1px solid rgba(189, 193, 255, 0.38);
  display: block;
}

.vh-native-about h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1;
  color: var(--accent, #bdc1ff);
  margin: 0 0 0.65rem;
}

.vh-native-about p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e6e2dc;
  margin: 0 0 0.7rem;
}

.vh-native-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(189, 193, 255, 0.16);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #b4afa9;
}

.vh-native-meta-grid strong {
  display: block;
  color: var(--accent, #bdc1ff);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* Native Contact scene inside #contact */
.vh-native-contact {
  width: min(92vw, 760px);
  text-align: left;
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.vh-contact-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.vh-contact-info {
  display: grid;
  gap: 0.55rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #e6e2dc;
}

.vh-contact-info div {
  padding: 0.6rem 0.8rem;
  background: rgba(18, 17, 18, 0.78);
  border: 1px solid rgba(189, 193, 255, 0.18);
  border-radius: 6px;
}

.vh-contact-info span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #bdc1ff);
  margin-bottom: 2px;
}

.vh-mini-form {
  display: grid;
  gap: 0.5rem;
}

.vh-mini-form input,
.vh-mini-form textarea {
  width: 100%;
  background: rgba(18, 17, 18, 0.86);
  color: #f0ece6;
  border: 1px solid rgba(189, 193, 255, 0.28);
  border-radius: 5px;
  padding: 0.5rem 0.7rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}

.vh-mini-form textarea {
  min-height: 68px;
  resize: vertical;
}

.vh-mini-form button {
  background: var(--accent, #bdc1ff);
  color: #141313;
  border: 0;
  border-radius: 5px;
  padding: 0.55rem 0.9rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.vh-mini-map {
  border: 1px solid rgba(189, 193, 255, 0.25);
  border-radius: 6px;
  overflow: hidden;
  height: 170px;
}

.vh-mini-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Clean minimal reader/lightbox when clicking any 3D arched card (Project, Gallery, or Blog) */
.vh-submodal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(12, 11, 12, 0.86);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.vh-submodal.is-open {
  display: flex;
}

.vh-submodal-box {
  background: rgba(24, 23, 24, 0.96);
  border: 1px solid rgba(189, 193, 255, 0.35);
  border-radius: 8px;
  max-width: 740px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 1.5rem;
  color: #f0ece6;
}

.vh-submodal-box img {
  width: 100%;
  max-height: 52vh;
  object-fit: contain;
  background: #121112;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid rgba(189, 193, 255, 0.2);
}

.vh-close {
  background: transparent;
  border: 1px solid rgba(189, 193, 255, 0.4);
  color: #f0ece6;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.vh-close:hover {
  background: var(--accent, #bdc1ff);
  color: #141313;
}

.vh-meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #bdc1ff);
}

.vh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.vh-tag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #f0ece6;
  border: 1px solid rgba(189, 193, 255, 0.25);
  background: rgba(189, 193, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.vh-tag.is-cat {
  color: #ff7a35;
  border-color: rgba(255, 122, 53, 0.42);
  background: rgba(255, 122, 53, 0.1);
}

/* Editorial Blog Reader */
.vh-blog-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #a8a29e;
  margin-bottom: 1rem;
}

.vh-blog-quote {
  margin: 1.1rem 0 1.25rem;
  padding: 0.9rem 1.15rem;
  border-left: 3px solid #ff7a35;
  background: rgba(255, 122, 53, 0.07);
  border-radius: 0 6px 6px 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.3;
  color: #f3ece3;
}

.vh-blog-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.vh-blog-stat {
  background: rgba(18, 17, 19, 0.85);
  border: 1px solid rgba(189, 193, 255, 0.2);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #e6e2dc;
}

.vh-blog-stat span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bdc1ff;
  margin-bottom: 3px;
}

.vh-blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(189, 193, 255, 0.2);
}

.vh-blog-nav button {
  background: rgba(189, 193, 255, 0.08);
  border: 1px solid rgba(189, 193, 255, 0.3);
  color: #f0ece6;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
}

.vh-blog-nav button:hover {
  background: #bdc1ff;
  color: #141313;
}

@media (max-width: 780px) {
  .vh-native-about,
  .vh-native-meta-grid,
  .vh-contact-row {
    grid-template-columns: 1fr;
  }

  .vh-native-portrait {
    width: 130px;
    margin: 0 auto;
  }
}
