:root {
  --bg: #000;
  --text: #f2f0eb;
  --muted: #8f8d88;
  --line: #262624;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.7 var(--mono);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-underline-offset: 4px; text-decoration-thickness: 1px; }

#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

main, footer { position: relative; z-index: 1; }
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
}
/* A pool of darkness behind the text so the dots never fight it. */
main::before {
  content: '';
  position: absolute;
  inset: 10% 0;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0));
}

.mark { font: italic 400 64px/1 var(--serif); color: var(--muted); animation: rise 1s both; }
h1 {
  font: 400 clamp(52px, 11vw, 132px)/0.92 var(--serif);
  letter-spacing: -0.02em;
  margin: 18px 0 26px;
  animation: rise 1s 0.12s both;
}
h1 em { color: var(--muted); }
.lede { color: var(--muted); max-width: 46ch; margin: 0 0 30px; animation: rise 1s 0.24s both; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  background: rgba(0, 0, 0, 0.75);
  animation: rise 1s 0.36s both;
}
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--text); animation: pulse 2.4s infinite; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 24px; font-size: 12px; color: var(--muted);
  background: linear-gradient(rgba(0, 0, 0, 0), #000 40%);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
