:root {
  --ivory: #f7f2e8;
  --paper: #fffaf0;
  --ink: #2d3431;
  --muted: #6f766d;
  --sage: #b9c5ad;
  --sage-deep: #79866f;
  --gold: #c7a85a;
  --rose: #d7a6a0;
  --line: rgba(45, 52, 49, 0.14);
  --beat: 0;
  --scroll: 0;
  --journey-progress: 0;
  --camera-pan: 0px;
  --camera-track: 0px;
  --camera-dolly: 0px;
  --camera-turn: 0deg;
  --scene-turn: 0deg;
  --camera-y: 0px;
  --camera-tilt: 0deg;
  --camera-zoom: 1;
  --moon-x: 0px;
  --moon-y: 0px;
  --stars-y: 0px;
  --wall-pan: 0px;
  --floor-y: 0px;
  --arch-y: 0px;
  --lantern-glow: 0.42;
  --lantern-blur: 30px;
  color-scheme: light;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(215, 166, 160, 0.2), transparent 34rem),
    linear-gradient(180deg, #f6f0e5 0%, #fbf8f0 45%, #edf3ed 100%);
  color: var(--ink);
  overflow-x: hidden;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(45, 52, 49, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 52, 49, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  z-index: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

#app {
  position: relative;
  z-index: 1;
}

body.invitation-open #app {
  transform: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 250, 240, 0.96), transparent 17rem),
    linear-gradient(145deg, #f8f1e4, #fffaf0 56%, #dfe9dc);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

.loader__mark {
  position: relative;
  width: 118px;
  height: 92px;
}

.loader__ring {
  position: absolute;
  top: 18px;
  width: 58px;
  aspect-ratio: 1;
  border: 6px solid rgba(199, 168, 90, 0.8);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 250, 240, 0.75), 0 14px 28px rgba(70, 78, 66, 0.12);
  animation: loaderRing 1.7s ease-in-out infinite;
}

.loader__ring--one {
  left: 16px;
  transform: rotate(-12deg);
}

.loader__ring--two {
  right: 16px;
  animation-delay: -0.3s;
  transform: rotate(12deg);
}

.loader__pearl {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #fffdf6 50%, #e9ddc7);
  transform: translateX(-50%);
  animation: loaderPearl 1.7s ease-in-out infinite;
}

.loader p {
  margin: 0;
  font: 800 0.72rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-deep);
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient--back {
  z-index: 0;
  transform: translateY(calc(var(--scroll) * -0.045px));
}

.ambient--mid {
  z-index: 1;
  transform: translateY(calc(var(--scroll) * -0.085px));
}

.ambient--front {
  z-index: 2;
  transform: translateY(calc(var(--scroll) * -0.14px));
}

.bokeh {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.34);
  border: 1px solid rgba(199, 168, 90, 0.12);
  filter: blur(8px);
  animation: bokehFloat 13s ease-in-out infinite;
}

.bokeh--one {
  width: 170px;
  height: 170px;
  left: -40px;
  top: 18%;
}

.bokeh--two {
  width: 110px;
  height: 110px;
  right: -20px;
  top: 46%;
  animation-delay: -4s;
}

.bokeh--three {
  width: 220px;
  height: 220px;
  left: 34%;
  bottom: -110px;
  animation-delay: -7s;
}

.light-leak {
  position: absolute;
  pointer-events: none;
  opacity: 0.34;
  filter: blur(18px);
  mix-blend-mode: screen;
  transform-origin: center;
  animation: lightLeakDrift 13s ease-in-out infinite;
}

.light-leak--one {
  width: 42vw;
  height: 120vh;
  left: -20vw;
  top: -10vh;
  background: linear-gradient(105deg, transparent 0 18%, rgba(255, 221, 155, 0.62), rgba(255, 250, 240, 0.18), transparent 72%);
  transform: rotate(10deg);
}

.light-leak--two {
  width: 34vw;
  height: 90vh;
  right: -22vw;
  top: 18vh;
  opacity: 0.24;
  background: linear-gradient(72deg, transparent 0 20%, rgba(215, 166, 160, 0.35), rgba(255, 231, 176, 0.44), transparent 76%);
  animation-delay: -6s;
}

.firefly {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0 24%, rgba(255, 224, 150, 0.92) 38%, rgba(199, 168, 90, 0.04) 72%);
  box-shadow: 0 0 16px rgba(199, 168, 90, 0.44), 0 0 34px rgba(255, 224, 150, 0.2);
  opacity: 0.64;
  transform: translate3d(var(--firefly-x, 0px), var(--firefly-y, 0px), 0);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fireflyGlow 3.8s ease-in-out infinite;
}

.firefly::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: rgba(255, 224, 150, 0.12);
  filter: blur(6px);
}

.firefly--one {
  left: 12%;
  top: 14%;
}

.firefly--two {
  right: 18%;
  top: 30%;
  animation-delay: -1.2s;
}

.firefly--three {
  left: 48%;
  top: 58%;
  animation-delay: -2.2s;
}

.firefly--four {
  left: 24%;
  bottom: 17%;
  animation-delay: -3.1s;
}

.firefly--five {
  right: 34%;
  bottom: 27%;
  animation-delay: -0.5s;
}

.silk {
  position: absolute;
  width: 240px;
  height: 90px;
  border-top: 1px solid rgba(199, 168, 90, 0.28);
  border-radius: 50%;
  filter: blur(0.1px);
  animation: silkDrift 10s ease-in-out infinite;
}

.silk--one {
  left: -84px;
  top: 28%;
  transform: rotate(-12deg);
}

.silk--two {
  right: -70px;
  top: 64%;
  transform: rotate(18deg);
  animation-delay: -5s;
}

.decor-leaf {
  position: absolute;
  width: 72px;
  height: 118px;
  opacity: 0.55;
  transform-origin: bottom center;
}

.decor-leaf::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(199, 168, 90, 0.42);
  transform: translateX(-50%) rotate(12deg);
}

.decor-leaf::after {
  content: "";
  position: absolute;
  inset: 12px 10px;
  background:
    radial-gradient(ellipse at 26% 22%, rgba(185, 197, 173, 0.72) 0 17%, transparent 18%),
    radial-gradient(ellipse at 72% 36%, rgba(255, 250, 240, 0.95) 0 15%, transparent 16%),
    radial-gradient(ellipse at 30% 55%, rgba(185, 197, 173, 0.66) 0 16%, transparent 17%),
    radial-gradient(ellipse at 72% 72%, rgba(255, 250, 240, 0.9) 0 13%, transparent 14%);
  filter: drop-shadow(0 12px 18px rgba(70, 78, 66, 0.08));
}

.decor-leaf--one {
  top: 19%;
  right: 16px;
  transform: rotate(18deg);
}

.decor-leaf--two {
  bottom: 18%;
  left: 10px;
  transform: rotate(-22deg);
}

.decor-leaf--section {
  top: 16%;
  right: 10%;
  transform: rotate(20deg);
}

.date-ornament {
  position: absolute;
  pointer-events: none;
}

.date-ornament--top {
  top: 13%;
  left: 50%;
  width: min(76vw, 430px);
  height: 120px;
  border-top: 1px solid rgba(199, 168, 90, 0.28);
  border-radius: 50%;
  transform: translateX(-50%);
}

.date-ornament--left,
.date-ornament--right {
  top: 25%;
  width: 42px;
  height: 52svh;
  border-left: 1px solid rgba(199, 168, 90, 0.22);
  opacity: 0.72;
  animation: garlandSway 7s ease-in-out infinite;
}

.date-ornament--left {
  left: 8%;
}

.date-ornament--right {
  right: 8%;
  animation-delay: -2s;
}

.date-ornament--left::before,
.date-ornament--right::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fffdf6;
  box-shadow:
    0 34px 0 #fffdf6,
    0 68px 0 #fffdf6,
    0 102px 0 #e9ddc7,
    0 136px 0 #fffdf6,
    0 170px 0 #fffdf6,
    0 204px 0 rgba(199, 168, 90, 0.5);
}

.lantern {
  position: absolute;
  top: 0;
  width: 34px;
  height: 98px;
  border-left: 1px solid rgba(121, 134, 111, 0.26);
  transform-origin: top;
  animation: lanternSwing 5.8s ease-in-out infinite;
}

.lantern::before {
  content: "";
  position: absolute;
  left: -13px;
  bottom: 0;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(199, 168, 90, 0.42);
  border-radius: 14px 14px 8px 8px;
  background: rgba(255, 250, 240, 0.3);
  box-shadow: 0 0 22px rgba(199, 168, 90, 0.15);
}

.lantern--one {
  left: 12%;
}

.lantern--two {
  right: 18%;
  height: 128px;
  opacity: 0.65;
  animation-delay: -2.3s;
}

.float-petal {
  position: absolute;
  width: 12px;
  height: 18px;
  border-radius: 999px 999px 999px 0;
  background: rgba(215, 166, 160, 0.72);
  filter: drop-shadow(0 8px 10px rgba(70, 78, 66, 0.08));
  animation: petalDrift 16s linear infinite;
}

.float-petal--one {
  left: 14%;
  top: -30px;
}

.float-petal--two {
  left: 72%;
  top: -80px;
  width: 9px;
  height: 14px;
  opacity: 0.58;
  animation-delay: -4s;
}

.float-petal--three {
  left: 38%;
  top: -120px;
  animation-delay: -9s;
}

.float-petal--four {
  left: 88%;
  top: -180px;
  opacity: 0.5;
  animation-delay: -13s;
}

.scroll-motif {
  position: absolute;
  width: 92px;
  height: 210px;
  opacity: 0.54;
  border-left: 2px solid rgba(199, 168, 90, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 20% 22%, rgba(185, 197, 173, 0.7) 0 10%, transparent 11%),
    radial-gradient(ellipse at 74% 34%, rgba(255, 250, 240, 0.95) 0 9%, transparent 10%),
    radial-gradient(ellipse at 18% 50%, rgba(185, 197, 173, 0.64) 0 10%, transparent 11%),
    radial-gradient(ellipse at 72% 66%, rgba(255, 250, 240, 0.92) 0 8%, transparent 9%);
  filter: drop-shadow(0 18px 28px rgba(70, 78, 66, 0.08));
}

.scroll-motif--left {
  left: calc(-96px + var(--scroll) * 0.035px);
  top: 34%;
  transform: rotate(calc(-18deg + var(--scroll) * 0.006deg));
}

.scroll-motif--right {
  right: calc(-104px + var(--scroll) * 0.032px);
  top: 62%;
  transform: rotate(calc(18deg - var(--scroll) * 0.005deg));
}

.side-lantern {
  position: absolute;
  width: 44px;
  height: 86px;
  opacity: 0.56;
  border-left: 1px solid rgba(121, 134, 111, 0.24);
  transform-origin: top;
  animation: lanternSwing 6.8s ease-in-out infinite;
}

