:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #aaa99f;
  --line: rgba(244, 241, 232, 0.18);
  --accent: #a7b7a4;
  --ground: #101512;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

main {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

main::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 88%);
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .15;
}

.ambient-a { top: -24rem; right: -16rem; background: #819f88; }
.ambient-b { bottom: -28rem; left: -18rem; background: #756d52; }

.welcome {
  width: min(90vw, 42rem);
  padding: 4rem 2rem;
  text-align: center;
  animation: arrive .9s cubic-bezier(.2,.8,.2,1) both;
}

.mark {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font: 400 1.55rem/1 "Newsreader", serif;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .32em;
}

h1 {
  margin: 0;
  font: 400 clamp(4rem, 12vw, 7.5rem)/.92 "Newsreader", serif;
  letter-spacing: -.045em;
}

.message {
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 2vw, 1.08rem);
  letter-spacing: .02em;
}

.rule {
  width: 3.5rem;
  height: 1px;
  margin: 3rem auto 1.25rem;
  background: var(--line);
}

.location {
  margin: 0;
  color: #777a74;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome { animation: none; }
}
