:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-soft: #0a0a0a;
  --text: rgba(255, 255, 255, 0.86);
  --muted: rgba(255, 255, 255, 0.62);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035) 22%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 42%, rgba(255, 255, 255, 0.012));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: radial-gradient(circle at center, black 0 24%, transparent 58%);
}

.page-shell {
  position: relative;
  min-height: 100svh;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}

.brand-mark {
  width: min(28rem, 44vw, 78svw);
  transform: translateY(-1.2vh);
  animation: logo-reveal 1100ms ease-out both;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(255, 255, 255, 0.06));
}

.tagline {
  position: fixed;
  left: 50%;
  bottom: clamp(22px, 5.2vh, 54px);
  width: min(88vw, 720px);
  margin: 0;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: clamp(0.56rem, 0.55vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-align: center;
  text-transform: none;
  animation: text-reveal 1200ms 280ms ease-out both;
}

.tagline a {
  color: inherit;
  text-decoration: none;
}

.tagline a:hover {
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes logo-reveal {
  from {
    opacity: 0;
    transform: translateY(0.6vh) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(-1.2vh) scale(1);
  }
}

@keyframes text-reveal {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 700px) {
  .brand-mark {
    width: min(72vw, 22rem);
  }

  .tagline {
    letter-spacing: 0.26em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
