@charset "utf-8";

:root {
  color-scheme: light;
  --gold: #a9742b;
  --paper: #f7eadd;
}

@font-face {
  font-family: "Pinyon Script";
  src: url("../assets/fonts/PinyonScript-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}

html,
body {
  width: 100%;
  height: auto;
  min-width: 280px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper) url("../assets/backgrounds/garden-path.png") center /
    cover fixed no-repeat;
}

body {
  background: var(--paper) url("../assets/backgrounds/garden-path.png") center /
    cover fixed no-repeat;
  color: #a9742b;
  -webkit-font-smoothing: antialiased;
}

html.scroll-locked,
body.scroll-locked {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.invitation-site {
  position: relative;
  width: 100%;
  min-height: 100%;
  background: var(--paper) url("../assets/backgrounds/garden-path.png") center /
    cover fixed no-repeat;
}

.opening-page {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100svh;
  padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
  background: #f5e7da;
}

.opening-backdrop {
  position: absolute;
  z-index: -1;
  inset: -5%;
  background: url("../assets/backgrounds/garden-path.png") center / cover
    no-repeat;
  filter: blur(11px) saturate(0.9) brightness(0.94);
  transform: scale(1.04);
}

.opening-page::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(247, 234, 221, 0.26);
  content: "";
}

.opening-canvas {
  position: relative;
  container-type: inline-size;
  width: min(calc(100vw - 24px), 480px, calc(56.28vh - 13.5px));
  width: min(calc(100vw - 24px), 480px, calc(56.28svh - 13.5px));
  width: min(calc(100vw - 24px), 480px, calc(56.28dvh - 13.5px));
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  background: #f9ecdf;
  box-shadow: 0 5px 46px rgba(80, 51, 28, 0.2);
  isolation: isolate;
}

.art {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
}

.art--background {
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  mix-blend-mode: normal;
  animation: background-dawn 1.6s ease-out both;
}

.cutout {
  mix-blend-mode: normal;
}

.floral-drape {
  z-index: 1;
  top: -0.5%;
  width: 51%;
  opacity: 0.99;
  transform-origin: 50% 2%;
}

.floral-drape--left {
  left: -1.5%;
  animation:
    drape-fall-left 1.65s cubic-bezier(0.18, 0.72, 0.25, 1) 0.75s both,
    breeze-drape-left 2.8s ease-in-out 2.55s infinite alternate;
}

.floral-drape--right {
  right: -1.5%;
  animation:
    drape-fall-right 1.8s cubic-bezier(0.2, 0.7, 0.24, 1) 0.9s both,
    breeze-drape-right 2.55s ease-in-out 2.8s infinite alternate;
}

.loose-flowers {
  z-index: 2;
}

.loose-flowers--soft {
  top: 23.6%;
  left: 61.5%;
  width: 13%;
  opacity: 0.48;
  transform-origin: 50% 70%;
  animation:
    soft-blossom-in 1.1s ease-out 2.35s both,
    breeze-blossom 2.25s ease-in-out 3.6s infinite alternate;
}

.loose-flowers--spray {
  top: 24.3%;
  right: 25.5%;
  width: 10%;
  opacity: 0.78;
  transform-origin: 50% 50%;
  animation:
    petal-spray-in 1.05s cubic-bezier(0.18, 0.72, 0.26, 1) 2.5s both,
    breeze-blossom 2.05s ease-in-out 3.7s infinite alternate-reverse;
}

.petal {
  z-index: 3;
}

.petal--cluster {
  top: 73.8%;
  left: 17.4%;
  width: 8.2%;
  opacity: 0.94;
  animation:
    petals-drift-in 1.2s ease-out 2.4s both,
    breeze-floating-petal 2.3s ease-in-out 3.75s infinite alternate;
}

.petal--one {
  top: 37.4%;
  left: 23.7%;
  width: 6.5%;
  opacity: 0.86;
  animation:
    petal-turn-in 0.95s ease-out 2.45s both,
    breeze-floating-petal 2s ease-in-out 3.55s infinite alternate-reverse;
}

.petal--two {
  top: 25.2%;
  right: 31.6%;
  width: 5%;
  opacity: 0.86;
  animation:
    petal-float-in 1.25s ease-out 2.55s both,
    breeze-floating-petal 2.45s ease-in-out 3.85s infinite alternate;
}

.gazebo {
  z-index: 4;
  top: 37%;
  left: 32.7%;
  width: 34.5%;
  animation: gazebo-rise 1.2s cubic-bezier(0.2, 0.75, 0.25, 1) 1.95s both;
}

.urn {
  z-index: 5;
  top: 51.1%;
}

.urn--left {
  left: auto;
  right: -1.5%;
  width: 23%;
  transform-origin: 50% 88%;
  animation:
    urn-rise-left 1.35s cubic-bezier(0.17, 0.78, 0.25, 1) 0.05s both,
    breeze-urn-left 2.3s ease-in-out 2.2s infinite alternate;
  margin-top: -16.66cqw;
}

.urn--right {
  right: auto;
  left: -1.5%;
  width: 23%;
  transform-origin: 50% 88%;
  animation:
    urn-rise-right 1.5s cubic-bezier(0.2, 0.73, 0.25, 1) 0.18s both,
    breeze-urn-right 2.5s ease-in-out 2.45s infinite alternate-reverse;
  margin-top: -16.66cqw;
}

.butterfly {
  position: absolute;
  z-index: 14;
  display: block;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(111, 73, 54, 0.2));
  perspective: 420px;
  will-change: transform, opacity;
}

.butterfly--one {
  top: 34%;
  left: 5%;
  width: 13%;
  aspect-ratio: 1;
}

.butterfly--two {
  top: 51%;
  right: 4%;
  width: 13.8%;
  aspect-ratio: 564 / 426;
}

.butterfly--three {
  top: 69%;
  left: 25%;
  width: 12.5%;
  aspect-ratio: 1;
}

.butterfly-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.butterfly-wing--left {
  z-index: 0;
  clip-path: inset(0 50% 0 0);
  transform-origin: 50% 52%;
  animation: butterfly-flap-left 430ms ease-in-out infinite alternate;
}

.butterfly-wing--right {
  z-index: 0;
  clip-path: inset(0 0 0 50%);
  transform-origin: 50% 52%;
  animation: butterfly-flap-right 430ms ease-in-out infinite alternate;
}

.butterfly--one .butterfly-body {
  clip-path: inset(13% 44% 12% 44%);
}

.butterfly--two .butterfly-body {
  clip-path: inset(18% 44% 11% 44%);
}

.butterfly--three .butterfly-body {
  clip-path: inset(12% 20% 5% 56%);
}

.butterfly--three .butterfly-wing--left,
.butterfly--three .butterfly-wing--right {
  transform-origin: 68% 74%;
}

.butterfly-body {
  z-index: 1;
}

.wreath {
  z-index: 6;
  top: 15.9%;
  left: 38.6%;
  width: 22.8%;
  transform-origin: 50% 86%;
  animation:
    wreath-bloom 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) 2.3s both,
    wreath-breeze 2.7s ease-in-out 3.75s infinite alternate;
}

.type-layer {
  mix-blend-mode: normal;
}

.monogram {
  z-index: 7;
  top: 20.15%;
  left: 44.42%;
  width: 11.05%;
  height: 5.5%;
  animation: monogram-unveil 0.8s ease-out 2.55s both;
}

.divider {
  z-index: 8;
  left: 50%;
  clip-path: inset(0 50% 0 50%);
  transform: translateX(-50%);
}

.divider--top {
  top: 31.2%;
  width: 8.8%;
  animation: line-reveal 0.7s ease-out 2.6s both;
}

.invited {
  z-index: 9;
  top: 32.18%;
  left: 34.96%;
  width: 30.07%;
  animation: invitation-reveal 0.8s ease-out 2.75s both;
}

.divider--invite {
  top: 35.05%;
  width: 16%;
  animation: line-reveal 0.8s ease-out 2.9s both;
}

