:root {
  color-scheme: dark;
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #08132c;
  color: #f7fafc;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #08132c;
}

.logo-reveal {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  overflow: hidden;
}

.logo-reveal-content {
  width: min(88vw, 560px);
  display: grid;
  justify-items: center;
  gap: clamp(8px, 2vh, 16px);
  text-align: center;
}

.logo-reveal-video,
.logo-reveal-content noscript img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 526;
  object-fit: contain;
}

h1, p { opacity: 0; animation: copy-in 360ms ease forwards; }

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 11vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  animation-delay: 1350ms;
}

p {
  margin: 0;
  color: #9ab2c8;
  font-size: clamp(0.78rem, 3.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  animation-delay: 1550ms;
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-height: 600px) {
  .logo-reveal-content { width: min(70vw, 430px); gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-reveal-video { display: none; }
  .logo-reveal-content::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 720 / 526;
    background: url("/brand/trapvizion-mark.png") center / contain no-repeat;
  }
  h1, p { opacity: 1; animation: none; }
}
