:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --overlay: rgba(0, 0, 0, 0.5);
}

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

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: "ellograph-cf", "Helvetica Neue", Helvetica, Arial, monospace;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

/* Full-screen background video */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: -1;
}

/* Centered content */
.content {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1.75rem;
}

.logo {
  width: min(38vw, 320px);
  height: auto;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.35));
}

.tagline {
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.contact {
  color: var(--fg);
  text-decoration: none;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.contact:hover {
  border-bottom-color: var(--fg);
  opacity: 0.9;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 600px) {
  .logo {
    width: min(62vw, 260px);
  }
}

/* Respect reduced-motion: video still shows but we avoid extra animation */
@media (prefers-reduced-motion: reduce) {
  .bg-video {
    /* Browsers that honour this will pause autoplay where supported */
  }
}