.guest-address {
  position: absolute;
  z-index: 18;
  top: 73.8%;
  left: 12%;
  display: flex;
  width: 76%;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
  color: #8d5d1e;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  opacity: 0;
  animation: guest-address-in 900ms cubic-bezier(0.2, 0.72, 0.25, 1) 2.95s both;
}

.guest-address p {
  margin: 0;
}

.guest-address__label,
.guest-address__audience {
  font-size: 2.6cqw;
  letter-spacing: 0.045em;
  line-height: 1.25;
}

.guest-address__name {
  max-width: 100%;
  color: #7c4d1c;
  font-family: "Pinyon Script", cursive;
  font-size: clamp(1rem, 4.7cqw, 1.8rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.envelope-wrap {
  position: absolute;
  z-index: 10;
  top: 48.25%;
  left: 18.5%;
  width: 63%;
  transform-origin: center 80%;
  animation: envelope-arrive 1.45s cubic-bezier(0.16, 0.76, 0.24, 1) 1.45s both;
}

.envelope {
  position: relative;
  z-index: 0;
  width: 100%;
  transition: transform 300ms ease;
}

.envelope-hitarea {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 2%;
  background: transparent;
  cursor: pointer;
}

.envelope-hitarea:focus-visible {
  outline: 2px solid rgba(166, 112, 42, 0.8);
  outline-offset: -5px;
}

.envelope-wrap.is-tapped .envelope {
  animation: envelope-tap 720ms cubic-bezier(0.2, 0.75, 0.28, 1);
}

.envelope-bloom {
  z-index: 11;
  top: 67.1%;
  left: 71.1%;
  width: 28%;
  transform-origin: 35% 80%;
  animation:
    rose-bloom 1s cubic-bezier(0.17, 0.75, 0.25, 1) 2.65s both,
    breeze-rose 2.1s ease-in-out 3.8s infinite alternate;
}

.tap-to-open {
  position: absolute;
  z-index: 12;
  top: 82.1%;
  left: 27.1%;
  width: 45.05%;
  height: 6.7%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  animation: tap-reveal 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 3.15s both;
}

.tap-to-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.tap-to-open:focus-visible {
  outline: 1px solid rgba(166, 112, 42, 0.75);
  outline-offset: 4px;
}
.opening-canvas.is-tapped .tap-to-open {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.bottom-ring {
  z-index: 13;
  top: 89.1%;
  left: 46.65%;
  width: 6.7%;
  animation: ring-stamp 0.9s cubic-bezier(0.16, 0.8, 0.24, 1) 3.3s both;
}

.bottom-line {
  z-index: 13;
  top: 94.4%;
  left: 14.2%;
  width: 71.6%;
  height: auto;
  clip-path: inset(0 50% 0 50%);
  animation: line-reveal 0.9s ease-out 3.45s both;
}

.bottom-flower {
  z-index: 14;
  top: 95.1%;
  left: 48.25%;
  width: 3.5%;
  transform-origin: center;
  animation:
    flower-pop 0.8s cubic-bezier(0.2, 0.8, 0.25, 1) 3.65s both,
    breeze-blossom 2.2s ease-in-out 4.6s infinite alternate;
}

.petal-pile {
  position: absolute;
  z-index: 15;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  animation: pile-appear 1s ease-out 3.55s both;
}

.fallen-petal {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: normal;
}

.landed-petal {
  left: var(--landing-left);
  top: var(--landing-top);
  width: var(--landed-width, 4%);
  opacity: 0.82;
  transform: rotate(var(--landing-rotation, 0deg));
}

.pile-spot-01 {
  left: 8%;
  bottom: 0.3%;
  width: 4.4%;
  transform: rotate(-22deg);
}
.pile-spot-02 {
  left: 2%;
  bottom: 2.2%;
  width: 3.4%;
  transform: rotate(38deg);
}
.pile-spot-03 {
  left: 12%;
  bottom: 0.5%;
  width: 4.6%;
  transform: rotate(118deg);
}
.pile-spot-04 {
  left: 5%;
  bottom: 1.1%;
  width: 2.8%;
  transform: rotate(-62deg);
}
.pile-spot-05 {
  left: 19%;
  bottom: 2.8%;
  width: 4.3%;
  transform: rotate(72deg);
}
.pile-spot-06 {
  left: 15%;
  bottom: 0;
  width: 3.3%;
  transform: rotate(-34deg);
}
.pile-spot-07 {
  left: 30%;
  bottom: 0.4%;
  width: 4.5%;
  transform: rotate(145deg);
}
.pile-spot-08 {
  left: 24%;
  bottom: 3%;
  width: 3%;
  transform: rotate(26deg);
}
.pile-spot-09 {
  left: 37%;
  bottom: 1%;
  width: 4.1%;
  transform: rotate(-102deg);
}
.pile-spot-10 {
  left: 33%;
  bottom: 0;
  width: 3.4%;
  transform: rotate(52deg);
}
.pile-spot-11 {
  left: 47%;
  bottom: 2.2%;
  width: 4.6%;
  transform: rotate(172deg);
}
.pile-spot-12 {
  left: 41%;
  bottom: 0;
  width: 3%;
  transform: rotate(-42deg);
}
.pile-spot-13 {
  left: 54%;
  bottom: 1.3%;
  width: 4.4%;
  transform: rotate(96deg);
}
.pile-spot-14 {
  left: 50%;
  bottom: 3%;
  width: 3%;
  transform: rotate(-130deg);
}
.pile-spot-15 {
  left: 66%;
  bottom: 0.4%;
  width: 4.4%;
  transform: rotate(28deg);
}
.pile-spot-16 {
  left: 61%;
  bottom: 0;
  width: 3.1%;
  transform: rotate(115deg);
}
.pile-spot-17 {
  left: 79%;
  bottom: 2.3%;
  width: 4.6%;
  transform: rotate(-68deg);
}
.pile-spot-18 {
  left: 73%;
  bottom: 0;
  width: 3.4%;
  transform: rotate(165deg);
}
.pile-spot-19 {
  left: 92%;
  bottom: 0.6%;
  width: 4.2%;
  transform: rotate(-22deg);
}
.pile-spot-20 {
  left: 84%;
  bottom: 3%;
  width: 3%;
  transform: rotate(78deg);
}
.pile-spot-21 {
  left: 24%;
  bottom: 1.3%;
  width: 4.5%;
  transform: rotate(-142deg);
}
.pile-spot-22 {
  left: 56%;
  bottom: 0;
  width: 3.4%;
  transform: rotate(42deg);
}
.pile-spot-23 {
  left: 5%;
  bottom: 4.8%;
  width: 4.2%;
  transform: rotate(124deg);
}
.pile-spot-24 {
  left: 90%;
  bottom: 0;
  width: 3.2%;
  transform: rotate(-54deg);
}
.pile-spot-25 {
  left: 43%;
  bottom: 3.5%;
  width: 4.6%;
  transform: rotate(88deg);
}
.pile-spot-26 {
  left: 68%;
  bottom: 1%;
  width: 3%;
  transform: rotate(-116deg);
}
.pile-spot-27 {
  left: 80%;
  bottom: 0;
  width: 4.3%;
  transform: rotate(18deg);
}
.pile-spot-28 {
  left: 34%;
  bottom: 4%;
  width: 3.4%;
  transform: rotate(138deg);
}

.falling-petal {
  position: absolute;
  z-index: 16;
  top: -8%;
  display: block;
  height: auto;
  max-width: none;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: normal;
}

.falling-petal--01 {
  --start-left: 4%;
  left: 4%;
  width: 4%;
}
.falling-petal--02 {
  --start-left: 12%;
  left: 12%;
  width: 4.4%;
}
.falling-petal--03 {
  --start-left: 22%;
  left: 22%;
  width: 7.4%;
}
.falling-petal--04 {
  --start-left: 32%;
  left: 32%;
  width: 9.2%;
}
.falling-petal--05 {
  --start-left: 42%;
  left: 42%;
  width: 7.1%;
}
.falling-petal--06 {
  --start-left: 53%;
  left: 53%;
  width: 7%;
}
.falling-petal--07 {
  --start-left: 64%;
  left: 64%;
  width: 4%;
}
.falling-petal--08 {
  --start-left: 75%;
  left: 75%;
  width: 7.4%;
}
.falling-petal--09 {
  --start-left: 86%;
  left: 86%;
  width: 4.2%;
}
.falling-petal--10 {
  --start-left: 9%;
  left: 9%;
  width: 9.2%;
}
.falling-petal--11 {
  --start-left: 48%;
  left: 48%;
  width: 7.1%;
}
.falling-petal--12 {
  --start-left: 91%;
  left: 91%;
  width: 4.5%;
}
.falling-petal--13 {
  --start-left: 18%;
  left: 18%;
  width: 4.1%;
}
.falling-petal--14 {
  --start-left: 38%;
  left: 38%;
  width: 7.4%;
}
.falling-petal--15 {
  --start-left: 68%;
  left: 68%;
  width: 9%;
}
.falling-petal--16 {
  --start-left: 82%;
  left: 82%;
  width: 4.5%;
}

.falling-petal--01.is-falling {
  animation: petal-drop-a 5s linear forwards;
}
.falling-petal--02.is-falling {
  animation: petal-drop-b 5.6s linear forwards;
}
.falling-petal--03.is-falling {
  animation: petal-drop-c 6.2s linear forwards;
}
.falling-petal--04.is-falling {
  animation: petal-drop-d 6.5s linear forwards;
}
.falling-petal--05.is-falling {
  animation: petal-drop-b 5.7s linear forwards;
}
.falling-petal--06.is-falling {
  animation: petal-drop-a 6s linear forwards;
}
.falling-petal--07.is-falling {
  animation: petal-drop-d 5.3s linear forwards;
}
.falling-petal--08.is-falling {
  animation: petal-drop-c 6.1s linear forwards;
}
.falling-petal--09.is-falling {
  animation: petal-drop-a 5.4s linear forwards;
}
.falling-petal--10.is-falling {
  animation: petal-drop-c 6.4s linear forwards;
}
.falling-petal--11.is-falling {
  animation: petal-drop-b 5.2s linear forwards;
}
.falling-petal--12.is-falling {
  animation: petal-drop-d 5.9s linear forwards;
}
.falling-petal--13.is-falling {
  animation: petal-drop-c 5.5s linear forwards;
}
.falling-petal--14.is-falling {
  animation: petal-drop-a 6.6s linear forwards;
}
.falling-petal--15.is-falling {
  animation: petal-drop-b 5.8s linear forwards;
}
.falling-petal--16.is-falling {
  animation: petal-drop-d 6.3s linear forwards;
}

.landing-spot-01 {
  --landing-left: 16%;
  --landing-top: 42%;
  --landing-rotation: 32deg;
}
.landing-spot-02 {
  --landing-left: 74%;
  --landing-top: 40%;
  --landing-rotation: -48deg;
}
.landing-spot-03 {
  --landing-left: 6%;
  --landing-top: 51%;
  --landing-rotation: 112deg;
}
.landing-spot-04 {
  --landing-left: 89%;
  --landing-top: 54%;
  --landing-rotation: -124deg;
}
.landing-spot-05 {
  --landing-left: 25%;
  --landing-top: 60%;
  --landing-rotation: 72deg;
}
.landing-spot-06 {
  --landing-left: 77%;
  --landing-top: 62%;
  --landing-rotation: -18deg;
}
.landing-spot-07 {
  --landing-left: 12%;
  --landing-top: 69%;
  --landing-rotation: 150deg;
}
.landing-spot-08 {
  --landing-left: 84%;
  --landing-top: 72%;
  --landing-rotation: 42deg;
}
.landing-spot-09 {
  --landing-left: 30%;
  --landing-top: 76%;
  --landing-rotation: -90deg;
}
.landing-spot-10 {
  --landing-left: 65%;
  --landing-top: 77%;
  --landing-rotation: 126deg;
}
.landing-spot-11 {
  --landing-left: 4%;
  --landing-top: 81%;
  --landing-rotation: 25deg;
}
.landing-spot-12 {
  --landing-left: 92%;
  --landing-top: 82%;
  --landing-rotation: -72deg;
}
.landing-spot-13 {
  --landing-left: 20%;
  --landing-top: 86%;
  --landing-rotation: 94deg;
}
.landing-spot-14 {
  --landing-left: 39%;
  --landing-top: 89%;
  --landing-rotation: -148deg;
}
.landing-spot-15 {
  --landing-left: 59%;
  --landing-top: 85%;
  --landing-rotation: 18deg;
}
.landing-spot-16 {
  --landing-left: 78%;
  --landing-top: 88%;
  --landing-rotation: 164deg;
}
.landing-spot-17 {
  --landing-left: 12%;
  --landing-top: 94%;
  --landing-rotation: -36deg;
}
.landing-spot-18 {
  --landing-left: 27%;
  --landing-top: 97%;
  --landing-rotation: 124deg;
}
.landing-spot-19 {
  --landing-left: 47%;
  --landing-top: 95%;
  --landing-rotation: -102deg;
}
.landing-spot-20 {
  --landing-left: 67%;
  --landing-top: 97%;
  --landing-rotation: 54deg;
}
.landing-spot-21 {
  --landing-left: 87%;
  --landing-top: 94%;
  --landing-rotation: -156deg;
}
.landing-spot-22 {
  --landing-left: 35%;
  --landing-top: 56%;
  --landing-rotation: 80deg;
}
.landing-spot-23 {
  --landing-left: 61%;
  --landing-top: 68%;
  --landing-rotation: -26deg;
}
.landing-spot-24 {
  --landing-left: 52%;
  --landing-top: 91%;
  --landing-rotation: 138deg;
}

.landed-petal.falling-petal--03,
.landed-petal.falling-petal--08,
.landed-petal.falling-petal--13 {
  --landed-width: 6%;
}
.landed-petal.falling-petal--04,
.landed-petal.falling-petal--10,
.landed-petal.falling-petal--14 {
  --landed-width: 8%;
}
.landed-petal.falling-petal--05,
.landed-petal.falling-petal--11,
.landed-petal.falling-petal--15 {
  --landed-width: 5.5%;
}
.landed-petal.falling-petal--06,
.landed-petal.falling-petal--16 {
  --landed-width: 5%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes butterfly-flap-left {
  from {
    transform: scaleX(1) rotateY(0deg);
  }
  to {
    transform: scaleX(0.22) rotateY(24deg);
  }
}

@keyframes butterfly-flap-right {
  from {
    transform: scaleX(1) rotateY(0deg);
  }
  to {
    transform: scaleX(0.22) rotateY(-24deg);
  }
}

@keyframes background-dawn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes drape-fall-left {
  from {
    opacity: 0;
    transform: translate(-4%, -6%) scale(0.94);
  }
  78% {
    opacity: 1;
    transform: translate(0, 1%) scale(1.015);
  }
  to {
    opacity: 0.99;
    transform: translate(0, 0) scale(1);
  }
}
@keyframes drape-fall-right {
  from {
    opacity: 0;
    transform: translate(5%, -8%) scale(0.93);
  }
  76% {
    opacity: 1;
    transform: translate(0, 1.5%) scale(1.018);
  }
  to {
    opacity: 0.99;
    transform: translate(0, 0) scale(1);
  }
}
@keyframes breeze-drape-left {
  from {
    rotate: -0.8deg;
  }
  to {
    rotate: 0.8deg;
  }
}
@keyframes breeze-drape-right {
  from {
    rotate: 0.9deg;
  }
  to {
    rotate: -0.65deg;
  }
}
@keyframes soft-blossom-in {
  from {
    opacity: 0;
    transform: scale(0.65) rotate(-8deg);
    filter: blur(4px);
  }
  to {
    opacity: 0.48;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}
@keyframes petal-spray-in {
  from {
    opacity: 0;
    transform: translate(10%, -15%) rotate(14deg);
  }
  to {
    opacity: 0.78;
    transform: translate(0) rotate(0);
  }
}
@keyframes breeze-blossom {
  from {
    rotate: -1.1deg;
  }
  to {
    rotate: 1.1deg;
  }
}
@keyframes petals-drift-in {
  from {
    opacity: 0;
    transform: translate(-18%, -12%) rotate(-30deg);
  }
  to {
    opacity: 0.94;
    transform: translate(0) rotate(0);
  }
}
@keyframes petal-turn-in {
  from {
    opacity: 0;
    transform: translate(-14%, -25%) rotate(-45deg) scale(0.6);
  }
  75% {
    opacity: 1;
    transform: translate(2%, 2%) rotate(16deg) scale(1.05);
  }
  to {
    opacity: 0.86;
    transform: translate(0) rotate(0) scale(1);
  }
}
@keyframes petal-float-in {
  from {
    opacity: 0;
    transform: translate(15%, -10%) rotate(38deg);
  }
  to {
    opacity: 0.86;
    transform: translate(0) rotate(0);
  }
}
@keyframes gazebo-rise {
  from {
    opacity: 0;
    transform: translateY(8%) scale(0.9);
  }
  80% {
    opacity: 1;
    transform: translateY(-1%) scale(1.015);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes urn-rise-left {
  from {
    opacity: 0;
    transform: translate(-22%, 8%) scale(0.9);
  }
  80% {
    opacity: 1;
    transform: translate(1%, -1%) scale(1.02);
  }
  to {
    opacity: 1;
    transform: translate(0) scale(1);
  }
}
@keyframes urn-rise-right {
  from {
    opacity: 0;
    transform: translate(24%, 10%) scale(0.88);
  }
  78% {
    opacity: 1;
    transform: translate(-1%, -1%) scale(1.025);
  }
  to {
    opacity: 1;
    transform: translate(0) scale(1);
  }
}
@keyframes breeze-urn-left {
  from {
    rotate: -0.35deg;
  }
  to {
    rotate: 0.5deg;
  }
}
@keyframes breeze-urn-right {
  from {
    rotate: 0.4deg;
  }
  to {
    rotate: -0.45deg;
  }
}
@keyframes wreath-bloom {
  from {
    opacity: 0;
    transform: scale(0.58) rotate(-12deg);
  }
  75% {
    opacity: 1;
    transform: scale(1.04) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes wreath-breeze {
  from {
    rotate: -0.35deg;
  }
  to {
    rotate: 0.35deg;
  }
}
@keyframes monogram-unveil {
  from {
    opacity: 0;
    transform: translateY(8%);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes line-reveal {
  from {
    clip-path: inset(0 50% 0 50%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes invitation-reveal {
  from {
    opacity: 0;
    transform: translateY(18%);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes envelope-arrive {
  from {
    opacity: 0;
    transform: translateY(7%) scale(0.94);
  }
  75% {
    opacity: 1;
    transform: translateY(-0.5%) scale(1.012);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes envelope-tap {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-0.6cqw) scale(1.012);
  }
  68% {
    transform: translateY(0.15cqw) scale(0.998);
  }
}
@keyframes rose-bloom {
  from {
    opacity: 0;
    transform: scale(0.45) rotate(-15deg);
  }
  72% {
    opacity: 1;
    transform: scale(1.08) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes breeze-rose {
  from {
    rotate: -1.2deg;
  }
  to {
    rotate: 1.4deg;
  }
}
@keyframes tap-reveal {
  from {
    opacity: 0;
    transform: translateY(18%) scale(0.95);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes ring-stamp {
  from {
    opacity: 0;
    transform: scale(0.35) rotate(-35deg);
  }
  72% {
    opacity: 1;
    transform: scale(1.13) rotate(9deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes flower-pop {
  from {
    opacity: 0;
    transform: scale(0.25) rotate(-55deg);
  }
  75% {
    opacity: 1;
    transform: scale(1.2) rotate(12deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes pile-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes breeze-floating-petal {
  from {
    rotate: -8deg;
    translate: -0.6% -0.3%;
  }
  to {
    rotate: 8deg;
    translate: 0.8% 0.4%;
  }
}
@keyframes petal-drop-a {
  0% {
    left: var(--start-left);
    top: -8%;
    opacity: 0;
    transform: translateX(0) rotate(-12deg);
  }
  10% {
    opacity: 0.9;
  }
  38% {
    top: 31%;
    transform: translateX(7cqw) rotate(155deg);
  }
  72% {
    top: 67%;
    transform: translateX(-4cqw) rotate(310deg);
  }
  100% {
    left: var(--landing-left);
    top: var(--landing-top);
    opacity: 0.88;
    transform: translateX(0) rotate(455deg);
  }
}
@keyframes petal-drop-b {
  0% {
    left: var(--start-left);
    top: -8%;
    opacity: 0;
    transform: translateX(0) rotate(22deg);
  }
  9% {
    opacity: 0.92;
  }
  35% {
    top: 28%;
    transform: translateX(-8cqw) rotate(-140deg);
  }
  70% {
    top: 65%;
    transform: translateX(5cqw) rotate(-330deg);
  }
  100% {
    left: var(--landing-left);
    top: var(--landing-top);
    opacity: 0.88;
    transform: translateX(0) rotate(-490deg);
  }
}
@keyframes petal-drop-c {
  0% {
    left: var(--start-left);
    top: -8%;
    opacity: 0;
    transform: translateX(0) rotate(-28deg);
  }
  10% {
    opacity: 0.9;
  }
  42% {
    top: 34%;
    transform: translateX(5cqw) rotate(190deg);
  }
  74% {
    top: 68%;
    transform: translateX(-7cqw) rotate(345deg);
  }
  100% {
    left: var(--landing-left);
    top: var(--landing-top);
    opacity: 0.88;
    transform: translateX(0) rotate(540deg);
  }
}
@keyframes petal-drop-d {
  0% {
    left: var(--start-left);
    top: -8%;
    opacity: 0;
    transform: translateX(0) rotate(12deg);
  }
  8% {
    opacity: 0.9;
  }
  36% {
    top: 30%;
    transform: translateX(-6cqw) rotate(-165deg);
  }
  69% {
    top: 64%;
    transform: translateX(8cqw) rotate(-320deg);
  }
  100% {
    left: var(--landing-left);
    top: var(--landing-top);
    opacity: 0.88;
    transform: translateX(0) rotate(-500deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Halaman kedua dimulai setelah sampul di-scroll. */
.invitation-page {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
  background: #f7e9dc;
}

.invitation-page::before {
  position: absolute;
  z-index: 0;
  inset: -5%;
  background: url("../assets/backgrounds/invitation-page.png") center / cover
    no-repeat;
  content: "";
  filter: blur(11px) saturate(0.9) brightness(0.94);
  transform: scale(1.04);
}

.invitation-canvas {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  width: min(calc(100vw - 24px), 480px, calc(56.28vh - 13.5px));
  width: min(calc(100vw - 24px), 480px, calc(56.28svh - 13.5px));
  width: min(calc(100vw - 24px), 480px, calc(56.28dvh - 13.5px));
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  isolation: isolate;
  background: #f7e9dc;
  box-shadow: 0 5px 46px rgba(80, 51, 28, 0.2);
}

.page-two-art {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: normal;
}

.page-two-background {
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 1;
}

.page-two-cascade {
  z-index: 1;
  top: 0;
  width: 46%;
  transform-origin: 50% 0;
}

.page-two-cascade--left {
  left: 0;
}

.page-two-cascade--right {
  right: 0;
}

.page-two-cypress {
  z-index: 2;
  top: 50.5%;
  width: 26%;
}

.page-two-cypress--left {
  left: 3%;
}

.page-two-cypress--right {
  right: 3%;
}

.page-two-gazebo {
  z-index: 3;
  top: 51.3%;
  left: 25%;
  width: 50%;
  transform-origin: 50% 100%;
}

.page-two-bloom {
  z-index: 4;
  top: 59.2%;
  width: 13%;
  transform-origin: 50% 78%;
}

.page-two-bloom--left {
  left: 28%;
}

.page-two-bloom--right {
  right: 28%;
}

.page-two-envelope {
  z-index: 5;
  top: 64.3%;
  left: 11.5%;
  width: 77%;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 0.5cqw 0.6cqw rgba(93, 45, 58, 0.12));
}

.page-two-spray {
  z-index: 6;
  top: 73%;
  width: 24%;
  transform-origin: 50% 80%;
  transform: rotateX(360deg);
}

.page-two-spray--left {
  left: 0%;
}

.page-two-spray--right {
  right: 0%;
}

.page-two-seal {
  z-index: 7;
  top: 74.8%;
  left: 43.7%;
  width: 12.6%;
  filter: drop-shadow(0 0.35cqw 0.6cqw rgba(69, 20, 35, 0.22));
}

.page-two-copy {
  position: absolute;
  z-index: 9;
  inset: 0;
  color: #98651b;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.page-two-rise {
  position: absolute;
  left: 8%;
  width: 60%;
  margin: 0;
  opacity: 0;
  filter: blur(3px);
}

.page-two-bismillah {
  z-index: 2;
  top: 13.8%;
  left: 35.5%;
  width: 29%;
  height: 5.2%;
  object-fit: cover;
  object-position: center;
  --rise-distance: 60cqw;
  animation-delay: 1.5s;
}

.page-two-flower {
  z-index: 1;
  width: 3.3%;
}

.page-two-flower--top {
  top: 19.2%;
  left: 48.35%;
}

.page-two-family {
  top: 21.5%;
  left: 14%;
  width: 72%;
  color: #956017;
  font-size: 3cqw;
  font-weight: 600;
  letter-spacing: 0.055em;
  --rise-distance: 50cqw;
  animation-delay: 1.7s;
}

.page-two-rule {
  z-index: 1;
  left: 35%;
  width: 30%;
}

.page-two-rule--family {
  top: 24.4%;
}

.page-two-names {
  top: 27.3%;
  left: 15%;
  display: flex;
  width: 70%;
  height: 15.5%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #661a32;
  font-family: "Pinyon Script", cursive;
  font-size: 12.5cqw;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.78;
  font-variant: normal;
  text-transform: none;
  --rise-distance: 40cqw;
  animation-delay: 1.9s;
}

.page-two-names span:first-child {
  margin-bottom: 0.15em;
}

.page-two-ampersand {
  color: #a57427;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.55em;
  font-weight: 400;
  line-height: 0.92;
}

.page-two-names span:last-child {
  margin-top: 0.12em;
}

.page-two-message {
  top: 43.2%;
  left: 18%;
  width: 69%;
  color: #956017;
  font-size: 2.4cqw;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  --rise-distance: 26cqw;
  animation-delay: 2.15s;
}

.page-two-rule--message {
  top: 47.5%;
}

.page-two-petals {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}

.page-two-petal {
  width: 4%;
  opacity: 0;
}

.page-two-petal--one {
  top: 10.5%;
  left: 73%;
  animation-delay: 0.3s;
}

.page-two-petal--two {
  top: 34%;
  left: 88%;
  width: 5%;
  animation-delay: 1.1s;
}

.page-two-petal--three {
  top: 50.2%;
  left: 5%;
  width: 4.4%;
  animation-delay: 0.8s;
}

.page-two-petal--four {
  top: 48.5%;
  right: 5%;
  width: 4.2%;
  animation-delay: 1.5s;
}

.page-two-petal--five {
  top: 53%;
  left: 76%;
  width: 3.5%;
  animation-delay: 0.5s;
}

.page-two-falling-field {
  position: absolute;
  z-index: 7;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-two-falling-petal {
  position: absolute;
  top: -9%;
  left: 50%;
  display: block;
  width: 4.2%;
  height: auto;
  max-width: none;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: normal;
  will-change: transform, opacity;
}

.page-two-falling-petal--flower {
  width: 7.5%;
}

.page-two-petal-pile {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 9%;
  overflow: visible;
  pointer-events: none;
}

.page-two-landed-petal {
  position: absolute;
  display: block;
  height: auto;
  opacity: 0.88;
  filter: drop-shadow(0 0.15cqw 0.25cqw rgba(93, 45, 58, 0.18));
}

.page-two-butterfly {
  z-index: 12;
}

.page-two-butterfly .butterfly-wing {
  animation-play-state: paused;
}

.invitation-page.is-entered .page-two-butterfly .butterfly-wing {
  animation-play-state: running;
}

.page-two-butterfly--left {
  top: 54%;
  left: 1.4%;
  width: 9%;
}

.page-two-butterfly--right {
  top: 73%;
  right: 1.4%;
  width: 9%;
}

.invitation-page.is-entered .page-two-cascade {
  animation-name: page-two-cascade-in, page-two-breeze-left;
  animation-duration: 1050ms, 4.2s;
  animation-timing-function: cubic-bezier(0.22, 0.8, 0.25, 1), ease-in-out;
  animation-delay: 0ms, 1.05s;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

.invitation-page.is-entered .page-two-cascade--right {
  animation-name: page-two-cascade-in, page-two-breeze-right;
  animation-delay: 100ms, 1.25s;
}

.invitation-page.is-entered .page-two-cypress {
  animation: page-two-landscape-in 1000ms cubic-bezier(0.22, 0.8, 0.25, 1) 1s
    both;
}

.invitation-page.is-entered .page-two-gazebo {
  animation: page-two-gazebo-in 1000ms cubic-bezier(0.22, 0.8, 0.25, 1) 0.95s
    both;
}

.invitation-page.is-entered .page-two-bloom {
  animation-name: page-two-blossom-in, page-two-breeze-left;
  animation-duration: 950ms, 3.8s;
  animation-timing-function: cubic-bezier(0.22, 0.8, 0.25, 1), ease-in-out;
  animation-delay: 120ms, 1.15s;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

.invitation-page.is-entered .page-two-bloom--right {
  animation-name: page-two-blossom-in, page-two-breeze-right;
  animation-delay: 220ms, 1.4s;
}

.invitation-page.is-entered .page-two-spray {
  animation-name: page-two-blossom-in, page-two-breeze-left;
  animation-duration: 950ms, 4.5s;
  animation-timing-function: cubic-bezier(0.22, 0.8, 0.25, 1), ease-in-out;
  animation-delay: 120ms, 1.4s;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

.invitation-page.is-entered .page-two-spray--right {
  animation-name: page-two-blossom-in, page-two-breeze-right;
  animation-delay: 220ms, 1.65s;
}

.invitation-page.is-entered .page-two-envelope {
  animation: page-two-envelope-in 1050ms cubic-bezier(0.22, 0.8, 0.25, 1) 520ms
    both;
}

.invitation-page.is-entered .page-two-seal {
  animation: page-two-seal-in 850ms cubic-bezier(0.22, 0.8, 0.25, 1) 1.02s both;
}

.invitation-page.is-entered .page-two-rule {
  animation: page-two-ornament-in 850ms ease-out 1.85s both;
}

.invitation-page.is-entered .page-two-flower {
  animation-name: page-two-ornament-in, page-two-breeze-left;
  animation-duration: 850ms, 4.2s;
  animation-timing-function: ease-out, ease-in-out;
  animation-delay: 1.62s, 2.55s;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

.invitation-page.is-entered .page-two-rule--message {
  animation-delay: 2.38s;
}

.invitation-page.is-entered .page-two-rise {
  animation-name: page-two-text-rise;
  animation-duration: 1050ms;
  animation-timing-function: cubic-bezier(0.22, 0.8, 0.25, 1);
  animation-fill-mode: both;
}

.invitation-page.is-entered .page-two-petal {
  animation-name: page-two-petal-in, page-two-petal-float;
  animation-duration: 650ms, 4.8s;
  animation-timing-function: ease-out, ease-in-out;
  animation-delay: 1.2s, 1.85s;
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
  animation-direction: normal, alternate;
}

.invitation-page.is-entered .page-two-petal--two {
  animation-delay: 1.32s, 1.97s;
}

.invitation-page.is-entered .page-two-petal--three {
  animation-delay: 1.08s, 1.73s;
}

.invitation-page.is-entered .page-two-petal--four {
  animation-delay: 1.42s, 2.07s;
}

.invitation-page.is-entered .page-two-petal--five {
  animation-delay: 1.5s, 2.15s;
}

@keyframes page-two-cascade-in {
  from {
    opacity: 0;
    transform: translateY(-5%) scale(1.025);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes page-two-landscape-in {
  from {
    opacity: 0;
    transform: translateY(8%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-two-gazebo-in {
  from {
    opacity: 0;
    transform: translateY(7%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes page-two-blossom-in {
  from {
    opacity: 0;
    translate: 0 5%;
    scale: 0.78;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes page-two-envelope-in {
  from {
    opacity: 0;
    transform: translateY(15%) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes page-two-seal-in {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes page-two-ornament-in {
  from {
    opacity: 0;
    transform: translateY(1.5cqw) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes page-two-text-rise {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(var(--rise-distance));
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes page-two-petal-in {
  from {
    opacity: 0;
    transform: translateY(2cqw) rotate(-15deg);
  }
  to {
    opacity: 0.92;
    transform: translateY(0) rotate(0);
  }
}

@keyframes page-two-petal-float {
  from {
    opacity: 0.76;
    transform: translate3d(-0.8cqw, -0.4cqw, 0) rotate(-13deg);
  }
  to {
    opacity: 0.96;
    transform: translate3d(0.8cqw, 0.7cqw, 0) rotate(13deg);
  }
}

@keyframes page-two-breeze-left {
  from {
    rotate: -0.45deg;
  }
  to {
    rotate: 0.55deg;
  }
}

@keyframes page-two-breeze-right {
  from {
    rotate: 0.5deg;
  }
  to {
    rotate: -0.45deg;
  }
}

@keyframes guest-address-in {
  from {
    opacity: 0;
    transform: translateY(1.8cqw);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px), (max-height: 500px) {
  .opening-page,
  .invitation-page {
    /* Use the visible phone viewport so browser bars do not leave a gap. */
    width: var(--app-viewport-width, 100vw);
    height: 100vh;
    height: var(--app-viewport-height, 100dvh);
    min-height: 100vh;
    min-height: var(--app-viewport-height, 100dvh);
    padding: 0;
  }

  .opening-canvas,
  .invitation-canvas {
    /* Stretch the layered poster through the whole screen: no top/bottom strip. */
    width: var(--app-viewport-width, 100vw);
    height: var(--app-viewport-height, 100dvh);
    max-width: none;
    aspect-ratio: auto;
    box-shadow: none;
  }
}

/* Halaman informasi memakai latar floral yang sama dan tetap berukuran mobile. */
.info-page {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(28px, 6svh, 64px) max(16px, env(safe-area-inset-right))
    max(88px, calc(6svh + 72px)) max(16px, env(safe-area-inset-left));
  overflow: hidden;
  background: #f8ecdf;
  scroll-margin-top: 0;
}

.info-page::before,
.info-page::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.info-page::before {
  background: url("../assets/ornaments/invitation/background.png") center /
    cover no-repeat;
}

.info-page::after {
  background: rgba(255, 245, 235, 0.5);
}

.info-atmosphere {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.info-petal {
  position: absolute;
  top: -12%;
  left: var(--petal-left);
  width: var(--petal-size);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(122, 70, 56, 0.18));
  transform: translate3d(0, -12vh, 0) rotate(-22deg);
  will-change: transform, opacity;
}

.info-page.is-atmosphere-active .info-petal {
  animation: info-petal-fall var(--petal-duration) linear var(--petal-delay)
    infinite;
}

.info-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  margin-inline: auto;
  padding: clamp(18px, 5vw, 30px);
  isolation: isolate;
  text-align: center;
}

.info-shell::before,
.info-shell::after {
  position: absolute;
  z-index: -1;
  top: 1%;
  width: clamp(44px, 14vw, 86px);
  height: clamp(88px, 27vw, 165px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0.48;
  pointer-events: none;
  transform-origin: 50% 0;
  animation: info-spray-breeze 4.8s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.info-shell::before {
  left: -1%;
  background-image: url("../assets/ornaments/invitation/flower-spray-left.png");
}

.info-shell::after {
  right: -1%;
  background-image: url("../assets/ornaments/invitation/flower-spray-right.png");
  animation-delay: -2.1s;
}

.info-page.is-atmosphere-active .info-shell::before,
.info-page.is-atmosphere-active .info-shell::after {
  animation-play-state: running;
}

.info-heading {
  margin: 0 auto clamp(18px, 5vw, 26px);
}

.info-eyebrow {
  margin: 0 0 8px;
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(10px, 2.8vw, 12px);
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.info-title {
  margin: 0;
  color: #681d36;
  font-family: "Pinyon Script", "Brush Script MT", cursive;
  font-size: clamp(46px, 14vw, 72px);
  font-weight: 400;
  line-height: 0.98;
}

.info-divider {
  display: block;
  width: min(76%, 220px);
  height: auto;
  margin: 12px auto;
  object-fit: contain;
}

.info-lead {
  max-width: 34ch;
  margin: 0 auto;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 3.6vw, 16px);
  line-height: 1.65;
}

.verse-card {
  position: relative;
  padding: clamp(22px, 6vw, 32px) clamp(18px, 5vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(169, 116, 43, 0.42);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.91);
  box-shadow: 0 14px 34px rgba(93, 57, 39, 0.14);
}

.verse-card__number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(169, 116, 43, 0.5);
  border-radius: 50%;
  color: #a9742b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.verse-card__arabic {
  margin: 0 auto 20px;
  color: #5c442b;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(24px, 6.1vw, 33px);
  line-height: 2;
  text-align: center;
}

.verse-card__translation {
  margin: 0;
  color: #6f5636;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 3.7vw, 17px);
  line-height: 1.85;
  text-align: center;
}

.verse-card__source {
  display: inline-block;
  margin: 18px 0 0;
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.verse-card__source:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.couple-portrait {
  width: min(72%, 280px);
  margin: 0 auto 16px;
}

.couple-portrait__frame {
  overflow: hidden;
  aspect-ratio: 1;
  padding: 7px;
  border: 1px solid rgba(169, 116, 43, 0.55);
  border-radius: 48% 52% 49% 51%;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: 0 12px 30px rgba(93, 57, 39, 0.16);
}

.couple-portrait__frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.couple-portrait figcaption,
.closing-card__names {
  margin-top: 10px;
  color: #681d36;
  font-family: "Pinyon Script", "Brush Script MT", cursive;
  font-size: clamp(32px, 9.5vw, 48px);
  line-height: 1.1;
}

.couple-portrait figcaption span,
.closing-card__names span {
  color: #a9742b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.7em;
}

.couple-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 18px;
}

.social-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(169, 116, 43, 0.38);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.82);
  color: #77521e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  text-decoration: none;
  transition:
    background-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.social-link span {
  color: #9b8261;
  font-size: 10px;
}

.profile-instagram-link {
  gap: 8px;
  justify-self: center;
}

.profile-instagram-link [data-social-label] {
  color: #77521e;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.profile-instagram-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  flex: 0 0 auto;
}

.profile-instagram-icon__dot {
  fill: currentColor;
  stroke: none;
}

.social-link:not([aria-disabled="true"]):hover {
  background: #fffaf4;
  box-shadow: 0 6px 16px rgba(103, 61, 40, 0.12);
  transform: translateY(-2px);
}

.story-note {
  max-width: 390px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(169, 116, 43, 0.3);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.86);
  box-shadow: 0 8px 24px rgba(93, 57, 39, 0.1);
}

.story-note img {
  width: 22px;
  height: auto;
  margin-bottom: 6px;
}

.story-note .info-eyebrow {
  margin-bottom: 5px;
}

.story-note p:last-child {
  margin: 0;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 3.5vw, 15px);
  line-height: 1.65;
}

.story-note--main {
  padding: clamp(26px, 7vw, 38px) clamp(20px, 6vw, 34px);
}

.story-note--main img {
  width: 30px;
  margin-bottom: 12px;
}

.story-note--main p:last-child {
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1.85;
}

.person-portrait {
  width: 100%;
  margin: 0 auto 12px;
}

.person-portrait__frame {
  position: relative;
  display: grid;
  width: min(100%, 230px);
  height: clamp(190px, 58vw, 280px);
  place-items: center;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 5px solid rgba(255, 250, 244, 0.94);
  border-radius: 48% 48% 18px 18px;
  background: linear-gradient(
    155deg,
    rgba(255, 249, 242, 0.55),
    rgba(242, 222, 208, 0.52)
  );
  box-shadow:
    0 0 0 1px rgba(169, 116, 43, 0.52),
    0 14px 32px rgba(93, 57, 39, 0.2);
}

.person-portrait__frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.person-portrait__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.3s cubic-bezier(0.22, 0.8, 0.25, 1);
  margin-top: 2rem;
}

.person-profile {
  min-width: 0;
  padding: 18px 15px 16px;
  border: 1px solid rgba(169, 116, 43, 0.3);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.84);
  box-shadow: 0 10px 28px rgba(93, 57, 39, 0.12);
}

.info-shell--profile {
  width: min(100%, 800px);
}

.profile-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(100%, 700px);
  margin-inline: auto;
}

.person-portrait.is-revealed .person-portrait__frame img {
  transform: scale(1.06);
}

.person-portrait figcaption {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 auto;
  color: #681d36;
}

.person-portrait__role {
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.person-portrait figcaption strong {
  max-width: 24ch;
  color: #681d36;
  font-family: "Pinyon Script", "Brush Script MT", cursive;
  font-size: clamp(25px, 10vw, 30px);
  font-weight: 400;
  line-height: 1.12;
}

.person-portrait__parents {
  max-width: 30ch;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 3.5vw, 15px);
  line-height: 1.65;
}

.profile-social {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.music-widget[hidden] {
  display: none;
}

.music-widget {
  position: fixed;
  z-index: 32;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(76px + env(safe-area-inset-bottom));
  width: auto;
}

.wedding-audio {
  display: none;
}

.music-toggle {
  display: grid;
  width: 48px;
  min-height: 48px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  place-items: center;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(169, 116, 43, 0.48);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 8px 24px rgba(65, 41, 29, 0.2);
  color: #681d36;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.music-toggle__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #a9742b;
  font-size: 23px;
  line-height: 1;
  transform-origin: 50% 75%;
  animation: music-note-idle 1.8s ease-in-out infinite;
}

.music-toggle[aria-pressed="true"] .music-toggle__icon {
  animation: music-note-playing 720ms ease-in-out infinite;
}

@keyframes music-note-idle {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }
  50% {
    transform: translateY(-2px) rotate(7deg);
  }
}

@keyframes music-note-playing {
  0%,
  100% {
    transform: translateY(0) rotate(-12deg) scale(1);
  }
  50% {
    transform: translateY(-2px) rotate(12deg) scale(1.12);
  }
}

.profile-social .info-eyebrow {
  margin: 0;
}

.countdown-card,
.event-card,
.location-card,
.rsvp-form,
.closing-card {
  border: 1px solid rgba(169, 116, 43, 0.36);
  background: rgba(255, 250, 244, 0.91);
  box-shadow: 0 10px 28px rgba(93, 57, 39, 0.12);
}

.countdown-card {
  margin: 0 auto 16px;
  padding: 16px 12px 13px;
  border-radius: 20px;
}

.countdown-card__label {
  margin: 0 0 12px;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.countdown > div {
  display: grid;
  min-height: 66px;
  place-content: center;
  gap: 3px;
  border: 1px solid rgba(169, 116, 43, 0.25);
  border-radius: 13px;
  background: linear-gradient(150deg, #fff9f2, #f7e8df);
}

.countdown strong {
  color: #711f3c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 6vw, 29px);
  font-weight: 500;
  line-height: 1;
}

.countdown span {
  color: #856a48;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.countdown-card__note {
  margin: 10px 0 0;
  color: #8b7455;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.event-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-card {
  position: relative;
  min-width: 0;
  padding: 18px 14px 16px;
  overflow: hidden;
  border-radius: 18px;
  text-align: left;
}

.event-card__ornament {
  position: absolute;
  top: 4px;
  right: 11px;
  color: rgba(169, 116, 43, 0.16);
  font-family: "Pinyon Script", cursive;
  font-size: 44px;
  line-height: 1;
}

.event-card .info-eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.event-card h3,
.location-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: #681d36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 500;
}

.event-card dl {
  display: grid;
  gap: 11px;
  margin: 0;
}

.event-card dl div {
  display: grid;
  gap: 3px;
}

.event-card dt {
  color: #98754a;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card dd {
  margin: 0;
  color: #684e30;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.location-card {
  position: relative;
  padding: 28px 20px 23px;
  overflow: hidden;
  border-radius: 24px;
}

.location-card__flower {
  position: absolute;
  top: -24px;
  right: -14px;
  width: clamp(68px, 22vw, 108px);
  opacity: 0.24;
  pointer-events: none;
}

.location-card .info-eyebrow,
.location-card h3,
.location-card__address,
.location-card .gold-button,
.location-card__hint {
  position: relative;
  z-index: 1;
}

.location-card h3 {
  max-width: 26ch;
  margin: 4px auto 10px;
  font-size: clamp(20px, 5.8vw, 27px);
  line-height: 1.3;
}

.location-card__address {
  max-width: 34ch;
  margin: 0 auto 18px;
  color: #755b39;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.65;
}

.gold-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid #a9742b;
  border-radius: 999px;
  background: linear-gradient(135deg, #b98336, #916018);
  color: #fffaf2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.gold-button:hover:not([aria-disabled="true"]) {
  box-shadow: 0 7px 18px rgba(132, 86, 27, 0.25);
  transform: translateY(-2px);
}

.gold-button:focus-visible,
.social-link:focus-visible,
.invitation-nav a:focus-visible {
  outline: 3px solid rgba(139, 93, 30, 0.55);
  outline-offset: 3px;
}

.gold-button--disabled,
.gold-button[aria-disabled="true"] {
  background: #9c8b70;
  border-color: #9c8b70;
  cursor: not-allowed;
  opacity: 0.84;
}

.location-card__hint {
  margin: 11px 0 0;
  color: #8b7455;
  font-size: 11px;
  line-height: 1.5;
}

.location-quote {
  max-width: 32ch;
  margin: 22px auto 0;
  color: #7c5a2d;
  font-family: "Pinyon Script", cursive;
  font-size: clamp(25px, 7vw, 35px);
  line-height: 1.2;
}

.location-card--event {
  margin-top: 14px;
  padding: 23px 18px 18px;
}

.blessing-card,
.gift-card {
  position: relative;
  padding: clamp(20px, 6vw, 30px) clamp(18px, 5vw, 27px);
  overflow: hidden;
  border: 1px solid rgba(169, 116, 43, 0.36);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.92);
  box-shadow: 0 10px 28px rgba(93, 57, 39, 0.12);
}

.blessing-card {
  margin-bottom: 16px;
}

.blessing-card__flower {
  display: block;
  width: 24px;
  height: auto;
  margin: 0 auto 11px;
}

.blessing-card__text {
  margin: 12px auto 0;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 3.8vw, 17px);
  line-height: 1.85;
}

.blessing-card__arabic {
  margin: 14px auto 8px;
  color: #5c442b;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(27px, 7vw, 36px);
  line-height: 2;
  text-align: center;
}

.blessing-card__latin {
  margin: 0 auto 10px;
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 3.4vw, 14px);
  font-style: italic;
  line-height: 1.7;
}

.blessing-card__source {
  display: inline-block;
  margin-top: 12px;
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.gift-card {
  padding-top: clamp(28px, 7vw, 38px);
}

.gift-card__flower {
  position: absolute;
  top: -16px;
  right: -22px;
  width: clamp(86px, 26vw, 124px);
  opacity: 0.24;
  pointer-events: none;
}

.gift-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #681d36;
  font-family: "Pinyon Script", "Brush Script MT", cursive;
  font-size: clamp(40px, 12vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.gift-card__note {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  margin: 11px auto 17px;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.7;
}

.gift-details {
  display: grid;
  grid-template-rows: 0fr;
  margin-block: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
  transition:
    grid-template-rows 680ms cubic-bezier(0.22, 1, 0.36, 1),
    margin 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 380ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 680ms;
  visibility: hidden;
}

.gift-details.is-open {
  grid-template-rows: 1fr;
  margin-block: 18px 15px;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    grid-template-rows 760ms cubic-bezier(0.16, 1, 0.3, 1),
    margin 760ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 520ms ease 70ms,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s;
  visibility: visible;
}

.gift-details__inner {
  min-height: 0;
  overflow: hidden;
}

.gift-account-list {
  display: grid;
  width: min(100%, 360px);
  gap: 14px;
  margin-inline: auto;
}

.gift-account {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  padding: 18px clamp(14px, 5vw, 22px) 17px;
  overflow: hidden;
  border: 1px solid rgba(169, 116, 43, 0.46);
  border-radius: 21px;
  background:
    radial-gradient(
      ellipse at 100% 0,
      rgba(255, 224, 219, 0.84),
      transparent 44%
    ),
    linear-gradient(
      145deg,
      rgba(255, 251, 244, 0.98),
      rgba(243, 226, 214, 0.97)
    );
  box-shadow:
    0 14px 28px rgba(87, 52, 38, 0.13),
    inset 0 0 0 5px rgba(255, 255, 255, 0.27);
  text-align: center;
}

.gift-account::before,
.gift-account::after {
  position: absolute;
  z-index: -1;
  width: 104px;
  aspect-ratio: 1;
  border: 1px solid rgba(169, 116, 43, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.gift-account::before {
  top: -65px;
  left: -35px;
}

.gift-account::after {
  right: -46px;
  bottom: -76px;
  width: 132px;
}

.gift-account__heading {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gift-account__role {
  margin: 0;
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gift-account__ornament {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(169, 116, 43, 0.44);
  border-radius: 50%;
  color: #a9742b;
  font-family: "Pinyon Script", "Brush Script MT", cursive;
  font-size: 19px;
}

.gift-account__bank {
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gift-account__number {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border-top: 1px dashed rgba(169, 116, 43, 0.35);
  border-bottom: 1px dashed rgba(169, 116, 43, 0.35);
  color: #681d36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 4.2vw, 20px);
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.gift-account__name {
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.gift-account .copy-account {
  margin-top: 2px;
}

.copy-account,
.gift-details-toggle {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(169, 116, 43, 0.52);
  border-radius: 999px;
  background: #fff9f2;
  color: #805819;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  cursor: pointer;
}

.gift-details-toggle {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 auto;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.copy-account {
  min-height: 38px;
}

.copy-account:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.copy-account:not(:disabled):hover,
.gift-details-toggle:hover {
  background: #f3e2d1;
}

.gift-status {
  min-height: 1.2em;
  color: #75562d;
  font-size: 11px;
}

.rsvp-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 5vw, 25px);
  border-radius: 22px;
  text-align: left;
}

.form-field {
  display: grid;
  gap: 7px;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(169, 116, 43, 0.32);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.8);
  color: #59452d;
  font:
    16px/1.45 Georgia,
    "Times New Roman",
    serif;
}

.form-field textarea {
  min-height: 92px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #a9742b;
  box-shadow: 0 0 0 3px rgba(169, 116, 43, 0.14);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a18d70;
  opacity: 1;
}

.rsvp-form .gold-button {
  width: 100%;
  font-size: 15px;
}

.rsvp-form .gold-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: #806747;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.wishes-wall {
  width: min(100%, 440px);
  margin: 18px auto 0;
  padding: clamp(17px, 5vw, 23px);
  border: 1px solid rgba(169, 116, 43, 0.3);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: 0 10px 28px rgba(93, 57, 39, 0.1);
  text-align: left;
}

.wishes-wall h3 {
  margin: 0 0 14px;
  color: #681d36;
  font-family: "Pinyon Script", "Brush Script MT", cursive;
  font-size: clamp(34px, 9vw, 44px);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.wishes-wall__list {
  display: grid;
  gap: 10px;
}

.wishes-wall__empty {
  margin: 0;
  color: #806747;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.65;
  text-align: center;
}

.wish-card {
  padding: 13px 15px;
  border: 1px solid rgba(169, 116, 43, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.wish-card__name {
  margin: 0 0 5px;
  color: #916118;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
}

.wish-card__message {
  margin: 0;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.closing-card {
  position: relative;
  padding: clamp(32px, 9vw, 52px) clamp(18px, 6vw, 32px);
  overflow: hidden;
  border-radius: 26px;
}

.closing-card__flower {
  display: block;
  width: min(54%, 220px);
  height: auto;
  margin: 0 auto 15px;
  filter: drop-shadow(0 7px 14px rgba(102, 62, 39, 0.14));
}

.closing-card__copy {
  max-width: 33ch;
  margin: 0 auto;
  color: #75562d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 3.8vw, 17px);
  line-height: 1.7;
}

.closing-card__names {
  margin: 22px 0 0;
}

.invitation-nav[hidden] {
  display: none;
}

.invitation-nav {
  position: fixed;
  z-index: 30;
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  display: flex;
  width: min(
    calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)),
    460px
  );
  min-height: 54px;
  align-items: center;
  justify-content: space-around;
  gap: 4px;
  margin-inline: auto;
  padding: 6px;
  border: 1px solid rgba(169, 116, 43, 0.38);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.94);
  box-shadow: 0 8px 24px rgba(65, 41, 29, 0.2);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 350ms ease,
    transform 350ms ease;
}

body.invitation-opened .invitation-nav:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.invitation-nav a {
  display: grid;
  min-width: 0;
  min-height: 38px;
  flex: 1;
  place-items: center;
  border-radius: 999px;
  color: #79551f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(10px, 3vw, 12px);
  text-decoration: none;
  transition:
    color 200ms ease,
    background-color 200ms ease;
}

.invitation-nav a:hover {
  background: #f4e6d6;
  color: #681d36;
}

html.js-enabled [data-reveal] {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(var(--reveal-x, 0px), var(--reveal-y, 32px), 0)
    scale(var(--reveal-scale, 0.97)) rotate(var(--reveal-rotate, 0deg));
  transition:
    opacity 620ms ease,
    filter 720ms ease,
    transform var(--reveal-duration, 850ms) cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-order, 0) * 48ms);
  will-change: opacity, filter, transform;
}

html.js-enabled [data-reveal].is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

@keyframes info-spray-breeze {
  from {
    rotate: -2deg;
  }
  to {
    rotate: 2deg;
  }
}

@keyframes info-petal-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -12vh, 0) rotate(-22deg);
  }
  12% {
    opacity: 0.78;
  }
  48% {
    transform: translate3d(var(--petal-sway), 52vh, 0) rotate(170deg);
  }
  88% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--petal-sway) * -0.5), 112vh, 0)
      rotate(360deg);
  }
}

@media (max-width: 420px) {
  .event-card-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    padding: 16px 18px;
  }

  .couple-socials {
    gap: 7px;
  }

  .social-link {
    padding-inline: 10px;
    font-size: 11px;
  }
}

@media (max-width: 340px) {
  .info-page {
    padding-inline: 10px;
  }

  .info-shell {
    padding: 14px 10px;
  }

  .rsvp-form {
    padding: 16px 13px;
  }

  .countdown {
    gap: 5px;
  }

  .countdown > div {
    min-height: 60px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .info-page {
    min-height: 100svh;
  }
}

@media (min-width: 768px) {
  .info-page {
    min-height: 100vh;
    min-height: 100svh;
    padding-inline: 24px;
  }
}

@media (min-width: 680px) {
  .profile-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-enabled [data-reveal],
  html.js-enabled [data-reveal].is-revealed {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .info-shell::before,
  .info-shell::after {
    animation: none;
  }
}
