:root {
  --bg: #05060a;
  --bg-2: #0a0c14;
  --ink: #eceef3;
  --ink-dim: #9aa1b4;
  --ink-faint: #5c6478;
  --accent: #c9a86a;
  --accent-dim: #6b5a3a;
  --line: rgba(255, 255, 255, 0.08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --mono: "Space Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 20%, var(--bg-2) 0%, var(--bg) 60%);
  color: var(--ink);
  font-family: var(--serif);
  overflow-x: hidden;
  min-height: 100vh;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 0%, transparent 35%, rgba(5,6,10,0.55) 78%, rgba(5,6,10,0.95) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw 12vh;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  margin-bottom: 3rem;
  backdrop-filter: blur(6px);
  animation: rise 1.1s ease-out both;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 168, 106, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

.wordmark {
  margin: 0;
  font-weight: 500;
  line-height: 0.98;
  font-size: clamp(2.8rem, 11vw, 7.5rem);
  letter-spacing: 0.03em;
  animation: rise 1.1s ease-out 0.1s both;
}

.wordmark .line {
  display: block;
}

.wordmark .line:last-child {
  color: var(--accent);
  font-style: italic;
}

.tagline {
  margin: 2rem 0 0;
  font-family: var(--mono);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  animation: rise 1.1s ease-out 0.2s both;
}

.lede {
  max-width: 46ch;
  margin: 1.75rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-dim);
  font-weight: 400;
  animation: rise 1.1s ease-out 0.3s both;
}

.frontier {
  margin: 2.25rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: var(--ink);
  animation: rise 1.1s ease-out 0.4s both;
}

.divider {
  width: 1px;
  height: 52px;
  margin: 3rem auto 0;
  background: linear-gradient(to bottom, transparent, var(--accent-dim));
  animation: rise 1.1s ease-out 0.5s both;
}

.domain {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  letter-spacing: 0.12em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 0.35em;
  transition: color 0.25s ease, border-color 0.25s ease;
  animation: rise 1.1s ease-out 0.6s both;
}

.domain:hover,
.domain:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
}

.foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: center;
  padding: 1.5rem 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(201, 168, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0); }
}

@media (max-width: 480px) {
  .stage { padding: 7vh 6vw 14vh; }
  .lede { max-width: 32ch; }
}

@media (prefers-reduced-motion: reduce) {
  .status, .wordmark, .tagline, .lede, .frontier, .divider, .domain {
    animation: none;
  }
  .status-dot {
    animation: none;
  }
}
