:root {
  --ink: #fff8fb;
  --muted: rgba(255, 248, 251, 0.72);
  --soft: rgba(255, 248, 251, 0.18);
  --line: rgba(255, 248, 251, 0.22);
  --rose: #ef5f8f;
  --rose-deep: #bd285d;
  --wine: #290916;
  --gold: #e1bd78;
  --shadow: rgba(12, 3, 9, 0.62);
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #030303;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  gap: clamp(24px, 4vh, 44px);
  padding: clamp(28px, 5vw, 72px);
  isolation: isolate;
}

.hero__media,
.hero__shade {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.hero__media {
  background-image: url("../images/hero-five-hearts.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.5) brightness(0.45) contrast(1.05);
  transform: scale(1.02);
}

.hero__shade {
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 62% at 50% 46%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.84) 58%, rgba(0, 0, 0, 0.98) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.96) 100%);
}

.hero__content {
  width: min(820px, 100%);
  align-self: center;
  padding-block: clamp(36px, 8vh, 90px) 0;
  text-align: center;
}

.title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 9vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  text-shadow: 0 18px 48px var(--shadow);
}

.title span {
  display: block;
}

.title strong {
  display: inline-block;
  padding-left: 0.05em;
  font-style: italic;
  color: var(--rose);
}

.subtitle {
  width: min(620px, 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.28;
  letter-spacing: clamp(0.02em, 0.45vw, 0.08em);
}

.coming-soon {
  margin: clamp(20px, 3.5vw, 28px) 0 0;
  color: transparent;
  background: linear-gradient(135deg, #ffd8e6, var(--rose), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: clamp(0.12em, 1.4vw, 0.34em);
  text-transform: uppercase;
  text-indent: clamp(0.12em, 1.4vw, 0.34em);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: clamp(26px, 4vw, 36px) 0 0;
  list-style: none;
}

.features li {
  border: 1px solid var(--soft);
  padding: 9px 14px;
  color: rgba(255, 248, 251, 0.82);
  background: rgba(255, 248, 251, 0.08);
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer {
  width: min(680px, 100%);
  align-self: end;
  text-align: center;
  color: rgba(255, 248, 251, 0.68);
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

@media (min-width: 1440px) {
  .hero__content {
    width: min(900px, 100%);
  }
}

@media (max-width: 980px) {
  .hero {
    padding: clamp(28px, 6vw, 56px);
  }

  .title {
    font-size: clamp(3rem, 11vw, 6.4rem);
  }
}

@media (max-width: 760px) {
  .hero {
    align-items: center;
    gap: 28px;
    padding: 32px 18px 24px;
  }

  .hero__media {
    background-position: center top;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.93) 60%, rgba(0, 0, 0, 0.99) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.46));
  }

  .hero__content {
    width: min(520px, 100%);
    padding-block: clamp(64px, 12vh, 112px) 0;
  }

  .title {
    font-size: clamp(2.55rem, 12vw, 4.8rem);
    line-height: 0.95;
  }

  .coming-soon {
    font-size: clamp(1.45rem, 8vw, 2.5rem);
  }

  .subtitle {
    margin-top: 20px;
  }

  .features {
    gap: 8px;
  }

  .features li {
    padding: 8px 11px;
    font-size: 0.76rem;
  }
}

@media (max-width: 460px) {
  .hero {
    padding-inline: 14px;
  }

  .title {
    font-size: clamp(2.2rem, 13vw, 3.4rem);
    line-height: 1;
  }

  .subtitle {
    font-size: 1rem;
  }

  .features {
    width: min(300px, 100%);
    margin-inline: auto;
  }

  .features li {
    flex: 1 1 140px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .title {
    font-size: 2rem;
  }

  .coming-soon {
    font-size: 1.3rem;
  }

  .features li {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media {
    animation: slow-zoom 18s ease-out forwards;
  }

  .title,
  .subtitle,
  .coming-soon,
  .features {
    animation: rise-in 700ms ease both;
  }

  .title {
    animation-delay: 90ms;
  }

  .subtitle {
    animation-delay: 160ms;
  }

  .features {
    animation-delay: 230ms;
  }

  .site-footer {
    animation: rise-in 700ms ease 300ms both;
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.08);
  }
}

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

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