:root {
  --paper: #f5f1ea;
  --ink: #1b2230;
  --muted: #5d6573;
  --accent: #a0742d;
  --rule: #d9d1c3;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12161d;
    --ink: #ece6dc;
    --muted: #a3a9b3;
    --accent: #d2a659;
    --rule: #2c333f;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.wordmark {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.28em;
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.amp {
  color: var(--accent);
  font-style: italic;
  font-size: 1.12em;
}

.trade {
  flex-basis: 100%;
  margin-top: 0.9rem;
  font-size: clamp(0.8rem, 2.2vw, 1rem);
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0.42em;
  color: var(--muted);
  padding-left: 0.42em; /* balance the trailing letter-spacing */
}

hr {
  width: 3.5rem;
  margin: 2.4rem auto 2rem;
  border: 0;
  border-top: 1px solid var(--rule);
}

.soon {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.dot {
  margin: 0 0.6em;
  color: var(--accent);
  font-style: normal;
}

footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

@media (prefers-reduced-motion: no-preference) {
  main { animation: rise 900ms ease-out both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
}

.soon a { color: inherit; text-underline-offset: 0.2em; }

@media (max-width: 30rem) {
  .soon { flex-direction: column; align-items: center; gap: 0.35em; }
  .dot { display: none; }
}
