
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&display=swap');
html,body{margin:0;background:#101b12} .page{position:relative;width:100%;max-width:650px;margin:0 auto;aspect-ratio:941/1672;background:url(background.png) center/100% 100% no-repeat;overflow:hidden;container-type:inline-size;color:#f5d78d;font-family:Georgia,'Times New Roman',serif} .date,.heading,.ornament,.river,.hero,.invite{position:absolute} .date{top:11%;left:18%;width:72%;text-align:center;font-size:4.2cqw;letter-spacing:.06em;text-shadow:0 2px 5px #09140c} .heading{top:18%;left:10%;width:80%;margin:0;text-align:center;font-size:10.2cqw;line-height:1.08;font-weight:normal;letter-spacing:.015em;text-shadow:0 2px 0 #735020,0 4px 12px #000;color:#f4d58a} .ornament{top:31%;left:23%;width:54%;height:4%;} .river{top:35%;left:3%;width:94%;height:43%;} .hero{object-fit:contain;pointer-events:none} .traveler{left:5%;top:49%;width:52%;} .fairy{right:3%;top:39%;width:58%;} .invite{top:82%;left:19%;width:62%;min-height:8%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;padding:2% 5%;border:2px solid #d5aa55;border-radius:45% 45% 40% 40% / 30% 30% 30% 30%;background:linear-gradient(#244e35,#10291c);box-shadow:0 0 0 3px #543d1c,0 0 0 5px #c79a49,inset 0 0 16px #a4813844,0 5px 15px #0008;color:#ffe2a0;font-size:5.1cqw;line-height:1.1;text-decoration:none;transition:filter .25s,transform .25s} .invite:hover,.invite:focus-visible{filter:brightness(1.3);transform:scale(1.03)} .invite:active{transform:scale(.97)} .fall-lines{animation:flow 1.2s linear infinite} .ripples{animation:shimmer 3s ease-in-out infinite alternate}@keyframes flow{to{stroke-dashoffset:-25}}@keyframes shimmer{to{opacity:.22}} @media(prefers-reduced-motion:reduce){.fall-lines,.ripples{animation:none}}
.date{top:12%;left:20%;width:65%;font-size:4.3cqw}.heading{top:19%;font-size:11.5cqw;letter-spacing:-.035em}.ornament{top:29%;left:25%;width:50%;height:auto}.river{top:35%;left:4%;width:92%;height:43%;display:flex;align-items:center;justify-content:center;overflow:hidden;mask-image:radial-gradient(ellipse 68% 63% at center,#000 48%,transparent 98%)}.river img{width:100%;height:100%;object-fit:cover}.waterlight{position:absolute;left:40%;top:35%;width:25%;height:45%;background:linear-gradient(170deg,transparent 30%,#fff8 49%,transparent 65%);mix-blend-mode:screen;animation:water 3s infinite;filter:blur(8px);opacity:.25}@keyframes water{0%{transform:translateY(-25%);opacity:0}50%{opacity:.35}100%{transform:translateY(30%);opacity:0}}.traveler{left:7%;top:53%;width:49%}.fairy{right:3%;top:40%;width:53%}.invite{top:81%;left:13%;width:74%;height:12%;padding:0 10%;border:0;border-radius:0;background:url(button.png) center/100% 100% no-repeat;box-shadow:none;font-size:4.8cqw;white-space:nowrap;text-shadow:0 2px 4px #000}.invite:hover{filter:brightness(1.2)}@media(prefers-reduced-motion:reduce){.waterlight{animation:none}}
.page{font-family:'Cormorant Garamond','Palatino Linotype','Book Antiqua',Georgia,serif}.date{font-style:italic;font-weight:600;font-size:4.8cqw}.heading{font-weight:600;font-size:12cqw;letter-spacing:-.025em}.river{left:1.8%;width:96.4%;top:33%;height:49%;mask-image:radial-gradient(ellipse 68% 65% at center,#000 53%,transparent 99%)}.river img{object-fit:fill}.fairy{width:46%;right:6%;top:40%}.invite{background-image:url(button.svg);font-family:inherit;font-weight:700;font-size:5.4cqw;top:83%;height:10%;width:76%;left:12%}.waterlight{display:none}.water-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen}.water-motion path{stroke-dasharray:7 22;animation:waterflow 1.15s linear infinite}.water-motion .ripple{stroke-dasharray:16 48;animation:waterflow 2.4s linear infinite;opacity:.55}@keyframes waterflow{to{stroke-dashoffset:-58}}@media(prefers-reduced-motion:reduce){.water-motion path{animation:none}}

.date{top:10.5%;left:23%;width:59%;}.heading{top:19%;left:10%;width:80%;}.date img,.heading img{display:block;width:100%;height:auto}.fairy{right:auto;left:7%;top:44%;width:37%;z-index:2}.invite{padding:0 9%;}.invite img{display:block;width:100%;height:auto;pointer-events:none}

.fairy{left:65%;right:auto;top:43%;width:37%;z-index:2}.ornament{left:23%;width:54%;top:29%;height:auto}

.date{width:50.15%;left:27.425%}.heading{width:68%;left:16%}.fairy{top:46%}.invite{width:82%;left:9%;height:11%;top:82.5%;padding:0 10%}

/* Illustrated gilded ornaments, independent of animated scene. */
.ornament{left:18%;width:64%;top:26.8%;height:auto;z-index:3}.invite{background:none;border:0;box-shadow:none;padding:0;left:8%;width:84%;top:81%;height:auto;min-height:0;display:block;z-index:4}.invite img{width:100%;height:auto;display:block}.invite:focus-visible{outline:2px solid #eac675;outline-offset:3px}

/* Page 2 only */
.plan-page .plan-plaque,.plan-page .plan-title,.plan-page .couple,.plan-page .event,.plan-page .map-next{position:absolute;display:block;object-fit:contain;}
.plan-plaque{left:12.7%;top:3.4%;width:75.3%;height:17.2%}.plan-title{left:24%;top:8.1%;width:52%;height:9.2%;filter:drop-shadow(0 2px 2px #69400b)}
.plan-page .couple{left:18%;top:21.1%;width:65%;height:18.8%;object-fit:contain;object-position:center bottom;}
.plan-page .event{left:12.1%;width:75.7%;height:8.1%;object-fit:fill;}
.plan-page .map-next{left:17.5%;top:82.1%;width:62.2%;height:11.8%;transition:filter .2s,transform .2s;}
.map-next img{width:100%;height:100%;object-fit:contain;display:block}.map-next:hover,.map-next:focus-visible{filter:brightness(1.2);transform:scale(1.025)}.map-next:focus-visible{outline:2px solid #e8bd65;outline-offset:2px}


/* Page 4 — dress code */
.dress-page{font-family:'Cormorant Garamond','Palatino Linotype','Book Antiqua',Georgia,serif}
.dress-page .top-plaque,.dress-page .dress-title,.dress-page .subtitle,.dress-page .fairy-dress,.dress-page .palette-board,.dress-page .traveler-rose,.dress-page .rsvp-next{position:absolute;display:block}
.dress-page .top-plaque{left:12.7%;top:3.6%;width:75.3%;height:17.2%;object-fit:contain}
.dress-page .dress-title{left:16%;top:8.6%;width:68%;height:auto;object-fit:contain;filter:drop-shadow(0 2px 2px #69400b)}
.dress-page .subtitle{left:15%;top:17.1%;width:70%;text-align:center;font-size:3.35cqw;line-height:1.15;color:#f7dfaa;text-shadow:0 1px 0 #6d4a17,0 2px 10px rgba(0,0,0,.72);font-weight:600}
.dress-page .fairy-dress{left:26%;top:22.5%;width:48%;height:auto;object-fit:contain;z-index:2}
.dress-page .palette-board{left:19%;top:44.4%;width:72%;height:auto;object-fit:contain;z-index:2;filter:drop-shadow(0 .8cqw 1.3cqw rgba(0,0,0,.28))}
.dress-page .traveler-rose{left:2%;top:49.2%;width:34%;height:auto;object-fit:contain;z-index:3}
.dress-page .rsvp-next{left:17.5%;top:84.7%;width:65%;height:10.4%;display:flex;align-items:center;justify-content:center;text-decoration:none;background:url(button.png) center/100% 100% no-repeat;color:#ffe6b5;font-size:4.8cqw;font-weight:700;text-shadow:0 2px 3px rgba(0,0,0,.85);transition:filter .2s,transform .2s;z-index:4}
.dress-page .rsvp-next:hover,.dress-page .rsvp-next:focus-visible{filter:brightness(1.16);transform:scale(1.024)}
.dress-page .rsvp-next:focus-visible{outline:2px solid #e8bd65;outline-offset:3px}

/* Page 5 — RSVP */
.rsvp-page{font-family:'Cormorant Garamond','Palatino Linotype','Book Antiqua',Georgia,serif}
.rsvp-page .top-plaque,.rsvp-page .rsvp-title,.rsvp-page .subtitle,.rsvp-page .couple,.rsvp-page .form-shell,.rsvp-page .home-link{position:absolute;display:block}
.rsvp-page .top-plaque{left:12.7%;top:3.6%;width:75.3%;height:17.2%;object-fit:contain}
.rsvp-page .rsvp-title{left:18%;top:8.2%;width:64%;text-align:center;font-size:9cqw;line-height:1;color:#f5d58a;text-shadow:0 2px 0 #735020,0 4px 12px #000;font-weight:700}
.rsvp-page .subtitle{left:12%;top:16.7%;width:76%;text-align:center;font-size:3.4cqw;line-height:1.15;color:#f7dfaa;text-shadow:0 1px 0 #6d4a17,0 2px 10px rgba(0,0,0,.72);font-weight:600}
.rsvp-page .couple{left:16%;top:22%;width:68%;height:auto;object-fit:contain;z-index:2}
.rsvp-page .form-shell{left:7.2%;top:42%;width:85.6%;height:42%;padding:4.5% 4% 3.7%;box-sizing:border-box;background:rgba(243,223,175,.93);border:0.45cqw solid #ab7a2a;border-radius:2.5cqw;box-shadow:0 0 0 0.25cqw #f6d68b inset, 0 .8cqw 2cqw rgba(0,0,0,.28);z-index:3}
.rsvp-page .form-shell iframe{width:100%;height:100%;border:0;border-radius:1.4cqw;background:#fff7e6}
.rsvp-page .home-link{left:22%;top:87.4%;width:56%;height:8.4%;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#ffe6b5;font-size:4.1cqw;font-weight:700;text-shadow:0 2px 3px rgba(0,0,0,.85);background:url(button.png) center/100% 100% no-repeat;transition:filter .2s,transform .2s;z-index:4}
.rsvp-page .home-link:hover,.rsvp-page .home-link:focus-visible{filter:brightness(1.16);transform:scale(1.024)}
.rsvp-page .home-link:focus-visible{outline:2px solid #e8bd65;outline-offset:3px}
