:root{--ink:#3f563d;--sage:#8b9d7d;--deep:#536c4b;--cream:#fffdf4;--yellow:#f4dc82;--serif:'Cormorant Garamond',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--sans);font-size:16px;background:#f6f3dc;background-image:linear-gradient(90deg,#e8c95a20 50%,transparent 50%),linear-gradient(#e8c95a20 50%,transparent 50%);background-size:68px 68px;min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #ad7b13;outline-offset:6px}a{color:inherit}[hidden]{display:none!important}.ambient{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1;background:radial-gradient(ellipse at 50% 36%,#fffef6ee 0%,#fffef68a 43%,transparent 75%)}.sun{position:absolute;right:-100px;top:10vh;width:330px;height:330px;border-radius:50%;background:#ffeca9;filter:blur(60px);opacity:.45}.cloud{position:absolute;width:260px;height:80px;background:#fffff9;border-radius:50%;filter:blur(15px);opacity:.7}.c1{top:32%;left:-100px;transform:rotate(-15deg)}.c2{right:-80px;top:65%}.petal{position:absolute;color:#b9c2a0;opacity:.6;font-size:25px}.p1{top:25%;left:12%}.p2{top:64%;right:12%;font-size:38px;color:#d5ba61}.p3{bottom:12%;left:22%}.topbar{height:88px;padding:0 6vw;display:flex;justify-content:space-between;align-items:center}.wordmark{font-family:var(--serif);text-decoration:none;font-size:25px}.wordmark i{font-weight:500}.top-note{font-size:11px;letter-spacing:.23em}.cover{min-height:calc(100svh - 88px);display:flex;align-items:center;flex-direction:column;text-align:center;padding:30px 20px 25px;overflow:hidden}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.24em;margin:0 0 18px}.cover h1{font-family:var(--serif);font-size:clamp(42px,5vw,64px);line-height:1.04;font-weight:500;margin:0;letter-spacing:-.035em}em{font-family:var(--serif);font-weight:400}.cover h1 em{color:#728365}.cover-copy{font-size:14px;color:#75806a;margin:18px 0 5px}.envelope{display:block;position:relative;width:min(370px,85vw);height:235px;margin:66px 0 35px;background:none;border:0;perspective:1000px;filter:drop-shadow(0 24px 22px #5c66382a);transform:rotate(-4deg);transition:transform .6s}.envelope:hover{transform:rotate(-1deg) translateY(-5px)}.envelope-back{position:absolute;inset:0;background:#e9e5cd;border-radius:7px;box-shadow:inset 0 0 0 1px #bbba9a55}.letter{position:absolute;left:6%;right:6%;top:5%;height:90%;background:#fffdf6;border:1px solid #d6dbc2;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:20px;transition:transform .8s .6s;box-shadow:0 0 0 5px #fffdf6;font-family:var(--serif);font-size:18px}.letter strong{font-size:25px;font-style:italic;font-weight:400}.letter-heart{margin-top:12px;font-size:27px}.envelope-fold{position:absolute;inset:0;background:linear-gradient(155deg,transparent 49.7%,#e3e2cb 50%) 0 0/50.2% 100% no-repeat,linear-gradient(205deg,transparent 49.7%,#ededd9 50%) 100% 0/50.2% 100% no-repeat;clip-path:polygon(0 0,50% 58%,100% 0,100% 100%,0 100%);border-radius:0 0 7px 7px;z-index:3}.flap{position:absolute;inset:0;background:linear-gradient(170deg,#fbfaed,#dcdfc6);clip-path:polygon(0 0,100% 0,50% 58%);transform-origin:top;transition:transform .75s .15s;z-index:4;filter:drop-shadow(0 2px 1px #5552)}.ribbon-vertical{position:absolute;top:0;bottom:0;left:44%;width:12%;background:linear-gradient(90deg,#718c64,#c0cbaa 45%,#93a780 70%,#6e855e);z-index:5;transition:opacity .3s,transform .6s}.bow{position:absolute;left:50%;top:43%;width:180px;height:140px;transform:translate(-50%,-50%);z-index:6;filter:drop-shadow(0 7px 4px #43512a40);transition:transform .7s,opacity .4s}.loop{position:absolute;top:15px;width:88px;height:67px;background:linear-gradient(150deg,#e1e7cf 2%,#a8bb96 35%,#718d63 66%,#c7d3b0 85%,#829b71);border:1px solid #71865b55}.loop.left{left:0;border-radius:80% 22% 40% 35%;transform:rotate(18deg)}.loop.right{right:0;border-radius:22% 80% 35% 40%;transform:rotate(-18deg)}.tail{position:absolute;top:53px;width:47px;height:89px;background:linear-gradient(90deg,#7e966c,#c1cfa7,#8fa578);clip-path:polygon(0 0,100% 0,90% 100%,45% 80%,0 100%)}.tail.left{left:42px;transform:rotate(16deg)}.tail.right{right:38px;transform:rotate(-21deg)}.knot{position:absolute;left:75px;top:30px;width:33px;height:46px;border-radius:40%;background:linear-gradient(90deg,#7a9067,#c5d2ac 46%,#9baf85 78%,#6f865d);box-shadow:1px 1px 4px #3e4d2b66}.seal{position:absolute;z-index:7;bottom:19px;left:0;right:0;font-family:var(--serif);font-size:19px;letter-spacing:.12em}.seal span{font-size:12px}.primary{background:var(--deep);color:#fffef4;border:1px solid var(--deep);border-radius:50px;min-height:52px;padding:14px 30px;font-size:14px;font-weight:500;box-shadow:0 6px 12px #475b3620;transition:background .2s,transform .2s}.primary:hover{background:#3f5838;transform:translateY(-2px)}.open-button{min-width:230px}.open-button span{margin-left:22px;font-size:19px}.micro{font-size:12px;color:#829076;margin:14px 0 35px}.cover-footer{font-size:10px;letter-spacing:.2em;opacity:.65;margin-top:auto;padding-top:10px}.cover.opening .bow{transform:translate(-50%,-50%) scale(1.2) rotate(12deg);opacity:0}.cover.opening .ribbon-vertical{opacity:0;transform:translateY(50px)}.cover.opening .flap{transform:rotateX(180deg);z-index:1}.cover.opening .letter{transform:translateY(-115px);z-index:2}.cover.opening .open-button,.cover.opening .micro{opacity:0;transition:opacity .3s}.cover.departing{opacity:0;transform:translateY(-20px);transition:opacity .45s,transform .45s}.invitation{max-width:790px;margin:45px auto 0;padding:0 25px;animation:appear 1s both}.paper{position:relative;text-align:center;border:1px solid #a2b18d;border-radius:320px 320px 12px 12px;padding:110px 60px 45px;background:linear-gradient(110deg,#fffef9,#fffdf6);box-shadow:0 20px 65px #5b67331a,0 0 0 9px #fffdf680,0 0 0 10px #bcc8a566}.paper-top{display:block;font-size:10px;letter-spacing:.21em;position:relative;margin-top:5px}.mini-bow{position:absolute;width:126px;height:75px;top:-31px;left:50%;transform:translateX(-50%);filter:drop-shadow(0 4px 3px #4a5b3533)}.mini-bow span,.mini-bow b{position:absolute;width:62px;height:49px;top:0;background:linear-gradient(150deg,#e0e7cd,#8fa77b 55%,#bfd0a6 85%);border:1px solid #80976a}.mini-bow span{left:0;transform:rotate(20deg);border-radius:75% 20% 40% 30%}.mini-bow b{right:0;transform:rotate(-20deg);border-radius:20% 75% 30% 40%}.mini-bow i{position:absolute;left:53px;top:10px;width:23px;height:37px;background:linear-gradient(90deg,#829970,#c0cda8,#81966d);border-radius:40%;box-shadow:0 3px 3px #4b653b33}.duck-stage{height:270px;position:relative;display:flex;justify-content:center;align-items:center;margin:8px -25px 18px;perspective:800px}.duck{width:260px;height:270px;object-fit:contain;position:relative;z-index:2;filter:drop-shadow(0 8px 4px #978d3a13);animation:duckFloat 5s ease-in-out infinite;transform-style:preserve-3d}.duck-shadow{position:absolute;width:145px;height:18px;bottom:2px;background:#8c8e6040;filter:blur(9px);border-radius:50%;animation:shadowPulse 5s ease-in-out infinite}.choice{position:absolute;font-family:var(--serif);font-size:32px;font-style:italic;top:48%;color:#687f57}.boy{left:0;transform:rotate(-8deg)}.girl{right:0;transform:rotate(8deg)}.invitation .eyebrow{font-size:10px;letter-spacing:.22em;margin-bottom:10px}.invitation h1{font-family:var(--serif);font-size:clamp(59px,8vw,85px);line-height:.85;font-weight:400;letter-spacing:-.05em;margin:0 0 25px;outline:0}.invitation h1 em{line-height:1.17}.little-divider{display:flex;align-items:center;justify-content:center;gap:15px;color:#8fa27b;font-size:23px}.little-divider span{height:1px;background:#b9c4a5;width:55px}.message{font-size:16px;line-height:1.9;color:#6a7461;margin:22px auto 27px;max-width:440px}.message em{display:block;font-size:27px;color:var(--ink);line-height:1.2;margin-top:14px}.date{display:flex;justify-content:center;align-items:center;gap:25px;margin:20px 0}.date span{font-size:12px;letter-spacing:.15em;font-weight:600}.date strong{font-family:var(--serif);font-size:110px;line-height:1;font-weight:500;letter-spacing:-.04em}.event-details{display:flex;align-items:center;justify-content:center;gap:35px;border-top:1px solid #d5dcc6;border-bottom:1px solid #d5dcc6;padding:22px 0;margin-bottom:35px}.event-details div{display:flex;flex-direction:column;gap:6px}.event-details div>span,.dress>span{font-size:10px;letter-spacing:.2em;color:#78896b}.event-details strong{font-family:var(--serif);font-weight:500;font-size:26px}.detail-flower{color:#acb796;font-size:22px}.bring{margin:0 -12px 30px}.bring-options{display:grid;grid-template-columns:1fr 1fr;margin-top:18px}.bring-options>div+div{border-left:1px solid #dbe0ce}.gift-icon{color:#9aaa86;font-size:28px;display:block}.bring h2{font-family:var(--serif);font-weight:500;font-size:23px;margin:6px 4px}.bring p{font-size:13px;color:#718164;margin:0 0 4px}.dress{margin:20px auto 30px;padding:19px 20px 16px;background:#f0f2e7;border-radius:4px;max-width:310px}.dress p{font-family:var(--serif);font-size:29px;font-style:italic;margin:4px 0 0}.closing{font-family:var(--serif);font-size:23px;line-height:1.4;color:#6c805e;margin-bottom:0}.actions{display:flex;align-items:center;flex-direction:column;gap:13px;padding:35px 0 10px}.actions .primary,.actions .secondary{width:min(100%,310px)}.secondary{min-height:48px;background:#fffdf6;border:1px solid #a2b18d;border-radius:30px;color:#536c4b;font-size:14px}.secondary:hover{background:#edf0e2}.text-link{border:0;background:none;font-size:12px;color:#738264;padding:5px;text-underline-offset:4px;text-decoration:underline}.actions .text-link:last-child{font-size:11px;opacity:.8}footer{text-align:center;font-family:var(--serif);font-size:17px;padding:20px 0 35px}footer span{display:block;margin-top:6px;color:#a0ad8d}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);background:#3f563d;color:white;padding:13px 22px;border-radius:30px;font-size:14px;opacity:0;pointer-events:none;transition:.25s;z-index:20;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.confetti{position:fixed;inset:0;pointer-events:none;z-index:10;overflow:hidden}.confetti i{position:absolute;top:-30px;width:8px;height:13px;background:#c4cfab;animation:fall 3s ease-in forwards}.noscript{padding:20px;text-align:center}@keyframes appear{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}@keyframes duckFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}@keyframes shadowPulse{50%{transform:scale(.85);opacity:.6}}@keyframes fall{to{transform:translate3d(45px,110vh,0) rotate(620deg);opacity:0}}@media(min-width:900px){.cover{padding-top:40px}.cover .envelope{margin-top:66px}.invitation{margin-top:50px}.paper{padding-top:110px}}@media(max-width:600px){.topbar{height:65px;padding:0 22px}.wordmark{font-size:22px}.top-note{font-size:8px;letter-spacing:.12em}.cover{min-height:calc(100svh - 65px);padding-top:40px}.cover h1{font-size:43px}.cover-copy{font-size:13px}.eyebrow{font-size:10px}.envelope{width:300px;height:199px;margin-top:61px;margin-bottom:32px}.bow{transform:translate(-50%,-50%) scale(.9)}.cover-footer{font-size:8px;letter-spacing:.15em}.invitation{padding:0 19px;margin-top:42px}.paper{padding:80px 23px 32px;border-radius:220px 220px 8px 8px;box-shadow:0 20px 65px #5b67331a,0 0 0 6px #fffdf680,0 0 0 7px #bcc8a566}.paper-top{font-size:8px;letter-spacing:.13em;margin-top:13px}.duck-stage{height:225px;margin:2px -10px 16px}.duck{width:215px;height:225px}.duck-shadow{bottom:0;width:115px}.choice{font-size:26px;top:48%}.boy{left:0}.girl{right:0}.invitation h1{font-size:65px}.invitation .eyebrow{font-size:9px;letter-spacing:.16em}.message{font-size:14px;line-height:1.8;margin:15px auto 20px}.message em{font-size:26px}.date{gap:17px;margin:10px -6px 18px}.date strong{font-size:96px}.date span{font-size:10px;letter-spacing:.09em}.event-details{gap:20px;padding:19px 0;margin-bottom:28px}.event-details strong{font-size:25px}.event-details div>span,.dress>span{font-size:9px}.bring h2{font-size:21px;line-height:1.1;margin:8px 4px}.bring p{font-size:12px}.bring{margin:0 -8px 25px}.closing{font-size:21px}.dress{max-width:250px}.petal{opacity:.4}.p1{left:3%;top:19%}.p2{right:2%}.micro{margin-bottom:28px}}@media(max-width:360px){.cover h1{font-size:37px}.envelope{width:265px;height:175px}.paper{padding-left:17px;padding-right:17px}.invitation h1{font-size:58px}.choice{font-size:23px}.date{gap:12px}.date span{font-size:9px}.bring h2{font-size:19px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.envelope:hover{transform:rotate(-4deg)}.confetti{display:none}}
.envelope-fold{background:linear-gradient(28deg,#e4e5ce 49.7%,#ececda 50%)}
/* The supplied artwork preserves every original typeface, letter and text position. */
.invitation{max-width:790px;margin-top:15px;padding:0 24px}.original-card{position:relative;transform-style:preserve-3d;border-radius:8px;box-shadow:0 30px 65px #53613b33,0 3px 0 #d3d7bc,0 6px 0 #b7c1a0;background:#fff;overflow:hidden;transition:transform .4s}.original-design{display:block;width:100%;height:auto}.original-duck-zone{position:absolute;left:39.1%;top:17.4%;width:22.4%;height:23.5%;background:#fff;display:flex;align-items:center;justify-content:center}.original-duck{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 4px #59633230);animation:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.original-card::after{content:'';position:absolute;inset:0;border-radius:8px;box-shadow:inset 1px 1px 2px #fff8;pointer-events:none}@media(max-width:600px){.invitation{padding:0 10px;margin-top:6px}.original-card{border-radius:4px}}@media(hover:hover){.original-card:hover{transform:perspective(1300px) rotateX(2deg) rotateY(-2deg)}}
/* Soft sage fabric, broad loops and long tails echo the original invitation bow. */
.bow{width:238px;height:210px;top:38%;filter:drop-shadow(0 6px 3px #53644b35);transition:filter .18s,transform .18s;transform:translate(-50%,-44%)}.silk-bow{display:block;width:100%;height:100%;overflow:visible}.bow-loop-left,.bow-loop-right,.bow-knot,.bow-tail-left,.bow-tail-right{transform-box:fill-box;transform-origin:center}.bow-loop-left{transform-origin:100% 70%}.bow-loop-right{transform-origin:0% 70%}.bow-tail-left,.bow-tail-right{transform-origin:50% 0%}.loose-ribbon{opacity:0;stroke-dasharray:260;stroke-dashoffset:260}.ribbon-vertical{width:10%;left:45%;background:linear-gradient(90deg,#93a789,#d4dfc9 38%,#a7bc9b 72%,#8da180);opacity:.9}.envelope{touch-action:manipulation}.envelope.pressing{transform:rotate(-3deg) translateY(3px) scale(.985);filter:drop-shadow(0 10px 9px #5c66382a);transition:transform .12s,filter .12s}.envelope.pressing .bow{transform:translate(-50%,-44%) scale(.95);filter:drop-shadow(0 2px 2px #53644b40)}.open-button{min-width:260px}.cover.untying .bow{opacity:1;transform:translate(-50%,-44%)}.cover.untying .bow-knot{animation:untieKnot 1.55s ease-in-out forwards}.cover.untying .bow-loop-left{animation:untieLeft 1.45s cubic-bezier(.4,0,.2,1) forwards}.cover.untying .bow-loop-right{animation:untieRight 1.55s cubic-bezier(.4,0,.2,1) forwards}.cover.untying .bow-tail-left{animation:pullTailLeft 1.7s ease-in-out forwards}.cover.untying .bow-tail-right{animation:pullTailRight 1.8s ease-in-out forwards}.cover.untying .loose-left{animation:unthread 1.7s .25s ease-in-out forwards}.cover.untying .loose-right{animation:unthread 1.7s .45s ease-in-out forwards}.cover.untying .ribbon-vertical{animation:slipRibbon 1.8s .4s ease-in-out forwards}.cover.untying .open-button,.cover.untying .micro{opacity:0;transition:opacity .3s}.cover.untying.opening .bow{opacity:0;transform:translate(-50%,5%) scale(1);transition:opacity .3s,transform .4s}.cover.opening .flap{transition:transform .85s .05s cubic-bezier(.33,0,.2,1)}.cover.opening .letter{transition:transform .95s .45s cubic-bezier(.2,.65,.2,1)}
@keyframes untieKnot{0%{transform:scale(1)}20%{transform:scale(.86,1.08) rotate(-4deg)}50%{transform:scale(1.2,.85) rotate(8deg);opacity:1}75%{transform:translate(12px,18px) scale(.85,.4);opacity:.5}100%{transform:translate(30px,45px) scale(.3,.15);opacity:0}}@keyframes untieLeft{0%,15%{transform:none;opacity:1}40%{transform:rotate(-12deg) scale(1.06,.9)}72%{transform:translate(-45px,7px) rotate(-25deg) scale(1.2,.32);opacity:.8}100%{transform:translate(-110px,42px) rotate(-40deg) scale(1.5,.06);opacity:0}}@keyframes untieRight{0%,20%{transform:none;opacity:1}45%{transform:rotate(13deg) scale(1.06,.9)}75%{transform:translate(45px,10px) rotate(28deg) scale(1.2,.28);opacity:.8}100%{transform:translate(112px,40px) rotate(40deg) scale(1.5,.06);opacity:0}}@keyframes pullTailLeft{0%,20%{transform:none;opacity:1}50%{transform:translate(-12px,-8px) rotate(18deg)}80%{transform:translate(-90px,24px) rotate(65deg);opacity:.8}100%{transform:translate(-180px,110px) rotate(100deg);opacity:0}}@keyframes pullTailRight{0%,25%{transform:none;opacity:1}55%{transform:translate(18px,-4px) rotate(-18deg)}80%{transform:translate(98px,28px) rotate(-65deg);opacity:.8}100%{transform:translate(180px,125px) rotate(-100deg);opacity:0}}@keyframes unthread{0%{stroke-dashoffset:260;opacity:0}25%{opacity:.8}65%{stroke-dashoffset:0;opacity:.9;transform:translateY(8px)}100%{stroke-dashoffset:-260;opacity:0;transform:translateY(60px)}}@keyframes slipRibbon{0%{transform:none;opacity:.9}45%{transform:translateY(12px) scaleX(.85);opacity:.7}100%{transform:translateY(175px) rotate(12deg) scaleX(.5);opacity:0}}@media(max-width:600px){.bow{width:207px;height:183px;transform:translate(-50%,-44%)}.envelope.pressing .bow{transform:translate(-50%,-44%) scale(.95)}}@media(prefers-reduced-motion:reduce){.cover.untying .bow,.cover.untying .ribbon-vertical{opacity:0}}
:root{--serif:'Pinyon Script','Brush Script MT',cursive;--sans:'Montserrat',Arial,sans-serif}.wordmark{font-size:31px}.wordmark i{font-style:normal}.cover h1{font-family:var(--serif);font-size:clamp(76px,7.5vw,106px);line-height:.76;font-weight:400;letter-spacing:0;margin:12px 0 3px}.cover h1 em{display:inline-block;font-family:inherit;font-style:normal;font-size:1.08em;line-height:1.2;color:#657c58;margin-top:2px}.cover-copy{font-weight:300;letter-spacing:.01em}.letter strong{font-family:var(--serif);font-size:36px;font-style:normal}.letter>span:first-child{font-family:var(--sans);font-size:12px;font-weight:300}.cover-footer{font-weight:400}.seal{font-family:var(--serif);font-size:24px}.primary,.secondary{font-family:var(--sans);font-weight:400}.cover .envelope{margin-top:60px}.top-note{font-size:10px;letter-spacing:.2em}@media(max-width:600px){.cover h1{font-size:79px;line-height:.8}.cover h1 em{line-height:1.15}.cover{padding-top:30px}.cover-copy{font-size:12px;margin-top:15px}.wordmark{font-size:28px}.top-note{font-size:8px;letter-spacing:.1em}.cover .envelope{margin-top:50px}.cover .eyebrow{font-size:9px;letter-spacing:.18em}.cover-footer{font-size:8px;line-height:1.6}}@media(max-width:360px){.cover h1{font-size:70px}}
/* Photographic fabric pieces retain the reference silhouette and woven texture. */
.photo-bow{width:247px;height:224px;top:38%;transform:translate(-50%,-41%);filter:drop-shadow(0 10px 5px #3d513e36);perspective:800px;pointer-events:none}.bow-intact,.photo-piece{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;backface-visibility:hidden}.photo-piece{background:url('assets/lazo-tela-movil.png') center/100% 100% no-repeat;opacity:0;transform-origin:50% 32%;will-change:transform,opacity}.photo-left-loop{clip-path:polygon(0 0,50% 0,43% 25%,43% 36%,20% 52%,0 53%);transform-origin:44% 32%}.photo-right-loop{clip-path:polygon(50% 0,100% 0,100% 55%,78% 53%,55% 37%,55% 24%);transform-origin:55% 32%}.photo-left-tail{clip-path:polygon(43% 36%,50% 39%,50% 100%,0 100%,0 53%,20% 52%);transform-origin:46% 36%}.photo-right-tail{clip-path:polygon(50% 39%,55% 37%,78% 53%,100% 55%,100% 100%,50% 100%);transform-origin:53% 37%}.photo-knot{clip-path:polygon(43% 24%,56% 24%,56% 39%,43% 40%);transform-origin:50% 32%}.cover.untying .photo-bow{transform:translate(-50%,-41%);opacity:1}.cover.untying .bow-intact{animation:clothBase .65s ease-out forwards}.cover.untying .photo-piece{opacity:1}.cover.untying .photo-left-loop{animation:clothLeft 2.65s cubic-bezier(.35,0,.2,1) forwards}.cover.untying .photo-right-loop{animation:clothRight 2.65s cubic-bezier(.35,0,.2,1) forwards}.cover.untying .photo-left-tail{animation:clothTailLeft 2.65s cubic-bezier(.35,0,.2,1) forwards}.cover.untying .photo-right-tail{animation:clothTailRight 2.65s cubic-bezier(.35,0,.2,1) forwards}.cover.untying .photo-knot{animation:clothKnot 2.6s cubic-bezier(.35,0,.2,1) forwards}.cover.untying .ribbon-vertical{animation:clothBand 2.7s ease-in-out forwards}.cover.untying.opening .photo-bow{opacity:0;transform:translate(-50%,5%);transition:opacity .4s,transform .6s}.envelope.pressing .photo-bow{transform:translate(-50%,-41%) scale(.975);filter:drop-shadow(0 5px 3px #3d513e40)}.ribbon-vertical{background:linear-gradient(90deg,#98ab90,#becdb4 35%,#acbfa1 70%,#8ea084);box-shadow:inset 1px 0 #f5f7ec40,inset -1px 0 #6c825e40}.ribbon-vertical::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 1px,#fff2 1px 2px),repeating-linear-gradient(90deg,transparent 0 1px,#31472412 1px 2px);opacity:.45}.envelope-back,.envelope-fold,.flap{background-image:linear-gradient(135deg,#fffdf1,#e7e6d1);box-shadow:inset 0 0 2px #7c806b33}.envelope-fold{background-image:linear-gradient(28deg,#e3e3ce 49.7%,#f1f0e0 50%)}
@keyframes clothBase{0%,40%{opacity:1}100%{opacity:0}}@keyframes clothLeft{0%,12%{transform:none}30%{transform:rotate(-4deg) scale(1.015,.98)}52%{transform:translate(-12px,4px) rotate(-9deg) scale(1.08,.76);opacity:1}77%{transform:translate(-65px,13px) rotate(-17deg) scale(1.12,.3);opacity:1}100%{transform:translate(-165px,50px) rotate(-28deg) scale(1.3,.07);opacity:0}}@keyframes clothRight{0%,17%{transform:none}33%{transform:rotate(4deg) scale(1.015,.98)}55%{transform:translate(14px,5px) rotate(10deg) scale(1.08,.76);opacity:1}80%{transform:translate(70px,18px) rotate(18deg) scale(1.12,.3);opacity:1}100%{transform:translate(170px,55px) rotate(29deg) scale(1.3,.07);opacity:0}}@keyframes clothTailLeft{0%,14%{transform:none}37%{transform:translate(-5px,-3px) rotate(5deg)}62%{transform:translate(-18px,3px) rotate(23deg);opacity:1}82%{transform:translate(-78px,40px) rotate(53deg);opacity:.9}100%{transform:translate(-160px,115px) rotate(78deg);opacity:0}}@keyframes clothTailRight{0%,18%{transform:none}40%{transform:translate(6px,-2px) rotate(-6deg)}65%{transform:translate(20px,6px) rotate(-24deg);opacity:1}85%{transform:translate(82px,47px) rotate(-55deg);opacity:.9}100%{transform:translate(170px,125px) rotate(-80deg);opacity:0}}@keyframes clothKnot{0%,12%{transform:none}30%{transform:scale(.97,1.025)}50%{transform:scale(1.08,.92) rotate(3deg);opacity:1}74%{transform:translate(4px,7px) scale(1.2,.6);opacity:1}100%{transform:translate(24px,47px) rotate(12deg) scale(.6,.2);opacity:0}}@keyframes clothBand{0%,40%{transform:none;opacity:.9}65%{transform:translateY(10px) scaleX(.92);opacity:.8}100%{transform:translateY(165px) rotate(8deg) scaleX(.6);opacity:0}}
body{padding-bottom:env(safe-area-inset-bottom);-webkit-text-size-adjust:100%}.topbar{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}.primary,.secondary,.text-link{touch-action:manipulation}.actions .text-link{min-height:44px;display:flex;align-items:center;justify-content:center}.original-card{content-visibility:auto;contain-intrinsic-size:auto 1038px}.original-design{image-rendering:auto}.envelope,.cover{user-select:none;-webkit-user-select:none}.cover-footer{padding-bottom:env(safe-area-inset-bottom)}@media(max-width:600px){.photo-bow{width:220px;height:200px;top:38%;transform:translate(-50%,-41%)}.cover{min-height:calc(100svh - 65px);padding-bottom:16px}.envelope{width:min(300px,82vw);height:auto;aspect-ratio:300/199}.cover .envelope{margin-top:42px;margin-bottom:28px}.cover .open-button{min-height:52px;min-width:270px;font-size:12px}.actions .primary,.actions .secondary{min-height:52px}.actions{gap:8px}.original-card{contain-intrinsic-size:auto 520px}.photo-piece{will-change:auto}.micro{font-size:11px}.invitation{padding:0 8px}}@media(max-width:360px){.photo-bow{width:195px;height:177px}.cover .open-button{min-width:250px}.cover .envelope{margin-top:38px}}@media(max-height:740px) and (max-width:600px){.cover{padding-top:16px}.cover h1{font-size:66px}.cover .eyebrow{margin-bottom:12px}.cover-copy{margin-top:8px}.cover .envelope{margin-top:30px;margin-bottom:20px;width:270px}.photo-bow{width:200px;height:182px}.micro{margin-bottom:18px}.cover-footer{padding-top:6px}}@media(prefers-reduced-motion:reduce){.cover.untying .photo-bow{opacity:0}}
/* One cloth end releases first; the second follows with a soft trailing motion. */
.cover.untying .photo-left-loop{animation:releaseLeftLoop 3.05s cubic-bezier(.35,0,.18,1) both}.cover.untying .photo-right-loop{animation:releaseRightLoop 3.05s cubic-bezier(.35,0,.18,1) both}.cover.untying .photo-left-tail{animation:releaseLeftTail 3.05s cubic-bezier(.35,0,.18,1) both}.cover.untying .photo-right-tail{animation:releaseRightTail 3.05s cubic-bezier(.35,0,.18,1) both}.cover.untying .photo-knot{animation:releaseKnot 3.05s cubic-bezier(.35,0,.18,1) both}.cover.untying .bow-intact{animation:clothBase .62s ease-out both}.cover.untying .ribbon-vertical{animation:releaseBand 3.05s cubic-bezier(.35,0,.18,1) both}.photo-piece{will-change:transform,opacity;transform-style:preserve-3d}.photo-bow{filter:drop-shadow(0 9px 5px #3d513e32)}.cover.untying .photo-bow{transition:filter 1.4s;filter:drop-shadow(0 13px 7px #3d513e24)}.cover.untying.opening .letter{transition:none;animation:letterReveal 1.25s .08s cubic-bezier(.2,.65,.25,1) both}.cover.untying.opening .flap{transition:none;animation:flapReveal .88s cubic-bezier(.35,0,.2,1) both}.cover.departing{transition:none;animation:coverFade .32s ease-in-out both}.invitation{animation:invitationReveal .8s cubic-bezier(.2,.65,.2,1) both}.cover.untying .seal{opacity:0;transition:opacity .55s .6s}.envelope.pressing{transform:rotate(-3.5deg) translateY(2px) scale(.99);transition:transform .16s,filter .16s}@media(hover:none){.envelope:hover{transform:rotate(-4deg)}.envelope.pressing:hover{transform:rotate(-3.5deg) translateY(2px) scale(.99)}}
@keyframes releaseLeftLoop{0%,12%{transform:none;opacity:1}28%{transform:translate(-2px,1px) rotate(-3deg) scale(1.02,.98)}48%{transform:translate(-14px,4px) rotate(-8deg) scale(1.05,.85)}68%{transform:translate(-48px,9px) rotate(-16deg) scale(1.08,.55);opacity:1}86%{transform:translate(-100px,23px) rotate(-23deg) scale(1.11,.29);opacity:.72}100%{transform:translate(-150px,53px) rotate(-31deg) scale(1.12,.16);opacity:0}}@keyframes releaseRightLoop{0%,26%{transform:none;opacity:1}40%{transform:translate(2px,1px) rotate(2deg) scale(1.02,.99)}59%{transform:translate(12px,4px) rotate(7deg) scale(1.04,.88)}76%{transform:translate(46px,11px) rotate(15deg) scale(1.07,.58);opacity:1}91%{transform:translate(99px,28px) rotate(24deg) scale(1.1,.32);opacity:.7}100%{transform:translate(150px,54px) rotate(31deg) scale(1.12,.18);opacity:0}}@keyframes releaseLeftTail{0%,8%{transform:none;opacity:1}26%{transform:translate(-3px,7px) rotate(7deg)}43%{transform:translate(-14px,12px) rotate(18deg)}62%{transform:translate(-39px,15px) rotate(34deg) rotateX(8deg);opacity:1}80%{transform:translate(-90px,30px) rotate(52deg) rotateX(13deg);opacity:.94}100%{transform:translate(-160px,88px) rotate(74deg) rotateX(20deg);opacity:0}}@keyframes releaseRightTail{0%,23%{transform:none;opacity:1}40%{transform:translate(3px,6px) rotate(-5deg)}58%{transform:translate(13px,11px) rotate(-16deg)}75%{transform:translate(39px,17px) rotate(-32deg) rotateX(8deg);opacity:1}88%{transform:translate(92px,38px) rotate(-54deg) rotateX(13deg);opacity:.94}100%{transform:translate(160px,95px) rotate(-75deg) rotateX(20deg);opacity:0}}@keyframes releaseKnot{0%,10%{transform:none;opacity:1}28%{transform:scale(.98,1.035) rotate(-2deg)}46%{transform:scale(1.07,.95) rotate(2deg)}65%{transform:translate(1px,3px) scale(1.14,.82);opacity:1}83%{transform:translate(5px,11px) scale(1.13,.66);opacity:.86}100%{transform:translate(14px,35px) rotate(8deg) scale(1.05,.5);opacity:0}}@keyframes releaseBand{0%,47%{transform:none;opacity:.9}65%{transform:translateY(7px) scaleX(.97);opacity:.85}83%{transform:translateY(48px) rotate(3deg) scaleX(.89);opacity:.6}100%{transform:translateY(150px) rotate(7deg) scaleX(.78);opacity:0}}@keyframes flapReveal{0%{transform:rotateX(0deg);z-index:4}48%{z-index:4}49%,100%{z-index:1}100%{transform:rotateX(178deg)}}@keyframes letterReveal{0%,25%{transform:translateY(0) scale(1)}100%{transform:translateY(-115px) scale(1.025)}}@keyframes coverFade{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-12px)}}@keyframes invitationReveal{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.cover.untying .photo-bow,.cover.untying .ribbon-vertical{opacity:0}}
/* The animation now redraws continuous fabric ribbons, rather than moving image cutouts. */
.ribbon-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0}.cover.untying .photo-piece{display:none!important}.cover.untying .bow-intact{animation:none!important}.cover.untying .ribbon-vertical{animation:none!important}.cover.untying .photo-bow{filter:drop-shadow(0 8px 4px #3d513e26)}.cover.untying.opening .photo-bow{transition:transform .8s cubic-bezier(.4,0,.3,1),opacity .75s .2s;transform:translate(-50%,22%);opacity:0}
.original-duck-zone{overflow:hidden}.duck-expression{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 8px 4px #59633230)}
