:root {
  --cream: #f8f1eb;
  --wood: #3a2416;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--cream);
}

body {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--wood);
  font-family: Outfit, system-ui, sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
}

.logo {
  display: block;
  width: min(44vmin, 380px);
  height: auto;
}

.tagline {
  margin: 0.35rem 0 0;
  font-family: Newsreader, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-size: clamp(1.35rem, 3.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .logo,
  .tagline {
    animation: rise 0.9s ease both;
  }

  .tagline {
    animation-delay: 0.12s;
  }
}

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