:root {
  --bg: #000;
  --fg: rgba(255, 255, 255, 0.6);
  --fg-strong: #ffffff;
  --accent: #00aeef;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  position: relative;
  height: 100vh;
  width: 100vw;
}

.content {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 340px;
  z-index: 2;
}

.wordmark {
  display: block;
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.lede {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg);
  max-width: 38ch;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-strong);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  padding: 0;
  transition: color 0.2s ease, gap 0.2s ease;
}

.contact-link:hover {
  color: var(--accent);
  gap: 12px;
}

.arrow {
  display: inline-block;
}

.viz {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  display: block;
  /* video is now cropped tight to the logo, so it needs far less width */
  width: min(38vmin, 340px);
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 800px) {
  body {
    overflow: hidden; /* lock to one screen, no scroll */
  }

  .stage {
    height: 100vh;
    height: 100dvh; /* exact visible viewport (accounts for browser chrome) */
    display: flex;
    flex-direction: column;
  }

  .content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    padding: 44px 28px 0;
    max-width: none;
  }

  .viz {
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 40px;
    overflow: hidden;
  }

  /* Logo video is cropped square; 75% of screen width, anchored 20px above the bottom. */
  .hero-video {
    width: 75%;
    max-width: 460px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .wordmark {
    height: 28px;
  }
}
