:root {
  --cream: #f8f3e8;
  --ink: #1d2a2f;
  --terracotta: #cf6d3f;
  --sage: #7b9573;
  --mist: #d9e6e1;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100dvh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 2rem;
  color: var(--ink);
  background-color: #ffabc8;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(100vh + env(safe-area-inset-bottom));
  height: calc(100lvh + env(safe-area-inset-bottom));
  z-index: 0;
  pointer-events: none;
  background: url("assets/peonies.jpg") center / cover no-repeat;
  filter: grayscale(1);
  opacity: 0.22;
}

.hero {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  width: min(92vw, 44rem);
  text-align: center;
  padding: 3.5rem 2rem;
  animation: rise 900ms ease-out both;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  font-size: 0.72rem;
}

h1 {
  margin: 0.8rem 0 1rem;
  font-family: "Rock Salt", cursive;
  color: #071236;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.tagline {
  margin: 0 auto;
  max-width: 30ch;
  font-size: clamp(1rem, 2.8vw, 1.28rem);
  line-height: 1.5;
}

.button {
  display: inline-block;
  margin-top: 1.9rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: #071236;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 10px rgba(7, 18, 54, 0.08);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  body {
    padding: 1.2rem;
  }

  .hero {
    padding: 2.4rem 1.2rem;
  }

  .tagline {
    max-width: 26ch;
  }
}