.side-lantern::before {
  content: "";
  position: absolute;
  left: -20px;
  bottom: 0;
  width: 40px;
  height: 56px;
  border-radius: 20px 20px 11px 11px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 250, 240, 0.95), rgba(199, 168, 90, 0.2) 52%, rgba(199, 168, 90, 0.42) 54% 56%, transparent 57%),
    linear-gradient(180deg, rgba(199, 168, 90, 0.46), rgba(121, 134, 111, 0.16));
  border: 1px solid rgba(199, 168, 90, 0.42);
  box-shadow: 0 0 26px rgba(199, 168, 90, 0.16);
}

.side-lantern--one {
  left: calc(4px + var(--scroll) * 0.018px);
  top: 68%;
}

.side-lantern--two {
  right: calc(10px + var(--scroll) * 0.018px);
  top: 22%;
  animation-delay: -2.7s;
}

.pearl {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #e9ddc7 58%, #c7a85a);
  opacity: 0.72;
  animation: pearlCurve 12s ease-in-out infinite;
}

.pearl--one {
  left: 16%;
  top: 58%;
}

.pearl--two {
  right: 18%;
  top: 31%;
  animation-delay: -4s;
}

.pearl--three {
  left: 48%;
  bottom: 16%;
  animation-delay: -7s;
}

.pearl--four {
  right: 32%;
  bottom: 28%;
  width: 6px;
  height: 6px;
  animation-delay: -10s;
}

.journey-shot {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.92;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 250, 240, 0.78), transparent 17rem),
    radial-gradient(circle at 18% 24%, rgba(199, 168, 90, 0.12), transparent 14rem),
    linear-gradient(180deg, #edf3ed 0%, #f7f2e8 36%, #fffaf0 62%, #e7eee4 100%);
  transform: perspective(950px) translate3d(var(--camera-pan), var(--camera-y), 0) rotateY(var(--scene-turn)) rotate(var(--camera-tilt)) scale(var(--camera-zoom));
  transform-origin: 50% 58%;
  transition: opacity 1.3s ease;
  will-change: transform, opacity;
}

body.is-opening .journey-shot,
body.invitation-open .journey-shot {
  opacity: 0.92;
}

.journey-shot.is-live {
  opacity: 0.92 !important;
}

.journey-shot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: min(120vw, 920px);
  height: 66%;
  background:
    repeating-linear-gradient(90deg, rgba(199, 168, 90, 0.1) 0 1px, transparent 1px 72px),
    linear-gradient(90deg, rgba(185, 197, 173, 0.12), rgba(255, 250, 240, 0.78) 24% 76%, rgba(185, 197, 173, 0.12));
  border-top: 1px solid rgba(199, 168, 90, 0.18);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  opacity: 0.82;
  transform: translate3d(-50%, var(--floor-y), 0);
}

.journey-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(121, 134, 111, 0.22), transparent 16% 84%, rgba(121, 134, 111, 0.18)),
    radial-gradient(ellipse at 50% 100%, rgba(45, 52, 49, 0.08), transparent 54%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.18), transparent 26%, rgba(247, 242, 232, 0.24));
  mix-blend-mode: multiply;
  opacity: 0.42;
}

.journey-shot__moon {
  position: absolute;
  top: 54px;
  right: clamp(28px, 12vw, 130px);
  width: clamp(56px, 13vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffaf0;
  box-shadow:
    inset -18px 0 0 #e7dcc8,
    0 0 34px rgba(255, 238, 188, 0.62),
    0 0 88px rgba(199, 168, 90, 0.22);
  opacity: 0.86;
  transform: translate3d(var(--moon-x), var(--moon-y), 0);
}

.journey-shot__stars {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(199, 168, 90, 0.72) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 250, 240, 0.9) 0 1px, transparent 2px);
  background-position: 18% 12%, 74% 18%;
  background-size: 170px 160px, 230px 190px;
  transform: translateY(var(--stars-y));
}

.journey-shot__wall {
  position: absolute;
  top: 7%;
  width: 42vw;
  height: 82%;
  opacity: 0.62;
  border: 1px solid rgba(199, 168, 90, 0.14);
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 250, 240, 0.44), transparent 12rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.22), rgba(185, 197, 173, 0.1)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(199, 168, 90, 0.06) 29px 30px);
  box-shadow: inset 0 0 70px rgba(45, 52, 49, 0.05);
  filter: blur(0.1px);
  transform-style: preserve-3d;
  transform-origin: center;
}

.journey-shot__wall--left {
  left: -18vw;
  border-radius: 0 999px 20px 0;
  transform: perspective(760px) rotateY(38deg) skewY(-5deg) translateX(var(--wall-pan));
}

.journey-shot__wall--right {
  right: -18vw;
  border-radius: 999px 0 0 20px;
  transform: perspective(760px) rotateY(-38deg) skewY(5deg) translateX(var(--wall-pan));
}

.journey-shot__ceiling {
  position: absolute;
  left: 50%;
  top: -120px;
  width: min(118vw, 900px);
  height: 270px;
  border: 1px solid rgba(199, 168, 90, 0.14);
  border-radius: 0 0 50% 50%;
  background:
    radial-gradient(ellipse at 50% 84%, rgba(255, 250, 240, 0.58), transparent 44%),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(121, 134, 111, 0.06) 45px 46px);
  transform: translateX(-50%);
  opacity: 0.7;
}

.journey-shot__floor {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: min(76vw, 560px);
  height: 1px;
  background: rgba(199, 168, 90, 0.16);
  box-shadow:
    0 34px 0 rgba(199, 168, 90, 0.13),
    0 78px 0 rgba(199, 168, 90, 0.1),
    0 132px 0 rgba(199, 168, 90, 0.08);
  transform: translate3d(-50%, var(--floor-y), 0);
}

.journey-shot__arch {
  position: absolute;
  left: 50%;
  width: min(78vw, 560px);
  height: min(72svh, 620px);
  border: 1px solid rgba(199, 168, 90, 0.16);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  opacity: 0.34;
  transform: translate3d(-50%, var(--arch-y), 0) scale(var(--arch-scale, 1));
}

.journey-shot__arch--one {
  top: 14%;
  --arch-scale: 1;
}

.journey-shot__arch--two {
  top: 40%;
  --arch-scale: 0.72;
  opacity: 0.24;
}

.journey-shot__arch--three {
  top: 66%;
  --arch-scale: 0.48;
  opacity: 0.18;
}

.journey-shot__lantern {
  position: absolute;
  top: -4px;
  width: 1px;
  height: 118px;
  background: rgba(121, 134, 111, 0.24);
  transform-origin: top;
  animation: lanternSwing 6.4s ease-in-out infinite;
}

.journey-shot__lantern::after {
  content: "";
  position: absolute;
  left: -17px;
  bottom: 0;
  width: 34px;
  height: 50px;
  border: 1px solid rgba(199, 168, 90, 0.46);
  border-radius: 18px 18px 10px 10px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 250, 240, 0.96), rgba(255, 224, 150, 0.32) 58%, transparent 70%);
  box-shadow:
    0 0 var(--lantern-blur) rgba(199, 168, 90, 0.28),
    0 0 70px rgba(255, 224, 150, 0.16);
}

.journey-shot__lantern--one {
  left: 21%;
}

.journey-shot__lantern--two {
  left: 50%;
  height: 92px;
  animation-delay: -2.4s;
}

.journey-shot__lantern--three {
  right: 18%;
  height: 132px;
  animation-delay: -4.1s;
}

.cover {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  padding: 0;
  background:
    radial-gradient(circle at 16% 13%, rgba(255, 216, 132, 0.2), transparent 7rem),
    radial-gradient(circle at 84% 13%, rgba(255, 216, 132, 0.17), transparent 7rem),
    radial-gradient(circle at 17% 88%, rgba(255, 203, 108, 0.1), transparent 12rem),
    radial-gradient(circle at 83% 88%, rgba(255, 203, 108, 0.09), transparent 12rem),
    linear-gradient(145deg, #050d0d 0%, #0d1917 48%, #16211d 100%);
  cursor: pointer;
  touch-action: manipulation;
  transition: opacity 1.15s ease, visibility 1.15s ease, transform 1.15s ease;
}

.cover.is-open {
  opacity: 0;
  visibility: hidden;
  transform: none;
  pointer-events: none;
}

.cover.is-opening {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 250, 240, 0.96), transparent 24rem),
    radial-gradient(circle at 16% 13%, rgba(255, 221, 141, 0.3), transparent 8rem),
    radial-gradient(circle at 84% 13%, rgba(255, 221, 141, 0.26), transparent 8rem),
    linear-gradient(180deg, #f8f1e4 0%, #fffaf0 46%, #dfe9dc 100%);
}

.cover[hidden] {
  display: none !important;
}

.cover.is-opening::after {
  opacity: 0.94;
  transform: scale(1);
}

.cover::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 6;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.56) 28%, transparent 48%);
  transform: scale(0.52);
  transition: opacity 1.8s ease, transform 2.4s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 221, 141, 0.52), transparent 7rem),
    radial-gradient(circle at 84% 12%, rgba(255, 221, 141, 0.44), transparent 7rem),
    radial-gradient(circle at 16% 88%, rgba(255, 210, 116, 0.18), transparent 9rem),
    radial-gradient(circle at 84% 88%, rgba(255, 210, 116, 0.16), transparent 9rem),
    linear-gradient(180deg, rgba(2, 8, 8, 0.72), rgba(5, 13, 12, 0.86) 48%, rgba(3, 8, 8, 0.78));
  mix-blend-mode: multiply;
  transition: opacity 1.7s ease;
}

.cover.is-opening::before,
.is-opening .cover::before,
.cover.is-open::before {
  opacity: 0 !important;
}

.cover__glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 76vmin;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 220, 142, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 222, 144, 0.045), transparent 64%);
  animation: breathe 4.8s ease-in-out infinite;
}

.door {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100svh;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  perspective: 1100px;
  cursor: pointer;
  touch-action: manipulation;
  overflow: visible;
  font: inherit;
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1), filter 1.3s ease;
}

.door * {
  pointer-events: none;
}

.door.is-opening {
  transform: translateY(-10px) scale(1.06);
  filter: drop-shadow(0 38px 52px rgba(70, 78, 66, 0.18));
}

.entrance {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  overflow: hidden;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 16% 13%, rgba(255, 221, 141, 0.26), transparent 7rem),
    radial-gradient(circle at 84% 13%, rgba(255, 221, 141, 0.22), transparent 7rem),
    radial-gradient(circle at 50% 40%, rgba(255, 250, 240, 0.08), transparent 21rem),
    linear-gradient(180deg, #172520 0%, #26342b 44%, #111d1a 100%);
  transition: transform 2.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease, background 1.6s ease, filter 1.6s ease;
  filter: saturate(0.84) brightness(0.48);
}

