:root {
  color-scheme: dark;
  --night: #0b0907;
  --tan: #d2a564;
  --tan-soft: #e6d0aa;
  --copper: #8a5a30;
  --muted: #8d7a61;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  overflow: hidden;
  color: var(--tan-soft);
  background: var(--night);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Warm glow sitting behind the mark, plus a faint film of grain so the
   flat black does not look like a broken page on a big monitor. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 46% at 50% 42%, rgba(174, 108, 48, .20), transparent 68%),
    radial-gradient(120% 90% at 50% 120%, rgba(120, 70, 30, .10), transparent 60%);
}

.site-shell {
  position: relative;
  z-index: 1;
  height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  min-height: 0;
  text-align: center;
}

/* The mark is capped by BOTH the viewport width and the leftover height, so
   it shrinks on a short phone screen instead of pushing the page into scroll. */
.mark-wrap {
  min-height: 0;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mark {
  width: auto;
  height: auto;
  max-width: min(86vw, 30rem);
  max-height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1.4rem 2.6rem rgba(0, 0, 0, .75));
}

.coming {
  margin: 0;
  flex: 0 0 auto;
  color: var(--tan);
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-size: clamp(1.05rem, 3.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: .42em;
  line-height: 1;
  text-indent: .42em; /* balances the trailing letter-space */
  text-transform: uppercase;
}

footer {
  padding-top: 1.2rem;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

footer p { margin: 0; }

/* Short and wide, e.g. a phone on its side: give the mark the height back. */
@media (max-height: 34rem) {
  .stack { gap: 1.1rem; }
  .mark { max-width: min(60vw, 22rem); }
  .coming { font-size: .82rem; letter-spacing: .34em; text-indent: .34em; }
  footer { padding-top: .6rem; font-size: .5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .mark-wrap, .coming { animation: rise .9s cubic-bezier(.2, .7, .3, 1) both; }
  .coming { animation-delay: .18s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(.9rem); }
  to   { opacity: 1; transform: none; }
}
