﻿:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #f3fbff;
  --muted: rgba(235, 245, 255, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --max-width: 1520px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "IBM Plex Mono", Consolas, monospace;
  background: #000000;
}

a {
  color: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.starfield-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 22px 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}

.orbit-bar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.orbit-bar__brand {
  min-width: 0;
}

.micro-label {
  margin: 0;
  color: var(--muted);
  font-family: "Orbitron", "Arial Black", sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.command-deck {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.logo-stage {
  width: 100%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
}

.logo-stage__link {
  display: inline-block;
  transform: translateY(-1.6vh);
  text-decoration: none;
}

.hero-logo {
  display: block;
  width: min(54vw, 760px);
  max-width: 88vw;
  height: auto;
  object-fit: contain;
}

.logo-stage__caption {
  margin: 0;
  transform: translateY(-4.2vh);
  color: rgba(244, 249, 255, 0.9);
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  letter-spacing: 0.05em;
  text-align: center;
}

.whisper-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 28px;
}

.whisper-bar p {
  margin: 0;
  color: rgba(235, 245, 255, 0.52);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 760px) {
  .site-shell {
    padding: 14px 14px 12px;
  }

  .micro-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .hero-logo {
    width: min(82vw, 520px);
  }

  .logo-stage__link {
    transform: translateY(-3.6vh);
  }

  .logo-stage__caption {
    max-width: 30ch;
    transform: translateY(-3.2vh);
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .whisper-bar p {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
