.hero {
  box-sizing: border-box;
  width: min(100%, 540px);
  aspect-ratio: 9 / 16;
  margin-block: clamp(10px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero:focus { outline: none; }
.hero .names { font-size: clamp(3.5rem, 15vw, 6.4rem); margin-top: 16px; }
.hero .date-line { margin-top: 18px; gap: 10px; }
.hero .date-line i { width: 20px; }



.venue-photo { margin: 0 0 18px; }
.venue-photo img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; }
.arrival { display: inline-block; margin: 7px 0; padding: 4px 11px; border-radius: 99px; background: var(--sage-soft); color: var(--sage-deep); font-weight: 500; }
.guest-box { margin: 0 auto 20px; max-width: 760px; padding-inline: clamp(12px, 4vw, 26px); }
.guest-box .sw-row { gap: 12px 8px; }
.guest-box .sw { width: 66px; font-size: .66rem; letter-spacing: .05em; }
.guest-box .sw i { width: 39px; height: 39px; }
.guest-box .fig { margin: 18px auto 0; max-width: 310px; border: 0; background: var(--sage-soft); }
.attire-guide { max-width: 760px; margin: 0 auto; }
.attire-guide .attire { margin-top: 8px; }
.palette-title { margin-top: 24px !important; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.attire-guide .sw { width: 68px; letter-spacing: .06em; }
.attire-guide .sw i { width: 37px; height: 37px; }
.rsvp-action { letter-spacing: .13em; }
.time { --timeline-progress: 0%; }
.time li::before { z-index: 1; }
@media (max-width: 640px) {
  .attire-guide .fig { padding-inline: 6px; }
  .attire-guide .fig .pose { height: clamp(70px, 24vw, 115px); }
}

.countdown-section, .celebration {
  text-align: center;
}
.countdown-section .head {
  margin-bottom: 22px;
}
.countdown-section .count {
  margin: 0 auto 18px;
  display: grid;
  max-width: 380px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.countdown-section .count div { min-width: 0; padding-inline: 2px; }
.countdown-section .count small { letter-spacing: .1em; }
.countdown-content > p, .celebration > p:not(.eyebrow) { color: var(--muted); }
.celebration h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); margin-block: 8px 12px; }
.celebration > p:not(.eyebrow) { max-width: 50ch; margin-inline: auto; }

/* Citrus garden stationery */
:root {
  --paper: #fffdf5;
  --blue: #aac6d9;
  --blue-soft: #e4eff6;
  --blue-deep: #355f81;
  --yellow: #f1d77b;
  --yellow-soft: #fcf1c3;
  --yellow-deep: #977022;
  --sage: #afba96;
  --sage-soft: #eef0e3;
  --sage-deep: #4f6447;
  --ink: #203e55;
  --muted: #4c626d;
  --line: #d9e3e5;
  --stripe: repeating-linear-gradient(90deg,#f9fcfe 0 9px,#dfedf6 9px 17px);
  --shadow: 0 12px 34px #24415c14;
}
body { background: var(--paper); }
.nav, .bnav { background: #fffdf7f5; border-color: #b3cbdb; }
.btn { border-radius: 4px; background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.ghost { background: transparent; color: var(--blue-deep); border-color: var(--blue); }
.btn:hover { background: #264a67; border-color: #264a67; color: #fff; }
.hero {
  padding: 0;
  background: #f8eddb url(art/hero-sunset-watercolor.webp) center / cover no-repeat;
}
.hero-content {
  position: absolute;
  inset: 22% 9% auto;
  color: var(--ink);
}
.hero-content .eyebrow, .hero-content .tag, .hero-content .place-line {
  color: #283f52;
  font-weight: 500;
}
.hero .names { color: var(--blue-deep); font-size: clamp(3rem, 14vw, 6rem); margin-top: 12px; }
.hero .eyebrow { font-size: .62rem; letter-spacing: .2em; }
.hero .tag { letter-spacing: .07em; font-size: .91rem; }
.hero .date-line { flex-wrap: nowrap; }
.hero .date-line i { width: clamp(8px, 4vw, 20px); flex: 0 0 auto; }

.countdown-band { padding-inline: 0; background: var(--paper); }
.countdown-band > .countdown-section { padding-block: 0; max-width: none; }
.countdown-section .count { column-gap: 3px; }
.countdown-section .count div { position: relative; background: transparent; border: 0; }
.countdown-section .count div + div::before { content: ":"; position: absolute; left: -5px; top: 13px; color: var(--yellow-deep); }
.countdown-section .count b { color: var(--blue-deep); font-size: clamp(1.55rem, 6vw, 2.5rem); }
.head h2, .celebration h2 {
  font-family: var(--f-script);
  font-size: clamp(2.45rem, 7vw, 4.1rem);
  color: var(--blue-deep);
  line-height: 1.14;
}
.band.sage { background: var(--sage-band); }
.band.blue { background: var(--blue-soft); }
.band.yellow { background: var(--attire-stripe); }
.calendar-card {
  max-width: 340px;
  margin: 24px auto 0;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--blue);
  box-shadow: var(--shadow);
}
.calendar-card table { width: 100%; border-collapse: collapse; table-layout: fixed; }

.calendar-card th, .calendar-card td { text-align: center; height: 31px; font-size: .8rem; }
.calendar-card th { font-weight: 500; color: var(--blue-deep); }
.calendar-card abbr { text-decoration: none; }
#program .time {
  max-width: 470px;
  padding: 10px 14px;
  border: 1px solid var(--blue);
  outline: 1px solid #dfe9ee;
  outline-offset: -6px;
  background: var(--paper);
}
.venue-photo { padding: 7px 7px 4px; background: #fff; box-shadow: 0 2px 10px #24415c17; }
.venue-photo img { aspect-ratio: 16 / 10; border-radius: 0; }
#details .card, #entourage .acc, .attire-guide, .guest-box, #faq .acc, #reminders .card {
  border: 1px solid #c9d9e1;
  border-radius: 5px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
#entourage .acc summary, .attire-guide summary, #faq .acc summary { background: #f0f6f9; }
#dresscode .head { margin-inline: auto; max-width: 400px; padding: 18px 12px; background: var(--paper); border: 1px solid var(--blue); }
.guest-box .fig { background: #f2f3e6; border-radius: 5px; }
#gift .gift-frame {
  width: min(100%, 540px);
  margin-inline: auto;
}
#gift .gift {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1200 / 1573;
  padding: 20% 22%;
  background: url(art/gift-lace-border.webp) center / 100% 100% no-repeat;
}
#gift .gift blockquote {
  margin-top: 8px;
  font-size: clamp(.94rem, 3.65vw, 1.32rem);
  line-height: 1.4;
}
#gift .gift .eyebrow { letter-spacing: .17em; }
#gift .gift .btn {
  max-width: 100%;
  margin-top: clamp(10px, 3vw, 20px);
  padding: 9px 10px;
  font-size: clamp(.61rem, 2.35vw, .78rem);
  letter-spacing: .08em;
}
#rsvp .form-shell { border-radius: 4px; border-color: var(--blue); background: var(--blue-soft); }
footer { background: var(--footer-band); color: #fffdf5; }
footer .names, footer .credit, footer .credit a { color: inherit; }
footer .footer-note { color: #f9e5a2; font-family: var(--f-display); font-size: 1.25rem; margin-bottom: 8px; }
@media (max-width: 640px) {


}

main > .wrap:not(.hero), .band > .wrap:not(.countdown-section) {
  padding-block: clamp(48px, 7vw, 88px);
}
#details .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(16px, 3vw, 26px);
}
#details .venue-photo { width: 100%; }
#details .card .addr { margin-bottom: 10px; }
#details .card .arrival { margin-top: 0; }
#details .card .btns { margin-top: auto; padding-top: 12px; }
.calendar-actions { margin: 12px 0 4px; }
.calendar-actions .cal-alt { margin: 8px auto 0; max-width: 28ch; }
.attire-guide .attire { display: flex; flex-wrap: wrap; justify-content: center; }
.attire-guide .fig { flex: 0 1 calc((100% - 32px) / 3); }
#rsvp .rsvp-note, #rsvp .seat-note, #rsvp .fallback { max-width: 680px; margin-inline: auto; }
@media (max-width: 640px) {
  .attire-guide .fig { flex-basis: calc((100% - 12px) / 2); }
  .bnav a { font-size: clamp(.49rem, 2.35vw, .6rem); letter-spacing: .055em; }
  .remind .card { padding: 22px; }
}

/* The lower edge takes the color of the section immediately below it. */
:root {
  --sage-band: #f1f2e6;
  --footer-band: #304f68;
  --attire-stripe: repeating-linear-gradient(90deg,#fcf2cd 0 13px,#fff9e5 13px 24px,#dfebf3 24px 27px,#fff9e5 27px 34px);
}
.reminder-band { background: var(--white); }

.section-end { position: relative; }
.section-end::after {
  position: absolute;
  inset: auto 0 -1px;
  height: clamp(25px, 4.5vw, 62px);
  content: "";
  background: var(--next-section);
  pointer-events: none;
  -webkit-mask: var(--section-edge) center bottom / 100% 100% no-repeat;
  mask: var(--section-edge) center bottom / 100% 100% no-repeat;
}
.section-end > .wrap { padding-bottom: clamp(60px, 9vw, 108px); }
.to-sage { --next-section: var(--sage-band); }
.to-paper { --next-section: var(--paper); }
.to-blue { --next-section: var(--blue-soft); }
.to-stripe { --next-section: var(--attire-stripe); }
.to-white { --next-section: var(--white); }
.to-footer { --next-section: var(--footer-band); }
.end-wave {
  --section-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0 32C165 124 260 56 435 34C665 2 746 89 875 68C930 59 971 37 1000 22V100H0Z'/%3E%3C/svg%3E");
}
.end-round {
  --section-edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0 14C160 107 807 111 1000 14V100H0Z'/%3E%3C/svg%3E");
}

.venue-art-credit { margin-top: 12px; text-align: center; color: var(--muted); font-size: .72rem; }

.calendar-card {
  position: relative;
  padding: 20px clamp(12px, 4vw, 24px) 16px;
  border-top: 6px solid var(--blue);
  background: linear-gradient(150deg, #fffefa, var(--paper) 75%, #fcf4d9);
}
.calendar-card caption { color: var(--blue-deep); padding: 0 0 12px; }
.calendar-month { display: block; font: clamp(3rem, 11vw, 4.25rem)/1.05 var(--f-script); }
.calendar-year { display: block; font-size: .72rem; letter-spacing: .25em; }
.calendar-card thead { border-bottom: 1px solid var(--blue); }
.calendar-card th, .calendar-card td { height: 38px; }
.calendar-card time {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 34px;
  font-weight: 600;
  color: var(--blue-deep);
  isolation: isolate;
}
.calendar-card time svg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; }
.calendar-card time path { fill: var(--yellow-soft); stroke: var(--yellow-deep); stroke-width: 1.4; }

#program .time {
  --stem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 400' preserveAspectRatio='none'%3E%3Cpath d='M24 0C-8 62 50 115 20 193S12 319 23 400' fill='none' stroke='%235f7855' stroke-width='2.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  max-width: 570px;
  padding: 16px clamp(10px, 4vw, 28px);
}
#program .time::before, #program .time::after {
  content: "";
  position: absolute;
  inset: 22px auto 22px 50%;
  width: clamp(17px, 5vw, 38px);
  transform: translateX(-50%);
  background: var(--stem) center / 100% 100% no-repeat;
  pointer-events: none;
}
#program .time::before { opacity: .23; }
#program .time::after { clip-path: inset(0 0 calc(100% - var(--timeline-progress)) 0); }
#program .time li {
  display: flex;
  align-items: center;
  gap: clamp(5px, 1.8vw, 16px);
  width: calc(50% - clamp(10px, 3vw, 22px));
  min-height: 76px;
  padding: 8px 0;
}
#program .time li::before { display: none; }
#program .time li:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
#program .time li:nth-child(even) { margin-left: auto; }
#program .time li img {
  width: clamp(27px, 8vw, 54px);
  height: clamp(32px, 9vw, 60px);
  object-fit: contain;
  flex: none;
}
#program .time time, #program .time span { display: block; text-align: inherit; }
#program .time time { color: var(--sage-deep); font-size: clamp(.77rem, 2.8vw, 1rem); }
#program .time span { color: var(--ink); line-height: 1.25; font-size: clamp(.72rem, 3vw, 1.05rem); }
@media (prefers-reduced-motion: reduce) {
  #program .time::after { clip-path: none; }
}

