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

@font-face {
  font-family: "Bickham Script MM Swash Capitals";
  src: url("assets/fonts/bickham-script-mm-swash-capitals.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond Local";
  src: url("assets/fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel Digits";
  src: url("assets/fonts/Cinzel-Regular.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

@font-face {
  font-family: "Noto Serif Display Local Normal";
  src: url("assets/fonts/NotoSerifDisplay-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #ed88b6;
  --soft-pink: #f8bfd4;
  --rose: #c95f8b;
  --ivory: #fffaf1;
  --cream: #f5ecd8;
  --white: #ffffff;
  --gold: #d7b66b;
  --sage: #8f9b5b;
  --deep-sage: #596236;
  --ink: #47382d;
  --muted: #7d6b5f;
  --shadow: 0 18px 46px rgba(77, 58, 38, 0.16);
  --digits: "Cinzel Digits";
  --serif-display: var(--digits), "Cormorant Garamond Local", Georgia, serif;
  --serif-previous: var(--digits), "Noto Serif Display Local Normal", Georgia, serif;
  --script-display: var(--digits), "Bickham Script Pro 3", "Great Vibes", var(--serif-display);
  --script-capitals: var(--digits), "Bickham Script MM Swash Capitals", "Bickham Script Pro 3", "Great Vibes", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #c7c9a8;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--serif-display);
  font-style: normal;
  font-synthesis: none;
  background:
    linear-gradient(180deg, rgba(247, 239, 218, 0.96), rgba(168, 173, 126, 0.9)),
    #c7c9a8;
  letter-spacing: 0;
}

body.is-locked {
  height: 100svh;
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
  font-style: normal;
  letter-spacing: 0;
}

body :where(p, h1, h2, h3, h4, span, a, button, input, label, legend, time, strong, b, li) {
  font-style: normal;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.page-shell {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: clip;
  background: var(--ivory);
}

.content-section,
.intro-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 56px 20px;
}

.intro-section {
  isolation: isolate;
  background:
    linear-gradient(180deg, #fffdf8 0%, #fae8ef 52%, #f7eedc 100%);
}

.stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px 30px;
  transition:
    opacity 960ms ease,
    transform 960ms ease;
}

.closed-stage {
  z-index: 2;
}

.open-stage {
  margin-top: 116px;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  justify-content: flex-start;
  padding-top: 132px;
  transform: translateY(22px) scale(0.97);
}

.intro-section.is-open .closed-stage {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scale(0.98);
}

.intro-section.is-open .open-stage {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.petals-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  top: -12%;
  left: var(--x);
  width: var(--size, 12px);
  height: calc(var(--size, 12px) * 0.62);
  border-radius: 90% 18% 88% 22%;
  opacity: 0;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.95) 0 16%, transparent 17%),
    linear-gradient(135deg, rgba(255, 236, 242, 0.96), rgba(238, 137, 169, 0.72));
  box-shadow: 0 4px 12px rgba(215, 116, 150, 0.18);
  transform: translate3d(0, -24px, 0) rotate(var(--r, 0deg));
  animation: petalFall var(--d, 9s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.open-petals .petal {
  animation-play-state: paused;
}

.intro-section.is-open .open-petals .petal {
  animation-play-state: running;
}

.burst-petals {
  z-index: 3;
}

.burst-petals .petal {
  top: -14%;
  animation: none;
}

.intro-section.is-open .burst-petals .petal {
  animation: petalBurst calc(var(--d, 3s) + 0.8s) cubic-bezier(0.2, 0.72, 0.2, 1) var(--delay, 0s) both;
}

@keyframes petalFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -32px, 0) rotate(var(--r, 0deg));
  }

  12% {
    opacity: 0.86;
  }

  52% {
    opacity: 0.78;
    transform: translate3d(calc(var(--drift, 40px) * 0.45), 54svh, 0) rotate(calc(var(--r, 0deg) + 126deg));
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 40px), 112svh, 0) rotate(calc(var(--r, 0deg) + 320deg));
  }
}

@keyframes petalBurst {
  0% {
    opacity: 0;
    transform: translate3d(0, -38px, 0) rotate(var(--r, 0deg)) scale(0.92);
  }

  8% {
    opacity: 0.95;
  }

  58% {
    opacity: 0.86;
    transform: translate3d(calc(var(--drift, 54px) * 0.52), 58svh, 0) rotate(calc(var(--r, 0deg) + 150deg)) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 54px), 118svh, 0) rotate(calc(var(--r, 0deg) + 390deg)) scale(0.96);
  }
}

.intro-title {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  margin-bottom: clamp(8px, 2svh, 18px);
  text-align: center;
}

