:root {
  --bg: #f4f2ea;
  --ink: #37342d;
  --ink-soft: #6f6a5c;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  overflow: hidden;
}

.hero {
  position: absolute;
  top: 33.333vh;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  animation: rise 5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.subtitle {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0.9em 0 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-size: clamp(0.95rem, 2.4vw, 1.25rem);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
}

@media (max-width: 420px) {
  .title,
  .subtitle {
    white-space: normal;
    padding: 0 1.25rem;
  }
}
