:root {
  --bg: #0f0e0d;
  --bone: #e9e3d7;
  --ash: #9a9388;
  --blood: #8c2f2a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  background: radial-gradient(ellipse at center, #1d1a18 0%, var(--bg) 70%) fixed;
  color: var(--bone);
  font-family: var(--serif);
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: rise 1.4s ease-out both;
}

.logo {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  margin-bottom: 2.5rem;
}

.eyebrow,
.status,
footer {
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--ash);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  margin-right: -0.4em; /* offsets trailing letter-spacing so the text stays centred */
}

h1 {
  max-width: 14em;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.rule {
  width: 3.5rem;
  height: 1px;
  margin: 2.25rem 0;
  background: var(--blood);
}

.status {
  color: var(--bone);
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
}

footer {
  padding-top: 2rem;
  color: var(--ash);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

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