.door.is-opening .entrance {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 250, 240, 0.92), transparent 28rem),
    linear-gradient(180deg, #f8f1e4 0%, #fffaf0 44%, #dfe9dc 100%);
  filter: saturate(1) brightness(1);
}

.is-opening .entrance {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 250, 240, 0.92), transparent 28rem),
    linear-gradient(180deg, #f8f1e4 0%, #fffaf0 44%, #dfe9dc 100%);
  filter: saturate(1) brightness(1);
}

.entrance::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7%;
  width: min(92vw, 500px);
  height: 86svh;
  border-radius: 999px 999px 22px 22px;
  border: 1px solid rgba(199, 168, 90, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 221, 141, 0.14), transparent 18%, transparent 82%, rgba(255, 221, 141, 0.14)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(199, 168, 90, 0.035) 19px),
    linear-gradient(180deg, rgba(38, 52, 43, 0.76), rgba(13, 24, 22, 0.56));
  box-shadow:
    0 32px 88px rgba(2, 8, 8, 0.38),
    inset 0 0 80px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  transition: background 1.5s ease, box-shadow 1.5s ease, border-color 1.5s ease;
}

.door.is-opening .entrance::before {
  border-color: rgba(199, 168, 90, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.38), transparent 18%, transparent 82%, rgba(255, 250, 240, 0.38)),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(199, 168, 90, 0.035) 19px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.74), rgba(239, 230, 211, 0.26));
  box-shadow:
    0 32px 88px rgba(70, 78, 66, 0.1),
    inset 0 0 80px rgba(255, 250, 240, 0.28);
}

.entrance__halo {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(104vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(199, 168, 90, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.entrance__arch {
  position: absolute;
  left: 50%;
  top: 11%;
  width: min(78vw, 410px);
  height: 74svh;
  border-radius: 999px 999px 18px 18px;
  pointer-events: none;
  transform: translateX(-50%);
}

.entrance__arch--outer {
  border: 2px solid rgba(199, 168, 90, 0.48);
  box-shadow:
    inset 0 0 0 8px rgba(255, 250, 240, 0.22),
    0 0 34px rgba(255, 221, 141, 0.08);
}

.entrance__arch--inner {
  top: 15%;
  width: min(66vw, 346px);
  height: 66svh;
  border: 1px dashed rgba(121, 134, 111, 0.28);
}

.entrance__jewel-line {
  position: absolute;
  top: 20%;
  z-index: 6;
  width: 11px;
  height: min(49svh, 470px);
  border-radius: 999px;
  opacity: 0.92;
  background:
    radial-gradient(circle at 50% 6%, #fff8df 0 3px, rgba(199, 168, 90, 0.88) 4px 5px, transparent 6px),
    radial-gradient(circle at 50% 24%, #fff8df 0 3px, rgba(199, 168, 90, 0.8) 4px 5px, transparent 6px),
    radial-gradient(circle at 50% 42%, #fff8df 0 3px, rgba(199, 168, 90, 0.78) 4px 5px, transparent 6px),
    radial-gradient(circle at 50% 60%, #fff8df 0 3px, rgba(199, 168, 90, 0.78) 4px 5px, transparent 6px),
    radial-gradient(circle at 50% 78%, #fff8df 0 3px, rgba(199, 168, 90, 0.72) 4px 5px, transparent 6px),
    linear-gradient(180deg, transparent, rgba(199, 168, 90, 0.28), transparent);
  filter:
    drop-shadow(0 0 10px rgba(255, 221, 141, 0.34))
    drop-shadow(0 0 22px rgba(199, 168, 90, 0.18));
  animation: jewelGlow 3.8s ease-in-out infinite;
  transition: opacity 1.1s ease;
}

.entrance__jewel-line::before,
.entrance__jewel-line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 241, 198, 0.78);
  background: rgba(199, 168, 90, 0.68);
  box-shadow: 0 0 18px rgba(255, 221, 141, 0.42);
  transform: translateX(-50%) rotate(45deg);
}

.entrance__jewel-line::before {
  top: 14%;
}

.entrance__jewel-line::after {
  bottom: 12%;
}

.entrance__jewel-line--left {
  left: calc(50% - min(31vw, 162px));
}

.entrance__jewel-line--right {
  right: calc(50% - min(31vw, 162px));
  animation-delay: -1.6s;
}

.door.is-opening .entrance__jewel-line {
  opacity: 0.28;
}

.entrance__gold-rain {
  position: absolute;
  inset: 6% 8% 8%;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.58;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 82%, transparent);
  transition: opacity 1.1s ease;
}

.entrance__gold-rain i {
  position: absolute;
  top: -18%;
  left: var(--x);
  width: 1px;
  height: var(--h);
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 241, 198, 0.92), rgba(199, 168, 90, 0.18));
  box-shadow:
    0 0 8px rgba(255, 221, 141, 0.48),
    0 0 18px rgba(199, 168, 90, 0.2);
  transform: translate3d(0, -16%, 0) rotate(var(--r));
  animation: goldenRainFall var(--d) linear infinite;
  animation-delay: var(--delay);
}

.entrance__gold-rain i:nth-child(1) {
  --x: 11%;
  --h: 54px;
  --r: -3deg;
  --d: 5.8s;
  --delay: -1.2s;
}

.entrance__gold-rain i:nth-child(2) {
  --x: 23%;
  --h: 76px;
  --r: 2deg;
  --d: 7.2s;
  --delay: -3.4s;
}

.entrance__gold-rain i:nth-child(3) {
  --x: 38%;
  --h: 48px;
  --r: -2deg;
  --d: 6.5s;
  --delay: -0.8s;
}

.entrance__gold-rain i:nth-child(4) {
  --x: 49%;
  --h: 68px;
  --r: 3deg;
  --d: 8s;
  --delay: -5.2s;
}

.entrance__gold-rain i:nth-child(5) {
  --x: 61%;
  --h: 50px;
  --r: -4deg;
  --d: 6.9s;
  --delay: -2.4s;
}

.entrance__gold-rain i:nth-child(6) {
  --x: 73%;
  --h: 82px;
  --r: 2deg;
  --d: 7.6s;
  --delay: -4.6s;
}

.entrance__gold-rain i:nth-child(7) {
  --x: 84%;
  --h: 56px;
  --r: -2deg;
  --d: 6.2s;
  --delay: -1.8s;
}

.entrance__gold-rain i:nth-child(8) {
  --x: 92%;
  --h: 44px;
  --r: 3deg;
  --d: 8.4s;
  --delay: -6.2s;
}

.door.is-opening .entrance__gold-rain {
  opacity: 0.22;
}

.entrance__panel {
  position: absolute;
  top: 23%;
  width: min(34vw, 178px);
  height: 58svh;
  max-height: 560px;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(199, 168, 90, 0.48);
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 221, 141, 0.22), transparent 7rem),
    linear-gradient(155deg, #2c372d, #1a2925 56%, #101b19);
  box-shadow:
    inset 0 0 0 8px rgba(255, 250, 240, 0.06),
    inset 18px 0 58px rgba(255, 221, 141, 0.08),
    0 28px 48px rgba(2, 8, 8, 0.38);
  transition: transform 2.35s cubic-bezier(0.16, 1, 0.3, 1), filter 1.8s ease, background 1.6s ease, box-shadow 1.6s ease;
  transform-style: preserve-3d;
}

.door.is-opening .entrance__panel {
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.62), transparent 8rem),
    linear-gradient(155deg, #fffaf0, #efe6d3 56%, #dfe9dc);
  box-shadow:
    inset 0 0 0 8px rgba(255, 250, 240, 0.36),
    0 28px 48px rgba(70, 78, 66, 0.12);
}

.is-opening .entrance__panel {
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.62), transparent 8rem),
    linear-gradient(155deg, #fffaf0, #efe6d3 56%, #dfe9dc);
  box-shadow:
    inset 0 0 0 8px rgba(255, 250, 240, 0.36),
    0 28px 48px rgba(70, 78, 66, 0.12);
}

.entrance__panel--left {
  right: 50%;
  border-radius: 999px 0 0 18px;
  transform-origin: left center;
}

.entrance__panel--right {
  left: 50%;
  border-radius: 0 999px 18px 0;
  transform-origin: right center;
}

.entrance__panel::before {
  content: "";
  position: absolute;
  inset: 20px 14px;
  border: 1px solid rgba(199, 168, 90, 0.32);
  border-radius: inherit;
  box-shadow:
    inset 0 0 22px rgba(255, 221, 141, 0.04),
    0 0 18px rgba(255, 221, 141, 0.08);
}

.entrance__jaali {
  position: absolute;
  inset: 58px 22px 90px;
  opacity: 0.72;
  background:
    linear-gradient(45deg, transparent 46%, rgba(199, 168, 90, 0.42) 48%, rgba(199, 168, 90, 0.42) 52%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, rgba(199, 168, 90, 0.34) 48%, rgba(199, 168, 90, 0.34) 52%, transparent 54%);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.entrance__handle {
  position: absolute;
  top: 54%;
  width: 14px;
  height: 42px;
  border: 1px solid rgba(199, 168, 90, 0.68);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.54);
  box-shadow: 0 0 0 5px rgba(199, 168, 90, 0.08);
  transform: translateY(-50%);
}

.entrance__panel--left .entrance__handle {
  right: 18px;
}

.entrance__panel--right .entrance__handle {
  left: 18px;
}

.entrance__seal {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 5;
  width: 86px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 168, 90, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(157, 128, 54, 0.9), rgba(247, 226, 166, 0.95) 48%, rgba(157, 128, 54, 0.9)),
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.66), transparent 28%);
  color: #334039;
  font: 700 0.78rem/1 "Cinzel", Georgia, serif;
  letter-spacing: 0.07em;
  box-shadow:
    0 13px 28px rgba(31, 45, 43, 0.22),
    0 0 34px rgba(255, 221, 141, 0.32),
    inset 0 0 0 1px rgba(255, 250, 240, 0.58);
  transform: translate(-50%, -50%);
  transition: opacity 0.9s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.entrance__seal::before,
.entrance__seal::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 1px;
  background: rgba(199, 168, 90, 0.72);
}

.entrance__seal::before {
  right: 100%;
}

.entrance__seal::after {
  left: 100%;
}

.entrance__garland {
  position: absolute;
  top: 15%;
  z-index: 4;
  width: 22px;
  height: 50svh;
  border-left: 1px solid rgba(199, 168, 90, 0.22);
  opacity: 0.62;
  transform-origin: top;
  animation: garlandSway 6.5s ease-in-out infinite;
  transition: opacity 1.4s ease;
}

.door.is-opening .entrance__garland {
  opacity: 1;
}

.entrance__garland--left {
  left: calc(50% - min(37vw, 194px));
}

.entrance__garland--right {
  right: calc(50% - min(37vw, 194px));
  animation-delay: -2.2s;
}

