:root {
  color-scheme: dark;
  --paper: #f8fcf7;
  --emerald: #003827;
  --gold: #ffd34d;
  --page-gutter: clamp(24px, 5.55vw, 112px);
  font-family: Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--emerald); }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--paper);
  overflow-x: hidden;
  isolation: isolate;
}

.scene-background, .scene-shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.scene-background { object-fit: cover; object-position: center; }
.scene-shade {
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 21, 14, .025), transparent 24%, transparent 80%, rgba(0, 21, 14, .06));
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-inline: var(--page-gutter);
  padding-top: max(25px, env(safe-area-inset-top));
  padding-bottom: max(43px, calc(env(safe-area-inset-bottom) + 25px));
}
.page-header { position: relative; z-index: 2; }
.development-status {
  margin: 0 0 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: clamp(13px, 1.44vw, 24px);
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.5;
}
.status-dot {
  flex: none;
  width: .56em;
  height: .56em;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 211, 77, .13);
}
.hairline, .footer-rule {
  display: block;
  height: 1px;
  background: rgba(245, 255, 247, .77);
}

.main-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-block: 72px 60px;
}
.hero {
  position: relative;
  top: 1.1vh;
  width: 100%;
  text-align: center;
}
.brand-logo {
  display: block;
  width: clamp(250px, 34.5vw, 580px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  filter: invert(1);
}
.quantum-copy {
  position: relative;
  width: min(100%, 720px);
  margin: 24px auto 0;
  overflow: visible;
}
.quantum-copy .tagline {
  position: relative;
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  font-weight: 400;
  color: var(--paper);
  text-shadow: 0 2px 16px rgba(0, 23, 14, .16);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.8;
  white-space: nowrap;
}
#quantum-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
body.fx-ready [data-quantum-text] { color: transparent; text-shadow: none; }

.page-footer {
  display: flex;
  align-items: center;
  gap: 31px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.footer-rule { flex: 1; }
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-block: 7px;
  color: var(--paper);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: clamp(17px, 1.4vw, 24px);
  line-height: 1.4;
  letter-spacing: .1em;
  transition: color .2s ease;
}
.instagram-link:hover { color: var(--gold); }
.instagram-link svg { flex: none; }
.instagram-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 3px;
}

@media (min-width: 1800px) {
  .page-shell { padding-block: 30px 46px; }
  .hero { top: 0; }
}
@media (max-width: 680px) {
  :root { --page-gutter: 24px; }
  .scene-background { object-position: 35% center; }
  .scene-shade { background: linear-gradient(90deg, rgba(0, 38, 24, .08), rgba(0, 24, 16, .14)); }
  .page-shell {
    padding-top: max(23px, env(safe-area-inset-top));
    padding-bottom: max(55px, calc(env(safe-area-inset-bottom) + 42px));
  }
  .development-status { font-size: 13px; gap: 9px; margin-bottom: 14px; }
  .main-stage { padding-block: 82px 88px; }
  .hero { top: -.5vh; }
  .brand-logo { width: min(83%, 380px); }
  .quantum-copy { margin-top: 24px; }
  .quantum-copy .tagline { font-size: clamp(16px, 4.7vw, 24px); line-height: 1.9; }
  .page-footer { gap: 16px; }
  .instagram-link { gap: 10px; font-size: 16px; letter-spacing: .06em; }
  .instagram-link svg { width: 23px; height: 23px; }
}
@media (max-height: 580px) and (min-width: 681px) {
  .page-shell { padding-block: 16px 35px; }
  .development-status { font-size: 14px; margin-bottom: 9px; }
  .main-stage { padding-block: 30px; }
  .hero { top: 0; }
  .brand-logo { width: min(30vw, 320px); }
  .quantum-copy { margin-top: 7px; }
  .quantum-copy .tagline { font-size: 24px; }
  .instagram-link { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