.intro-title h1,
.script-name {
  margin: 0;
  font-family: var(--script-display);
  font-weight: 400;
  line-height: 0.95;
  color: var(--rose);
  text-shadow: 0 8px 22px rgba(237, 136, 182, 0.22);
}

.intro-title h1 {
  font-family: var(--script-display);
  margin-left: 0;
  font-size: clamp(6.45rem, 24vw, 7.9rem);
  line-height: 0.84;
  color: #adac55;
  text-shadow: 0 8px 22px rgba(89, 98, 54, 0.18);
}

.intro-name .name-capital {
  display: inline-block;
  font-family: var(--script-capitals);
  line-height: 0.72;
  transform: translateY(0.02em);
}

.intro-name .name-rest {
  font-family: var(--script-display);
}

.script-split {
  font-family: var(--script-display);
  font-weight: 400;
  letter-spacing: 0;
}

.script-split .name-capital {
  display: inline-block;
  font-family: var(--script-capitals);
  font-weight: 400;
  line-height: 0.72;
  transform: translateY(0.02em);
}

.script-split .name-rest {
  font-family: var(--script-display);
  font-weight: 400;
}

.intro-title p {
  margin: clamp(-18px, -2.7svh, -8px) 0 0;
  font-family: var(--serif-display);
  font-size: clamp(1.08rem, 3.9vw, 1.58rem);
  line-height: 1;
  font-weight: 400;
  color: var(--deep-sage);
}

.envelope-button {
  position: relative;
  z-index: 3;
  width: min(110vw, 455px);
  aspect-ratio: 1 / 1;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  animation: envelopeBreath 2800ms ease-in-out infinite;
}

.envelope-button:focus-visible,
.music-button:focus-visible,
.map-button:focus-visible,
.submit-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.closed-envelope {
  width: 100%;
  filter: drop-shadow(0 22px 32px rgba(69, 56, 34, 0.22));
}

.closed-seal {
  position: absolute;
  width: 29%;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 22px rgba(195, 95, 139, 0.28));
}

.tap-hint,
.scroll-hint {
  position: relative;
  z-index: 3;
  margin: 12px 0 0;
  font-family: var(--serif-display);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--deep-sage);
  text-align: center;
}

.tap-hint::after,
.scroll-hint::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--gold);
}

.intro-flowers {
  position: absolute;
  z-index: 100;
  right: 25px;
  bottom: 20%;
  width: min(54vw, 220px);
  opacity: 0.9;
  filter: drop-shadow(0 18px 28px rgba(87, 94, 57, 0.18));
  pointer-events: none;
  transform: rotate(30deg);
  transform-origin: 50% 50%;
}

.open-envelope-wrap {
  position: relative;
  z-index: 3;
  width: min(102vw, 462px);
  opacity: 0;
  transform: translateY(100svh) scale(0.94);
  filter: drop-shadow(0 24px 34px rgba(63, 52, 31, 0.2));
  transition:
    opacity 2300ms cubic-bezier(0.19, 1, 0.22, 1) 150ms,
    transform 2300ms cubic-bezier(0.19, 1, 0.22, 1) 150ms;
  will-change: opacity, transform;
}

.intro-section.is-open .open-envelope-wrap {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.open-envelope {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
}

.open-seal {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 65%;
  width: 30%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 28px rgba(211, 90, 138, 0.24));
}

.open-rose {
  position: absolute;
  z-index: 6;
  width: min(72vw, 280px);
  opacity: 0;
  filter: drop-shadow(0 22px 30px rgba(76, 59, 39, 0.16));
  pointer-events: none;
  transition:
    opacity 1450ms ease 520ms,
    transform 1450ms ease 520ms;
}

.open-rose-left {
  z-index: 1;
  left: -82px;
  top: 18px;
  width: min(58vw, 230px);
  transform: translateX(-42px) rotate(47deg);
}

.open-rose-right {
  right: -156px;
  bottom: -26px;
  z-index: 7;
  transform: translateX(42px) rotate(-45deg);
}

.intro-section.is-open .open-rose {
  opacity: 1;
}

.intro-section.is-open .open-rose-left {
  transform: translateX(0) rotate(44deg);
}

.intro-section.is-open .open-rose-right {
  transform: translateX(0) rotate(-45deg);
}

.scroll-hint {
  margin-top: 64px;
  color: var(--rose);
}

.music-button {
  position: absolute;
  right: max(5px, calc((100vw - 520px) / 2 + 5px));
  z-index: 50;
  width: 136px;
  height: 136px;
  padding: 0;
  top: 42px;
  margin-right: 0px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 12px 20px rgba(91, 56, 67, 0.18));
}

.music-ring {
  width: 100%;
  height: 100%;
  animation: spinSlow 10s linear infinite;
}

