/* Satin blue, silver charms and a few lilac accents on the same paper sheet. */
.invitation-sheet {
  background-image: radial-gradient(ellipse at 0 0, #f8fcffb3, transparent 48%),
    radial-gradient(ellipse at 100% 100%, #c9daf65c, transparent 55%);
  box-shadow: 0 14px 42px #637b962e, inset 0 0 36px #ffffff80;
}
.invitation-sheet > main,
.invitation-sheet > .site-footer { position: relative; z-index: 1; }
.sheet-ornaments {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
}
.sheet-ornaments::before,
.sheet-ornaments::after {
  content: "";
  position: absolute;
  top: 85px;
  bottom: 85px;
  width: 3px;
  background: radial-gradient(circle, #a5bedb80 1px, transparent 1.6px) center top / 3px 17px repeat-y;
}
.sheet-ornaments::before { left: 15px; }
.sheet-ornaments::after { right: 15px; }
.sheet-ornament {
  position: absolute;
  top: var(--ornament-top);
  width: var(--ornament-size, 28px);
  height: var(--ornament-size, 28px);
  opacity: .75;
  fill: #bfd6ef;
  stroke: #91acd0;
  stroke-width: .8;
  filter: drop-shadow(0 2px 2px #a4bddd40);
  pointer-events: none;
  animation: charmGlimmer 7s ease-in-out infinite;
  animation-delay: var(--ornament-delay, 0s);
}
.ornament-left { left: 4px; }
.ornament-right { right: 4px; }
.ornament-silver { fill: #f8fcff; stroke: #a1b7d2; }
.ornament-lilac { fill: #c8b6e0; stroke: #ab95c5; }
.welcome-garland {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(290px, 100%);
  margin: 23px auto 0;
  pointer-events: none;
}
.welcome-garland::before,
.welcome-garland::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, #9eb8d6);
}
.welcome-garland::after { transform: rotate(180deg); }
.welcome-garland svg { width: 13px; height: 13px; flex-shrink: 0; fill: #bca6d8; }
.welcome-garland .garland-bow { width: 45px; height: 36px; }
.welcome-garland .garland-star { fill: #f9fdff; stroke: #94b0d2; stroke-width: 1; }
.heading-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin: 0 auto 13px;
  pointer-events: none;
}
.heading-emblem > svg { width: 52px; height: 42px; }
.heading-emblem .emblem-star { width: 11px; height: 11px; fill: #a4bfdf; }
.heading-emblem .emblem-cake { width: 58px; height: 54px; }
.heading-emblem .emblem-moon { width: 58px; height: 46px; }
.invitation-sheet .details-section::before,
.invitation-sheet .location-section::before,
.invitation-sheet .rsvp-section::before,
.invitation-sheet .site-footer::before {
  background: linear-gradient(90deg, transparent, #97b0d1aa calc(50% - 24px),
    transparent calc(50% - 17px), transparent calc(50% + 17px),
    #97b0d1aa calc(50% + 24px), transparent);
}
.chapter-charm {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 24px;
  background: transparent;
  pointer-events: none;
}
.chapter-charm svg { width: 14px; height: 14px; fill: #c8b6df; stroke: #a38cbe; stroke-width: .9; }
.hero-balloons {
  position: absolute;
  left: -2%;
  top: -7%;
  width: 25%;
  height: auto;
  aspect-ratio: 2 / 3;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-12deg);
  transform-origin: 50% 100%;
  animation: partySway 8s ease-in-out infinite;
}
.hero-sparkles { position: absolute; right: 1%; top: 18%; width: 15%; height: 23%; pointer-events: none; }
.hero-sparkles svg { position: absolute; fill: #f8fcff; stroke: #a7bed9; stroke-width: .7; animation: charmGlimmer 6s ease-in-out infinite; }
.hero-sparkles svg:first-child { width: 28px; height: 28px; right: 0; top: 0; }
.hero-sparkles svg:last-child { width: 16px; height: 16px; left: 0; bottom: 0; animation-delay: -3s; }
.hero-card .art-backdrop { box-shadow: 0 0 0 9px #d6e2f2, 0 0 35px #a2c6ee60; }
.rsvp-flourish { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; pointer-events: none; }
.rsvp-flourish svg { width: 12px; height: 12px; fill: #c0aed9; }
.rsvp-flourish .flourish-bow { width: 34px; height: 27px; }
@keyframes charmGlimmer { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes partySway { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-5px); } }
@media (max-width: 1080px) {
  .sheet-ornament { width: 26px; height: 26px; }
}
@media (max-width: 760px) {
  .sheet-ornaments::before { left: 7px; }
  .sheet-ornaments::after { right: 7px; }
  .sheet-ornaments::before, .sheet-ornaments::after { opacity: .6; }
  .sheet-ornament { width: 16px; height: 16px; opacity: .55; }
  .ornament-left { left: 1px; }
  .ornament-right { right: 1px; }
  .welcome-garland { gap: 9px; width: min(230px, 100%); margin-top: 19px; }
  .welcome-garland .garland-bow { width: 38px; height: 30px; }
  .heading-emblem { gap: 14px; margin-bottom: 11px; }
  .heading-emblem > svg { width: 44px; height: 35px; }
  .heading-emblem .emblem-cake { width: 50px; height: 46px; }
  .heading-emblem .emblem-moon { width: 48px; height: 38px; }
  .hero-card .art-backdrop { box-shadow: 0 0 0 6px #d6e2f2, 0 0 25px #a2c6ee60; }
  .hero-sparkles svg:first-child { width: 19px; height: 19px; }
  .hero-sparkles svg:last-child { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet-ornament, .hero-balloons, .hero-sparkles svg { animation: none; }
}
