/* ── Sections ── */

.welcome-section,
.questions-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.questions-section {
  align-items: center;
}

.welcome-section {
  background-image: url('/web1.png');
}

.questions-section {
  background-image: url('/web2.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
}

/* ── Invite content ── */

.invite-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 15vh 2rem 10vh;
  max-width: min(760px, 92vw);
  width: 100%;
  min-height: 100svh;
  animation: riseIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.invite-greeting {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
}

.invite-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
}

.invite-sub {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.welcome-divider {
  width: 40px;
  height: 1px;
  background: var(--pink-light);
}

.invite-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.08em;
  margin-top: 6vh;
}

.invite-schedule {
  display: inline-flex;
  flex-direction: column;
  gap: 0.85rem;
}

.invite-event {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.invite-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--pink);
  white-space: nowrap;
  min-width: 4rem;
}

.invite-desc {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
}

.invite-place {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.invite-dresscode {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.invite-palette {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.invite-palette span {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  /*box-shadow: 0 0 0 rgba(0,0,0,0.12);*/
}

.invite-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin-top: 4.5rem;
}

.invite-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.invite-cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 400;
}

.welcome-cta {
  margin-top: 0.5rem;
  padding: 0.875rem 2.5rem;
  background: var(--pink);
  color: #fff;
  border: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.welcome-cta:hover {
  background: #C2536A;
  transform: translateY(-1px);
}

.welcome-cta:active {
  transform: translateY(0);
}

/* ── Animations ── */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Desktop only ── */

@media (min-width: 769px) {
  .invite-lead {
    white-space: nowrap;
  }
}

/* ── Mobile ── */

@media (max-width: 768px) {
  .welcome-section {
    background-image: url('/mob2.png');
  }

  .questions-section {
    background-image: url('/mob1.png');
    background-size: 100% auto;
    background-repeat: repeat-y;
    min-height: 100vh;
  }

  .invite-content {
    padding: 12vh 1.5rem 4vh;
    gap: 0.55rem;
    min-height: unset;
  }

  .invite-greeting {
    font-size: 2.2rem;
  }

  .invite-lead {
    font-size: 1rem;
    white-space: normal;
  }

  .invite-date {
    font-size: 1.1rem;
    margin-top: 0;
  }

  .invite-time {
    font-size: 1.1rem;
    min-width: 3rem;
  }

  .invite-desc {
    font-size: 0.95rem;
  }

  .invite-place {
    font-size: 0.85rem;
  }

  .invite-dresscode {
    font-size: 1.3rem;
  }

  .invite-palette span {
    width: 1.75rem;
    height: 1.75rem;
  }

  .invite-cta-text {
    font-size: 0.85rem;
  }

  .invite-signature {
    margin-top: 1.5rem;
  }

  .invite-bottom {
    gap: 0.3rem;
  }
}