.music-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 104px;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.music-button.is-playing .music-ring {
  animation-duration: 6s;
}

.paper-section {
  min-height: auto;
  place-items: start center;
  padding-top: 28px;
  padding-bottom: 0;
  z-index: 2;
  overflow: visible;
  background:
    linear-gradient(180deg, #f7efde 0%, #fffaf1 46%, #f4ead5 84%, #a4b22a 84%, #a4b22a 100%);
}

.paper-card {
  position: relative;
  z-index: 2;
  width: min(calc(100vw - 24px), 400px);
  margin-top: 22px;
  background: #fffdf5;
}

.paper-card::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -18px;
  height: 34px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(71, 58, 35, 0.24);
  filter: blur(16px);
  pointer-events: none;
}

.paper-image {
  width: 100%;
  filter: drop-shadow(0 24px 36px rgba(65, 54, 36, 0.18));
}

.paper-copy {
  position: absolute;
  inset: 15.8% 6.4% 6.2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  text-align: center;
  font-family: var(--serif-display);
  color: #4c4036;
}

.paper-copy h2 {
  margin: 0;
  font-size: 1.86rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.paper-copy p {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.02;
  font-weight: 400;
  text-transform: uppercase;
}

.paper-subtitle {
  margin-top: 44px !important;
  letter-spacing: 0.07em;
}

.paper-copy .script-name {
  width: 142%;
  margin: 46px 0 38px;
  font-size: 6.55rem;
  line-height: 0.78;
  color: #adac55;
  text-transform: none;
  text-shadow: 0 12px 20px rgba(143, 155, 91, 0.14);
}

.paper-body {
  font-size: 1.38rem !important;
  line-height: 1.42 !important;
  letter-spacing: 0.04em;
}

.decor-oyu {
  position: absolute;
  width: 210px;
  opacity: 0.14;
  filter: sepia(0.8) hue-rotate(332deg) saturate(1.2);
}

.decor-oyu-left {
  left: -98px;
  top: 8%;
  transform: rotate(-28deg);
}

.decor-oyu-right {
  right: -105px;
  bottom: 4%;
  transform: rotate(152deg);
}

.calendar-section {
  z-index: 1;
  place-items: start center;
  padding-top: 60px;
  margin-top: -50px;
  background: #a4b22a;
  color: var(--ivory);
}

.calendar-section::before,
.calendar-section::after {
  content: none;
}

.calendar-oyu-glow-right {
  position: absolute;
  right: -124px;
  top: 78px;
  z-index: 0;
  width: min(58vw, 290px);
  opacity: 0.42;
  mix-blend-mode: screen;
  filter: saturate(1.15) contrast(1.04);
  pointer-events: none;
}

.calendar-oyu-glow-left {
  position: absolute;
  left: -104px;
  bottom: -15px;
  z-index: 0;
  width: min(58vw, 290px);
  opacity: 0.42;
  mix-blend-mode: screen;
  filter: saturate(1.15) contrast(1.04);
  pointer-events: none;
  transform: rotate(200deg);
}

.calendar-block {
  position: relative;
  margin-top: 158px;
  z-index: 2;
  width: min(92vw, 390px);
  padding: 0 0 20px;
  color: #fffdf1;
  font-family: var(--serif-display);
  font-weight: 400;
  text-align: left;
  text-shadow: 0 1px 8px rgba(71, 78, 20, 0.22);
}

.section-kicker {
  margin: 0 0 14px;
  font-family: var(--serif-display);
  font-size: 1.28rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.calendar-block h2 {
  max-width: 100%;
  margin: 0 auto 22px;
  overflow-wrap: anywhere;
  font-family: var(--serif-display);
  font-size: 1.34rem;
  line-height: 1.1;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  text-transform: uppercase;
}

.calendar-widget {
  position: relative;
  width: min(100%, 364px);
  margin: 0 auto;
  padding: 0;
  color: #ffffff;
}

.calendar-widget::before {
  content: none;
}

.calendar-topline {
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.calendar-month {
  margin: 0;
  font-family: var(--serif-display);
  font-size: clamp(2.45rem, 10.4vw, 3rem);
  line-height: 0.95;
  font-weight: 400;
  color: #ffffff;
}

.calendar-year {
  padding-bottom: 6px;
  font-family: var(--serif-display);
  font-size: clamp(1.55rem, 6vw, 2rem);
  line-height: 1;
  font-weight: 400;
  color: #ffffff;
}

.weekday-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  min-height: 38px;
  align-items: center;
  margin: 8px 0 20px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.weekday-row span {
  display: grid;
  min-height: 34px;
  place-items: center;
  font-size: 0.86rem;
  font-weight: 400;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 16px;
  column-gap: 0;
  align-items: center;
  padding-left: 0;
}

.calendar-grid i,
.calendar-grid b {
  display: grid;
  min-height: 35px;
  place-items: center;
  font-family: var(--serif-display);
  font-size: 1.52rem;
  line-height: 1;
  font-weight: 400;
}

.calendar-grid b {
  position: relative;
  color: #ffffff;
  border-radius: 50%;
}

.calendar-grid .event-day {
  z-index: 1;
  isolation: isolate;
  color: #ffffff;
  font-size: 1.54rem;
  text-shadow: 0 2px 8px rgba(71, 78, 20, 0.28);
}

.calendar-grid .event-day::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 104px;
  height: 108px;
  background: url("assets/calendar-heart-original.png?v=original") center / contain no-repeat;
  opacity: 1;
  transform-origin: center;
  transform: translate(-50%, -50%);
  animation: calendarHeartBreath 4200ms ease-in-out infinite;
}

.time-text {
  margin-bottom: 30px;
  font-family: var(--serif-display);
  font-size: 3rem;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
}

.time-textp {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  margin: -10px 0 30px 0;
}

.bird {
  position: absolute;
  z-index: 1;
  width: min(48vw, 196px);
  opacity: 0.6;
  filter: drop-shadow(0 16px 28px rgba(255, 243, 177, 0.22));
}

.bird-left {
  left: -38px;
  top: 7%;

}

.bird-right {
  right: -50px;
  bottom: 0;
  transform: scaleX(-1) rotate(4deg);
}

.bird-right[data-float] {
  animation-name: floatSoftReverse;
}

.location-section {
  align-content: center;
  /* padding-top: 58px;
  padding-bottom: 30px; */
  /* background:
    linear-gradient(180deg, #fffaf1 0%, #f9edf1 48%, #f3ead8 100%); */
  text-align: center;
}

.watercolor-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.watercolor-decor {
  position: absolute;
  width: var(--w, 64px);
  opacity: var(--o, 0.72);
  filter: drop-shadow(0 9px 12px rgba(108, 88, 68, 0.1));
  transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)) scaleX(var(--sx, 1));
}