.entrance__garland i {
  position: absolute;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 250, 240, 0.82), rgba(237, 220, 183, 0.78) 48%, rgba(199, 168, 90, 0.46) 78%);
  box-shadow:
    0 25px 0 rgba(237, 220, 183, 0.78),
    0 50px 0 rgba(237, 220, 183, 0.78),
    0 75px 0 rgba(237, 220, 183, 0.78),
    0 100px 0 rgba(237, 220, 183, 0.78);
}

.entrance__garland::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 8px;
  height: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(#c7a85a, rgba(199, 168, 90, 0.32));
  transform: translateX(-50%);
}

.entrance__garland i:nth-child(1) {
  top: 20px;
}

.entrance__garland i:nth-child(2) {
  top: 154px;
}

.entrance__garland i:nth-child(3) {
  top: 288px;
}

.entrance__garland i:nth-child(4) {
  top: 422px;
}

.entrance__garland i:nth-child(5) {
  top: 556px;
}

.entrance__lantern {
  position: absolute;
  top: 9%;
  z-index: 5;
  width: 34px;
  height: 118px;
  border-left: 1px solid rgba(121, 134, 111, 0.28);
  transform-origin: top;
  animation: lanternSwing 6s ease-in-out infinite;
}

.entrance__lantern::after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: 0;
  width: 36px;
  height: 52px;
  border: 1px solid rgba(199, 168, 90, 0.52);
  border-radius: 18px 18px 10px 10px;
  background:
    radial-gradient(circle, rgba(255, 250, 240, 0.96), rgba(255, 221, 141, 0.64) 50%, rgba(199, 168, 90, 0.34) 64%, transparent 74%);
  box-shadow:
    0 0 34px rgba(255, 221, 141, 0.62),
    0 0 82px rgba(255, 210, 116, 0.32),
    0 0 132px rgba(199, 168, 90, 0.18);
}

.entrance__lantern--left {
  left: 16%;
}

.entrance__lantern--right {
  right: 16%;
  animation-delay: -2.7s;
}

.entrance__side-arrangement {
  position: absolute;
  bottom: 11%;
  z-index: 4;
  width: clamp(54px, 15vw, 92px);
  height: clamp(160px, 31vh, 260px);
  pointer-events: none;
  opacity: 0.86;
  transform-origin: bottom center;
}

.entrance__side-arrangement--left {
  left: clamp(14px, 5vw, 72px);
  transform: rotate(-2deg);
}

.entrance__side-arrangement--right {
  right: clamp(14px, 5vw, 72px);
  transform: rotate(2deg) scaleX(-1);
}

.entrance__side-arrangement::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 38%;
  height: 31%;
  border: 1px solid rgba(199, 168, 90, 0.52);
  border-radius: 999px 999px 10px 10px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 250, 240, 0.5), transparent 38%),
    linear-gradient(180deg, rgba(199, 168, 90, 0.38), rgba(91, 83, 55, 0.32));
  box-shadow:
    inset 0 0 0 4px rgba(255, 250, 240, 0.1),
    0 18px 32px rgba(9, 18, 18, 0.22);
  transform: translateX(-50%);
}

.entrance__side-arrangement::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  height: 82%;
  background:
    radial-gradient(ellipse at 38% 58%, rgba(185, 197, 173, 0.54) 0 12%, transparent 13%),
    radial-gradient(ellipse at 66% 46%, rgba(247, 242, 232, 0.66) 0 9%, transparent 10%),
    radial-gradient(ellipse at 46% 28%, rgba(199, 168, 90, 0.36) 0 8%, transparent 9%),
    linear-gradient(104deg, transparent 47%, rgba(199, 168, 90, 0.34) 48% 50%, transparent 51%),
    linear-gradient(72deg, transparent 47%, rgba(255, 250, 240, 0.32) 48% 50%, transparent 51%);
  background-size: 100% 100%;
  filter: drop-shadow(0 12px 18px rgba(9, 18, 18, 0.14));
  transform: translateX(-50%);
}

.entrance__floor-lamp {
  position: absolute;
  bottom: 9%;
  z-index: 5;
  width: 42px;
  height: 142px;
  pointer-events: none;
  opacity: 0.82;
}

.entrance__floor-lamp--left {
  left: clamp(72px, 19vw, 168px);
}

.entrance__floor-lamp--right {
  right: clamp(72px, 19vw, 168px);
}

.entrance__floor-lamp::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 104px;
  background: linear-gradient(rgba(199, 168, 90, 0.28), rgba(199, 168, 90, 0.72), rgba(91, 83, 55, 0.42));
  transform: translateX(-50%);
}

.entrance__floor-lamp::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 34px;
  height: 48px;
  border: 1px solid rgba(199, 168, 90, 0.56);
  border-radius: 18px 18px 9px 9px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 250, 240, 0.98), rgba(255, 221, 141, 0.72) 48%, rgba(199, 168, 90, 0.26) 66%, transparent 74%);
  box-shadow:
    0 0 32px rgba(255, 221, 141, 0.58),
    0 0 82px rgba(199, 168, 90, 0.22);
  transform: translateX(-50%);
  animation: floorLampGlow 4.2s ease-in-out infinite;
}

.entrance__photo-guest {
  position: absolute;
  bottom: 4%;
  z-index: 8;
  width: 56px;
  height: 114px;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.1px);
}

.entrance__photo-guest--left {
  left: 4%;
  transform: translateX(-18px) rotate(4deg);
}

.entrance__photo-guest--right {
  right: 4%;
  transform: translateX(18px) rotate(-4deg) scaleX(-1);
}

.entrance__photo-guest::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 0;
  width: 24px;
  height: 70px;
  border-radius: 999px 999px 10px 10px;
  background: rgba(31, 45, 43, 0.36);
  box-shadow: 0 14px 28px rgba(31, 45, 43, 0.18);
}

.entrance__photo-guest::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 20px;
  width: 29px;
  height: 18px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 72% 50%, rgba(255, 250, 240, 0.76) 0 11%, transparent 13%),
    rgba(31, 45, 43, 0.72);
  box-shadow:
    -13px -12px 0 -3px rgba(31, 45, 43, 0.34),
    -6px 17px 0 -6px rgba(31, 45, 43, 0.42);
}

.door.is-opening .entrance__photo-guest--left {
  animation: photographerLeanLeft 2.8s ease-out 0.45s both;
}

.door.is-opening .entrance__photo-guest--right {
  animation: photographerLeanRight 2.8s ease-out 0.62s both;
}

.entrance__camera-flash {
  position: absolute;
  bottom: 21%;
  z-index: 9;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 250, 240, 0.96);
  box-shadow:
    0 0 0 0 rgba(255, 250, 240, 0.9),
    0 0 36px rgba(255, 221, 141, 0.7),
    0 0 110px rgba(255, 250, 240, 0.42);
}

.entrance__camera-flash--left {
  left: 15%;
}

.entrance__camera-flash--right {
  right: 15%;
}

.door.is-opening .entrance__camera-flash--left {
  animation:
    cameraFlash 0.45s ease-out 1.05s both,
    cameraFlash 0.48s ease-out 2.04s both;
}

.door.is-opening .entrance__camera-flash--right {
  animation:
    cameraFlash 0.5s ease-out 1.38s both,
    cameraFlash 0.46s ease-out 2.35s both;
}

.entrance__light {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 1;
  width: min(82vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 250, 240, 0.95), rgba(199, 168, 90, 0.24) 42%, transparent 68%);
  transform: translate(-50%, -50%) scale(0.22);
  transition: opacity 1.4s ease, transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.door.is-opening .entrance {
  transform: scale(1.16);
}

.door.is-opening .entrance__panel--left {
  transform: rotateY(-74deg) translateX(-5vw);
  filter: brightness(1.04);
}

.door.is-opening .entrance__panel--right {
  transform: rotateY(74deg) translateX(5vw);
  filter: brightness(1.04);
}

.door.is-opening .entrance__seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}

.door.is-opening .entrance__light {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.25);
}

.door.is-opening .door__front {
  opacity: 0;
  transform: translateX(-50%) translateY(18px) scale(0.9);
}

.door__front {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: max(52px, env(safe-area-inset-bottom));
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 0;
  width: 78%;
  color: #334039;
  transform: translateX(-50%);
  transition: opacity 0.75s ease, transform 1.1s ease;
  pointer-events: none;
}

.door__front em {
  padding: 11px 16px;
  border: 1px solid rgba(255, 221, 141, 0.42);
  border-radius: 999px;
  background: rgba(8, 18, 17, 0.66);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(255, 221, 141, 0.12);
  backdrop-filter: blur(10px);
  font: 800 0.72rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #fff4cf;
  text-shadow: 0 0 18px rgba(255, 221, 141, 0.34);
  font-style: normal;
  animation: hintPulse 1.5s ease-in-out infinite;
}

.door__inside {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: min(84vw, 370px);
  min-height: min(68svh, 620px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  transform: translate(-50%, -38%) scale(0.9);
  transition: opacity 1.35s ease 0.9s, transform 1.9s cubic-bezier(0.19, 1, 0.22, 1) 0.9s;
  box-shadow: none;
}

.door.is-opening .door__inside {
  opacity: 1;
  transform: translate(-50%, -52%) scale(1);
}

.door__inside img {
  width: min(72%, 250px);
  filter: drop-shadow(0 18px 24px rgba(45, 52, 49, 0.12));
}

.door__names {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 13vw, 4.8rem);
  line-height: 0.9;
  color: #334039;
  text-shadow: 0 2px 0 rgba(255, 250, 240, 0.72), 0 18px 34px rgba(70, 78, 66, 0.12);
}

.door__hint {
  font: 700 0.76rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-deep);
  animation: hintPulse 1.5s ease-in-out infinite;
}

.panel {
  min-height: 88svh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 68px 22px;
  position: relative;
  overflow: hidden;
}

body.invitation-open .hero {
  animation: heroCamera 1.7s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero {
  min-height: 100svh;
  padding-top: max(72px, env(safe-area-inset-top));
  text-align: center;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  font: 800 0.72rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-deep);
}

.bismillah {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 6vw, 2.2rem);
  line-height: 1.3;
  color: #3a433d;
}

.hero .eyebrow {
  margin-bottom: 18px;
  max-width: min(88vw, 520px);
}

h1,
h2,
p {
  max-width: 680px;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.1rem, 20vw, 8.5rem);
  line-height: 0.82;
  font-weight: 600;
}

h1 span {
  display: block;
  font-size: 0.42em;
  color: var(--gold);
  margin: 0.08em 0;
}

h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 11vw, 5rem);
  line-height: 0.94;
  font-weight: 600;
  text-align: center;
}

p {
  margin: 0;
  font: 500 1.02rem/1.78 "Manrope", ui-sans-serif, system-ui, sans-serif;
  color: var(--muted);
  text-align: center;
}