#details .grid2 {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 720px);
  margin-inline: auto;
}
#details .venue-photo { aspect-ratio: 16 / 9; }
#details .venue-photo img {
  height: 100%;
  object-fit: contain;
  background: var(--paper);
}
.program-frame {
  position: relative;
  width: min(100%, 625px);
  aspect-ratio: 5 / 8;
  margin-inline: auto;
  background: url(art/order-of-day-bow.webp) center / 100% 100% no-repeat;
}
#program .program-frame .time {
  position: absolute;
  inset: 29% 9% 16%;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}
#program .program-frame .time::before,
#program .program-frame .time::after { top: 4%; bottom: 4%; }
#program .program-frame .time li {
  min-height: 0;
  width: calc(50% - clamp(6px, 1.5vw, 13px));
  padding: 0;
  gap: clamp(4px, 1.5vw, 14px);
}
#program .program-frame .time li img {
  width: clamp(30px, 10vw, 70px);
  height: clamp(34px, 11vw, 76px);
}
#program .program-frame .time time { font-size: clamp(.83rem, 3.7vw, 1.35rem); font-weight: 500; line-height: 1.25; }
#program .program-frame .time span { font-size: clamp(.79rem, 3.55vw, 1.24rem); font-weight: 400; }

#dresscode .fig .pose { height: clamp(130px, 24vw, 205px); gap: 8px; }
#dresscode .fig .pose img { max-width: 46%; object-position: center bottom; }

