@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap";:root{--ink:#4a3529;--cream:#fffaf0;--peach:#f5bba5;--yellow:#f7d465;--green:#687b59}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--cream);color:var(--ink);margin:0;font:16px/1.6 DM Sans,sans-serif}::selection{background:#f5bba5}a{color:inherit}header{z-index:2;justify-content:space-between;align-items:center;width:100%;padding:24px 7%;display:flex;position:absolute}.brand{font-family:Playfair Display,serif;font-size:22px;text-decoration:none}nav{align-items:center;gap:32px;display:flex}nav a{letter-spacing:.06em;font-size:13px;font-weight:700;text-decoration:none}.hero{text-align:center;background:#f9e9b8;justify-content:center;align-items:center;min-height:780px;padding:115px 24px 90px;display:flex;position:relative;overflow:hidden}.hero:before,.hero:after{content:"";opacity:.5;background:#f4ce62;border-radius:50%;position:absolute}.hero:before{width:260px;height:260px;top:25%;left:-110px}.hero:after{background:#efaa92;width:125px;height:125px;bottom:13%;right:9%}.hero-inner{z-index:1;position:relative}.sun{width:125px;height:125px;margin:0 auto 20px;animation:5s ease-in-out infinite float}.sun circle{fill:#f1b940}.sun line{stroke:#e7ae38;stroke-width:3px;stroke-linecap:round}@keyframes float{50%{transform:translateY(-8px)rotate(5deg)}}h1,h2,h3{margin:0;font-family:Playfair Display,Georgia,serif;font-weight:500;line-height:1.1}h1{letter-spacing:-.035em;font-size:clamp(3.8rem,9vw,7.5rem)}h1 em{color:#b7654e;font-weight:500}.hero p{max-width:490px;margin:24px auto 30px;font-size:18px}.date{letter-spacing:.16em;text-transform:uppercase;font-weight:700;font-size:13px!important}.button{background:var(--ink);color:#fff;letter-spacing:.05em;cursor:pointer;border:0;border-radius:100px;padding:15px 28px;font:700 13px DM Sans,sans-serif;text-decoration:none;display:inline-block}.button:hover{background:#78533f}.details{grid-template-columns:1fr 1.1fr;gap:100px;max-width:1100px;margin:auto;padding:110px 24px;display:grid}.details h2,.rsvp h2{letter-spacing:-.025em;font-size:clamp(2.8rem,5vw,4.5rem)}.details p{color:#6c5444;max-width:410px}.info{border-top:1px solid #ddcbb6}.row{border-bottom:1px solid #ddcbb6;grid-template-columns:120px 1fr;gap:15px;padding:21px 0;display:grid}.row strong{text-transform:uppercase;letter-spacing:.12em;font-size:12px}.row span{font-family:Playfair Display,serif;font-size:20px}.registry{text-align:center;background:#dbe4cb;padding:90px 24px}.registry h2{font-size:clamp(2.8rem,5vw,4.5rem)}.registry p{max-width:520px;margin:20px auto 27px}.rsvp{grid-template-columns:1fr 1fr;gap:100px;max-width:1100px;margin:auto;padding:110px 24px;display:grid}.rsvp p{max-width:390px}.form{gap:18px;display:grid}label{font-size:13px;font-weight:700}input{width:100%;color:var(--ink);background:#fffdf8;border:1px solid #cdbda9;border-radius:4px;margin-top:7px;padding:14px;font:16px DM Sans,sans-serif;display:block}input:focus{outline-offset:2px;outline:2px solid #b7654e}.form button{justify-self:start}#message{min-height:1.5em;margin:0}.footer{text-align:center;background:#f5bba5;padding:60px 24px}.footer p{margin:0;font-family:Playfair Display,serif;font-size:28px}.footer small{margin-top:10px;display:block}@media (width<=700px){header{padding:20px 6%}nav{gap:15px}nav a{font-size:11px}.brand{font-size:18px}.hero{min-height:700px}.hero:before{width:160px;height:160px}.hero:after{right:-40px}.details,.rsvp{grid-template-columns:1fr;gap:35px;padding:75px 24px}.registry{padding:75px 24px}.row{grid-template-columns:100px 1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation:none!important}}.sun{width:clamp(132px,22vw,190px);height:auto;animation:none;overflow:visible}.sun circle{fill:#f1b940;transform-origin:50%;animation:.9s cubic-bezier(.16,1,.3,1) both sunrise}.sun g{transform-origin:50%;animation:1s cubic-bezier(.16,1,.3,1) both rays-open,36s linear 1s infinite rays-turn}.hero:not(.in-view) .sun g{animation-play-state:paused}@keyframes sunrise{0%{opacity:.55;transform:scale(.72)}to{opacity:1;transform:scale(1)}}@keyframes rays-open{0%{opacity:.3;transform:rotate(-24deg)scale(.72)}to{opacity:1;transform:rotate(0)scale(1)}}@keyframes rays-turn{to{transform:rotate(360deg)}}.hero-inner{width:100%}.hero h1{text-wrap:balance}.hero h1 em{display:inline-block;position:relative}.hero h1 em:after{content:"";transform-origin:0;background:#dc9677;border-radius:100%;height:.08em;animation:1s cubic-bezier(.16,1,.3,1) .25s both underline-in;position:absolute;bottom:-.06em;left:2%;right:2%}@keyframes underline-in{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.button{min-height:48px;transition:background-color .18s,transform .18s,box-shadow .18s}.button:active{box-shadow:none;transform:translateY(0)}.button:disabled{cursor:wait;opacity:.7;transform:none}nav a{align-items:center;min-height:44px;display:inline-flex}a:focus-visible,button:focus-visible{outline-offset:4px;outline:3px solid #b7654e}input{caret-color:#b7654e;transition:border-color .18s,background-color .18s}input:focus{background:#fff;border-color:#b7654e}#message:not(:empty){animation:.3s cubic-bezier(.16,1,.3,1) message-in}@keyframes message-in{0%{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (width<=700px){header{gap:8px}.hero{min-height:min(720px,100svh);padding:100px 20px 65px}.hero h1{font-size:clamp(3.05rem,12vw,5rem)}.hero p{font-size:16px}.sun{width:145px;margin-bottom:12px}.date{letter-spacing:.12em;font-size:11px!important}.hero:before{left:-105px}.hero:after{width:90px;height:90px;bottom:10%}.button{padding:15px 25px}.form button{width:100%}}@media (width<=350px){header{padding-inline:16px}nav{gap:10px}.brand{font-size:16px}nav a{font-size:10px}.hero h1{font-size:2.8rem}}@media (prefers-reduced-motion:reduce){.sun,.sun circle,.sun g,.hero h1 em:after{animation:none!important}*,:before,:after{scroll-behavior:auto!important}#message:not(:empty){animation:none}}.invitation{touch-action:none;-webkit-user-select:none;user-select:none;z-index:1;width:min(100%,390px);color:var(--ink);cursor:pointer;font:inherit;text-align:center;background:0 0;border:0;padding:0;position:relative}.invitation[hidden],.hero-inner[hidden]{display:none}.envelope{aspect-ratio:1.5;width:min(82vw,340px);margin:0 auto 34px;display:block;position:relative}.envelope-back{background:#d7a17e;border-radius:5px;position:absolute;inset:0}.envelope-paper{color:#a45f48;background:#fffaf0;border-radius:4px;align-content:center;place-items:center;gap:10px;padding:14px;font:italic clamp(17px,5vw,23px)/1.25 Playfair Display,Georgia,serif;transition:transform .65s cubic-bezier(.22,1,.36,1) .5s;display:grid;position:absolute;inset:10% 9% 8%}.paper-sun{justify-self:center;width:26px;height:26px}.envelope-front{clip-path:polygon(0 0,50% 50%,100% 0,100% 100%,0 100%);background:#efc1a4;border-radius:5px;position:absolute;inset:0}.envelope-flap{transform-origin:top;clip-path:polygon(0 0,100% 0,50% 54%);position:absolute;inset:0}.flap-front-face{background:#f5ceb2}.envelope-seal{color:#664823;white-space:nowrap;background:#e8b344;border-radius:50%;place-items:center;width:48px;height:48px;font:15px Playfair Display,Georgia,serif;transition:opacity .2s;display:grid;position:absolute;top:48%;left:50%;transform:translate(-50%,-50%)}.invitation-title{font:500 clamp(2.3rem,8vw,3.2rem)/1.15 Playfair Display,Georgia,serif;display:block}.invitation-prompt{letter-spacing:.12em;text-transform:uppercase;margin-top:15px;font-size:13px;font-weight:700;display:block}.invitation-prompt:after{content:" ↑";color:#a55c45;animation:1.9s ease-in-out infinite prompt-nudge;display:inline-block}@keyframes prompt-nudge{0%,55%,to{transform:translateY(0)}30%{transform:translateY(4px)}}.invitation.opening{pointer-events:none}.invitation.opening .envelope-seal{opacity:0}.hero-inner.revealed{animation:.65s cubic-bezier(.16,1,.3,1) both invitation-reveal}@keyframes invitation-reveal{0%{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}.confetti{pointer-events:none;z-index:2;position:absolute;inset:0;overflow:hidden}.confetti i{left:var(--x);width:var(--w);height:var(--h);background:var(--color);border-radius:var(--radius);animation:confetti-fall var(--duration) ease-in var(--delay) both;position:absolute;top:-12px}@keyframes confetti-fall{0%{opacity:1;transform:translateY(-20px)rotate(0)}85%{opacity:1}to{opacity:0;transform:translate3d(var(--drift),min(90svh,700px),0) rotate(var(--spin))}}@media (prefers-reduced-motion:reduce){.envelope,.envelope-flap,.envelope-paper,.envelope-seal{transition:none}.invitation:not(.opening) .envelope,.invitation-prompt:after,.hero-inner.revealed{animation:none}.confetti{display:none}}.hero{min-height:100dvh}.envelope{width:min(82vw,340px,42dvh)}@media (height<=600px){.hero{padding-top:90px;padding-bottom:32px}.envelope{margin-bottom:16px}.invitation-title{font-size:clamp(1.8rem,6vh,2.6rem)}.invitation-prompt{margin-top:8px}.hero .sun{width:min(110px,18dvh);margin-bottom:4px}.hero h1{font-size:clamp(2.5rem,9dvh,5rem)}.hero p{margin:12px auto 16px}}.hero{place-items:center;display:grid}.hero>.invitation,.hero>.hero-inner{grid-area:1/1}.envelope-paper small{letter-spacing:.03em;font:500 11px/1.2 DM Sans,sans-serif}.invitation.opening .invitation-title,.invitation.opening .invitation-prompt{opacity:0;transition:opacity .3s}@media (prefers-reduced-motion:reduce){.envelope-paper{transition:none}}.envelope-back{z-index:0}.envelope-paper{z-index:2}.envelope-front{z-index:3}.flap-front-face{z-index:4;transition:transform .25s cubic-bezier(.77,0,.175,1)}.envelope-seal{z-index:5}.invitation.opening .flap-front-face{transform:scaleY(0)}.invitation.opening .envelope-paper{transform:translateY(-100%)}@media (hover:hover) and (pointer:fine){.button:hover{transform:translateY(-2px);box-shadow:0 7px 18px #4a352926}}@media (prefers-reduced-motion:reduce){.envelope-flap,.envelope-paper{transition:none}}.hero:not(.in-view) .invitation-prompt:after{animation-play-state:paused}.access-hint{letter-spacing:.03em;text-transform:none;margin-top:5px;font-size:11px;font-weight:500;display:block}.letter-next{z-index:3;text-align:center;position:absolute;bottom:clamp(24px,10dvh,100px);left:0;right:0}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (height<=600px){.letter-next{bottom:16px}}.envelope-paper{clip-path:inset(0 0 33% round 4px);align-content:start;padding-top:18px;transition:transform .65s cubic-bezier(.22,1,.36,1) .5s,clip-path .65s cubic-bezier(.22,1,.36,1) .5s;inset:10% 9% -32%}.invitation.opening .envelope-paper{clip-path:inset(0 round 4px);transform:translateY(-67.2%)}@media (prefers-reduced-motion:reduce){.envelope-paper{transition:none}}.flap-behind{z-index:1;background:#f5ceb2;transition:transform .25s cubic-bezier(.23,1,.32,1) .25s;transform:scaleY(0)}.invitation.opening .flap-behind{transform:scaleY(-1)}@media (prefers-reduced-motion:reduce){.flap-behind{transition:none}}.envelope{perspective:900px}.flap-front-face,.flap-behind{transform-origin:top;transition:transform .3s cubic-bezier(.23,1,.32,1);transform:rotateX(0)}.flap-front-face{backface-visibility:hidden}.flap-behind{backface-visibility:visible}.invitation.opening .flap-front-face,.invitation.opening .flap-behind{transform:rotateX(180deg)}@media (prefers-reduced-motion:reduce){.flap-front-face,.flap-behind{transition:none}}.envelope{filter:drop-shadow(0 14px 18px #9d765638)}.invitation{transition:translate .6s cubic-bezier(.16,1,.3,1)}.invitation.opening{translate:0 clamp(20px,7dvh,60px)}@media (prefers-reduced-motion:reduce){.invitation{transition:none}}.floating-toy{z-index:3;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:0 0;border:0;width:clamp(48px,7vw,76px);height:clamp(48px,7vw,76px);padding:3px;position:absolute}.floating-toy:active{cursor:grabbing}.floating-toy:focus-visible{outline-offset:3px;border-radius:12px;outline:3px solid #b7654e}.toy-float{width:100%;height:100%;animation:4.8s ease-in-out infinite toy-drift;display:block}.toy-float svg{width:100%;height:100%;display:block}.toy-bottle{top:24%;left:8%}.toy-rattle{top:34%;right:8%}.toy-pacifier{bottom:17%;left:12%}.toy-rattle .toy-float{animation-delay:-1.6s}.toy-pacifier .toy-float{animation-delay:-3.2s}@keyframes toy-drift{0%,to{transform:translateY(0)rotate(-5deg)}50%{transform:translateY(-9px)rotate(5deg)}}.hero:not(.in-view) .toy-float{animation-play-state:paused}@media (width<=700px){.floating-toy{width:50px;height:50px}.toy-bottle{top:19%;left:3%}.toy-rattle{top:27%;right:3%}.toy-pacifier{bottom:8%;left:4%}}@media (prefers-reduced-motion:reduce){.toy-float{animation:none}}.sunrise{animation:.8s cubic-bezier(.16,1,.3,1) both sun-rise}@keyframes sun-rise{0%{opacity:.5;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.rsvp-submit:active:not(:disabled){transform:scale(.97)}#message.rsvp-success{color:#485e3f;align-items:center;gap:10px;font-weight:700;display:flex}.rsvp-check{fill:#dbe4cb;stroke:#485e3f;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:25px;height:25px;animation:.3s cubic-bezier(.16,1,.3,1) both check-in}@keyframes check-in{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.sunrise,.rsvp-check{animation:none}.rsvp-submit:active:not(:disabled){transform:none}}.toy-moon{top:14%;right:19%}.toy-star{top:43%;left:4%}.toy-duck{bottom:12%;right:9%}.toy-block{top:62%;right:3%}.toy-sock{top:66%;left:5%}.toy-moon .toy-float{animation-delay:-.8s}.toy-star .toy-float{animation-delay:-2.4s}.toy-duck .toy-float{animation-delay:-3.8s}.toy-block .toy-float{animation-delay:-1.1s}.toy-sock .toy-float{animation-delay:-2.9s}@media (width<=700px){.toy-moon{top:12%;right:10%}.toy-star{top:38%;left:1%}.toy-duck{bottom:8%;right:4%}.toy-block{top:65%;right:1%}.toy-sock{top:68%;left:1%}.toy-block{top:auto;bottom:21%;right:3%}.toy-sock{top:auto;bottom:21%;left:3%}}.calendar-link{color:#714132;text-underline-offset:4px;margin-top:12px;padding:6px 0;font:700 13px/1.4 DM Sans,sans-serif;text-decoration:underline;text-decoration-thickness:1px;display:table}.calendar-link:hover{color:#a65c46}.calendar-note{color:#6c5444;margin-top:2px;font:400 12px/1.5 DM Sans,sans-serif;display:block}
