:root {
  --ink: #f4efe6;
  --muted: rgba(244, 239, 230, 0.72);
  --line: rgba(244, 239, 230, 0.28);
  --accent: #d8b36a;
  --shadow: rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #050505;
  color: var(--ink);
  font-family: "Syne", sans-serif;
}

body {
  min-height: 100dvh;
  overflow: hidden;
}

.stage {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  isolation: isolate;
}

.bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.05);
  animation: drift 18s ease-in-out infinite alternate;
}

.veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.82));
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1s ease both;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #7dcf8a;
  box-shadow: 0 0 0 0 rgba(125, 207, 138, 0.7);
  animation: ping 2.2s ease-out infinite;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  animation: rise 1.1s ease both 0.1s;
}

.brand {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(4.2rem, 14vw, 8.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-shadow: 0 10px 40px var(--shadow);
  animation: rise 1.15s ease both 0.18s;
}

.tagline {
  max-width: 28rem;
  margin: 1.25rem 0 0;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.45;
  color: var(--muted);
  animation: rise 1.2s ease both 0.28s;
}

.enter {
  margin-top: 2.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  animation: rise 1.25s ease both 0.38s;
}

.enter svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.25s ease;
}

.enter:hover,
.enter:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(216, 179, 106, 0.8);
  background: rgba(0, 0, 0, 0.4);
  outline: none;
}

.enter:hover svg,
.enter:focus-visible svg {
  transform: translateX(4px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 1%, 0);
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 207, 138, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(125, 207, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(125, 207, 138, 0);
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 1rem;
    font-size: 0.64rem;
  }

  .meta {
    display: none;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .tagline {
    max-width: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-video,
  .pulse,
  .eyebrow,
  .brand,
  .tagline,
  .enter,
  .topbar {
    animation: none !important;
  }
}