.countdown-frame {
  width: min(100%, 500px, 56.25svh);
  aspect-ratio: 220 / 391;
  display: grid;
  align-items: center;
  justify-items: center;
  margin-inline: auto;
  background: var(--blue-soft) url(art/countdown-botanical-frame.webp) center / contain no-repeat;
}
.countdown-content { width: 74%; min-width: 0; }
.countdown-content .head { margin-bottom: clamp(8px, 3vw, 22px); }
.countdown-content .head h2 { font-size: clamp(1.95rem, 7.4vw, 3.5rem); }
.countdown-content .eyebrow { font-size: clamp(.58rem, 2.2vw, .72rem); letter-spacing: .16em; }
.countdown-content .count { margin-bottom: clamp(8px, 3vw, 18px); }
.countdown-content .count div { padding: 4px 0; }
.countdown-content .count div + div::before { top: 4px; left: -3px; }
.countdown-content .count b { font-size: clamp(1.3rem, 5.5vw, 2.35rem); }
.countdown-content .count small { display: block; font-size: clamp(.49rem, 2vw, .64rem); letter-spacing: .06em; }
.countdown-content > p { font-size: clamp(.73rem, 3vw, .95rem); }

#entourage, #dresscode, #rsvp { position: relative; }
.floral-accent {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}
.floral-accent img { position: absolute; height: auto; }

