/* One continuous sheet for the entire invitation, inside the animated cover. */
.invitation-sheet {
  --sheet-inset: 44px;
  position: relative;
  width: calc(100% - 68px);
  max-width: 1110px;
  margin: 32px auto 34px;
  background: #e6eef9;
  border: 1px solid #85a5cf;
  border-radius: 28px;
  box-shadow: 0 12px 32px #637b962e, 7px 7px 0 #8ca3bf24;
}
.invitation-sheet .section-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--sheet-inset);
  padding-right: var(--sheet-inset);
}
.invitation-sheet main > section,
.invitation-sheet .site-footer {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.invitation-sheet main > section,
.invitation-sheet .site-footer {
  position: relative;
}
.invitation-sheet .hero-card {
  min-height: 0;
  padding-top: 45px;
  padding-bottom: 34px;
}
.invitation-sheet .hero-card::before { display: none; }
.invitation-sheet .section-heading,
.invitation-sheet .countdown-heading {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.invitation-sheet .photo-gallery { padding: 26px 0 36px; }
.invitation-sheet .photo-gallery .section-heading { padding: 0 var(--sheet-inset); }
.invitation-sheet .details-section { padding-top: 34px; padding-bottom: 24px; }
.invitation-sheet .countdown-section { padding-top: 26px; padding-bottom: 42px; }
.invitation-sheet .location-section { padding-top: 38px; padding-bottom: 42px; }
.invitation-sheet .rsvp-section { padding-top: 36px; padding-bottom: 34px; }
.invitation-sheet .site-footer { padding-top: 26px; padding-bottom: 30px; }

/* Fine lines mark the rhythm of the page without adding separate cards. */
.invitation-sheet .details-section::before,
.invitation-sheet .location-section::before,
.invitation-sheet .rsvp-section::before,
.invitation-sheet .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--sheet-inset);
  right: var(--sheet-inset);
  height: 1px;
  background: linear-gradient(90deg, transparent, #97b0d1aa, transparent);
  pointer-events: none;
}
.invitation-sheet .event-ticket {
  padding: 18px 0 12px;
  margin-top: 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.invitation-sheet .event-ticket::before,
.invitation-sheet .event-ticket::after { display: none; }
.invitation-sheet .ticket-date,
.invitation-sheet .ticket-time { border-right: 1px solid #97b0d180; }
.invitation-sheet .countdown { gap: 0; }
.invitation-sheet .countdown > div {
  padding: 17px 5px 12px;
  background: transparent;
  border: 0;
  border-right: 1px solid #97b0d180;
  border-radius: 0;
  box-shadow: none;
}
.invitation-sheet .countdown > div:last-child { border-right: 0; }
.invitation-sheet .countdown-heart { color: #7091bd; filter: none; }
.invitation-sheet .location-panel {
  gap: 36px;
  padding: 8px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.invitation-sheet .location-copy .eyebrow { color: #405976; }
.invitation-sheet .directions-card {
  padding: 0 0 0 28px;
  background: transparent;
  border: 0;
  border-left: 1px solid #97b0d180;
  border-radius: 0;
  transform: none;
  box-shadow: none;
}
.invitation-sheet .directions-list li > span {
  border-color: #91accd;
  border-radius: 50%;
  box-shadow: none;
}

@media (max-width: 1080px) {
  .invitation-sheet { --sheet-inset: 32px; width: calc(100% - 60px); }
  .invitation-sheet .hero-card { padding-top: 41px; }
  .invitation-sheet .location-panel { gap: 28px; }
  .invitation-sheet .directions-card { padding-left: 23px; }
}
@media (max-width: 760px) {
  .invitation-sheet {
    --sheet-inset: 23px;
    width: calc(100% - 36px);
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 23px;
  }
  .invitation-sheet .hero-card { padding-top: 39px; padding-bottom: 20px; }
  .invitation-sheet .photo-gallery { padding-top: 20px; padding-bottom: 28px; }
  .invitation-sheet .details-section { padding-top: 28px; padding-bottom: 16px; }
  .invitation-sheet .countdown-section { padding-top: 24px; padding-bottom: 30px; }
  .invitation-sheet .location-section { padding-top: 30px; padding-bottom: 32px; }
  .invitation-sheet .rsvp-section { padding-top: 28px; padding-bottom: 30px; }
  .invitation-sheet .ticket-time { border-right: 0; }
  .invitation-sheet .ticket-calendar {
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid #97b0d180;
  }
  .invitation-sheet .ticket-calendar p { text-align: center; }
  .invitation-sheet .location-panel { gap: 28px; padding: 0; }
  .invitation-sheet .directions-card { padding: 0; border-left: 0; }
  .invitation-sheet .site-footer {
    padding-top: 24px;
    padding-bottom: calc(30px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 370px) {
  .invitation-sheet { --sheet-inset: 18px; }
}

/* Keep the countdown directly under the name, within the same text column. */
.hero-card .hero-countdown {
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
}
.hero-countdown .heading-emblem { gap: 12px; margin-bottom: 8px; }
.hero-countdown .heading-emblem .emblem-moon { width: 42px; height: 34px; }
.hero-countdown .heading-emblem .emblem-star { width: 10px; height: 10px; }
.hero-card .hero-countdown .eyebrow { font-size: 7px; letter-spacing: 1.3px; }
.hero-card .hero-countdown h2 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.7px;
  margin-top: 9px;
}
.hero-card .hero-countdown .countdown-copy {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 10px;
}
.hero-card .hero-countdown .countdown {
  width: 100%;
  max-width: 360px;
  margin-top: 18px;
}
.hero-card .hero-countdown .countdown > div { padding: 12px 4px 10px; }
.hero-card .hero-countdown .countdown span {
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: -1px;
}
.hero-card .hero-countdown .countdown small { font-size: 6px; letter-spacing: .65px; }
.hero-card .hero-countdown .countdown-heart { font-size: 22px; margin-top: 15px; }
