@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;1,400&family=Lora:ital,wght@0,400;0,500;1,400&family=Pinyon+Script&display=swap');
:root{--wine:#73142e;--ink:#661b2e;--gold:#bc9b60;--ease:cubic-bezier(.22,.7,.2,1)}*{box-sizing:border-box}body{margin:0;background:#fcf6ef;color:var(--ink);font-family:'Cormorant Garamond',Georgia,serif;background-image:radial-gradient(ellipse at 8% 35%,#f0d8db55,transparent 48%),radial-gradient(ellipse at 92% 15%,#ecdfbe40,transparent 52%)}body:before{content:'';position:fixed;inset:12px;border:1px solid #b28f7c33;border-radius:160px 160px 4px 4px;pointer-events:none;z-index:12}main{position:relative;overflow:hidden;min-height:100svh;text-align:center;padding:38px 20px 30px}svg{overflow:hidden}header{position:relative;z-index:2}h1{font-size:46px;font-weight:400;line-height:1.1;margin:12px 0 8px}h1 em{font:1.45em 'Great Vibes','Snell Roundhand',cursive;margin-left:5px}.bow{display:block;width:175px;height:37px;margin:18px auto 0}.scene{position:relative;max-width:680px;height:355px;margin:0 auto;transition:height 2.1s var(--ease)}.closed-envelope{position:absolute;width:490px;aspect-ratio:1.6;bottom:10px;left:50%;transform:translateX(-50%);perspective:1200px;isolation:isolate;filter:drop-shadow(0 20px 18px #59182a20);z-index:5;transition:opacity .8s,visibility 0s}.closed-art,.flap-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.closed-art{z-index:2;transition:opacity .15s}.envelope-inside{position:absolute;inset:3%;background:linear-gradient(125deg,#601127,#39101c);border-radius:3px;z-index:1}.moving-flap{position:absolute;inset:0;clip-path:polygon(0 0,100% 0,100% 8%,50% 77%,0 8%);transform-origin:top;z-index:4;backface-visibility:hidden;transition:transform 1.55s var(--ease)}.envelope-pocket{position:absolute;inset:3%;background:linear-gradient(145deg,#7e243b,#5b1026);clip-path:polygon(0 0,50% 70%,100% 0,100% 100%,0 100%);z-index:3;opacity:0;transition:opacity .2s}.wax-seal{position:absolute;z-index:6;width:19%;height:auto;aspect-ratio:1;left:40.5%;top:61%;filter:drop-shadow(1px 4px 3px #28081450);transition:transform .65s var(--ease),opacity .45s .2s}.envelope-message{position:absolute;z-index:5;top:44%;left:0;right:0;color:#f8e7d1;font:24px 'Great Vibes',cursive;transition:opacity .5s}#open{position:absolute;inset:0;width:100%;border:0;background:transparent;cursor:pointer;z-index:8;border-radius:5px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit}button:focus-visible{outline:3px solid var(--gold);outline-offset:7px}.closed-envelope:hover .wax-seal{filter:brightness(1.07) drop-shadow(1px 4px 4px #28081450)}.opening .wax-seal{transform:translateY(-18px) rotate(-12deg) scale(1.08);opacity:0}.opening .envelope-message{opacity:0}.unsealed .closed-art{opacity:0}.unsealed .envelope-pocket{opacity:1}.unsealed .moving-flap{transform:rotateX(176deg)}.revealing .closed-envelope{opacity:0;visibility:hidden;transition:opacity .9s .75s,visibility 0s 1.65s}.letter{position:absolute;z-index:3;width:560px;min-height:780px;height:auto;bottom:75px;left:50%;transform:translate(-50%,230px) scale(.8);opacity:0;border-style:solid;border-width:110px 75px 105px;border-image-source:url('assets/lace-paper-hq.png');border-image-slice:350 245 350 245 fill;border-image-repeat:stretch round;filter:drop-shadow(0 9px 12px #6c402d15);scroll-margin-top:28px;transition:opacity 1.1s,transform 2.2s var(--ease)}.letter:focus{outline:none}.letter-inner{padding:3px 2px 8px}.eyebrow{font:8px/1.7 Arial,sans-serif;letter-spacing:2px;color:#9a6c64;margin:0 0 15px!important}h2{font-weight:400;font-size:47px;line-height:1.1;margin:0}h2 em{font-family:'Great Vibes',cursive;font-size:1.25em;margin-left:3px}.birthday{font-size:19px!important;font-style:italic;margin:8px 0 0!important;color:#8e555c}.tiny-heart{display:block;font-size:26px;color:#ad7978;margin:13px 0 9px}.letter p{font-size:19px;line-height:1.5;margin:14px 0}.letter .salutation{font-size:28px;font-style:italic;margin:8px 0 16px}strong{font-weight:600}.date-ribbon{position:relative;display:flex;justify-content:center;align-items:center;gap:11px;font-size:23px;white-space:nowrap;margin:27px 0 23px;padding:14px 0}.date-ribbon:before,.date-ribbon:after{content:'';position:absolute;left:15%;right:15%;height:1px;background:linear-gradient(90deg,transparent,#b99659aa,transparent)}.date-ribbon:before{top:0}.date-ribbon:after{bottom:0}.date-dot{color:#b99a65}dl{margin:14px 0}dl div{display:flex;justify-content:center;align-items:baseline;gap:12px}dt{font:8px Arial,sans-serif;letter-spacing:1px;text-transform:uppercase}dd{margin:0;overflow-wrap:anywhere;font-size:16px}.signature{font-style:italic;margin-top:16px!important}.signature em{font:40px 'Great Vibes',cursive;display:block;margin:7px 0 0}.envelope-base{position:absolute;z-index:1;bottom:0;left:50%;width:550px;height:290px;overflow:hidden;transform:translate(-50%,25px);opacity:0;filter:drop-shadow(0 12px 12px #6c263118);transition:opacity 1.2s,transform 2s var(--ease)}.envelope-base img{position:absolute;width:100%;height:auto;bottom:0;left:0}.revealing .scene{height:990px}.revealing .letter{opacity:1;transform:translate(-50%,0) scale(1)}.revealing .envelope-base{opacity:1;transform:translate(-50%,0)}.gifts{position:absolute;z-index:6;left:calc(50% - 315px);bottom:-4px;width:185px;height:auto;opacity:0;transform:translateY(24px) rotate(-3deg);filter:sepia(.08) saturate(.78) drop-shadow(0 6px 5px #5e23331a);pointer-events:none;transition:opacity 1.2s,transform 1.8s var(--ease)}.festive-balloons{position:absolute;z-index:6;width:145px;aspect-ratio:595/955;height:auto;right:calc(50% - 315px);bottom:10px;opacity:0;transform:translateY(30px) rotate(5deg);filter:drop-shadow(0 6px 5px #62162a15);pointer-events:none;transition:opacity 1.4s,transform 2s var(--ease)}.opened .gifts{opacity:1;transform:translateY(0) rotate(-3deg)}.opened .festive-balloons{opacity:1;transform:translateY(0) rotate(5deg)}.actions{position:relative;z-index:7;min-height:60px;margin-top:25px}#hint{font:9px/1.5 Arial,sans-serif;letter-spacing:1.8px;color:#96656a;margin:0;text-transform:uppercase}.hint-heart{display:block;font:23px Georgia,serif;margin-top:12px;color:#b98f8b}#again{background:#fffaf4;border:1px solid #c19b9e;border-radius:30px;padding:13px 23px;font-size:16px;min-height:48px;cursor:pointer;touch-action:manipulation;box-shadow:0 4px 16px #711c3208}#again:hover{background:#f6e9e8}footer{margin-top:18px;opacity:0;visibility:hidden;transition:opacity 1s}footer .cake{display:block;width:70px;height:86px;margin:0 auto 14px}footer p{font-size:15px;font-style:italic;color:#987471}footer>span{font:8px Arial,sans-serif;letter-spacing:2.5px;color:#aa8582}.opened footer{opacity:1;visibility:visible}.corner{position:absolute;color:#bc929144;font:34px 'Great Vibes',cursive;pointer-events:none}.corner-a{top:270px;left:8%;transform:rotate(-20deg)}.corner-b{top:390px;right:8%;transform:rotate(18deg);font-size:26px}.spark{position:absolute;color:#bda16c88;font-size:23px;pointer-events:none;transition:opacity .8s}.s1{left:8%;bottom:260px}.s2{right:8%;bottom:25px;font-size:17px}.opening .spark{opacity:0}.gold-dust{position:absolute;inset:30px 0 70px;pointer-events:none;z-index:7;overflow:hidden}.gold-dust i{position:absolute;left:var(--x);top:72%;width:3px;height:5px;background:#c7a460;border-radius:1px;opacity:0}.opened .gold-dust i{animation:glimmer 3s var(--ease) calc(var(--i)*.07s) both}@keyframes glimmer{0%{opacity:0;transform:translate(0,0) rotate(0)}20%{opacity:.55}100%{opacity:0;transform:translate(18px,-300px) rotate(220deg)}}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}[hidden]{display:none!important}
@media(max-width:600px){body:before{inset:9px;border-radius:110px 110px 3px 3px}main{padding:max(30px,env(safe-area-inset-top)) 12px max(24px,env(safe-area-inset-bottom))}h1{font-size:30px;margin:8px 0 0}h1 em{display:block;font-size:1.95em;line-height:1.1;margin:7px 0 0}.bow{width:146px;height:31px;margin:13px auto 0}.scene{height:264px}.closed-envelope{width:89vw;bottom:8px}.envelope-message{font-size:19px}.letter{width:100vw;max-width:480px;min-height:785px;border-width:81px 48px 78px;bottom:70px}.letter-inner{padding:9px 5px 12px}.letter .eyebrow{font-size:6px;letter-spacing:1.45px;margin-bottom:12px!important}.letter h2{font-size:40px}.letter .birthday{font-size:16px!important}.letter p{font-size:18px;line-height:1.5;margin:14px 0}.letter .salutation{font-size:29px;margin:8px 0 14px}.tiny-heart{font-size:24px;margin:12px 0 8px}.date-ribbon{font-size:22px;gap:9px;margin:25px 0 22px;padding:14px 0}.signature em{font-size:38px}.letter .signature{margin-top:15px!important}.revealing .scene{height:925px}.envelope-base{width:99vw;max-width:470px;height:235px}.gifts{width:30vw;max-width:140px;left:-3px;bottom:-2px}.festive-balloons{width:25vw;max-width:118px;right:-3px;bottom:9px}.actions{margin-top:21px;min-height:52px}footer{margin-top:15px}footer .cake{width:58px;height:72px}footer p{font-size:13px}.corner-a{left:5%;top:247px;font-size:24px}.corner-b{right:5%;top:330px;font-size:22px}.s1{left:0;bottom:210px;font-size:19px}.s2{right:0;bottom:0}.gold-dust{inset-inline:5px}}
@media(max-width:360px){.letter{border-width:75px 41px 74px;min-height:805px}.letter-inner{padding-inline:4px}.letter p{font-size:17px}.letter h2{font-size:37px}.letter .birthday{font-size:15px!important}.date-ribbon{font-size:20px;gap:8px}.revealing .scene{height:945px}.signature em{font-size:35px}.envelope-message{font-size:17px}.scene{height:240px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}.gold-dust{display:none}}
.wax-seal{width:22%;left:39%;top:68%;clip-path:circle(39% at 50% 50%)}.moving-flap{clip-path:polygon(0 0,100% 0,100% 5%,50% 88%,0 5%)}@media(max-width:600px){.scene{height:230px}}@media(max-width:360px){.scene{height:215px}}
/* Het kant en de papierstructuur blijven zichtbaar tijdens de overgang. */
.envelope-inside{background:#50142a url('assets/envelope-luxe.png') center/100% 100%;filter:brightness(.6);inset:3%}.envelope-pocket{background:#701b32 url('assets/envelope-luxe.png') center/100% 100%;inset:2%}.moving-flap{transition-duration:1.25s}.revealing .closed-envelope{transition:opacity .65s .25s,visibility 0s .9s}.revealing .scene{transition-duration:1.9s}.letter{transition:opacity .95s .2s,transform 1.9s var(--ease) .15s}
/* Kleine versieringen overlappen bewust alleen de onderste envelophoeken. */
.scene>.gifts{width:178px;max-width:none;left:calc(50% - 307px);bottom:-3px}.scene>.festive-balloons{width:118px;max-width:none;right:calc(50% - 302px);bottom:3px}.sound-control{position:relative;z-index:8;display:flex;justify-content:center;margin:22px auto 12px}#music-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;padding:10px 19px;border:1px solid #bc96996b;border-radius:30px;background:linear-gradient(125deg,#fffaf4,#f7e9e6);box-shadow:0 3px 15px #72263b08;color:#80404e;font:italic 16px 'Cormorant Garamond',Georgia,serif;cursor:pointer;touch-action:manipulation}#music-toggle:hover{background:#f4e5e1}.music-note{font:22px Georgia,serif;color:#a3814e}.music-bars{display:flex;align-items:center;gap:2px;height:15px}.music-bars i{display:block;width:2px;height:4px;background:#ae8650;border-radius:3px}.music-bars i:nth-child(2){height:9px}.music-bars i:nth-child(3){height:6px}.is-playing .music-bars i{animation:musicPulse .8s ease-in-out infinite alternate}.is-playing .music-bars i:nth-child(2){animation-delay:-.4s}.is-playing .music-bars i:nth-child(3){animation-delay:-.2s}@keyframes musicPulse{from{transform:scaleY(.5)}to{transform:scaleY(1.7)}}.sound-control+.actions{margin-top:14px}.envelope-pocket{background-size:310% 310%;background-position:10% 90%}
@media(max-width:600px){.scene>.gifts{width:31vw;max-width:140px;left:-1px;bottom:-1px}.scene>.festive-balloons{width:22vw;max-width:100px;right:-1px;bottom:3px}.sound-control{margin-top:21px}#music-toggle{font-size:16px;padding:10px 17px}.sound-control+.actions{margin-top:12px}}@media(prefers-reduced-motion:reduce){.music-bars i{animation:none!important}}

/* Zegel iets hoger op de punt van de flap. */
.wax-seal{top:64.5%}
/* Klassieke uitnodigingstypografie: Bodoni, Lora en een persoonlijk handschrift. */
body{font-family:'Lora',Georgia,serif}h1,h2{font-family:'Bodoni Moda',Georgia,serif;font-weight:400}h1{font-size:39px;letter-spacing:-.8px}h1 em{font-family:'Pinyon Script','Snell Roundhand',cursive;font-size:1.9em;letter-spacing:0}.letter h2{font-size:43px;letter-spacing:-1px}.letter h2 em{font-family:'Bodoni Moda',Georgia,serif;font-size:1.1em;font-style:italic}.letter p{font-family:'Lora',Georgia,serif;font-size:16px;line-height:1.7;margin:16px 0}.letter .salutation{font-family:'Pinyon Script',cursive;font-size:36px;line-height:1.25;font-style:normal;margin:13px 0 18px}.letter .birthday{font-family:'Lora',Georgia,serif;font-size:15px!important;line-height:1.7}.letter .eyebrow{font-family:Arial,sans-serif;font-size:7px;line-height:1.8}.signature em{font-family:'Pinyon Script',cursive;font-size:44px;font-style:normal}.date-ribbon{font-family:'Bodoni Moda',Georgia,serif;font-size:23px;gap:12px}.letter .signature{font-size:15px;line-height:1.6}.envelope-message{font-family:'Pinyon Script',cursive;font-size:26px}#music-toggle{font-family:'Lora',Georgia,serif;font-size:13px}.revealing .scene{height:var(--scene-open-height,1000px)}#again{font-family:'Lora',Georgia,serif;font-size:13px}.hint-heart{font-family:Georgia,serif}footer p{font-family:'Lora',Georgia,serif;font-size:12px;line-height:1.8}.letter-inner{padding-bottom:12px}
@media(max-width:600px){h1{font-size:27px;letter-spacing:-.4px}h1 em{font-size:2.3em;line-height:1.1;margin-top:6px}.letter h2{font-size:37px;letter-spacing:-.8px}.letter p{font-size:15.5px;line-height:1.75;margin:16px 0}.letter .salutation{font-size:35px}.letter .birthday{font-size:13px!important}.letter .eyebrow{font-size:6px;letter-spacing:1.35px}.letter .signature{font-size:14px}.signature em{font-size:42px}.date-ribbon{font-size:22px;gap:10px}.envelope-message{font-size:21px}.letter-inner{padding-inline:7px}#music-toggle{font-size:12px}#again{font-size:12px}footer p{font-size:11px}}
@media(max-width:360px){.letter p{font-size:15px;line-height:1.7}.letter h2{font-size:34px}.letter .birthday{font-size:12px!important}.letter .salutation{font-size:32px}.signature em{font-size:39px}.date-ribbon{font-size:20px;gap:8px}.letter-inner{padding-inline:4px}}
/* Tijdelijke feestelijke proef: geen interactie met de inhoud. */
.celebration-overlay{position:fixed;inset:0;z-index:25;pointer-events:none;overflow:hidden}.party-piece{position:absolute;left:var(--x);top:-15px;width:5px;height:9px;background:var(--c);opacity:0;border-radius:1px;animation:partyFall var(--d) ease-in var(--delay) both}.party-piece:nth-child(3n){width:4px;height:4px;border-radius:50%}@keyframes partyFall{0%{opacity:0;transform:translateY(-20px) rotate(0)}12%{opacity:.7}85%{opacity:.65}100%{opacity:0;transform:translate(var(--drift),75vh) rotate(260deg)}}@media(prefers-reduced-motion:reduce){.celebration-overlay{display:none}}

.gold-dust{display:none}.party-piece{width:4px;height:7px}.party-piece:nth-child(3n){width:3px;height:3px}@keyframes partyFall{0%{opacity:0;transform:translateY(-15px) rotate(0)}14%{opacity:.6}70%{opacity:.45}100%{opacity:0;transform:translate(var(--drift),52vh) rotate(230deg)}}

/* Grotere feestconfetti in het bestaande goud-, bordeaux- en blushpalet. */
.party-piece{width:clamp(8px,.75vw,11px);height:clamp(13px,1.1vw,17px);border-radius:2px;box-shadow:0 1px 2px #73432612}.party-piece:nth-child(3n){width:clamp(6px,.55vw,8px);height:clamp(6px,.55vw,8px);border-radius:50%}.party-piece:nth-child(4n){width:6px;height:18px;border-radius:1px}@keyframes partyFall{0%{opacity:0;transform:translateY(-18px) rotate(0)}12%{opacity:.9}70%{opacity:.78}100%{opacity:0;transform:translate(var(--drift),58vh) rotate(300deg)}}
/* Een persoonlijke, goudgedrukte H en één glansje bij het laden. */
.wax-personal{position:absolute;left:39%;top:64.5%;width:22%;aspect-ratio:1;z-index:6;transition:transform .65s var(--ease),opacity .45s .2s}.wax-personal .wax-seal{position:absolute;inset:0;top:0;left:0;width:100%;height:100%;transition:none}.wax-monogram{position:absolute;inset:22%;display:grid;place-items:center;border-radius:50%;background:radial-gradient(ellipse at 32% 20%,#ead18b,#c39a4c 62%,#b58b3d);box-shadow:inset 1px 1px 2px #fff0b299,inset -1px -1px 2px #8b672d80;color:#906a30;font:clamp(24px,4.3vw,38px)/1 'Pinyon Script',cursive;text-shadow:1px 1px 0 #f5dea4,-.5px -.5px 0 #8d662b}.seal-glint{position:absolute;inset:11%;border-radius:50%;overflow:hidden;pointer-events:none}.seal-glint:after{content:'';position:absolute;inset:-30% auto -30% -80%;width:45%;background:linear-gradient(90deg,transparent,#fff4c58c,transparent);transform:rotate(-25deg);animation:sealShine 1.05s ease-in-out .8s 1 both}@keyframes sealShine{0%{transform:translateX(0) rotate(-25deg);opacity:0}15%{opacity:.8}85%{opacity:.8}100%{transform:translateX(520%) rotate(-25deg);opacity:0}}.opening .wax-personal{transform:translateY(-18px) rotate(-12deg) scale(1.08);opacity:0}.opening .wax-personal .wax-seal{transform:none;opacity:1}
.countdown{margin:0 auto 23px;text-align:center}.letter .countdown-caption{font:italic 11px/1.5 'Lora',Georgia,serif;color:#a17c68;margin:0 0 11px}.countdown-units{display:flex;align-items:center;justify-content:center;gap:13px}.countdown-units>span{min-width:42px;display:grid;gap:3px}.countdown-units strong{font:26px/1.2 'Bodoni Moda',Georgia,serif;color:#804253}.countdown-units small{font:7px/1.5 Arial,sans-serif;letter-spacing:1.1px;text-transform:uppercase;color:#a2846c}.countdown-units>b{font-size:15px;font-weight:400;color:#bd9e70}.letter .countdown-today{font:italic 14px/1.6 'Lora',serif;color:#9a6a71}
.rsvp{max-width:350px;margin:24px auto 10px;padding:0 12px}.rsvp-open,.rsvp-submit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px;border-radius:30px;border:1px solid #721b35;background:linear-gradient(135deg,#8a2e47,#6d1730);color:#fff5e4;box-shadow:0 4px 16px #75283d14;font:14px 'Lora',Georgia,serif;cursor:pointer;touch-action:manipulation}.rsvp-open:hover,.rsvp-submit:hover{background:#842641}#rsvp-form{margin:18px auto 0;padding:21px 17px;background:#fff9f0cc;border:1px solid #c9ac7c66;border-radius:18px}#rsvp-form label{display:block;font:14px/1.7 'Lora',Georgia,serif;margin-bottom:12px}#guest-name{width:100%;font:16px/1.5 'Lora',Georgia,serif;border:1px solid #bc959c;border-radius:9px;background:#fffcf6;color:#6b1b31;padding:12px;min-height:48px}#guest-name:focus-visible{outline:2px solid #b99b60;outline-offset:3px}.rsvp-note{font:11px/1.7 'Lora',Georgia,serif;color:#a07c80;margin:13px 0 18px}.rsvp-submit{font-size:12px;min-width:150px}.rsvp-submit:disabled{opacity:.6;cursor:wait}#rsvp-feedback{font:13px/1.8 'Lora',Georgia,serif;color:#8a5260;margin:12px 0;overflow-wrap:anywhere}#rsvp-feedback:empty{display:none}@media(max-width:600px){.countdown-units{gap:11px}.countdown-units strong{font-size:24px}.letter .countdown-caption{font-size:10px}.countdown{margin-bottom:20px}.rsvp{margin-top:22px}.rsvp-open{font-size:13px;padding:12px 24px}}@media(prefers-reduced-motion:reduce){.seal-glint{display:none}}
.wax-personal .wax-seal{z-index:0}.wax-monogram{z-index:1}.seal-glint{z-index:2}
/* Het monogram optisch gecentreerd, het zegel hoger op de flap. */
.wax-personal{top:57.5%}.wax-monogram{font-family:'Bodoni Moda',Georgia,serif;font-size:clamp(23px,4.3vw,35px);font-style:italic;font-weight:400}.wax-monogram>span{display:block;transform:translate(-1px,-1px)}.envelope-message{top:33.5%;line-height:1.35}.countdown-units{gap:11px}.countdown-units>span{min-width:38px}.countdown-units strong{font-variant-numeric:tabular-nums}.countdown-units small{letter-spacing:1px}#rsvp-form .rsvp-submit{margin-top:17px}@media(max-width:600px){.countdown-units{gap:8px}.countdown-units>span{min-width:34px}.countdown-units strong{font-size:23px}.countdown-units small{font-size:7px}.envelope-message{font-size:21px}}@media(max-width:360px){.countdown-units{gap:6px}.countdown-units>span{min-width:31px}.countdown-units strong{font-size:21px}.envelope-message{font-size:19px}}

/* Persoonlijke afwerking en rustige versieringen. */
.music-record{position:relative;display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:50%;background:repeating-radial-gradient(circle,#3e1926 0 2px,#60263b 3px 4px);box-shadow:0 2px 5px #4b152d30;border:1px solid #b99565;animation:recordSpin 7s linear infinite;animation-play-state:paused}.music-record>span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#e3c994;color:#7b3046;font:italic 12px Georgia,serif}.music-record:after{content:'';position:absolute;width:3px;height:3px;background:#fff3d6;border-radius:50%}.is-playing .music-record{animation-play-state:running}#music-toggle{min-height:57px;padding:8px 16px 8px 10px;gap:12px}@keyframes recordSpin{to{transform:rotate(360deg)}}
.letter-closing{margin:25px auto 0;padding-top:19px;border-top:1px solid #bb96514d;max-width:290px}.letter .letter-closing p{font:italic 12px/1.9 'Lora',Georgia,serif;color:#96636d;margin:0 auto 9px;max-width:230px}.letter-closing>span{display:block;color:#76243e;font:39px/1.3 'Pinyon Script',cursive}.letter .signature{display:none}
#rsvp-feedback.is-confirmed{position:relative;margin-top:20px;padding:27px 20px 24px;border:1px solid #c8aa706e;outline:1px solid #c8aa7030;outline-offset:-7px;background:linear-gradient(145deg,#fffcf5,#f7eedf);border-radius:18px;box-shadow:0 7px 24px #75283d0a;color:#752a41}.confirmation-caption{display:block;font:8px/1.7 Arial,sans-serif;letter-spacing:2.5px;color:#a17c49}#rsvp-feedback.is-confirmed p{font:23px/1.5 'Bodoni Moda',Georgia,serif;margin:10px 0}.confirmation-detail{display:block;font:italic 11px/1.8 'Lora',Georgia,serif;color:#98746d}.confirmation-sparkles{position:absolute;inset:-12px;pointer-events:none}.confirmation-sparkles i{position:absolute;color:#bf9445;font-style:normal;font-size:24px;left:calc(8% + var(--star)*21%);top:calc(15% + var(--star)*13%);opacity:0;animation:confirmationTwinkle 1.15s ease-out calc(var(--star)*.13s) both}@keyframes confirmationTwinkle{0%{opacity:0;transform:translateY(8px) scale(.3)}35%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:translateY(-17px) scale(.5)}}
@media(max-width:600px) and (prefers-reduced-motion:no-preference){.opened .scene>.gifts{animation:giftSway 7s ease-in-out infinite;transform-origin:50% 100%}.opened .scene>.festive-balloons{animation:balloonSway 6s ease-in-out infinite;transform-origin:50% 100%}@keyframes giftSway{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-2px) rotate(.5deg)}}@keyframes balloonSway{0%,100%{transform:translateY(0) rotate(4deg)}50%{transform:translateY(-5px) rotate(6deg)}}}
@media(max-width:360px){#rsvp-feedback.is-confirmed p{font-size:21px}.letter .letter-closing p{font-size:11px}}@media(prefers-reduced-motion:reduce){.music-record,.confirmation-sparkles i{animation:none!important}.confirmation-sparkles{display:none}}

.music-record>span{font:italic 10px/1 Georgia,serif;letter-spacing:-.5px;background:radial-gradient(circle at 30% 25%,#f7e8bd,#c8a45c);box-shadow:inset 0 0 0 1px #f7e3ad80}.music-record:after{width:2px;height:2px;opacity:.7}
.cake-surprise{display:block;position:relative;width:96px;height:112px;margin:0 auto;padding:12px 13px 14px;border:0;border-radius:24px;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation}.cake-surprise:focus-visible{outline:2px solid #b8975a;outline-offset:3px}.cake-surprise:hover{background:#ead6cb25}footer .cake-surprise .cake{width:70px;height:86px;margin:0}.cake-hint{display:block;font:italic 9px/1.7 'Lora',Georgia,serif;color:#a17f72;margin:3px 0 15px}.candle-glow{position:absolute;left:31%;right:29%;top:10px;display:flex;justify-content:space-between;opacity:0;transition:opacity .25s}.candle-glow i{width:5px;height:9px;border-radius:60% 40% 55% 45%;background:linear-gradient(#fff7cf,#deb45c);box-shadow:0 0 7px 3px #eac56c66;transform:rotate(8deg)}.is-wishing .candle-glow{opacity:1}.is-wishing .candle-glow i{animation:candleFlicker .55s ease-in-out infinite alternate}.candle-glow i:nth-child(2){animation-delay:-.25s}.cake-stars{position:absolute;inset:0;pointer-events:none}.cake-stars i{position:absolute;font:20px Georgia,serif;color:#bf944b;opacity:0;left:4%;top:30%}.cake-stars i:nth-child(2){left:77%;top:15%;animation-delay:.12s}.cake-stars i:nth-child(3){left:45%;top:-4%;font-size:13px;animation-delay:.25s}.cake-stars i:nth-child(4){left:88%;top:65%;font-size:14px;animation-delay:.35s}.cake-stars i:nth-child(5){left:-5%;top:75%;font-size:13px;animation-delay:.2s}.is-wishing .cake-stars i{animation-name:wishSpark;animation-duration:1.7s;animation-fill-mode:both;animation-timing-function:ease-out}@keyframes candleFlicker{to{transform:rotate(-8deg) scale(.85,1.12)}}@keyframes wishSpark{0%{opacity:0;transform:translateY(7px) scale(.3)}25%{opacity:1;transform:scale(1.15)}100%{opacity:0;transform:translateY(-17px) scale(.6)}}
@media(max-width:600px){.cake-surprise{width:84px;height:98px}footer .cake-surprise .cake{width:58px;height:72px}.candle-glow{top:11px}.cake-hint{font-size:9px}}
@media(prefers-reduced-motion:reduce){.is-wishing .candle-glow i,.is-wishing .cake-stars i{animation:none!important}.is-wishing .cake-stars i{opacity:.8}.candle-glow{transition:none}}

/* Ruimte voor het strikje en de openklappende flap op smalle schermen. */
@media(max-width:600px){header .bow{width:clamp(130px,37vw,160px);height:auto;aspect-ratio:565 / 120;margin:18px auto 0}header{padding-bottom:12px}.scene{margin-top:12px;height:calc(55.625vw + 64px);clip-path:inset(0 -100vw -10000px)}.revealing .scene{height:var(--scene-open-height,1000px)}}

/* Warm briefpapier met een fijne vezelstructuur en zachte blush. */
body{background-color:#f6eddf;background-image:url('assets/paper-weave.svg'),radial-gradient(ellipse at 15% 30%,#e5b9c05c,transparent 52%),radial-gradient(ellipse at 85% 12%,#e8d3a84f,transparent 48%),linear-gradient(135deg,#faf2e7,#f6e9e2 53%,#f8efdf);background-size:180px 180px,100% 100%,100% 100%,100% 100%}body:before{border-color:#b9946352;box-shadow:inset 0 0 70px #d2b99510}main{isolation:isolate}.stationery-stars{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.stationery-stars span{position:absolute;color:#b78c4a80;font:24px/1 Georgia,serif;left:calc(50% - 410px);top:370px}.stationery-stars span:nth-child(2){left:calc(50% + 390px);top:240px;font-size:12px;color:#bb965d70}.stationery-stars span:nth-child(3){left:calc(50% + 360px);top:760px;font-size:22px}.stationery-stars span:nth-child(4){left:calc(50% - 375px);top:1050px;font-size:18px}.stationery-stars span:nth-child(5){left:calc(50% - 420px);top:690px;font-size:10px}.stationery-stars span:nth-child(6){left:calc(50% + 410px);top:1200px;font-size:16px}.letter{filter:drop-shadow(0 13px 19px #70422d24) drop-shadow(0 2px 3px #70422d12)}
@media(max-width:600px){.stationery-stars span{left:6%;top:220px;font-size:17px}.stationery-stars span:nth-child(2){left:90%;top:260px;font-size:9px}.stationery-stars span:nth-child(3){left:94%;top:690px;font-size:16px}.stationery-stars span:nth-child(4){left:3%;top:1010px;font-size:15px}.stationery-stars span:nth-child(5){left:5%;top:1270px;font-size:8px}.stationery-stars span:nth-child(6){left:90%;top:1530px;font-size:14px}.letter{filter:drop-shadow(0 8px 11px #70422d20)}}

/* Handgetekende hartjes en losse lintstrikjes langs het briefpapier. */
.stationery-love{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.stationery-love>span{position:absolute;display:block;color:#8b3b5352}.margin-heart{font:38px/1 Georgia,serif;transform:rotate(-13deg)}.stationery-love>span:nth-child(1){left:calc(50% - 470px);top:220px}.stationery-love>span:nth-child(2){right:calc(50% - 455px);top:470px;transform:rotate(16deg);font-size:28px}.stationery-love>span:nth-child(3){left:calc(50% - 360px);top:820px;font-size:25px;transform:rotate(12deg)}.stationery-love>span:nth-child(4){right:calc(50% - 395px);top:1110px;font-size:34px}.stationery-love>span:nth-child(5){left:calc(50% - 460px);top:1420px;font-size:27px}.stationery-love>span:nth-child(6){right:calc(50% - 470px);top:1600px;font-size:24px;transform:rotate(18deg)}.margin-bow{width:65px;transform:rotate(12deg);color:#8430474d!important}.margin-bow svg{display:block;width:100%;height:auto}.stationery-love>span:nth-child(7){right:calc(50% - 420px);top:300px}.stationery-love>span:nth-child(8){left:calc(50% - 455px);top:580px;transform:rotate(-15deg);width:57px}.stationery-love>span:nth-child(9){right:calc(50% - 465px);top:900px;transform:rotate(-8deg)}.stationery-love>span:nth-child(10){left:calc(50% - 390px);top:1210px;transform:rotate(15deg);width:54px}
@media(max-width:600px){.margin-heart{font-size:25px}.stationery-love>span:nth-child(1){left:5%;top:245px}.stationery-love>span:nth-child(2){right:4%;top:440px;font-size:22px}.stationery-love>span:nth-child(3){left:2%;top:790px;font-size:20px}.stationery-love>span:nth-child(4){right:3%;top:1080px;font-size:24px}.stationery-love>span:nth-child(5){left:5%;top:1420px;font-size:23px}.stationery-love>span:nth-child(6){right:5%;top:1720px;font-size:22px}.margin-bow{width:39px}.stationery-love>span:nth-child(7){right:4%;top:210px}.stationery-love>span:nth-child(8){left:3%;top:605px;width:36px}.stationery-love>span:nth-child(9){right:2%;top:920px;width:36px}.stationery-love>span:nth-child(10){left:4%;top:1250px;width:38px}}