/* Offset corner spray on the calendar. */
.calendar-card .floral-accent img:first-child {
  top: -18px;
  right: -7px;
  width: clamp(55px, 17vw, 90px);
  transform: rotate(18deg);
}
.calendar-card .floral-accent img:last-child {
  top: 29px;
  right: -10px;
  width: clamp(29px, 9vw, 49px);
  transform: rotate(-22deg);
}

/* Diagonal bookends frame the entourage list. */

/* Two blooms flank the dress-code heading. */
#dresscode .floral-accent img:first-child {
  top: clamp(18px, 4vw, 48px);
  left: max(0px, calc(50% - 245px));
  width: clamp(48px, 11vw, 98px);
  transform: rotate(-25deg);
}
#dresscode .floral-accent img:last-child {
  top: clamp(6px, 1.5vw, 16px);
  right: max(0px, calc(50% - 245px));
  width: clamp(50px, 12vw, 108px);
  transform: rotate(28deg);
}

/* A low, layered cluster anchors the RSVP panel. */
#rsvp .floral-accent img:first-child {
  left: 1%;
  bottom: clamp(18px, 3vw, 33px);
  width: clamp(54px, 12vw, 114px);
  transform: rotate(-19deg);
}
#rsvp .floral-accent img:last-child {
  left: clamp(35px, 8vw, 74px);
  bottom: clamp(14px, 2.5vw, 27px);
  width: clamp(36px, 8vw, 74px);
  transform: rotate(15deg);
}
@media (max-width: 640px) and (orientation: portrait) {
  .countdown-frame { width: 100%; }
}
@media (max-width: 380px) {
  #program .program-frame .time { inset-inline: 8%; }
  #program .program-frame .time li { gap: 4px; }
  #program .program-frame .time li img { width: 27px; height: 32px; }
}