.hero__copy {
  margin-top: 28px;
  max-width: min(88vw, 560px);
}

.moon-scene {
  position: absolute;
  top: 76px;
  right: 22px;
  width: 96px;
  height: 96px;
  opacity: 0.72;
  transform: translateY(calc(var(--scroll) * -0.045px)) rotate(calc(var(--scroll) * 0.006deg));
}

.moon {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: #fff8e8;
  box-shadow: inset -12px 0 0 #e7dcc8, 0 0 26px rgba(199, 168, 90, 0.18);
}

.twinkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.6s ease-in-out infinite;
}

.twinkle--one {
  left: 8px;
  top: 22px;
}

.twinkle--two {
  right: 12px;
  top: 10px;
  animation-delay: -0.8s;
}

.twinkle--three {
  right: 4px;
  bottom: 18px;
  animation-delay: -1.6s;
}

.hero__art {
  width: min(82vw, 430px);
  margin-top: 28px;
  border-radius: 10px;
  animation: floatArt 5s ease-in-out infinite;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.hero__art img,
.gallery img {
  width: 100%;
  display: block;
}

.hero__art img {
  animation: softImageTilt 6.8s ease-in-out infinite;
  border: 1px solid rgba(199, 168, 90, 0.18);
  border-radius: 10px;
  box-shadow: 0 22px 58px rgba(70, 78, 66, 0.14);
  transform-origin: 50% 70%;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(45, 52, 49, 0.24);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.7s infinite;
}

.floating {
  position: absolute;
  width: 140px;
  height: 190px;
  border: 1px solid rgba(121, 134, 111, 0.16);
  border-radius: 999px 999px 18px 18px;
  opacity: 0.58;
  animation: drift 6s ease-in-out infinite;
}

.floating--one {
  top: 12%;
  left: -48px;
  transform: rotate(-12deg);
}

.floating--two {
  right: -56px;
  bottom: 14%;
  animation-delay: -2s;
}

.message {
  min-height: 76svh;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, 0.72), rgba(255, 250, 240, 0));
}

.message .eyebrow {
  margin-bottom: 16px;
}

.message h2 {
  max-width: min(92vw, 620px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.calligraphy-stroke {
  position: absolute;
  width: 220px;
  height: 96px;
  border-top: 2px solid rgba(199, 168, 90, 0.34);
  border-radius: 50%;
  transform: translateY(calc(var(--scroll) * -0.025px)) rotate(-14deg);
}

.calligraphy-stroke::after {
  content: "";
  position: absolute;
  right: 10px;
  top: -8px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(199, 168, 90, 0.38);
  border-radius: 50%;
}

.calligraphy-stroke--one {
  left: -72px;
  top: 24%;
}

.message p:last-child {
  margin-top: 2px;
  max-width: 580px;
}

.ayah-card {
  width: min(92vw, 620px);
  margin: 10px 0 30px;
  padding: 24px 22px;
  border: 1px solid rgba(199, 168, 90, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.58);
  box-shadow: 0 18px 44px rgba(70, 78, 66, 0.08);
}

.ayah-card blockquote {
  margin: 0;
  color: #3a433d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.32rem, 5.8vw, 2rem);
  line-height: 1.18;
  text-align: center;
}

.ayah-card figcaption {
  margin-top: 14px;
  font: 800 0.7rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
}

.scratch {
  min-height: 94svh;
  align-content: center;
  background:
    radial-gradient(circle at 50% 47%, rgba(199, 168, 90, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, 0.42), rgba(223, 233, 220, 0.12));
}

.scratch-card {
  width: min(92vw, 510px);
  height: min(62svh, 560px);
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(199, 168, 90, 0.42);
  border-radius: 999px 999px 22px 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.8), transparent 12rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.92), rgba(247, 242, 232, 0.9) 58%, rgba(223, 233, 220, 0.58));
  box-shadow:
    0 28px 76px rgba(70, 78, 66, 0.14),
    inset 0 0 0 10px rgba(255, 250, 240, 0.38);
  touch-action: none;
}

.scratch-card.is-revealed {
  animation: datePlaqueReveal 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  touch-action: pan-y;
}

.scratch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(255, 234, 173, 0.92) 42%, rgba(199, 168, 90, 0.12) 100%),
    linear-gradient(180deg, transparent 0%, rgba(255, 250, 240, 0.78) 36%, rgba(199, 168, 90, 0.08) 100%),
    linear-gradient(180deg, transparent 0%, rgba(255, 234, 173, 0.82) 42%, rgba(199, 168, 90, 0.1) 100%);
  background-repeat: no-repeat;
  background-size: 1px 64px, 1px 42px, 1px 74px;
  background-position: 18% -80px, 52% -120px, 78% -60px;
  filter: drop-shadow(0 0 12px rgba(255, 221, 141, 0.34));
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 88%, transparent);
}

.scratch-card.is-revealed::before {
  animation: dateGoldenRain 1.9s ease-out 0.15s both;
}

.scratch-card__arch {
  position: absolute;
  inset: 22px 24px;
  border: 1px dashed rgba(121, 134, 111, 0.22);
  border-radius: 999px 999px 16px 16px;
  pointer-events: none;
}

.scratch-card__arch::after {
  content: "";
  position: absolute;
  inset: 24px 24px 34px;
  border: 1px solid rgba(199, 168, 90, 0.2);
  border-radius: 999px 999px 12px 12px;
}

.scratch-card__aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 250, 240, 0.96), rgba(199, 168, 90, 0.28) 42%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.3);
  pointer-events: none;
}

.scratch-card.is-revealed .scratch-card__aura {
  animation: dateAura 1.7s ease-out forwards;
}

.scratch-card__pearls {
  position: absolute;
  top: 23%;
  width: 1px;
  height: 56%;
  background: rgba(199, 168, 90, 0.2);
}

.scratch-card__pearls--left {
  left: 12%;
}

.scratch-card__pearls--right {
  right: 12%;
}

.scratch-card__pearls::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #fffdf6 50%, #e9ddc7);
  box-shadow:
    0 38px 0 #fffdf6,
    0 76px 0 #fffdf6,
    0 114px 0 #fffdf6,
    0 152px 0 #e9ddc7,
    0 190px 0 #fffdf6;
}

.scratch-card__lantern {
  position: absolute;
  top: 12%;
  width: 22px;
  height: 74px;
  border-left: 1px solid rgba(121, 134, 111, 0.22);
  transform-origin: top;
  animation: lanternSwing 6s ease-in-out infinite;
}

.scratch-card__lantern--left {
  left: 20%;
}

.scratch-card__lantern--right {
  right: 20%;
  animation-delay: -2s;
}

.scratch-card__lantern::after {
  content: "";
  position: absolute;
  left: -11px;
  bottom: 0;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(199, 168, 90, 0.42);
  border-radius: 12px 12px 7px 7px;
  background: rgba(255, 250, 240, 0.44);
  box-shadow: 0 0 22px rgba(199, 168, 90, 0.14);
}

.scratch-card__date {
  position: relative;
  z-index: 1;
  width: min(84%, 360px);
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 13px;
  text-align: center;
  padding: 38px 0;
  margin-inline: auto;
}

.scratch-card__date span,
.scratch-card__date em {
  font: 800 0.78rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-deep);
  font-style: normal;
}

.scratch-card__date strong {
  font-family: "Cinzel", "Cormorant Garamond", Georgia, serif;
  width: 100%;
  font-size: clamp(2rem, 6vw, 2.7rem);
  line-height: 0.96;
  font-weight: 600;
  white-space: nowrap;
  color: #2d3431;
  text-shadow: 0 1px 0 rgba(255, 250, 240, 0.8);
}

#scratchCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  touch-action: none;
}

.scratch-card.is-revealed #scratchCanvas {
  pointer-events: none;
  touch-action: pan-y;
}

#scratchHint {
  position: absolute;
  bottom: 34px;
  z-index: 5;
  width: 100%;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(45, 52, 49, 0.55);
  pointer-events: none;
}

.timer {
  width: min(94vw, 680px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.countdown h2 {
  max-width: 340px;
}

.countdown {
  min-height: 88svh;
  background:
    radial-gradient(circle at 50% 50%, rgba(199, 168, 90, 0.1), transparent 19rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, 0.38), rgba(223, 233, 220, 0.08));
}

.countdown::before,
.countdown::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 230px;
  border: 1px solid rgba(199, 168, 90, 0.18);
  border-radius: 999px 999px 18px 18px;
  pointer-events: none;
}

.countdown::before {
  left: -82px;
  top: 22%;
  transform: translateY(calc(var(--scroll) * -0.025px)) rotate(-16deg);
}

.countdown::after {
  right: -88px;
  bottom: 16%;
  transform: translateY(calc(var(--scroll) * -0.04px)) rotate(15deg);
}

.hourglass {
  position: absolute;
  top: 11%;
  left: 10%;
  width: 38px;
  height: 70px;
  opacity: 0.45;
  border-top: 1px solid rgba(199, 168, 90, 0.8);
  border-bottom: 1px solid rgba(199, 168, 90, 0.8);
  transform: translateY(calc(var(--scroll) * -0.018px));
}

.hourglass::before,
.hourglass::after {
  content: "";
  position: absolute;
  inset: 7px 8px;
  border: 1px solid rgba(199, 168, 90, 0.72);
  clip-path: polygon(0 0, 100% 0, 50% 50%, 100% 100%, 0 100%, 50% 50%);
}

.hourglass span {
  position: absolute;
  left: 50%;
  top: 13px;
  width: 3px;
  height: 36px;
  background: linear-gradient(#c7a85a, transparent);
  transform: translateX(-50%);
  animation: sandDrop 1.8s linear infinite;
}

.timer div {
  min-height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 22px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.6), transparent 4.5rem),
    rgba(255, 250, 240, 0.68);
  box-shadow: 0 18px 44px rgba(70, 78, 66, 0.08);
}

.timer strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.9rem, 9vw, 4rem);
  font-weight: 600;
}

.timer span {
  font: 800 0.68rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
}

.rings {
  min-height: 58svh;
}

.rings__stage {
  width: min(88vw, 420px);
  height: 230px;
  position: relative;
  margin-bottom: 24px;
}

.ring {
  position: absolute;
  top: 50%;
  width: 118px;
  aspect-ratio: 1;
  border: 11px solid rgba(199, 168, 90, 0.9);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 250, 240, 0.85), 0 16px 34px rgba(70, 78, 66, 0.14);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.ring--left {
  left: 8%;
  transform: translate3d(calc(var(--ring-progress, 0) * 72px), -50%, 0) rotate(calc(-18deg + var(--ring-progress, 0) * 9deg));
}

.ring--right {
  right: 8%;
  transform: translate3d(calc(var(--ring-progress, 0) * -72px), -50%, 0) rotate(calc(18deg - var(--ring-progress, 0) * 9deg));
}

