@font-face{font-family:WeddingSerif;src:url('./assets/fonts/wedding-serif.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
:root{color-scheme:light;--paper:#f9f1e5;--ink:#493322;--gold:#b98d4b;--gold-light:#ddbf86;--muted:#a08e78;--line:rgba(180,136,70,.47);--serif:WeddingSerif,'Noto Serif SC','Songti SC','STSong',serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#e7e2d9;color:var(--ink);font-family:var(--serif);-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #8e6e3a;outline-offset:5px}button{border:0;background:none}a{color:inherit}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
*{scrollbar-width:none!important;-ms-overflow-style:none!important}
*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.invitation-shell{container-type:inline-size;position:relative;width:100%;max-width:480px;height:100vh;height:100dvh;margin:0 auto;overflow:hidden;background:var(--paper);box-shadow:0 0 75px #76614116}
.page{position:absolute;inset:0;background-color:var(--paper);background-image:url('./assets/paper.svg');background-size:220px 220px;overflow-x:hidden}.page::after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 25%,#fff8ee6b,transparent 65%);z-index:0}.page>*{position:relative;z-index:1}.floral{position:absolute;pointer-events:none;user-select:none;height:auto;mix-blend-mode:multiply;z-index:2}.eyebrow{font-family:Georgia,'Times New Roman',serif;font-size:10px;letter-spacing:.32em;color:#8b6940;text-align:center;font-weight:400}.micro-copy{font-size:9px;color:#917654;letter-spacing:.22em}.page-border{position:absolute;inset:14px;border:1px solid var(--gold);pointer-events:none;z-index:2}.page-border::before{content:'';position:absolute;inset:3px;border:1px solid #b98d4b74}.page-border::after{content:'';position:absolute;inset:-1px;background:linear-gradient(var(--paper),var(--paper)) top left/12px 12px no-repeat,linear-gradient(var(--paper),var(--paper)) top right/12px 12px no-repeat,linear-gradient(var(--paper),var(--paper)) bottom left/12px 12px no-repeat,linear-gradient(var(--paper),var(--paper)) bottom right/12px 12px no-repeat;mask-image:radial-gradient(circle at top left,transparent 10px,#000 11px);pointer-events:none}
.page-border{width:calc(100% - 28px);height:calc(100% - 28px);border:0;stroke:var(--gold);stroke-width:.8;stroke-linecap:butt;fill:none}.page-border path{vector-effect:non-scaling-stroke}
.divider{display:flex;align-items:center;justify-content:center;gap:13px;width:65%;margin:22px auto;color:var(--gold)}.divider::before,.divider::after{content:'';height:1px;flex:1;background:linear-gradient(90deg,transparent,var(--gold))}.divider::after{transform:rotate(180deg)}.divider svg{width:26px;height:22px;stroke:none;flex:none;opacity:.9}.divider.narrow{width:58%;margin-top:28px;margin-bottom:28px}
.cover{display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding:clamp(68px,12svh,132px) 25px clamp(30px,5svh,55px);height:100%;touch-action:none;text-align:center;isolation:isolate}.cover-floral-top{width:65%;top:-14px;left:-27px;z-index:3}.cover-floral-bottom{width:62%;bottom:-21px;right:-30px;transform:rotate(180deg);z-index:3}.cover-heading{width:100%;margin-top:2%}.cover-heading .eyebrow{margin:0;font-size:clamp(8px,2.4cqw,12px);letter-spacing:.37em}.cover-heading .divider{margin:15px auto 0;width:57%}.cover-title{margin:6px 0 0}.cover-title h1{font-size:clamp(34px,11.6cqw,65px);font-weight:600;letter-spacing:.045em;line-height:1.3;margin:7px 0 10px;white-space:nowrap}.cover-title .micro-copy{margin:0 0 8px}.cover-subtitle{font-size:clamp(12px,3.65cqw,19px);letter-spacing:.18em;margin:0}.cover-details{margin:10px 0}.couple{display:flex;justify-content:center;align-items:center;gap:20px;font-size:clamp(21px,6.2cqw,34px);font-weight:500;letter-spacing:.06em}.couple i{font-family:Georgia,serif;font-size:1.1em;font-weight:400;color:var(--gold)}.cover-date{font-family:Georgia,serif;font-size:clamp(14px,4.25cqw,23px);letter-spacing:.13em;margin:15px 0 8px}.cover-date span{color:var(--gold);margin:0 2px}.cover-date em{font-size:.75em;font-style:normal;margin-left:10px;letter-spacing:.08em}.cover-venue{font-size:clamp(10px,2.8cqw,15px);letter-spacing:.1em;margin:0;color:#80684e}
.story{padding-top:48px}
.story .section-floral-top{top:-60px}
.story .invitation-section>.section-index{margin-bottom:44px}
.story .story-eyebrow{margin-top:44px}
.envelope{position:relative;display:block;width:82%;aspect-ratio:1609/977;padding:0;isolation:isolate;flex-shrink:0;margin:8px 0 6px;transition:transform .35s;filter:drop-shadow(0 5px 5px #6f502522)}
.envelope:hover{transform:translateY(-3px)}
.envelope-image{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.wax-seal{position:absolute;width:24%;height:auto;left:50%;top:53%;object-fit:contain;transform:translateX(-50%);pointer-events:none;user-select:none;filter:drop-shadow(0 2px 2px #6f502533)}
.swipe-prompt{display:flex;align-items:center;flex-direction:column;gap:8px;padding:10px 8px;z-index:4;letter-spacing:.12em}.swipe-prompt .chevrons{width:27px;height:27px;color:#a98347;margin-bottom:1px;animation:swipe 2.6s ease-in-out infinite}.swipe-prompt>span{font-size:18px}.swipe-prompt>small{font-size:10px;color:#927855;letter-spacing:.22em}.cover-footer{font-family:Georgia,serif;font-size:7px;letter-spacing:.25em;color:#ac9576;margin:0;z-index:4}.chevrons{fill:none;stroke-width:1.1}.cover-swipe{margin:0}.cover-swipe>span{font-size:clamp(21px,6cqw,31px);letter-spacing:.22em}.cover-swipe>small{font-size:clamp(8px,2.35cqw,12px)}
.toolbar{position:absolute;right:17px;top:max(18px,env(safe-area-inset-top));z-index:15;display:flex;align-items:flex-start;gap:9px}.tool{padding:0;width:45px;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:9px;letter-spacing:.03em;color:#715538}.tool-circle{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fcf5eae8;border:1px solid #e2c9a6;box-shadow:0 3px 7px #7f5a291b;backdrop-filter:blur(6px)}.tool svg{width:17px;height:17px}.tool[aria-pressed=true] .tool-circle{background:#f6e9d4}.tool:disabled{opacity:.5}
.story{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;scroll-behavior:auto;touch-action:pan-y;outline:none}.story::-webkit-scrollbar,.rsvp::-webkit-scrollbar{display:none}.story::after{display:none}.story-section{position:relative;padding:48px 8% 24px;text-align:center;isolation:isolate}.story-section::before{content:'';position:absolute;inset:10px 11px 0;border-left:1px solid #b98d4b23;border-right:1px solid #b98d4b23;z-index:-1}.section-index{font-size:10px;color:#997b54;letter-spacing:.18em;margin:0 0 45px}.section-index span{margin:0 9px;opacity:.5}.section-floral-top{top:-12px;left:-28px;width:62%}.story h2{font-size:clamp(34px,10.6cqw,59px);font-weight:600;letter-spacing:.12em;line-height:1.4;margin:10px 0 15px}.story-eyebrow{margin-top:66px}.story .eyebrow{font-size:8px;letter-spacing:.28em}.prose{font-size:clamp(13px,3.65cqw,20px);line-height:2.15;letter-spacing:.055em;margin:22px -7px 27px}.story-couple{font-size:clamp(21px,6.3cqw,34px);margin:33px 0 16px;gap:18px}.seal-divider{display:flex;align-items:center;justify-content:center;gap:20px;margin:18px 18px 26px}.seal-divider>span:not(.small-seal){height:1px;width:60px;background:var(--line)}.small-seal{display:block;width:46px;height:46px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 2px #7c5a3226)}
.photo-frame{position:relative;margin:25px 0;padding:8px;background:#fff8ec;box-shadow:0 3px 10px #7e573326;border:1px solid #d7b478;isolation:isolate}.photo-frame::before{content:'';position:absolute;inset:4px;border:1px solid var(--gold-light);pointer-events:none;z-index:3}.photo-mask{position:relative;width:100%;height:100%;overflow:hidden;background:#eee2d3;border:1px solid #c9aa79}.photo-mask>img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}.photo-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;background:radial-gradient(ellipse at 45% 25%,#f9f2e9,#ecdfd0);color:#a98e6b}.photo-placeholder>svg{width:38px;height:33px;stroke-width:1.2;opacity:.8}.photo-placeholder>span{font-size:15px;letter-spacing:.12em;color:#8f775b}.photo-placeholder>small{font-size:9px;letter-spacing:.05em;color:#b19c81}.photo-placeholder .placeholder-sprig{position:absolute;bottom:6%;right:3%;width:40%;height:auto;aspect-ratio:1.2;transform:rotate(-30deg);color:#b4ad8c;opacity:.35;stroke:none}.arch-frame{height:112cqw;max-height:600px;border-radius:55% 55% 0 0/42% 42% 0 0;margin-top:20px;margin-bottom:40px}.arch-frame::before{border-radius:inherit}.arch-frame .photo-mask{border-radius:55% 55% 0 0/42% 42% 0 0}.arch-frame figcaption{position:absolute;bottom:-25px;left:0;width:100%;font-family:Georgia,serif;color:#aa8e67;letter-spacing:.2em;font-size:7px}.landscape-frame{height:51cqw;max-height:280px;margin:31px -1% 20px}.photo-note{font-size:10px;letter-spacing:.23em;color:#a58b65;margin:22px 0 12px}.portrait-frame{height:104cqw;width:88%;margin:50px auto 48px;max-height:580px}.tilt-left{transform:rotate(-5deg)}.tilt-right{transform:rotate(5deg)}.together-section{padding-top:44px;padding-bottom:55px}.together-section .section-index{margin-bottom:38px}.together-section .portrait-frame:first-of-type{margin-top:25px}.together-floral{top:15px;right:-40px;width:51%;transform:rotate(88deg);opacity:.85}.together-section .prose{margin-top:23px}.together-section .divider{margin-top:30px;margin-bottom:30px}.promise-section{padding-top:40px;padding-bottom:0}.promise-floral{top:-10px;right:-36px;width:54%;transform:rotate(90deg)}.promise-section .section-index{margin-bottom:36px}.final-frame{height:98cqw;margin-top:35px;margin-bottom:46px}.promise-section .prose{margin-left:-10px;margin-right:-10px;font-size:clamp(13px,3.6cqw,20px)}.event-details{text-align:left;margin:36px 0 27px}.event-row{display:flex;gap:18px;align-items:flex-start;padding:21px 4px;border-bottom:1px solid #cfae796b}.event-row:last-child{border:0}.event-row>svg{width:29px;height:29px;color:#ad803b;flex-shrink:0;margin-top:5px;stroke-width:1.3}.event-row>div{padding-left:18px;border-left:1px solid var(--gold);flex:1}.event-row span{font-size:17px;letter-spacing:.1em}.event-row p{font-size:20px;margin:7px 0;color:#6a5035;font-family:var(--serif)}.event-row small{font-size:10px;color:#9b8261;line-height:1.8;display:block}.event-row .venue-name{font-size:16px;line-height:1.9;letter-spacing:0}.map-link{font-size:10px;color:#a87b39;display:inline-flex;align-items:center;gap:8px;text-decoration:none;border-bottom:1px solid #c6a574;margin-top:12px;padding:3px 0}.map-link svg{width:16px;height:16px}.closing .divider{margin-top:8px}.closing p{font-size:12px;line-height:2;letter-spacing:.12em;color:#977a54}.script-signature{display:block;font-family:Georgia,serif;font-style:italic;font-size:20px;color:#b18a51;margin:23px auto 0}.rsvp-gate{height:275px;display:flex;justify-content:center;align-items:center;margin:12px -9.5% 0;isolation:isolate;overflow:hidden}.rsvp-gate .swipe-prompt{margin-bottom:24px}.rsvp-gate .swipe-prompt>span{font-size:15px;letter-spacing:.09em}.gate-floral{width:65%;bottom:-45px;left:-55px;transform:rotate(-95deg);z-index:0}
.rsvp{overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain;outline:none;padding:0 5% 42px;background-color:#f4e7d3}.rsvp::after{position:fixed}.rsvp-floral-top{width:61%;right:-65px;top:85px;transform:rotate(90deg);z-index:1}.return-button{display:flex;align-items:center;flex-direction:column;gap:6px;padding:29px 0 49px;margin:0 auto;color:#8b6c43;letter-spacing:.16em;font-size:12px}.return-button .chevrons{width:25px;height:25px;color:#b68e4b}.rsvp-card{position:relative;padding:67px 7.5% 31px;border:1px solid #cca165;border-radius:50% 50% 25px 25px/120px 120px 25px 25px;background:linear-gradient(145deg,#fff9edba,#fdf4e9a3);box-shadow:inset 0 0 0 3px #fff7ec,0 8px 12px #8b603327;text-align:center;z-index:2}.rsvp-card::before{content:'';position:absolute;inset:3px;border:1px solid #dbc194;border-radius:inherit;pointer-events:none}.rsvp-eyebrow{font-size:13px;letter-spacing:.35em;margin:0 0 18px;color:#b68d4f}.rsvp-card h2{font-size:clamp(35px,11.7cqw,65px);font-weight:600;letter-spacing:.12em;line-height:1.3;margin:0 0 18px;white-space:nowrap}.rsvp-subtitle{font-size:clamp(11px,3.6cqw,20px);letter-spacing:.08em;margin:0;color:#705336;white-space:nowrap}.rsvp-card .divider{width:82%;margin:29px auto 36px}.name-field{text-align:left}.name-field label{display:flex;align-items:center;justify-content:space-between;font-size:21px;letter-spacing:.1em;margin-bottom:14px}.name-field label span{font-family:Georgia,serif;color:#b4a085;font-size:8px;letter-spacing:.12em}.name-field input{width:100%;min-height:53px;padding:12px 16px;border:1px solid #bd955a;border-radius:12px;background:#fff8ed66;box-shadow:inset 0 0 0 2px #fff9f0;color:var(--ink);font-size:16px;outline:none}.name-field input:focus{border-color:#926a30;box-shadow:0 0 0 3px #b98d4b15}.name-field input::placeholder{color:#b09d83;font-size:15px}.form-row{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:35px 0 33px;text-align:left}.form-row label{font-size:20px;letter-spacing:.04em}.form-row small{display:block;font-size:12px;margin-top:6px;color:#ad997d;letter-spacing:.07em}.stepper{display:flex;align-items:center;justify-content:space-between;border:1px solid #c5a069;border-radius:30px;background:#fff5e855;box-shadow:inset 0 0 0 2px #fff7eb;padding:6px;gap:1px;width:55%;height:56px}.stepper button{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border:1px solid #d9b88777;background:#f1dfc546;border-radius:50%;color:#b68b4b;font-family:Georgia,serif;font-size:28px;font-weight:400;line-height:1}.stepper button:disabled{opacity:.35}.stepper input{width:100%;min-width:22px;border:0;outline:none;text-align:center;color:#493322;font-family:Georgia,serif;font-size:28px;background:transparent;appearance:textfield;-moz-appearance:textfield;padding:0}.stepper input:focus-visible{outline:1px solid var(--gold);border-radius:3px}.stepper input::-webkit-inner-spin-button,.stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.submit-button{display:flex;align-items:center;justify-content:center;gap:15px;width:100%;min-height:55px;padding:12px 15px;color:#fff7e7;background:linear-gradient(120deg,#c29a5c,#b28747 60%,#bd9554);box-shadow:inset 0 1px 0 #ead3a3;border-radius:18px;font-size:22px;letter-spacing:.16em;transition:filter .2s}.submit-button:hover{filter:brightness(1.04)}.submit-button:disabled{opacity:.6}.submit-button svg{width:21px;height:21px;stroke-width:1}.update-note{font-size:10px;color:#ad9572;letter-spacing:.06em;margin:17px 0 0}.form-error{font-size:11px;text-align:left;color:#a44d32;margin:0 0 12px;line-height:1.7}.form-error:empty{display:none}.rsvp-footer{font-size:10px;color:#a28a69;letter-spacing:.12em;text-align:center;margin:32px auto 0;z-index:4}.success-panel{padding:0 0 20px;min-height:247px}.success-check{display:grid;place-items:center;border:1px solid #c9ab77;background:#e9d6b24a;width:56px;height:56px;border-radius:50%;margin:4px auto 25px;color:#a87f3f}.success-panel h3{font-size:20px;font-weight:500;margin:15px 0}.success-panel p{color:#967b58;font-size:12px;line-height:1.9}.edit-button{display:inline-flex;align-items:center;gap:8px;font-size:12px;border-bottom:1px solid #b98d4b88;padding:9px 0 5px;margin-top:10px;color:#a47d43}.edit-button svg{width:15px;height:15px}.toast{position:absolute;left:50%;bottom:50px;transform:translateX(-50%);background:#57442ded;color:#fff4e3;border-radius:8px;padding:12px 20px;font-size:12px;line-height:1.7;z-index:30;max-width:85%;width:max-content;text-align:center}.noscript-message{position:fixed;bottom:25px;left:5%;right:5%;padding:15px;background:#fff0d0;text-align:center;font-size:14px;z-index:50}
.rsvp-content{position:relative;min-height:100%;padding-bottom:clamp(150px,38cqw,210px)}
.return-button .chevrons{transform:rotate(180deg)}
.rsvp-footer{margin-top:40px}
.icp-footer{position:relative;z-index:4;margin:0;text-align:center;font-size:10px;line-height:1.8;letter-spacing:.03em;color:#9b866b;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
.icp-footer a{display:inline-block;padding:12px 8px;text-decoration:none}
.icp-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.page-enter{animation:pageIn .7s cubic-bezier(.2,.7,.2,1) both}.page-exit{animation:pageOut .65s cubic-bezier(.4,0,.8,.5) both;pointer-events:none}.cover.page-exit .envelope{transform:translateY(-15px) rotate(0);transition:transform .5s}
.page-enter.is-backward{animation-name:pageInBackward}.page-exit.is-backward{animation-name:pageOutBackward}
@keyframes pageInBackward{from{transform:translateY(-100%);opacity:.7}to{transform:translateY(0);opacity:1}}@keyframes pageOutBackward{from{transform:translateY(0);opacity:1}to{transform:translateY(20%);opacity:0}}
@keyframes swipe{0%,100%{transform:translateY(3px);opacity:.6}50%{transform:translateY(-3px);opacity:1}}@keyframes pageIn{from{transform:translateY(100%);opacity:.7}to{transform:translateY(0);opacity:1}}@keyframes pageOut{from{transform:translateY(0);opacity:1}to{transform:translateY(-20%);opacity:0}}
@media(min-width:900px){.invitation-shell{width:33.333333vw;max-width:560px}.cover{padding-top:clamp(68px,11svh,132px)}body{background:radial-gradient(ellipse at center,#f1ece3,#e4e0d8)}}
@media(max-height:700px){.cover{padding-top:60px;padding-bottom:22px}.cover-heading .divider{margin-top:8px}.cover-title h1{margin:3px 0 5px;font-size:10.5cqw}.cover-title .micro-copy{font-size:8px;margin-bottom:3px}.cover-details{margin:3px 0}.cover-date{margin-top:9px}.envelope{width:70%;margin:3px 0}.cover .swipe-prompt{gap:4px;padding:5px}.cover-swipe>span{font-size:5cqw}.cover-swipe .chevrons{width:22px;height:22px}.cover-floral-top{width:55%}.cover-floral-bottom{width:53%}.rsvp .return-button{padding-top:22px;padding-bottom:29px}.rsvp-card{padding-top:55px}.rsvp-card .divider{margin-top:21px;margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