.garden-art {
  display: block;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.celebration .art-gazebo {
  width: min(76%, 300px);
  margin: clamp(22px, 5vw, 38px) auto 0;
}
#entourage .art-vases {
  width: min(82%, 380px);
  margin: 26px auto 0;
}
#gift .art-window {
  width: clamp(30px, 11vw, 67px);
  margin: 0 auto 9px;
}
#rsvp .art-swing {
  width: clamp(66px, 19vw, 113px);
  max-height: 178px;
  margin: 20px auto 0;
}
footer .art-lotus {
  width: clamp(132px, 36vw, 215px);
  margin: 0 auto 16px;
}

.venue-heading {
  display: grid;
  grid-template-columns: clamp(58px, 19vw, 140px) minmax(0, 1fr) clamp(58px, 19vw, 140px);
  align-items: start;
  column-gap: clamp(4px, 2vw, 17px);
  max-width: 720px;
  margin: 0 auto clamp(20px, 4vw, 36px);
}
.venue-heading .head { align-self: center; margin: 0; }
.venue-heading .art-pendant { width: 100%; max-height: 176px; object-position: top center; filter: drop-shadow(0 2px 3px #3a473947); }
.venue-heading .art-pendant:last-child { margin-top: 10px; }
@media (max-width: 420px) {
  .venue-heading .head h2 { font-size: clamp(1.65rem, 7.4vw, 2.35rem); }
  .venue-heading .head .eyebrow { font-size: .62rem; letter-spacing: .18em; }
}

.band.celebration-photo {
  background-color: var(--sage-band);
  background-image:
    radial-gradient(ellipse at 50% 37%, #fffdf5f2 0%, #fffdf5de 32%, #fffdf568 68%, #fffdf520 100%),
    url(art/celebration-garden-pond.webp);
  background-position: center, center 52%;
  background-size: cover;
  background-repeat: no-repeat;
}
.celebration-photo .celebration > p:not(.eyebrow) {
  color: var(--ink);
  font-weight: 400;
}

/* Keep these curves on the lower edge of each portrait artwork. */
.photo-end::after { height: clamp(15px, 5vw, 36px); }
.to-tulips { --next-section: var(--yellow-soft); }
.band.dresscode-photo {
  background-color: var(--yellow-soft);
  background-image:
    linear-gradient(180deg, var(--yellow-soft) 0, #fff8d76e 130px, #fff9e289 100%),
    url(art/dresscode-yellow-tulips.webp);
  background-position: center, center 46%;
  background-size: cover;
  background-repeat: no-repeat;
}

.band.faq-photo {
  background-color: var(--blue-soft);
  background-image:
    linear-gradient(180deg, var(--blue-soft) 0, #eaf2f7e6 78px, #eaf2f7bd 160px, #eaf2f755 100%),
    url(art/faq-garden-fountain.webp);
  background-position: center, center 53%;
  background-size: cover;
  background-repeat: no-repeat;
}

.band.venue-photo-band {
  background-color: var(--blue-soft);
  background-image:
    linear-gradient(180deg, var(--blue-soft) 0, #e4eff6bc 120px, #fffdf536 100%),
    url(art/venues-swan-watercolor.webp);
  background-position: center, center 58%;
  background-size: cover;
  background-repeat: no-repeat;
}
.venue-photo-band .venue-art-credit {
  width: fit-content;
  margin-inline: auto;
  padding: 3px 10px;
  background: var(--paper);
}

:root { --portrait-curve: clamp(15px, 5vw, 36px); }
.hero-band { padding-inline: 0; }
.hero-band .hero, .countdown-band .countdown-frame {
  width: min(100%, 540px);
  margin-block: 0;
}
@supports (mask-composite: exclude) {
  .photo-end {
    mask: linear-gradient(#000 0 0), var(--section-edge) center bottom / 100% var(--portrait-curve) no-repeat;
    mask-composite: exclude;
  }
  .photo-end::after { display: none; }
  .hero-band .hero { z-index: 2; }
  .countdown-band .countdown-frame { z-index: 1; }
  .hero-band + .countdown-band,
  .countdown-band + .celebration-photo { margin-top: calc(-1 * var(--portrait-curve)); }
}

#details .art-pavilion {
  width: min(76%, 290px);
  margin: clamp(20px, 5vw, 38px) auto 0;
}


#entourage { padding-top: 0; }
#entourage .entourage-canopy {
  width: min(100%, 530px);
  margin: 0 auto;
  mask-image: linear-gradient(180deg, transparent, #000 18px);
}
#entourage > .head {
  position: relative;
  margin-top: calc(-1 * clamp(54px, 19vw, 106px));
  margin-bottom: clamp(19px, 4vw, 30px);
  padding-inline: 12%;
  text-shadow: 0 0 8px var(--paper), 0 0 13px var(--paper);
}
#entourage > .head p:last-child { margin-top: 9px; }
.program-band > #program { padding-bottom: clamp(20px, 4vw, 42px); }
.program-band .art-meadow {
  position: relative;
  left: 50%;
  width: min(100vw, 880px);
  max-width: none;
  transform: translateX(-50%);
}
@media (min-width: 881px) {
  .program-band .art-meadow { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
}

.band.rsvp-embossed {
  background: var(--paper) url(art/rsvp-embossed-ivory.webp) center / cover no-repeat;
}
.nav a[href="#rsvp"], .bnav a[href="#rsvp"] {
  background: var(--sage-soft);
  color: var(--sage-deep);
  border-radius: 5px;
}
.nav a[href="#rsvp"] { padding: 4px 8px; }
.bnav a[href="#rsvp"][aria-current="true"] { background: var(--sage); }
#invitation { scroll-margin-top: 70px; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    transform: translateY(22px);
    transition: opacity 730ms ease-out, transform 810ms cubic-bezier(.18, .76, .28, 1);
  }
  .js .reveal.in, .js .reveal:focus-within { opacity: 1; transform: none; }
  .motion-group.in > .motion-step {
    animation: text-arrive 800ms cubic-bezier(.18, .76, .28, 1) var(--motion-delay) both;
  }
  .motion-group:focus-within > .motion-step { animation: none; }
  .motion-idle {
    animation: garden-breathe 6s ease-in-out infinite;
    animation-play-state: paused;
  }
  .art-pendant.motion-idle, .art-swing.motion-idle {
    transform-origin: 50% 0;
    animation-name: garden-sway;
  }
  .art-pendant:last-child { animation-delay: -2s; }
  .motion-idle.motion-running { animation-play-state: running; }
  .petal-layer {
    position: fixed;
    z-index: 4;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
  }
  .petal-layer i {
    position: absolute;
    top: -30px;
    left: var(--petal-x);
    width: var(--petal-size);
    height: calc(var(--petal-size) * .72);
    border-radius: 70% 28% 67% 32%;
    background: linear-gradient(138deg, #fff8ce, #e8b75c);
    box-shadow: inset 0 0 0 1px #ae783a33;
    animation: petal-fall var(--petal-duration) linear var(--petal-delay) infinite;
  }
  .petal-layer i:nth-child(3n) { background: linear-gradient(138deg, #f6fcff, #75a9cd); }
  .petal-layer i:nth-child(3n + 2) { background: linear-gradient(138deg, #fffef6, #d6c59d); }
}
@media (max-width: 640px) {
  .petal-layer i:nth-child(3n) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .petal-layer { display: none; }
}
@keyframes text-arrive {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes garden-breathe {
  50% { transform: translate3d(0, -8px, 0) rotate(-2deg); }
}
@keyframes garden-sway {
  25% { transform: rotate(4deg); }
  75% { transform: rotate(-4deg); }
}
@keyframes petal-fall {
  0% { transform: translate3d(0, -15px, 0) rotate(0); opacity: 0; }
  10% { opacity: .86; }
  50% { transform: translate3d(var(--petal-drift), 53vh, 0) rotate(175deg); opacity: .83; }
  89% { opacity: .76; }
  100% { transform: translate3d(0, calc(100vh + 55px), 0) rotate(380deg); opacity: 0; }
}

#reminders .reminder-mark {
  display: block;
  width: clamp(19px, 5vw, 29px);
  height: auto;
  margin: 0 auto 10px;
}
@supports (mask-composite: exclude) {
  :root { --gift-rsvp-curve: clamp(25px, 4.5vw, 62px); }
  .gift-band {
    z-index: 1;
    mask: linear-gradient(#000 0 0), var(--section-edge) center bottom / 100% var(--gift-rsvp-curve) no-repeat;
    mask-composite: exclude;
  }
  .gift-band::after { display: none; }
  .gift-band + .rsvp-embossed { margin-top: calc(-1 * var(--gift-rsvp-curve)); }
}
