* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #000022;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
}

/* Blue animated background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(at 30% 20%, #0000ff, #000066 80%),
    radial-gradient(at 70% 80%, #001a99, #000044 80%);
  background-size: 150% 150%;
  animation: gradientDrift 30s ease-in-out infinite alternate;
}

@keyframes gradientDrift {
  0% {
    background-position: 0% 0%, 100% 100%;
  }
  50% {
    background-position: 100% 0%, 0% 100%;
  }
  100% {
    background-position: 0% 0%, 100% 100%;
  }
}

/* Subtle video layer */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.12;
  filter: grayscale(100%);
  pointer-events: none;
}

/* Blue tint over video */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 80, 0.55);
  pointer-events: none;
}

/* Page scroll */
.page {
  position: fixed;
  inset: 0;
  z-index: 3;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Top logo */
.logo-top {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 1000;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.logo-top img {
  position: absolute;
  top: 0;
  left: 0;
  height: 2rem;
  width: auto;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#logo-white {
  opacity: 0;
}

.logo-top.white-visible #logo-white {
  opacity: 1;
}

.logo-top.white-visible #logo-hollow {
  opacity: 0;
}

/* Hero */
.hero {
  height: 100vh;
  position: relative;
}

.main-logo {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  height: 1rem;
  width: auto;
  transition: opacity 0.5s ease;
}

.main-logo.fade-out {
  opacity: 0;
}

.tagline {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #fff;
}

/* Footer */
footer {
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.footer-content {
  font-weight: 300;
  line-height: 1;
}

.label {
  color: #fff;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}

.name {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  white-space: pre-line;
}

.name a {
  color: #fff;
  text-decoration: none;
}

.name a:hover {
  text-decoration: none;
}

/* Copyright */
.copyright {
  margin-top: 8rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.6;
  line-height: 1;
  text-transform: uppercase;
}