/* 2026 invitation walkthrough refresh: align the demo with the living-thank-you dashboard. */
body {
  background:
    radial-gradient(circle at 88% 5%, rgba(239, 193, 174, .2), transparent 28rem),
    var(--cream);
}

.topbar {
  border-bottom-color: rgba(215, 192, 181, .72);
  box-shadow: 0 10px 34px rgba(77, 44, 37, .035);
}

.host-heading {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  margin-bottom: 28px;
}

.host-heading-copy h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.8vw, 76px);
}

.host-heading-copy > p {
  max-width: 700px;
}

.host-heading-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 16px;
  margin-top: 25px;
}

.host-heading-actions > span {
  max-width: 220px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.host-story-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 70px rgba(77, 44, 37, .1);
  transform: rotate(1.2deg);
}

.host-story-card img {
  display: block;
  width: 100%;
  height: 350px;
  border-radius: 23px;
  object-fit: cover;
}

.host-story-card figcaption {
  position: absolute;
  right: -14px;
  bottom: 24px;
  width: min(300px, calc(100% - 28px));
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 249, .96);
  box-shadow: 0 14px 38px rgba(77, 44, 37, .13);
}

.host-story-card figcaption span,
.host-story-card figcaption small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.host-story-card figcaption span {
  color: var(--coral-dark);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.host-story-card figcaption strong {
  display: block;
  margin: 6px 0 8px;
  font: 700 18px/1.25 "Libre Caslon Text", serif;
}

.journey-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.journey-intro article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .82);
}

.journey-intro article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #fff0e9;
  color: var(--coral-dark);
  font: 700 11px "DM Sans", sans-serif;
}

.journey-intro strong {
  display: block;
  margin: 1px 0 4px;
  font: 700 14px "Libre Caslon Text", serif;
}

.journey-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.panel {
  box-shadow: 0 18px 50px rgba(91, 56, 47, .055);
}

.editor-panel,
.guest-panel {
  position: relative;
  overflow: hidden;
}

.editor-panel::before,
.guest-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--coral), #f0b8a5 58%, transparent);
}

.lifecycle-panel {
  background: linear-gradient(145deg, #fff 0%, #fff8f4 100%);
}

.lifecycle-grid article {
  border: 1px solid rgba(235, 223, 216, .8);
  background: rgba(255, 255, 255, .82);
}

.guest-demo-bar {
  position: sticky;
  z-index: 12;
  top: 84px;
  box-shadow: 0 12px 32px rgba(77, 44, 37, .07);
}

.invite-hero {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 70px rgba(77, 44, 37, .09);
}

.invite-photo {
  position: relative;
  min-width: 0;
}

.invite-photo img {
  height: 100%;
  min-height: 590px;
  object-fit: cover;
}

.private-page-badge {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 44px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 11px;
  border: 1px solid rgba(235, 223, 216, .82);
  border-radius: 999px;
  background: rgba(255, 252, 249, .94);
  color: #6c504b;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(77, 44, 37, .09);
}

.invite-copy {
  padding: clamp(38px, 5vw, 72px);
}

.guest-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.guest-trust span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff8f4;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.story-page-preview {
  width: 100%;
  max-width: 1180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fffdfb;
  box-shadow: 0 28px 80px rgba(77, 44, 37, .09);
}

.story-page-preview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}

.story-page-preview > header small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.story-page-intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 58px 30px 45px;
  text-align: center;
}

.story-page-intro h1 {
  margin: 12px 0 18px;
  font: 700 clamp(48px, 6vw, 78px)/.98 "Libre Caslon Text", serif;
  letter-spacing: -.045em;
}

.story-page-intro p {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.story-moment {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: stretch;
  margin: 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff8f3;
}

.story-moments {
  display: grid;
  gap: 22px;
}

.story-moment.reverse .story-moment-photo {
  order: 2;
}

.story-moment-photo {
  position: relative;
  min-height: 520px;
}

.story-moment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-moment-photo > span {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #6c504b;
  font-size: 9px;
  font-weight: 700;
}

.story-moment-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.story-moment-copy h2 {
  margin: 10px 0 14px;
  font: 700 clamp(35px, 4vw, 52px)/1.02 "Libre Caslon Text", serif;
  letter-spacing: -.04em;
}

.story-moment-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.story-gift-tag {
  align-self: flex-start;
  margin-top: 22px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #ffece4;
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 700;
}

.story-moment blockquote {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #e4cec4;
  font: 700 16px/1.45 "Libre Caslon Text", serif;
}

.story-moment blockquote small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font: 600 9px "DM Sans", sans-serif;
}

.story-page-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #f5ece7;
}

.story-page-action > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.story-page-action strong {
  font: 700 17px "Libre Caslon Text", serif;
}

.story-page-action span {
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 900px) {
  .host-heading {
    grid-template-columns: 1fr;
  }

  .host-story-card {
    max-width: 620px;
  }

  .journey-intro {
    grid-template-columns: 1fr;
  }

  .guest-demo-bar {
    top: 74px;
  }

  .story-moment {
    grid-template-columns: 1fr;
  }

  .story-moment.reverse .story-moment-photo {
    order: 0;
  }

  .story-moment-photo {
    min-height: 420px;
  }
}

@media (max-width: 650px) {
  .host-heading-copy h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .host-heading-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .host-heading-actions .primary {
    width: 100%;
  }

  .host-story-card img {
    height: 280px;
  }

  .host-story-card figcaption {
    right: 10px;
    bottom: 10px;
  }

  .journey-intro article {
    padding: 15px;
  }

  .guest-demo-bar {
    position: static;
  }

  .invite-photo img {
    min-height: 340px;
  }

  .story-page-preview > header,
  .story-page-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-page-preview > header small {
    padding-left: 45px;
  }

  .story-page-intro {
    padding: 46px 22px 36px;
  }

  .story-page-intro h1 {
    font-size: clamp(44px, 14vw, 60px);
  }

  .story-moment {
    margin: 0 12px;
  }

  .story-moment-photo {
    min-height: 330px;
  }

  .story-moment-copy {
    padding: 30px 24px;
  }

  .story-page-action {
    margin: 18px 12px 12px;
  }

  .story-page-action .primary {
    width: 100%;
  }
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.view,
#checkinView,
.kiosk-shell,
.kiosk-top {
  min-width: 0;
  max-width: 100%;
}

.kiosk-top > * {
  min-width: 0;
}

.switch {
  position: relative;
  display: inline-flex;
  flex: none;
}