.rings__spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  aspect-ratio: 1;
  background: var(--rose);
  border-radius: 50%;
  opacity: var(--ring-progress, 0);
  transform: translate(-50%, -50%) scale(calc(1 + var(--ring-progress, 0) * 2));
  box-shadow: 0 0 0 16px rgba(215, 166, 160, 0.12), 0 0 0 30px rgba(199, 168, 90, 0.08);
}

.gallery {
  min-height: 86svh;
  align-content: start;
}

.gallery__grid {
  width: min(94vw, 820px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
}

.gallery figure {
  min-height: 210px;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(45, 52, 49, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.66);
  transform-style: preserve-3d;
}

.gallery figure:nth-child(1) img {
  width: min(76%, 310px);
}

.gallery figure img {
  transform-origin: center bottom;
  animation: galleryImageDrift 7.2s ease-in-out infinite;
  will-change: transform;
}

.gallery figure:nth-child(2) img {
  animation-delay: -3.4s;
}

.gallery__quote {
  padding: 28px;
  animation: quoteTilt 7.8s ease-in-out infinite;
  transform-origin: center;
}

.gallery__quote blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 9vw, 3.6rem);
  line-height: 1;
  text-align: center;
  color: #3a433d;
}

.vine-frame {
  position: absolute;
  left: 50%;
  top: 24%;
  width: min(78vw, 420px);
  height: 58%;
  border-left: 1px solid rgba(199, 168, 90, 0.28);
  border-right: 1px solid rgba(199, 168, 90, 0.28);
  border-radius: 999px 999px 20px 20px;
  transform: translateX(-50%) scaleY(calc(0.4 + var(--ring-progress, 0) * 0.2));
  transform-origin: bottom;
  opacity: 0.42;
  pointer-events: none;
}

.vine-frame::before,
.vine-frame::after {
  content: "";
  position: absolute;
  top: 18%;
  width: 34px;
  height: 18px;
  border: 1px solid rgba(121, 134, 111, 0.35);
  border-radius: 50% 0 50% 0;
}

.vine-frame::before {
  left: -17px;
  transform: rotate(-22deg);
}

.vine-frame::after {
  right: -17px;
  transform: rotate(112deg);
}

.venue {
  min-height: 74svh;
}

.map-widget {
  width: min(84vw, 360px);
  aspect-ratio: 1;
  margin-top: 24px;
  padding: 9px;
  border: 1px solid rgba(199, 168, 90, 0.28);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.78), transparent 7rem),
    rgba(255, 250, 240, 0.68);
  box-shadow: 0 22px 58px rgba(70, 78, 66, 0.12);
}

.map-widget iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 7px;
  filter: saturate(0.82) sepia(0.08);
}

.rsvp {
  min-height: 84svh;
  gap: 4px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 250, 240, 0.74), transparent 16rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(223, 233, 220, 0.18), rgba(255, 250, 240, 0));
}

.rsvp__garland {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(78vw, 420px);
  height: 80px;
  border-top: 1px solid rgba(199, 168, 90, 0.24);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.rsvp__garland::before,
.rsvp__garland::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fffdf6;
  box-shadow: 32px 12px 0 rgba(199, 168, 90, 0.36), 64px 4px 0 #fffdf6, 96px 14px 0 rgba(185, 197, 173, 0.72);
}

.rsvp__garland::before {
  left: 18%;
}

.rsvp__garland::after {
  right: 42%;
}

.rsvp__lamp {
  position: absolute;
  top: 20%;
  width: 30px;
  height: 84px;
  border-left: 1px solid rgba(121, 134, 111, 0.24);
  animation: lanternSwing 6.5s ease-in-out infinite;
  pointer-events: none;
}

.rsvp__lamp::after {
  content: "";
  position: absolute;
  left: -15px;
  bottom: 0;
  width: 30px;
  height: 44px;
  border-radius: 16px 16px 9px 9px;
  border: 1px solid rgba(199, 168, 90, 0.42);
  background: radial-gradient(circle, rgba(255, 250, 240, 0.84), rgba(199, 168, 90, 0.18) 58%, transparent 70%);
}

.rsvp__lamp--left {
  left: 12%;
}

.rsvp__lamp--right {
  right: 12%;
  animation-delay: -2.2s;
}

.rsvp__actions {
  position: relative;
  z-index: 2;
  width: min(92vw, 520px);
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.rsvp__button {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(199, 168, 90, 0.3);
  border-radius: 999px;
  padding: 14px 18px;
  color: #334039;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.76), transparent 4rem),
    rgba(255, 250, 240, 0.74);
  box-shadow: 0 16px 38px rgba(70, 78, 66, 0.1);
  font: 800 0.82rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.rsvp__button:active,
.rsvp__button.is-selected {
  transform: translateY(-2px) scale(0.99);
  box-shadow: 0 22px 48px rgba(70, 78, 66, 0.14), 0 0 0 8px rgba(199, 168, 90, 0.08);
}

.rsvp__button--yes.is-selected {
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.92), rgba(223, 233, 220, 0.72));
}

.rsvp__button--no.is-selected {
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.92), rgba(239, 230, 211, 0.78));
}

.rsvp__form {
  position: relative;
  z-index: 2;
  width: min(92vw, 520px);
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(199, 168, 90, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.72), transparent 7rem),
    rgba(255, 250, 240, 0.68);
  box-shadow: 0 18px 44px rgba(70, 78, 66, 0.08);
  transform-origin: top center;
}

.rsvp__form[hidden] {
  display: none;
}

.rsvp__field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.rsvp__field span {
  font: 800 0.68rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
}

.rsvp__field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(199, 168, 90, 0.26);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 250, 240, 0.78);
  color: var(--ink);
  font: 700 0.92rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.rsvp__field input:focus-visible {
  border-color: rgba(199, 168, 90, 0.62);
  box-shadow: 0 0 0 4px rgba(199, 168, 90, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.rsvp__field input::placeholder {
  color: rgba(111, 118, 109, 0.62);
}

.rsvp__counter {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(199, 168, 90, 0.26);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  overflow: hidden;
}

.rsvp__counter output {
  color: #334039;
  font: 700 1.36rem/1 "Cinzel", "Cormorant Garamond", Georgia, serif;
  text-align: center;
}

.rsvp__counter-button {
  width: 48px;
  height: 52px;
  border: 0;
  background: rgba(199, 168, 90, 0.12);
  color: #334039;
  font: 800 1.35rem/1 "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.rsvp__counter-button:active {
  background: rgba(199, 168, 90, 0.22);
}

.rsvp__submit {
  min-height: 54px;
  border: 1px solid rgba(45, 52, 49, 0.16);
  border-radius: 999px;
  padding: 0 20px;
  background: #334039;
  color: #fffaf0;
  box-shadow: 0 18px 38px rgba(45, 52, 49, 0.16);
  font: 800 0.78rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rsvp__submit:disabled {
  opacity: 0.62;
}

.rsvp__toast {
  position: relative;
  z-index: 2;
  min-height: 34px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  font-size: 0.9rem;
}

.rsvp__toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.courtyard {
  min-height: 86svh;
  gap: 10px;
  background:
    radial-gradient(circle at 50% 28%, rgba(199, 168, 90, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(223, 233, 220, 0.18), rgba(255, 250, 240, 0));
}

.courtyard__scene {
  position: relative;
  width: min(92vw, 560px);
  height: min(70vw, 340px);
  min-height: 270px;
  max-height: 360px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(199, 168, 90, 0.26);
  border-radius: 10px;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 250, 240, 0.9), rgba(255, 236, 179, 0.22) 18%, transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(185, 197, 173, 0.46), transparent 45%),
    linear-gradient(180deg, #eef2e8 0%, #f7f2e8 56%, #dfe8dd 100%);
  box-shadow: 0 24px 64px rgba(70, 78, 66, 0.12);
  --arrival: 0;
}

.courtyard__scene::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -80px;
  width: 82%;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.45);
  border: 1px solid rgba(121, 134, 111, 0.12);
  transform: translateX(-50%);
}

.courtyard__moon {
  position: absolute;
  top: 28px;
  right: 44px;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffaf0;
  box-shadow: inset -12px 0 0 #e7dcc8, 0 0 34px rgba(199, 168, 90, 0.28);
}

.courtyard__star {
  position: absolute;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(199, 168, 90, 0.72);
  box-shadow: 0 0 12px rgba(199, 168, 90, 0.28);
  animation: twinkle 3s ease-in-out infinite;
}

.courtyard__star--one {
  left: 18%;
  top: 18%;
}

.courtyard__star--two {
  left: 42%;
  top: 12%;
  animation-delay: -1s;
}

.courtyard__star--three {
  right: 21%;
  top: 42%;
  animation-delay: -2s;
}

.courtyard__arch {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 68%;
  height: 68%;
  border: 1px solid rgba(199, 168, 90, 0.24);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
}

.courtyard__arch::after {
  content: "";
  position: absolute;
  inset: 22px 26px 0;
  border: 1px dashed rgba(121, 134, 111, 0.18);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.courtyard__lamp {
  position: absolute;
  top: 0;
  width: 1px;
  height: 94px;
  background: rgba(121, 134, 111, 0.18);
  transform-origin: top;
  animation: lanternSwing 6.2s ease-in-out infinite;
}

.courtyard__lamp::after {
  content: "";
  position: absolute;
  left: -13px;
  bottom: 0;
  width: 26px;
  height: 38px;
  border: 1px solid rgba(199, 168, 90, 0.38);
  border-radius: 14px 14px 8px 8px;
  background: radial-gradient(circle at 50% 46%, rgba(255, 250, 240, 0.9), rgba(199, 168, 90, 0.22) 58%, transparent 68%);
  box-shadow: 0 0 calc(18px + var(--arrival, 0) * 24px) rgba(199, 168, 90, 0.22);
  opacity: calc(0.58 + var(--arrival, 0) * 0.42);
}

.courtyard__lamp--left {
  left: 18%;
}

.courtyard__lamp--right {
  right: 22%;
  height: 116px;
  animation-delay: -2.4s;
}

.courtyard__guest {
  position: absolute;
  bottom: 38px;
  width: 18px;
  height: 40px;
  border-radius: 999px 999px 8px 8px;
  background: rgba(45, 52, 49, 0.2);
  filter: blur(0.2px);
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  animation: guestWalk 7s ease-in-out infinite;
  animation-delay: var(--walk-delay, 0s);
}

.courtyard__guest::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(45, 52, 49, 0.18);
  transform: translateX(-50%);
}

.courtyard__guest--one {
  left: 30%;
  opacity: clamp(0, calc((var(--arrival, 0) - 0.15) * 2.8), 0.72);
  transform: translateY(calc((1 - var(--arrival, 0)) * 16px)) scale(0.96);
}

.courtyard__guest--two {
  right: 31%;
  opacity: clamp(0, calc((var(--arrival, 0) - 0.22) * 2.8), 0.68);
  transform: translateY(calc((1 - var(--arrival, 0)) * 18px)) scale(0.92);
  --walk-delay: -3.2s;
}

.courtyard__guest--elder-a,
.courtyard__guest--elder-b {
  bottom: 34px;
  width: 20px;
  height: 46px;
  background: rgba(45, 52, 49, 0.24);
  animation: elderArrive 7.4s ease-in-out infinite;
}

.courtyard__guest--elder-a {
  left: 41%;
  opacity: clamp(0, calc((var(--arrival, 0) - 0.34) * 2.5), 0.78);
}

.courtyard__guest--elder-b {
  left: 47%;
  height: 43px;
  opacity: clamp(0, calc((var(--arrival, 0) - 0.4) * 2.5), 0.7);
  animation-delay: -1.6s;
}

.courtyard__guest--child {
  left: 8%;
  bottom: 32px;
  width: 12px;
  height: 26px;
  opacity: clamp(0, calc((var(--arrival, 0) - 0.52) * 2.8), 0.7);
  animation: childRun 5.8s ease-in-out infinite;
}

.courtyard__guest--family {
  right: 13%;
  bottom: 35px;
  width: 30px;
  height: 42px;
  opacity: clamp(0, calc((var(--arrival, 0) - 0.62) * 2.8), 0.68);
  animation: familyGather 8s ease-in-out infinite;
}

.courtyard__guest--family::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 14px;
  height: 32px;
  border-radius: 999px 999px 7px 7px;
  background: rgba(45, 52, 49, 0.18);
}