.location-section .address-petals {
  z-index: 1;
}

.location-copy {
  position: relative;
  z-index: 4;
  width: min(88vw, 380px);
  margin: 0 auto;
}

.location-copy h2,
.timing-inner h2,
.rsvp-panel h2,
.final-copy h2 {
  margin: 0;
  font-family: var(--serif-display);
  font-size: 5.72rem;
  line-height: 1;
  font-weight: 400;
}

.location-copy h2 {
  color: #adac55;
}

.location-copy h2.script-split {
  font-size: clamp(4.65rem, 18vw, 5.85rem);
  line-height: 0.82;
  font-weight: 400;
  margin-bottom: 30px;
}

.address {
  margin: 18px auto 18px;
  max-width: 340px;
  overflow-wrap: anywhere;
  font-size: 1.36rem;
  line-height: 1.38;
  font-weight: 400;
  color: var(--muted);
}

.map-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  margin-top: 14px;
  border: 0;
  border-radius: 100px;
  color: var(--white);
  font-family: var(--serif-display);
  font-size: 0.94rem;
  font-weight: 400;
  text-decoration: none;
  background: #F4B0C8;
  box-shadow: 0 12px 22px rgba(89, 98, 54, 0.22);
}

.submit-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  font-family: var(--serif-display);
  font-size: 0.94rem;
  font-weight: 400;
  text-decoration: none;
  background: linear-gradient(180deg, var(--sage), var(--deep-sage));
  box-shadow: 0 12px 22px rgba(89, 98, 54, 0.22);
}

