:root {
  --paper: #f3eee4;
  --ink: #2b241f;
  --mute: #7a6c5d;
  --rule: #c4b196;
}

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

html, body {
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(255, 255, 255, 0.45), transparent 70%),
    var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  width: min(36rem, calc(100% - 3rem));
  text-align: center;
  padding: 2.5rem 0 3rem;
}

.place {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}

h1 {
  margin-top: 1.15rem;
  font-family: Fraunces, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 420;
  font-size: clamp(2.6rem, 9vw, 5.15rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.rule {
  width: 2.75rem;
  height: 1px;
  margin: 1.6rem auto 1.35rem;
  background: var(--rule);
}

.line {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--mute);
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  main {
    width: min(36rem, calc(100% - 2.25rem));
  }
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: rise 700ms ease-out both;
  }
}

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