.blessing-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blessing-lantern {
  position: absolute;
  left: var(--start, 50%);
  bottom: 22%;
  width: 118px;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 18px 13px 12px;
  border: 1px solid rgba(199, 168, 90, 0.48);
  border-radius: 38px 38px 14px 14px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 250, 240, 0.98), rgba(255, 224, 150, 0.5) 46%, rgba(199, 168, 90, 0.24) 66%, rgba(255, 250, 240, 0.18) 100%),
    rgba(255, 250, 240, 0.72);
  box-shadow: 0 0 34px rgba(199, 168, 90, 0.34), 0 18px 34px rgba(70, 78, 66, 0.12);
  transform: translateX(-50%);
  animation: blessingRise 6.8s ease-out forwards;
  text-align: center;
}

.blessing-lantern::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 34px;
  height: 22px;
  border-top: 1px solid rgba(199, 168, 90, 0.52);
  border-radius: 50%;
  transform: translateX(-50%);
}

.blessing-lantern__glow {
  position: absolute;
  inset: 9px 18px auto;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 245, 206, 0.7);
  filter: blur(10px);
  pointer-events: none;
}

.blessing-lantern__text {
  position: relative;
  z-index: 1;
  max-width: 92px;
  color: #334039;
  font: 800 0.62rem/1.18 "Manrope", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 0 rgba(255, 250, 240, 0.72);
}

.courtyard h2 {
  max-width: min(92vw, 620px);
  line-height: 1.08;
}

.blessing-form {
  width: min(92vw, 520px);
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.blessing-form input,
.blessing-form button {
  min-height: 54px;
  border-radius: 999px;
  font: 700 0.88rem/1.2 "Manrope", ui-sans-serif, system-ui, sans-serif;
}

.blessing-form input {
  width: 100%;
  border: 1px solid rgba(199, 168, 90, 0.28);
  padding: 0 18px;
  background: rgba(255, 250, 240, 0.72);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.blessing-form input::placeholder {
  color: rgba(111, 118, 109, 0.72);
}

.blessing-form button {
  border: 1px solid rgba(45, 52, 49, 0.16);
  padding: 0 20px;
  background: #334039;
  color: #fffaf0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 18px 38px rgba(45, 52, 49, 0.16);
}

.blessing-toast {
  min-height: 32px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  font-size: 0.9rem;
}

.blessing-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  padding: 28px 20px 88px;
}

.footer p {
  font-size: 0.86rem;
}

.cover__dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.cover__dust span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(199, 168, 90, 0.8);
}

.cover.is-opening .cover__dust span {
  animation: coverSpark 1.8s ease-out forwards;
}

.cover__dust span:nth-child(1) {
  --sx: -110px;
  --sy: -160px;
}

.cover__dust span:nth-child(2) {
  --sx: 116px;
  --sy: -122px;
  animation-delay: 0.12s;
}

.cover__dust span:nth-child(3) {
  --sx: -148px;
  --sy: 80px;
  animation-delay: 0.2s;
}

.cover__dust span:nth-child(4) {
  --sx: 142px;
  --sy: 94px;
  animation-delay: 0.28s;
}

.cover__dust span:nth-child(5) {
  --sx: -28px;
  --sy: -210px;
  animation-delay: 0.36s;
}

.cover__dust span:nth-child(6) {
  --sx: 28px;
  --sy: 190px;
  animation-delay: 0.44s;
}

.sound {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 30;
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(45, 52, 49, 0.14);
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 14px 34px rgba(70, 78, 66, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease, transform 0.35s ease;
}

body.invitation-open .sound {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sound:hover {
  border-color: rgba(199, 168, 90, 0.38);
  box-shadow: 0 16px 38px rgba(70, 78, 66, 0.2), 0 0 0 5px rgba(199, 168, 90, 0.08);
  transform: translateY(-1px);
}

.sound__icon {
  position: relative;
  width: 24px;
  height: 22px;
  display: grid;
  place-items: center;
}

.sound__bars {
  width: 16px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.sound__bar {
  width: 3px;
  height: 15px;
  border-radius: 999px;
  background: var(--sage-deep);
  opacity: 0.58;
  animation: soundBars 0.9s ease-in-out infinite paused;
}

.sound__bar:nth-child(2) {
  animation-delay: -0.24s;
}

.sound__bar:nth-child(3) {
  animation-delay: -0.48s;
}

.sound__slash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 25px;
  height: 3px;
  border-radius: 999px;
  background: #9a5e55;
  box-shadow: 0 0 0 2px rgba(255, 250, 240, 0.86);
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-42deg);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.sound.is-playing {
  border-color: rgba(199, 168, 90, 0.45);
  box-shadow: 0 16px 40px rgba(70, 78, 66, 0.18), 0 0 26px rgba(199, 168, 90, 0.2);
}

.sound.is-playing .sound__bar {
  opacity: 1;
  background: var(--sage-deep);
  animation-play-state: running;
}

.sound.is-playing .sound__slash {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-42deg) scaleX(0.28);
}

.gold-pop,
.pearl-pop {
  position: fixed;
  z-index: 25;
  pointer-events: none;
  border-radius: 50%;
  animation: revealFloat 1.85s ease-out forwards;
}

.gold-pop {
  width: 6px;
  height: 6px;
  background: rgba(199, 168, 90, 0.88);
  box-shadow: 0 0 16px rgba(199, 168, 90, 0.5);
}

.pearl-pop {
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 28%, #fff, #fffdf6 50%, #e9ddc7);
  box-shadow: 0 8px 18px rgba(70, 78, 66, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.camera-wall {
  --wall-x: 0px;
  --wall-y: 0px;
  --wall-z: 0px;
  --wall-turn: 0deg;
  --wall-scale: 1;
  --wall-bg-opacity: 0.28;
  --wall-bg-shift: 0px;
  position: relative;
  isolation: isolate;
  transform: perspective(900px) translate3d(var(--wall-x), var(--wall-y), var(--wall-z)) rotateY(var(--wall-turn)) scale(var(--wall-scale));
  transform-origin: var(--wall-origin, 50% 50%);
  transform-style: preserve-3d;
  transition: transform 0.12s linear;
  will-change: transform;
  backface-visibility: hidden;
}

.camera-wall::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 5vw, 54px) clamp(12px, 6vw, 72px);
  z-index: -1;
  opacity: var(--wall-bg-opacity);
  border: 1px solid rgba(199, 168, 90, 0.22);
  border-radius: 999px 999px 24px 24px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 250, 240, 0.72), transparent 12rem),
    linear-gradient(180deg, rgba(255, 250, 240, 0.62), rgba(239, 230, 211, 0.34) 52%, rgba(223, 233, 220, 0.28)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(199, 168, 90, 0.055) 35px 36px);
  box-shadow:
    inset 0 0 0 8px rgba(255, 250, 240, 0.18),
    0 28px 84px rgba(70, 78, 66, 0.09);
  transform: translate3d(var(--wall-bg-shift), 0, -1px);
  pointer-events: none;
}

.camera-wall::after {
  content: "";
  position: absolute;
  top: 18%;
  z-index: -1;
  width: 74px;
  height: 52%;
  opacity: var(--wall-bg-opacity);
  border-top: 1px solid rgba(199, 168, 90, 0.22);
  border-bottom: 1px solid rgba(199, 168, 90, 0.14);
  pointer-events: none;
}

.camera-wall--left {
  --wall-origin: 18% 50%;
}

.camera-wall--left::after {
  left: 2px;
  border-left: 1px solid rgba(199, 168, 90, 0.2);
  border-radius: 0 999px 999px 0;
}

.camera-wall--right {
  --wall-origin: 82% 50%;
}

.camera-wall--right::after {
  right: 2px;
  border-right: 1px solid rgba(199, 168, 90, 0.2);
  border-radius: 999px 0 0 999px;
}

.camera-wall--center {
  --wall-origin: 50% 50%;
}

.camera-wall--center::after {
  left: 50%;
  width: min(66vw, 420px);
  height: 62%;
  border-inline: 1px solid rgba(199, 168, 90, 0.14);
  border-radius: 999px 999px 18px 18px;
  transform: translateX(-50%);
}

.camera-wall.message,
.camera-wall.scratch,
.camera-wall.countdown,
.camera-wall.rings,
.camera-wall.gallery,
.camera-wall.courtyard,
.camera-wall.venue,
.camera-wall.rsvp {
  background: transparent;
}

