:root {
  --deep:    #0B2E6F;
  --signal:  #126DE0;
  --sky:     #42B7F5;
  --ice:     #BFEAFF;
  --bg:      #050917;
  --grey:    #6B7280;
  --grey-2:  #9CA3AF;
  --grey-3:  #D1D5DB;

  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: 'Georgia', 'Times New Roman', serif;
  --mono:  'JetBrains Mono', 'Consolas', monospace;

  --ease-spring: cubic-bezier(.16, 1, .3, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: #fff;
  font-family: var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmospheric radial gradients — like landing page parallax bg */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(18, 109, 224, 0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(66, 183, 245, 0.13), transparent 50%),
    radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

#hero-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-rows: auto 1fr auto;
  pointer-events: none;
}
.page > * { pointer-events: auto; }

/* Top — Victa attribution */
.top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 28px 36px;
  opacity: 0;
  animation: fadeIn 1.2s 0.3s ease forwards;
}
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-2);
  text-decoration: none;
  transition: color .25s ease, gap .25s ease;
}
.powered-by:hover { color: var(--sky); gap: 12px; }
.powered-by .arrow { width: 12px; height: 12px; transition: transform .25s ease; }
.powered-by:hover .arrow { transform: translateX(2px); }

/* CENTER — 3D parallax stage */
.center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
  position: relative;
}
.parallax-wrap {
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: min(56vh, 580px);
  perspective: 1500px;
  perspective-origin: center center;
  pointer-events: auto;
}
.parallax-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .25s var(--ease-out);
  cursor: grab;
}
.parallax-stage.dragging {
  cursor: grabbing;
  transition: none;
}

/* 3D layered V dots and stems */
.p3d-point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.p3d-stem {
  position: absolute;
  width: 1.5px;
  transform-origin: bottom center;
  transition: opacity .3s ease;
  will-change: transform;
}
.p3d-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

/* Hint */
.hint {
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-2);
  opacity: 0;
  pointer-events: none;
  animation: hintFade 6s 2.6s ease forwards;
  white-space: nowrap;
}
.hint kbd {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  margin: 0 2px;
  color: var(--sky);
  font-family: inherit;
  font-size: 9px;
}
@keyframes hintFade {
  0%   { opacity: 0; }
  16%  { opacity: 1; }
  84%  { opacity: 1; }
  100% { opacity: 0; }
}

/* BOTTOM — wordmark, tagline, status */
.bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  padding: 0 36px 36px;
  gap: 24px;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1.4s 1.8s ease forwards;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 10px rgba(66, 183, 245, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.status-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.status-text .accent { color: var(--sky); }

.brand-stack {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.wordmark {
  font-family: var(--sans);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: #fff;
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1.4s 1.4s var(--ease-spring) forwards;
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--sky);
  letter-spacing: -0.005em;
  opacity: 0;
  animation: fadeIn 1.4s 1.9s ease forwards;
}

.contact {
  text-align: right;
  opacity: 0;
  animation: fadeIn 1.4s 2.1s ease forwards;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(66, 183, 245, 0.35);
  border-radius: 999px;
  background: rgba(66, 183, 245, 0.06);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-3);
  text-decoration: none;
  transition: color .25s ease, background .25s ease, border-color .25s ease, gap .25s ease;
}
.contact-btn:hover {
  color: #fff;
  background: var(--signal);
  border-color: var(--signal);
  gap: 12px;
}
.contact-btn .arrow {
  width: 12px;
  height: 12px;
  transition: transform .25s ease;
}
.contact-btn:hover .arrow { transform: translateX(2px); }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes rise   { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    box-shadow: 0 0 10px rgba(66, 183, 245, 0.7); }
  50%      { opacity: 0.6; transform: scale(0.8);  box-shadow: 0 0 4px  rgba(66, 183, 245, 0.4); }
}

@media (max-width: 720px) {
  .top { padding: 20px 22px; }
  .center { padding: 0 16px; }
  .parallax-wrap { height: 50vh; }
  .bottom {
    padding: 0 22px 24px;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .status, .contact { justify-content: center; text-align: center; }
  .hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wordmark, .tagline, .top, .status, .contact { animation: none; opacity: 1; transform: none; }
  .status-dot { animation: none; }
  .hint { display: none; }
  .parallax-stage { transform: none !important; }
}