.location-copy .map-button {
  min-height: 58px;
  padding: 0 62px;
  font-size: 1.08rem;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 700ms ease 360ms,
    transform 820ms cubic-bezier(0.19, 1, 0.22, 1) 360ms,
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.location-copy.is-visible .map-button {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dastarkhan {
  position: relative;
  z-index: 3;
  width: min(110vw, 532px);
  margin: 30px auto 0;
  filter: drop-shadow(0 22px 36px rgba(89, 75, 42, 0.2));
}

.location-leaf {
  --w: min(17vw, 70px);
  --o: 0.66;
  --r: -46deg;
  right: 10%;
  top: -1%;
}

.location-coral {
  --w: min(16vw, 54px);
  --o: 0.76;
  --r: 28deg;
  left: 8%;
  top: 40%;
}

.location-orange {
  --w: min(13vw, 54px);
  --o: 0.78;
  --r: -8deg;
  right: 14%;
  top: 47%;
}

.location-small-pink {
  --w: min(14vw, 58px);
  --o: 0.7;
  --r: 32deg;
  left: 25%;
  top: 2%;
}

.timing-section {
  min-height: 100svh;
  place-items: stretch;
  padding: 0;
  background: #ffffff;
}

.timing-line-flower {
  position: absolute;
  z-index: 100;
  width: 154px;
  height: 154px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(72, 70, 61, 0.12));
  pointer-events: none;
}

.timing-line-flower-start {
  left: -30px;
  top: calc(6.2% - 57px);
  transform: rotate(-325deg);
}

.timing-line-flower-end {
  right: -32px;
  top: calc(66.7% - 65px);
  transform: rotate(20deg);
}

.timing-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.timing-inner h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.timing-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.timing-line path {
  fill: none;
  stroke: rgba(92, 96, 84, 0.58);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: timingTrace 2400ms ease forwards;
}

.timeline {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: none;
}

.timeline li {
  position: absolute;
  display: block;
  width: 42%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: right;
}

.timeline li:nth-child(1) {
  left: 40px;
  top: 138px;
  width: 42%;
  text-align: left;
}

.timeline li:nth-child(2) {
  right: 34px;
  top: 290px;
  width: 36%;
  text-align: center;
}

.timeline li:nth-child(3) {
  left: 40px;
  bottom: 76px;
  width: calc(100% - 80px);
  text-align: left;
}

.timeline li::before {
  content: none;
}

.timeline time {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif-display);
  font-size: 1.72rem;
  line-height: 1;
  font-weight: 400;
  color: #40382f;
}

.timeline span {
  display: block;
  font-family: var(--serif-display);
  font-size: 1.32rem;
  line-height: 1.16;
  font-weight: 400;
  color: #6b6258;
}

.palette {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.color-dot {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(72, 55, 36, 0.12);
}

.color-pink {
  background: var(--pink);
}

.color-ivory {
  background: var(--ivory);
}

.color-white {
  background: var(--white);
}

.color-gold {
  background: var(--gold);
}

.color-sage {
  background: var(--sage);
}

.rsvp-section {
  min-height: 100svh;
  padding: 128px 24px 112px;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 209, 226, 0.32), transparent 34%),
    linear-gradient(180deg, #ef8aba 0%, #f398c4 54%, #ee85b5 100%);
}

.rsvp-section::before,
.rsvp-section::after {
  content: "";
  position: absolute;
  left: -18%;
  width: 136%;
  height: 82px;
  background-repeat: repeat-x;
  background-size: 720px 82px;
  pointer-events: none;
  animation: waveMotion 7200ms ease-in-out infinite alternate;
}

.rsvp-section::before {
  top: -1px;
  height: 132px;
  background-size: 720px 132px;
  background-image: url("data:image/svg+xml,%3Csvg width='720' height='132' viewBox='0 0 720 132' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H720V62C682 44 650 42 604 64C556 87 512 80 466 61C418 41 379 40 335 67C299 89 266 84 226 58C181 30 132 42 96 63C61 83 34 78 0 56V0Z' fill='%23fffaf1'/%3E%3Cpath d='M0 56C34 78 61 83 96 63C132 42 181 30 226 58C266 84 299 89 335 67C379 40 418 41 466 61C512 80 556 87 604 64C650 42 682 44 720 62V101C682 84 650 82 604 103C558 125 512 117 466 97C420 78 381 79 335 103C296 124 263 119 226 95C180 65 134 77 96 98C60 118 34 113 0 94V56Z' fill='%23df6fa7' fill-opacity='0.54'/%3E%3C/svg%3E");
}

.rsvp-section::after {
  bottom: -2px;
  height: 132px;
  background-size: 720px 132px;
  background-image: url("data:image/svg+xml,%3Csvg width='720' height='132' viewBox='0 0 720 132' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 132H720V70C682 88 650 90 604 68C556 45 512 52 466 71C418 91 379 92 335 65C299 43 266 48 226 74C181 102 132 90 96 69C61 49 34 54 0 76V132Z' fill='%23ffffff'/%3E%3Cpath d='M0 76C34 54 61 49 96 69C132 90 181 102 226 74C266 48 299 43 335 65C379 92 418 91 466 71C512 52 556 45 604 68C650 90 682 88 720 70V31C682 48 650 50 604 29C558 7 512 15 466 35C420 54 381 53 335 29C296 8 263 13 226 37C180 67 134 55 96 34C60 14 34 19 0 38V76Z' fill='%23df6fa7' fill-opacity='0.54'/%3E%3C/svg%3E");
  animation-direction: alternate-reverse;
}

.rsvp-panel {
  position: relative;
  z-index: 2;
  width: min(92vw, 430px);
  color: var(--white);
  text-align: left;
}