@media (max-width: 719px) {
  .journey-shot {
    opacity: 0.78;
  }

  .panel {
    min-height: 72svh;
    padding: 48px 22px;
  }

  body.is-opening .journey-shot,
  body.invitation-open .journey-shot {
    opacity: 0.78;
  }

  .journey-shot.is-live {
    opacity: 0.78 !important;
  }

  .journey-shot__wall {
    width: 58vw;
    opacity: 0.42;
  }

  .journey-shot__wall--left {
    left: -31vw;
  }

  .journey-shot__wall--right {
    right: -31vw;
  }

  .journey-shot__arch {
    width: 88vw;
    opacity: 0.22;
  }

  .journey-shot__lantern--two {
    display: none;
  }

  .camera-wall {
    transition-duration: 0.12s;
  }

  .camera-wall::before {
    inset: 10px 8px;
    border-radius: 999px 999px 18px 18px;
  }

  .camera-wall::after {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding-top: max(66px, env(safe-area-inset-top));
    padding-bottom: 54px;
  }

  .message {
    min-height: 60svh;
  }

  .scratch {
    min-height: 84svh;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .scratch-card {
    height: min(58svh, 500px);
    min-height: 380px;
  }

  .countdown {
    min-height: 72svh;
  }

  .rings {
    min-height: 42svh;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .rings__stage {
    height: 190px;
    margin-bottom: 14px;
  }

  .ring {
    width: 104px;
    border-width: 10px;
  }

  .ring--left {
    left: 10%;
    transform: translate3d(calc(var(--ring-progress, 0) * 58px), -50%, 0) rotate(-8deg);
  }

  .ring--right {
    right: 10%;
    transform: translate3d(calc(var(--ring-progress, 0) * -58px), -50%, 0) rotate(8deg);
  }

  .gallery {
    min-height: 76svh;
    padding-top: 46px;
  }

  .rsvp {
    min-height: 66svh;
  }

  .courtyard {
    min-height: 78svh;
  }

  .courtyard__scene {
    height: min(76vw, 310px);
    min-height: 250px;
    margin-bottom: 12px;
  }

  .venue {
    min-height: 58svh;
  }

  .footer {
    padding-top: 18px;
  }

  .firefly--four,
  .firefly--five,
  .lantern,
  .scroll-motif,
  .floating,
  .moon-scene,
  .bokeh--two,
  .bokeh--three {
    display: none;
  }

  .firefly {
    opacity: 0.46;
  }

  .entrance__side-arrangement {
    width: 54px;
    height: 168px;
    bottom: 12%;
  }

  .entrance__side-arrangement--left {
    left: 8px;
  }

  .entrance__side-arrangement--right {
    right: 8px;
  }

  .entrance__floor-lamp {
    width: 30px;
    height: 112px;
    bottom: 8%;
  }

  .entrance__floor-lamp--left {
    left: 52px;
  }

  .entrance__floor-lamp--right {
    right: 52px;
  }

  .entrance__photo-guest {
    width: 46px;
    height: 96px;
    bottom: 3%;
  }

  .entrance__photo-guest--left {
    left: 1%;
  }

  .entrance__photo-guest--right {
    right: 1%;
  }

  .entrance__camera-flash {
    bottom: 20%;
  }

  .entrance__camera-flash--left {
    left: 12%;
  }

  .entrance__camera-flash--right {
    right: 12%;
  }

  .entrance__gold-rain {
    inset-inline: 12%;
    opacity: 0.42;
  }

  .entrance__gold-rain i:nth-child(2n) {
    display: none;
  }

  .ambient--mid {
    opacity: 0.62;
  }

  .bokeh--one {
    opacity: 0.42;
    top: 12%;
  }

  .light-leak {
    opacity: 0.18;
    filter: blur(24px);
  }

  .light-leak--two,
  .silk--two,
  .decor-leaf {
    display: none;
  }

  .ambient--front {
    z-index: 2;
    opacity: 0.5;
    transform: translateY(calc(var(--scroll) * -0.055px));
  }

  .side-lantern,
  .float-petal--one,
  .float-petal--four,
  .pearl--two,
  .pearl--four {
    display: none;
  }

  .float-petal {
    opacity: 0.36;
    animation-duration: 22s;
  }

  .float-petal--two {
    left: 84%;
  }

  .float-petal--three {
    left: 18%;
    animation-delay: -10s;
  }

  .pearl {
    opacity: 0.42;
    animation-duration: 15s;
  }

  .pearl--one {
    left: 9%;
    top: 72%;
  }

  .pearl--three {
    left: auto;
    right: 11%;
    bottom: 18%;
  }

  .silk--one {
    opacity: 0.38;
    top: 42%;
  }

  .cover__dust span:nth-child(n + 4) {
    display: none;
  }
}

@media (min-width: 720px) {
  .panel {
    padding-inline: 44px;
  }

  .timer {
    grid-template-columns: repeat(4, 1fr);
  }

  .countdown h2 {
    max-width: 680px;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__quote {
    grid-column: 1 / -1;
  }

  .blessing-form {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.08);
    opacity: 0.52;
  }
}

@keyframes loaderRing {
  0%,
  100% {
    transform: translateY(0) rotate(-10deg);
  }
  50% {
    transform: translateY(-6px) rotate(10deg);
  }
}

@keyframes loaderPearl {
  50% {
    transform: translate(-50%, -8px);
    opacity: 0.62;
  }
}

@keyframes lightLeakDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(10deg);
    opacity: 0.22;
  }
  45% {
    transform: translate3d(9vw, 2vh, 0) rotate(13deg);
    opacity: 0.38;
  }
}

@keyframes hintPulse {
  50% {
    transform: translateY(3px);
    opacity: 0.58;
  }
}

@keyframes floatArt {
  50% {
    transform: translateY(calc(-8px - var(--beat) * 5px));
  }
}

@keyframes softImageTilt {
  0%,
  100% {
    transform: perspective(700px) rotateX(0deg) rotateY(0deg) scale(1);
  }
  50% {
    transform: perspective(700px) rotateX(1.2deg) rotateY(-1.8deg) scale(1.012);
  }
}

@keyframes galleryImageDrift {
  0%,
  100% {
    transform: perspective(760px) translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
  }
  50% {
    transform: perspective(760px) translateY(-7px) rotateX(1.5deg) rotateY(2.2deg) scale(1.018);
  }
}

@keyframes quoteTilt {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(-0.45deg) translateY(-4px);
  }
}

@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 22px);
    opacity: 0;
  }
}

@keyframes drift {
  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

@keyframes soundBars {
  50% {
    height: calc(10px + var(--beat) * 22px);
  }
}

@keyframes revealFloat {
  0% {
    transform: translate(0, 0) scale(0.72) rotate(0deg);
    opacity: 0;
  }
  18% {
    opacity: 0.95;
  }
  100% {
    transform: translate(var(--x), var(--y)) scale(1.18) rotate(240deg);
    opacity: 0;
  }
}

@keyframes datePlaqueReveal {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 28px 76px rgba(70, 78, 66, 0.14), inset 0 0 0 10px rgba(255, 250, 240, 0.38);
  }
  45% {
    transform: translateY(-7px) scale(1.025);
    box-shadow: 0 36px 92px rgba(70, 78, 66, 0.16), 0 0 0 16px rgba(199, 168, 90, 0.08), inset 0 0 0 10px rgba(255, 250, 240, 0.42);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes dateAura {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
  }
  34% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.4);
  }
}

@keyframes dateGoldenRain {
  0% {
    opacity: 0;
    background-position: 18% -90px, 52% -130px, 78% -80px;
  }
  18% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    background-position: 18% 112%, 52% 106%, 78% 116%;
  }
}

@keyframes bokehFloat {
  50% {
    transform: translate3d(18px, -24px, 0) scale(1.08);
    opacity: 0.72;
  }
}

@keyframes fireflyGlow {
  0%,
  100% {
    opacity: 0.38;
    filter: blur(0);
  }
  50% {
    opacity: 0.9;
    filter: blur(0.2px);
  }
}

@keyframes silkDrift {
  50% {
    transform: translateX(28px) rotate(4deg);
  }
}

@keyframes lanternSwing {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes floorLampGlow {
  50% {
    box-shadow:
      0 0 42px rgba(255, 221, 141, 0.72),
      0 0 104px rgba(199, 168, 90, 0.3);
    filter: brightness(1.06);
  }
}

@keyframes jewelGlow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 10px rgba(255, 221, 141, 0.3))
      drop-shadow(0 0 22px rgba(199, 168, 90, 0.16));
    transform: translateY(0);
  }
  50% {
    filter:
      drop-shadow(0 0 16px rgba(255, 241, 198, 0.48))
      drop-shadow(0 0 34px rgba(199, 168, 90, 0.28));
    transform: translateY(-3px);
  }
}

@keyframes goldenRainFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18%, 0) rotate(var(--r));
  }
  14% {
    opacity: 0.72;
  }
  82% {
    opacity: 0.52;
  }
  100% {
    opacity: 0;
    transform: translate3d(12px, 122svh, 0) rotate(var(--r));
  }
}

@keyframes photographerLeanLeft {
  0% {
    opacity: 0;
    transform: translateX(-24px) translateY(8px) rotate(7deg);
  }
  24%,
  82% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translateX(-8px) translateY(4px) rotate(1deg);
  }
}

@keyframes photographerLeanRight {
  0% {
    opacity: 0;
    transform: translateX(24px) translateY(8px) rotate(-7deg) scaleX(-1);
  }
  24%,
  82% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translateX(8px) translateY(4px) rotate(-1deg) scaleX(-1);
  }
}

@keyframes cameraFlash {
  0% {
    opacity: 0;
    transform: scale(0.4);
    box-shadow:
      0 0 0 0 rgba(255, 250, 240, 0),
      0 0 0 rgba(255, 221, 141, 0);
  }
  18% {
    opacity: 0.96;
    transform: scale(1);
    box-shadow:
      0 0 0 34px rgba(255, 250, 240, 0.18),
      0 0 78px rgba(255, 221, 141, 0.72),
      0 0 150px rgba(255, 250, 240, 0.5);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
    box-shadow:
      0 0 0 76px rgba(255, 250, 240, 0),
      0 0 140px rgba(255, 221, 141, 0);
  }
}

@keyframes garlandSway {
  0%,
  100% {
    transform: rotate(-1.4deg);
  }
  50% {
    transform: rotate(1.8deg);
  }
}

@keyframes petalDrift {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.72;
  }
  100% {
    transform: translate3d(-54px, 112vh, 0) rotate(260deg);
    opacity: 0;
  }
}

@keyframes pearlCurve {
  50% {
    transform: translate3d(18px, -28px, 0) scale(1.14);
    opacity: 0.94;
  }
}

@keyframes twinkle {
  50% {
    transform: scale(1.8) rotate(35deg);
    opacity: 0.28;
  }
}

@keyframes sandDrop {
  0% {
    transform: translate(-50%, -4px) scaleY(0.2);
    opacity: 0;
  }
  35% {
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, 24px) scaleY(1);
    opacity: 0;
  }
}

@keyframes guestWalk {
  50% {
    transform: translateX(16px);
  }
}

@keyframes elderArrive {
  50% {
    transform: translateX(4px);
  }
}

@keyframes childRun {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(92px) translateY(-2px);
  }
}

@keyframes familyGather {
  50% {
    transform: translateX(-8px);
  }
}

@keyframes blessingRise {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 0, 0) scale(0.86);
  }
  14% {
    opacity: 0.92;
  }
  58% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--drift, 20px)), calc(-1 * var(--rise, 260px)), 0) scale(0.78);
  }
}

@keyframes coverSpark {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--sx)), calc(-50% + var(--sy))) scale(1.4);
  }
}

@keyframes heroCamera {
  from {
    opacity: 0.82;
    transform: scale(1.06);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
