/* All motion is decorative: content and form remain usable when paused. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}
body:before{content:'';position:fixed;left:0;top:0;width:100%;height:3px;background:linear-gradient(90deg,#8f7142,#ddc99b);transform:scaleX(var(--reading-progress,0));transform-origin:left;z-index:20;pointer-events:none}
h1>.groom-name{font:inherit;line-height:inherit;color:inherit}
h1>em{display:block}
.js .hero-copy>.eyebrow{animation:soft-arrival 1s .1s both}
.js h1>.groom-name{animation:name-arrival 1.4s .2s both}
.js h1>.ampersand{animation:soft-arrival 1.2s .55s both}
.js h1>em{animation:name-arrival 1.5s .65s both}
.js .date-line{animation:soft-arrival 1.2s .9s both}
.js .hero-note{animation:soft-arrival 1.2s 1.05s both}
.js .hero:after{animation:arch-arrival 2s .2s both}
.hero-flowers{translate:0 var(--flower-y,0px);transition:translate .15s linear}
.flowers-left{animation:botanical-left 2s .15s backwards}
.flowers-right{animation:botanical-right 2s .35s backwards}
.envelope{perspective:1000px;transform:translateY(var(--lift,0px)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .6s var(--motion-ease),box-shadow .6s,margin-top .9s var(--motion-ease)}
.envelope:hover{--lift:-5px;transform:translateY(var(--lift)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg))}
.envelope-flap{transition:transform 1.1s var(--motion-ease);backface-visibility:visible}
.envelope.opened .seal{transform:translateY(23px) rotate(-14deg);transition:transform .7s var(--motion-ease)}
.seal:after{content:'';position:absolute;inset:4px;border-radius:50%;background:linear-gradient(115deg,transparent 25%,#fff8 46%,transparent 65%);opacity:0;transform:translateX(-20px);pointer-events:none}
.envelope:hover .seal:after,.envelope:focus-visible .seal:after{animation:seal-light 1.2s both}
.letter{animation:letter-unfold 1.25s var(--motion-ease) both;transform-origin:top center}
.letter>p,.letter>.text-link{animation:soft-arrival .8s .3s both}
.letter>p:nth-child(2){animation-delay:.45s}.letter>p:nth-child(3){animation-delay:.6s}.letter>.text-link{animation-delay:.75s}
.scroll-hint>span{animation:scroll-invitation 2.5s 1.5s 3}
.js .reveal{transition:opacity 1s var(--motion-ease),transform 1.1s var(--motion-ease);transform:translateY(35px)}
.js .reveal.visible{transform:none}
.js .event:nth-child(2){transition-delay:.16s}
.js .swatches.visible figure{animation:fabric-arrival 1s var(--motion-ease) both;animation-delay:calc(var(--order,0)*100ms)}
.satin{transition:transform .75s var(--motion-ease),box-shadow .75s}
.satin:before{content:'';position:absolute;inset:-35%;background:linear-gradient(110deg,transparent 35%,#fff5 50%,transparent 65%);transform:translateX(-100%);z-index:1;pointer-events:none}
.swatches.visible .satin:before{animation:silk-light 2.3s var(--motion-ease) both;animation-delay:calc(.4s + var(--order,0)*100ms)}
.satin:after{transition:transform 1s var(--motion-ease)}
@media(hover:hover) and (pointer:fine){.swatches figure:hover .satin{transform:translateY(-9px) rotate(-4deg);box-shadow:inset 3px 5px 10px #fff5,inset -6px -6px 20px #0003,0 16px 24px #51483225}.swatches figure:hover .satin:after{transform:rotate(-23deg)}.contact-links a:hover span{transform:translateY(-4px)}}
.contact-links span,.submit span,.text-link span{transition:transform .4s var(--motion-ease)}
.submit:hover span,.text-link:hover span{transform:translate(3px,-3px);display:inline-block}
.choice{transition:color .25s}.choice:has(input:checked){color:#8a7245}
.choice input{transition:transform .25s}.choice input:checked{transform:scale(1.12)}
.digit-change{animation:digit-turn .4s var(--motion-ease)}
#form-status:not(:empty){animation:soft-arrival .6s both}
.petal-burst{position:absolute;width:9px;height:15px;background:linear-gradient(130deg,#fff4d9,#ceb789);border-radius:80% 0 80% 30%;left:50%;top:50%;pointer-events:none;z-index:6;animation:petal-flight 1.5s var(--motion-ease) both}
#motion-toggle{display:block;margin:30px auto 0;background:transparent;border:0;border-bottom:1px solid #a9946b66;color:#c5c7b5;font:10px/1.8 Arial,sans-serif;padding:5px 0}
@keyframes soft-arrival{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes name-arrival{from{opacity:0;transform:translateY(35px);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes arch-arrival{from{opacity:0;transform:scale(.96,.9);transform-origin:bottom}to{opacity:1;transform:scale(1)}}
@keyframes botanical-left{from{opacity:0;translate:-35px 30px}to{opacity:.92;translate:0 0}}
@keyframes botanical-right{from{opacity:0;translate:35px 30px}to{opacity:.92;translate:0 0}}
@keyframes letter-unfold{from{opacity:0;transform:translateY(-45px) scale(.94) rotateX(-12deg)}to{opacity:1;transform:none}}
@keyframes seal-light{0%{opacity:0;transform:translateX(-20px)}45%{opacity:.8}100%{opacity:0;transform:translateX(20px)}}
@keyframes scroll-invitation{0%,100%{transform:none}50%{transform:translateY(7px)}}
@keyframes fabric-arrival{from{opacity:0;transform:translateY(24px) scale(.88)}to{opacity:1;transform:none}}
@keyframes silk-light{to{transform:translateX(100%)}}
@keyframes digit-turn{from{transform:translateY(4px);opacity:.6}to{transform:none;opacity:1}}
@keyframes petal-flight{from{opacity:.8;transform:translate(-50%,-50%) scale(.6)}to{opacity:0;transform:translate(var(--petal-x),var(--petal-y)) rotate(var(--petal-rotate)) scale(.3)}}
@media(max-width:760px){.flowers-left,.flowers-right{animation:none}.hero-flowers{translate:0 var(--flower-y,0px)}.js .reveal{transform:translateY(20px)}.js h1>.groom-name,.js h1>em{animation-duration:1s}.js .event:nth-child(2){transition-delay:0}}
/* This class responds immediately to the visitor's pause control or OS setting. */
html.motion-paused{scroll-behavior:auto}
.motion-paused *,.motion-paused *:before,.motion-paused *:after{animation:none!important;transition:none!important}
.motion-paused .reveal{opacity:1;transform:none}
.motion-paused .hero-flowers{translate:0 0}
.motion-paused .envelope{transform:none}
@media(prefers-reduced-motion:reduce){.hero-flowers{translate:0 0}.js .reveal{opacity:1;transform:none}.envelope{transform:none}}