.rsvp-panel h2 {
  margin: 0 0 46px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Bickham Script Pro 3", "Great Vibes", var(--serif-display);
  font-size: clamp(6.2rem, 24vw, 8.4rem);
  line-height: 0.72;
  font-weight: 400;
  text-align: center;
  text-shadow: 0 12px 22px rgba(161, 56, 101, 0.12);
}

.field-label {
  display: block;
  margin-bottom: 6px;
  text-align: left;
  font-family: var(--serif-display);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.rsvp-panel input[type="text"] {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  padding: 0 0 8px;
  color: #ffffff;
  font-family: var(--serif-display);
  font-size: 1.24rem;
  background: transparent;
  box-shadow: none;
}

.rsvp-panel input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.rsvp-panel input[type="text"]:focus {
  outline: 0;
  border-bottom-color: rgba(255, 255, 255, 0.95);
}

.radio-group {
  display: grid;
  gap: 17px;
  margin: 32px 0 36px;
  padding: 0;
  border: 0;
  text-align: left;
}

.radio-group legend {
  margin-bottom: 14px;
  font-family: var(--serif-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.radio-group label {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif-display);
  font-size: 1.34rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.radio-group input {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  appearance: none;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 10px rgba(177, 61, 113, 0.08);
}

.radio-group input:checked {
  background: radial-gradient(circle, #ffffff 0 32%, transparent 36%);
}

.radio-group input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}

.submit-button {
  width: 100%;
  min-height: 72px;
  border-radius: 2px;
  color: rgba(146, 104, 116, 0.68);
  font-size: 1.58rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 22px rgba(176, 61, 112, 0.08);
}

.form-message {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  font-weight: 400;
}

.form-message.is-error {
  color: #fff1be;
}

.form-message.is-success {
  color: #f8ffe1;
}

.final-section {
  align-content: start;
  min-height: 90svh;
  background: #ffffff;
  text-align: center;
}

.final-watercolors {
  z-index: 2;
}

.final-copy {
  position: relative;
  z-index: 4;
  width: min(96vw, 520px);
}

.final-leaf {
  --w: min(15vw, 58px);
  --o: 0.82;
  --r: -42deg;
  right: 8%;
  top: 25%;
}

.final-center-flower {
  --w: min(14vw, 56px);
  --o: 0.78;
  --r: -26deg;
  left: 5%;
  top: 3%;
}



.final-pink-stem {
  --w: min(16vw, 38px);
  --o: 0.62;
  --r: -36deg;
  left: 5%;
  top: -55%;
}



.final-copy h2>span,
.final-copy p>span {
  display: block;
}

.final-copy p {
  margin: 0 0 46px 0;
  color: #adac55;
  font-family: "Bickham Script Pro 3", "Great Vibes", var(--serif-display);
  font-size: clamp(3.9rem, 15.2vw, 6rem);
  font-style: normal;
  line-height: 0.82;
  font-weight: 400;
  text-shadow: 0 9px 18px rgba(135, 145, 92, 0.12);
}



.final-sprig {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(108, 88, 68, 0.12));
}

.final-sprig-rose {
  right: 2%;
  top: -40px;
  width: 42px;
  transform: translateX(-50%) rotate(297deg);
}

.countdown {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(94vw, 430px);
  padding: 0 10px;

}

.count-card {
  position: relative;
  min-width: 0;
  padding: 0 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.count-card::after {
  content: ":";
  position: absolute;
  right: -4px;
  top: -3px;
  color: rgba(224, 119, 154, 0.72);
  font-family: var(--serif-display);
  font-size: clamp(2.28rem, 12vw, 4.1rem);
  font-weight: 400;
  line-height: 1;
}

.count-card:last-child::after {
  content: none;
}

.count-card strong {
  display: block;
  font-family: var(--serif-display);
  font-size: clamp(2.6rem, 12.8vw, 4.35rem);
  line-height: 0.96;
  font-weight: 400;
  color: rgba(224, 119, 154, 0.86);
  text-shadow: 0 8px 18px rgba(224, 119, 154, 0.08);
}

.count-card span {
  display: block;
  margin-top: 6px;
  font-family: var(--serif-display);
  font-size: 0.96rem;
  line-height: 1;
  font-weight: 400;
  color: rgba(135, 118, 99, 0.7);
  text-transform: uppercase;
}

.bunchflowers {
  position: absolute;
  left: 50%;
  bottom: -42px;
  z-index: 1;
  width: min(136vw, 680px);
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 -8px 28px rgba(100, 104, 62, 0.12));
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-float] {
  animation: floatSoft 5200ms ease-in-out infinite;
}

@keyframes envelopeBreath {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.012);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatSoft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatSoftReverse {

  0%,
  100% {
    transform: scaleX(-1) rotate(4deg) translateY(0);
  }

  50% {
    transform: scaleX(-1) rotate(4deg) translateY(-10px);
  }
}

@keyframes waveMotion {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(34px);
  }
}

@keyframes timingTrace {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes calendarHeartBreath {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.96);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@media (max-width: 370px) {

  .content-section,
  .intro-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .intro-title h1 {
    font-size: 4.4rem;
  }

  .paper-copy {
    gap: 9px;
  }

  .paper-copy h2 {
    font-size: 1.5rem;
  }

  .paper-copy p {
    font-size: 1.08rem;
  }

  .paper-body {
    font-size: 1.08rem !important;
  }

  .paper-copy .script-name {
    font-size: 3.58rem;
  }

  .timeline li {
    grid-template-columns: 62px 1fr;
    gap: 10px;
  }

}

@media (max-width: 480px) {

  .content-section,
  .intro-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .stage {
    padding-left: 12px;
    padding-right: 12px;
  }

  .intro-title h1 {
    margin-left: 0;
    font-size: clamp(5.8rem, 23vw, 7.1rem);
  }

  .intro-title p {
    margin-top: clamp(-16px, -2.4svh, -7px);
    margin-left: 0;
    font-size: clamp(1rem, 4vw, 1.34rem);
  }

  .envelope-button {
    width: min(calc(100vw - 18px), 430px);
  }

  .music-button {
    top: 30px;
    right: 10px;
    width: 92px;
    height: 92px;
  }

  .music-icon {
    width: 56px;
  }

  .open-stage {
    margin-top: 82px;
    padding-top: 176px;
  }

  .open-envelope-wrap {
    width: min(96vw, 430px);
  }

  .open-seal {
    width: 31%;
  }

  .open-rose {
    width: min(56vw, 228px);
  }

  .open-rose-left {
    left: -80px;
    top: 4px;
    width: min(52vw, 206px);
  }

  .open-rose-right {
    right: -138px;
    bottom: -18px;
    width: min(58vw, 228px);
  }

  .scroll-hint {
    margin-top: 58px;
  }

  .paper-card {
    width: min(calc(100vw - 24px), 400px);
  }

  .paper-copy {
    inset: 15.5% 6.2% 6%;
    gap: 0;
  }

  .paper-copy h2 {
    font-size: clamp(1.58rem, 6vw, 1.9rem);
  }

  .paper-copy p {
    font-size: clamp(1.22rem, 5.1vw, 1.42rem);
  }

  .paper-copy .script-name {
    width: 146%;
    margin: 42px 0 32px;
    font-size: clamp(6.1rem, 25.5vw, 6.8rem);
  }

  .paper-subtitle {
    margin-top: 40px !important;
  }

  .paper-body {
    font-size: clamp(1.22rem, 5.1vw, 1.42rem) !important;
    line-height: 1.34 !important;
  }

  .calendar-block {
    width: min(calc(100vw - 32px), 390px);
  }

  .rsvp-section {
    min-height: max(124svh, 1040px);
    padding: 184px 20px 210px;
  }

  .rsvp-section::before {
    height: 118px;
    background-size: 720px 118px;
  }

  .rsvp-section::after {
    height: 116px;
    background-size: 720px 116px;
  }

  .rsvp-panel {
    width: min(calc(100vw - 40px), 430px);
  }

  .rsvp-panel h2 {
    margin-bottom: 54px;
    font-size: clamp(6.25rem, 24vw, 8rem);
    line-height: 0.86;
  }

  .radio-group {
    gap: 24px;
    margin: 40px 0 48px;
  }

  .radio-group label {
    min-height: 62px;
    gap: 20px;
    font-size: clamp(1.26rem, 5.2vw, 1.48rem);
  }

  .radio-group input {
    width: 50px;
    height: 50px;
  }

  .submit-button {
    min-height: 82px;
    font-size: clamp(1.36rem, 5.6vw, 1.74rem);
  }

  .location-leaf {
    right: 7%;
    top: -1%;
  }

  .location-coral {
    left: 4%;
    top: 39%;
  }

  .location-orange {
    right: 2%;
    top: 50%;
  }

  .location-small-pink {
    left: 8%;
    top: 4%;
    bottom: auto;
  }

  .final-leaf {
    right: 7%;
    top: calc(28% + 15px);
  }

  .final-center-flower {
    left: 4%;
    top: calc(30% - 90px);
  }

  .final-purple {
    right: 5%;
    top: 61%;
  }

  .final-pink-stem {
    left: 4%;
    top: calc(56% - 60px);
  }

  .radio-group label {
    gap: 16px;
    font-size: clamp(1.08rem, 4.5vw, 1.28rem);
  }

  .radio-group input {
    width: 40px;
    height: 40px;
  }

  .final-copy h2 {
    font-size: clamp(3.2rem, 13vw, 5.1rem);
  }

  .final-copy p {
    font-size: clamp(3.35rem, 13.8vw, 5.3rem);
  }

  .countdown {
    width: min(calc(100vw - 16px), 430px);
    margin-top: clamp(30px, 5.8svh, 56px);
    padding: 0 6px;
  }
}

@media (max-width: 480px) and (max-height: 720px) {

  .content-section,
  .intro-section {
    padding-top: 32px;
    padding-bottom: 36px;
  }

  .stage {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .intro-title {
    margin-bottom: 4px;
  }

  .intro-title h1 {
    font-size: clamp(4.95rem, 21vw, 6.2rem);
  }

  .intro-title p {
    margin-top: -6px;
    font-size: clamp(0.92rem, 3.7vw, 1.12rem);
  }

  .envelope-button {
    width: min(calc(100vw - 28px), 390px);
    margin-top: 0;
  }

  .tap-hint,
  .scroll-hint {
    margin-top: 8px;
  }

  .open-stage {
    margin-top: 48px;
    padding-top: 130px;
  }

  .open-envelope-wrap {
    width: min(94vw, 390px);
  }

  .open-rose {
    width: min(50vw, 205px);
  }

  .open-rose-left {
    left: -74px;
    top: -2px;
    width: min(48vw, 188px);
  }

  .open-rose-right {
    right: -124px;
    bottom: -18px;
    width: min(54vw, 210px);
  }

  .location-copy {
    margin-top: 22px;
  }

  .location-leaf {
    top: -4%;
  }

  .location-small-pink {
    top: 0;
  }

  .address {
    margin-top: 10px;
    margin-bottom: 12px;
    font-size: 1.38rem;
    line-height: 1.28;
  }

  .dastarkhan {
    width: min(104vw, 480px);
    margin-top: 22px;
  }

  .rsvp-section {
    min-height: max(146svh, 1020px);
    padding-top: 154px;
    padding-bottom: 190px;
  }

  .rsvp-panel h2 {
    margin-bottom: 42px;
    font-size: clamp(5.8rem, 23vw, 7.3rem);
  }

  .radio-group {
    gap: 18px;
    margin: 30px 0 40px;
  }

  .radio-group label {
    min-height: 56px;
  }

  .submit-button {
    min-height: 76px;
  }

  .final-section {
    padding-top: 42px;
  }

  .final-copy {
    width: min(92vw, 460px);
  }

  .final-copy p {
    margin-top: 26px;
  }

  .countdown {
    margin-top: 22px;
    transform: translateY(-18px);
  }

  .bunchflowers {
    bottom: -82px;
    width: min(128vw, 610px);
  }
}

@media (max-width: 480px) and (max-height: 700px) {
  .final-section {
    padding-top: 28px;
  }

  .final-copy {
    transform: translateY(-24px);
  }

  .countdown {
    margin-top: 26px;
    transform: translateY(-18px);
  }

  .bunchflowers {
    bottom: -64px;
    width: min(122vw, 580px);
  }
}

@media (max-width: 480px) and (min-height: 850px) {
  .intro-section {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .stage {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .intro-title {
    margin-bottom: clamp(14px, 3svh, 28px);
  }

  .envelope-button {
    width: min(calc(100vw - 18px), 440px);
  }

  .open-stage {
    margin-top: 104px;
    padding-top: 192px;
  }

  .open-rose-left {
    left: -90px;
    top: -4px;
    width: min(54vw, 220px);
  }

  .open-rose-right {
    right: -148px;
    bottom: -28px;
  }

  .location-copy {
    margin-top: 24px;
  }

  .location-leaf {
    top: -2%;
  }

  .location-small-pink {
    top: 2%;
  }

  .countdown {
    margin-top: 38px;
    transform: translateY(-24px);
  }

  .bunchflowers {
    bottom: -76px;
  }
}

@media (min-width: 700px) and (max-width: 1024px) {
  .music-button {
    top: 34px;
    width: 112px;
    height: 112px;
  }

  .music-icon {
    width: 66px;
  }

  .open-rose {
    width: min(48vw, 250px);
  }

  .open-rose-left {
    left: -70px;
    top: -4px;
  }

  .open-rose-right {
    right: -132px;
    bottom: -22px;
  }
}

@media (min-width: 700px) {
  body {
    padding: 0;
  }

  .page-shell {
    border-radius: 0 0 8px 8px;
    box-shadow: 0 22px 60px rgba(40, 38, 27, 0.24);
  }
}

body :where(p, h1, h2, h3, h4, span, a, button, input, label, legend, time, strong, b, li) {
  font-weight: 400 !important;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}