:root {
  --night: #0B1422;
  --deep: #13233A;
  --sand: #D9B98A;
  --shadow: #B2976F;
  --cream: #F6E7C8;
  --pale: #EAD9BC;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
h1 { margin: 0; }
body {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(19,35,58,.9) 0%, rgba(11,20,34,0) 70%),
    var(--night);
  color: var(--pale);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
#sky {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
main {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: max(3rem, env(safe-area-inset-top)) 1.5rem 2rem;
}
.logo {
  width: clamp(250px, 46vw, 380px);
  height: auto;
  display: block;
  animation: rise 1.4s ease-out both;
}
.rule {
  width: 64px; height: 1px;
  margin: 2rem auto 1.75rem;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  animation: rise 1.4s .3s ease-out both;
}
.tagline {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  color: var(--cream);
  margin: 0 0 .75rem;
  animation: rise 1.4s .45s ease-out both;
}
.status {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--shadow);
  animation: rise 1.4s .6s ease-out both;
}
footer {
  position: relative; z-index: 1;
  text-align: center;
  font-size: .8rem;
  color: rgba(234,217,188,.55);
  padding: 1.5rem 1.5rem max(1.5rem, env(safe-area-inset-bottom));
  letter-spacing: .04em;
}
footer a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(217,185,138,.35); }
footer a:hover, footer a:focus-visible { color: var(--sand); border-color: var(--sand); }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .logo, .rule, .tagline, .status { animation: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .logo { width: clamp(160px, 30vh, 240px); }
  .rule { margin: 1.25rem auto 1rem; }
}
