:root {
  --rose: #e9a0a7;
  --rose-deep: #bd687b;
  --cream: #fff8ef;
  --hero-plum: #6b2d5c;
  --hero-raspberry: #a83261;
  --mist: rgba(255, 255, 255, 0.58);
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--cream);
  color: var(--hero-plum);
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
}

.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: 4rem 1.5rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9) 0 15%, transparent 52%),
    linear-gradient(135deg, #f9d8d2 0%, #f3b5b6 43%, #e89ca9 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: repeating-linear-gradient(110deg, transparent 0 16rem, rgba(255, 255, 255, 0.11) 16.1rem 16.2rem);
  content: "";
  opacity: 0.55;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  text-align: center;
  animation: arrive 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

h1 {
  margin: 0;
  color: var(--hero-plum);
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-family: "Avenir Next Rounded", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 > span {
  display: block;
  white-space: nowrap;
}

h1 > span + span {
  margin-top: 0.12em;
}

h1 em {
  color: var(--hero-raspberry);
  font-style: normal;
  text-shadow: 0 0.04em 0 rgba(255, 248, 239, 0.6);
}

.heart-i {
  position: relative;
  display: inline-block;
  width: 0.38em;
  margin: 0 -0.04em;
}

.heart-i::after {
  position: absolute;
  top: -0.25em;
  left: 50%;
  color: var(--hero-plum);
  content: "♡";
 /* font-family: Georgia, serif; */
  font-size: 0.28em;
  line-height: 1.5;
  transform: translateX(-50%);
}

.hero__glow,
.hero__cloud {
  position: absolute;
  pointer-events: none;
}

.hero__glow {
  z-index: -1;
  width: 32rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 241, 224, 0.25);
  filter: blur(6rem);
}

.hero__glow--left {
  top: -12rem;
  left: -11rem;
}

.hero__glow--right {
  right: -13rem;
  bottom: -14rem;
  background: rgba(255, 220, 222, 0.35);
}

.hero__cloud {
  z-index: -1;
  width: 28rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--mist);
  filter: blur(1.2rem);
  opacity: 0.58;
}

.hero__cloud::before,
.hero__cloud::after {
  position: absolute;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.hero__cloud::before {
  width: 12rem;
  height: 12rem;
  right: 3rem;
  bottom: -2rem;
}

.hero__cloud::after {
  width: 9rem;
  height: 9rem;
  left: 3rem;
  bottom: -1rem;
}

.hero__cloud--top {
  top: 9%;
  left: -7rem;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__cloud--bottom {
  right: -8rem;
  bottom: 8%;
  transform: scale(0.82);
  animation: drift 22s ease-in-out -5s infinite alternate-reverse;
}

.hero__signature {
  position: absolute;
  right: 2.5rem;
  bottom: 2rem;
  margin: 0;
  color: rgba(84, 47, 66, 0.66);
  font-size: 0.95rem;
  font-style: italic;
  transform: rotate(-7deg);
  animation: arrive 1.2s 0.35s both;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-2rem, 0, 0) rotate(-3deg);
  }
  to {
    transform: translate3d(3rem, 1.5rem, 0) rotate(4deg);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 1.25rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero__signature {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
