 :root {
  --text: #77736f;
  --page-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
}

.floral {
  position: fixed;
  top: 0;
  height: 100vh;
  width: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.floral-left {
  left: 0;
}

.floral-right {
  right: 0;
}

.invitation {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(80px, 10vh, 170px) 32px 72px;
  text-align: center;
}

.script {
  font-family: "Great Vibes", "Brush Script MT", cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.intro {
  margin: 0;
  font-size: clamp(64px, 9vw, 116px);
  line-height: 0.8;
}

.small-caps {
  margin: 24px 0 110px;
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.42em;
  line-height: 1.35;
  text-transform: uppercase;
}

.names h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.16;
  text-transform: uppercase;
}

.names h1 span {
  display: block;
}

.and {
  margin: 34px 0 24px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.8;
}

.details {
  margin-top: 100px;
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.55;
}

.details p,
.event p {
  margin: 0;
}

.event {
  margin-top: 52px;
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.55;
}

.footer {
  margin: 150px 0 0;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1;
  opacity: 0.78;
}

.rsvp-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 16px 52px 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border: 1.5px solid var(--text);
  position: relative;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}

.rsvp-btn:hover {
  background: var(--text);
  color: #fff;
}

.program {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 80px 32px 120px;
  text-align: center;
}

.program-title {
  font-size: clamp(52px, 7vw, 90px);
  line-height: 1;
  margin: 0 0 56px;
}

.schedule {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 0;
}

.step img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.55;
  flex-shrink: 0;
}

.step-time {
  min-width: 56px;
  text-align: right;
  opacity: 0.6;
}

.qr {
  margin-top: 80px;
}

.qr img {
  width: min(300px, 80%);
}

.quote {
  margin-top: 40px;
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .floral {
    width: 150px;
    opacity: 0.55;
  }

  .invitation {
    padding-inline: 24px;
  }
}

@media (max-width: 620px) {
  .floral {
    width: 95px;
    opacity: 0.36;
  }

  .invitation {
    padding-top: 72px;
  }

  .small-caps {
    margin-bottom: 78px;
  }

  .names h1 {
    letter-spacing: 0.18em;
  }

  .details,
  .event {
    letter-spacing: 0.11em;
  }
}
