
*{box-sizing:border-box}body{margin:0;background:#030a18;color:#f5d399;font-family:Georgia,serif}main{height:100svh;min-height:360px;display:grid;place-items:center;overflow:hidden}.scene{position:relative;height:min(100svh,177.6vw);width:min(100vw,56.3svh);overflow:hidden;background:#06142b;isolation:isolate}.bg,canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.lit{opacity:0}.play .lit{opacity:1;mask-size:100% 100%;-webkit-mask-size:100% 100%}.letter{position:absolute;left:50%;transform:translateX(-50%);opacity:0;filter:drop-shadow(0 0 8px #edb35b33)}.play .letter{animation:reveal 1.35s var(--delay) both}.header{top:2.5%;width:40%;--delay:7.1s}.groom{top:14.5%;width:26.25%;--delay:7.7s}.amp{top:22.77%;width:9%;--delay:8.3s}.bride{top:25%;width:36%;--delay:8.6s}.date{top:33.5%;width:80%;--delay:9.5s;text-align:center;font:clamp(10px,1.55svh,14px) Georgia,serif;letter-spacing:.18em;color:#f5d399;white-space:nowrap}.controls{position:absolute;bottom:2%;left:0;right:0;display:flex;justify-content:center;gap:10px}button{color:#f5d399;background:#06142bbd;border:1px solid #d5ab6566;border-radius:20px;padding:8px 15px;cursor:pointer;font:12px Georgia}button:focus-visible{outline:2px solid white}@keyframes light{to{opacity:1}}@keyframes reveal{from{opacity:0;transform:translate(-50%,8px);filter:blur(4px)}to{opacity:1;transform:translate(-50%,0);filter:blur(0)}}html.motion-reduced .play .lit,html.motion-reduced .play .letter{animation-duration:.01s;animation-delay:0s} .clouds{position:absolute;inset:0;pointer-events:none;overflow:hidden;mask-image:linear-gradient(black 0%,black 24%,transparent 35%)}.clouds img{position:absolute;width:135%;height:25%;object-fit:fill;opacity:.65;top:3%;left:-55%;animation:drift 75s ease-in-out infinite alternate}.clouds img+img{top:12%;left:0%;width:115%;height:20%;opacity:.48;animation-duration:100s;animation-direction:alternate-reverse}@keyframes drift{to{transform:translateX(42%)}}#water{pointer-events:none;opacity:1}html.motion-reduced .clouds img{animation:none}html.motion-reduced #water{display:none} .scroll-cue{position:absolute;bottom:8%;left:0;right:0;text-align:center;color:#f5d399;font:clamp(12px,2.1svh,17px) Georgia,"Nirmala UI","Shruti",sans-serif;text-shadow:0 1px 5px #030a18;pointer-events:none;animation:none;transform:none}.scroll-cue span{display:block;font-size:1.35em;line-height:1.1}
html{scroll-behavior:smooth}.scroll-cue{pointer-events:auto;text-decoration:none;cursor:pointer}.date-page{width:min(100%,560px);margin:auto;min-height:100svh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:60px 24px;background:radial-gradient(ellipse at 50% 46%,#173b83 0%,#0b2459 48%,#06142b 90%);font-family:Georgia,"Nirmala UI","Shruti",serif}.date-page:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,#e5ce9544 0.6px,transparent 1px),radial-gradient(circle,#a6c1ff44 0.7px,transparent 1px);background-size:27px 31px,43px 49px;background-position:2px 3px,13px 22px}.date-frame{position:absolute;inset:22px;border:1px solid #c9a76b55;pointer-events:none}.date-content{position:relative;width:100%;text-align:center;max-width:440px}.date-kicker{font-size:10px;letter-spacing:.25em;color:#d9bd87}.date-heading{font-size:clamp(34px,9vw,54px);font-weight:normal;margin:18px 0 8px;line-height:1.3}.date-ornament{display:flex;align-items:center;justify-content:center;gap:12px;color:#edc77e;margin:12px auto 22px}.date-ornament:before,.date-ornament:after{content:"";height:1px;width:62px;background:linear-gradient(90deg,transparent,#d8b26a)}.date-ornament:after{transform:rotate(180deg)}.date-story{font-size:14px;color:#ebd4a9;line-height:1.75;margin:0 auto 18px;max-width:380px}.date-story small{display:block;margin-top:6px;color:#d9bd87;letter-spacing:.06em}.tea-story{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:18px;height:118px;margin:0 auto 18px;max-width:310px}.tea-cup{position:relative;width:76px;height:44px;border:2px solid #ebcd8a;border-top:none;border-radius:0 0 20px 20px;background:linear-gradient(180deg,#9e5c2a 0 38%,#f0dfbf 39% 100%);box-shadow:0 8px 18px rgba(0,0,0,.16)}.tea-cup:before{content:"";position:absolute;left:8px;right:8px;top:-10px;height:13px;border:2px solid #ebcd8a;border-bottom:none;border-radius:50% 50% 0 0;background:rgba(255,233,189,.12)}.tea-cup:after{content:"";position:absolute;left:11px;right:11px;bottom:-9px;height:8px;border-radius:50%;background:#d2b17055}.cup-handle{position:absolute;right:-13px;top:8px;width:18px;height:18px;border:2px solid #ebcd8a;border-left:none;border-radius:0 50% 50% 0}.tea-cup.left{transform:rotate(-6deg)}.tea-cup.right{transform:rotate(6deg)}.steam{position:absolute;top:-30px;width:14px;height:34px;left:18px;opacity:.72}.steam:before,.steam:after{content:"";position:absolute;inset:0;border:2px solid transparent;border-left-color:#f7e4b1;border-radius:50%;transform:rotate(12deg)}.steam:after{left:7px;top:-6px;height:30px;transform:rotate(-18deg);opacity:.8}.steam.s2{left:37px;top:-34px;transform:scale(.9)}.tea-heart{position:absolute;left:50%;bottom:56px;transform:translateX(-50%);font-size:22px;color:#edc77e;text-shadow:0 0 10px rgba(237,199,126,.2)}.tea-caption{font-size:11px;letter-spacing:.18em;color:#d3b77f;margin:-2px 0 8px}.date-message{min-height:64px;font-size:18px;line-height:1.5;margin:8px 0 10px;opacity:1}.date-full{font-size:12px;letter-spacing:.14em;color:#d3b77f}.countdown-wrap{margin:18px 0 6px}.countdown-title{font-size:12px;letter-spacing:.22em;color:#d9bd87;margin:0 0 12px}.countdown-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.count-item{border:1px solid #e8c27d55;border-radius:10px;padding:12px 8px;background:linear-gradient(180deg,#133160aa,#0a1f46aa);box-shadow:0 6px 18px #0004}.count-value{display:block;font-size:clamp(22px,6vw,34px);line-height:1;color:#ffe4a8}.count-label{display:block;margin-top:6px;font-size:10px;letter-spacing:.18em;color:#d3b77f}.date-page .corner{position:absolute;color:#d4ad68;font-size:24px;line-height:1}.date-page .tl{top:14px;left:14px}.date-page .tr{top:14px;right:14px}.date-page .bl{bottom:14px;left:14px}.date-page .br{bottom:14px;right:14px}@keyframes steamRise{0%{transform:translateY(6px) scale(.95);opacity:0}20%{opacity:.75}100%{transform:translateY(-6px) scale(1.05);opacity:0}}.steam{animation:steamRise 2.6s ease-in-out infinite}.steam.s2{animation-delay:.8s}.tea-heart{animation:pulseTea 2.2s ease-in-out infinite}@keyframes pulseTea{0%,100%{transform:translateX(-50%) scale(1)}50%{transform:translateX(-50%) scale(1.08)}}@media(max-width:420px){.countdown-grid{gap:8px}.count-item{padding:10px 6px}.count-label{font-size:9px;letter-spacing:.14em}.tea-story{gap:14px;height:110px}.tea-cup{width:68px;height:40px}}html.motion-reduced{scroll-behavior:auto}html.motion-reduced .steam,html.motion-reduced .tea-heart{animation:none}

/* Page 02 — royal gold miniature-inspired countdown. */
#wedding-date .date-content{max-width:420px}
#wedding-date .romantic-line{font-family:"Noto Serif Gujarati","Nirmala UI","Shruti",serif;font-size:clamp(15px,4.1vw,21px);line-height:1.75;color:#f2dbac;margin:0 auto 4px;font-weight:normal}
#wedding-date .tea-story{margin-bottom:20px;height:104px}
#wedding-date .date-message{min-height:0;margin:0 auto 20px;line-height:1.5}
#wedding-date .date-full{font-family:"Noto Serif Gujarati","Nirmala UI","Shruti",serif;font-size:clamp(19px,5.1vw,27px);letter-spacing:0;color:#ffe1a2}
#wedding-date .date-time{font-family:"Noto Serif Gujarati","Nirmala UI","Shruti",serif;font-size:clamp(12px,3.2vw,15px);margin-top:4px;color:#e7c78e}
#wedding-date .countdown-wrap{margin:0 auto;width:100%}
#wedding-date .countdown-ornament{display:flex;align-items:center;justify-content:center;gap:10px;color:#dfb66c;font-size:15px;margin:0 auto 14px}
#wedding-date .countdown-ornament:before,#wedding-date .countdown-ornament:after{content:"";width:64px;height:1px;background:linear-gradient(90deg,transparent,#d8b26a)}
#wedding-date .countdown-ornament:after{transform:rotate(180deg)}
#wedding-date .countdown-title{font-family:"Noto Serif Gujarati","Nirmala UI","Shruti",serif;font-size:clamp(13px,3.5vw,17px);letter-spacing:0;color:#f1d49a;margin:0 0 18px}
#wedding-date .countdown-grid{gap:8px;align-items:stretch}
#wedding-date .count-item{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:clamp(99px,26vw,125px);padding:23px 3px 14px;border:1px solid #cfa964;border-radius:48% 48% 5px 5px / 31% 31% 5px 5px;background:radial-gradient(ellipse at 50% 25%,#284678 0%,#112c58 65%,#0a1d3e 100%);box-shadow:0 4px 16px #0004,inset 0 0 15px #e2bb6c0a}
#wedding-date .count-item:before{content:"";position:absolute;inset:4px;border:1px solid #d9b67655;border-radius:inherit;pointer-events:none;z-index:-1}
#wedding-date .count-item:after{content:"✦";position:absolute;top:7px;left:50%;transform:translateX(-50%);font-size:10px;color:#d9b675;line-height:1}
#wedding-date .count-value{font-variant-numeric:tabular-nums;font-size:clamp(24px,6.8vw,37px);line-height:1.15;color:#ffe4ad;text-shadow:0 1px 5px #d6af5825}
#wedding-date .count-label{font-size:clamp(8px,2.1vw,10px);letter-spacing:.07em;line-height:1.25;margin-top:7px;color:#dfc18b;white-space:nowrap}
@media(max-width:360px){#wedding-date .countdown-grid{gap:5px}#wedding-date .count-item{padding-left:2px;padding-right:2px}#wedding-date .count-label{letter-spacing:0}}


.invitation-page{position:relative;isolation:isolate;width:min(100%,560px);margin:auto;min-height:100svh;overflow:hidden;padding:74px 36px 122px;text-align:center;color:#ecd3a0;background:radial-gradient(ellipse at 50% 34%,#193563,#091e43 53%,#06142b 95%);font-family:"Nirmala UI","Shruti","Noto Sans Gujarati",sans-serif}.invitation-page:before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,#d5bd8433 .6px,transparent 1px),repeating-linear-gradient(45deg,#d9bc7a06 0 1px,transparent 1px 5px);background-size:27px 31px,auto}.inv-arch{position:absolute;inset:18px 12px;width:calc(100% - 24px);height:calc(100% - 36px);z-index:-1;pointer-events:none}.inv-content{position:relative;max-width:440px;margin:auto}.inv-logo{width:clamp(74px,22vw,116px);aspect-ratio:845/963;margin:0 auto 15px;background:linear-gradient(115deg,#936024,#fce0a2 25%,#bd8b42 43%,#ffe8ae 56%,#b07b32 79%,#eac47e);background-size:250% 100%;mask: url(assets/art-09.png) center/contain no-repeat;-webkit-mask:url(assets/art-09.png) center/contain no-repeat;animation:inv-shine 7s ease-in-out infinite}.inv-kicker{font:10px Georgia,serif;letter-spacing:.3em;color:#d7b97e}.inv-prayer{font-size:13px;margin:12px 0 8px}.inv-title{font-size:clamp(29px,7vw,43px);font-weight:400;margin:12px 0 8px;color:#f6d69d}.inv-rule{color:#d5ad68;margin:10px auto 18px;font:18px Georgia;display:flex;justify-content:center;align-items:center;gap:12px}.inv-rule:before,.inv-rule:after{content:"";height:1px;width:53px;background:linear-gradient(90deg,transparent,#c6a66c)}.inv-rule:after{transform:rotate(180deg)}.inv-copy{font-size:clamp(14px,3.8vw,16px);line-height:1.9;margin:0 auto 17px;max-width:365px}.inv-name{font-size:clamp(31px,8vw,45px);font-weight:400;margin:8px 0 4px;color:#ffe0a6}.inv-family{font-size:clamp(12px,3.2vw,14px);line-height:1.7;margin:0}.inv-amp{font:italic 28px Georgia;margin:12px 0;color:#d7b77d}.inv-date{font-size:16px;margin:12px 0}.inv-sign{font-size:14px;letter-spacing:.035em}.inv-bird,.inv-plant{position:absolute;pointer-events:none;z-index:-1}.inv-bird{bottom:8px;width:31%;max-width:150px;opacity:.93}.inv-bird.left{left:2px}.inv-bird.right{right:2px;transform:scaleX(-1)}.inv-plant{width:16%;bottom:105px;opacity:.65;transform-origin:bottom center;animation:inv-sway 7s ease-in-out infinite alternate}.inv-plant.left{left:-12px}.inv-plant.right{right:-12px;animation-delay:-3s}.inv-lotus{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:#e2bf7b;font-size:30px}.inv-ready [data-inv]{opacity:0;transform:translateY(12px);transition:opacity .9s,transform .9s}.inv-ready [data-inv].seen{opacity:1;transform:none}@keyframes inv-shine{0%,100%{background-position:0 0}50%{background-position:100% 0}}@keyframes inv-sway{to{transform:rotate(4deg)}}html.motion-reduced .inv-logo,html.motion-reduced .inv-plant{animation:none}html.motion-reduced .inv-ready [data-inv]{opacity:1;transform:none;transition:none}


.invitation-page{background:#071526 url(assets/art-10.webp) center/100% 100% no-repeat;padding:clamp(100px,25vw,145px) 0 clamp(230px,48vw,285px);min-height:1100px;width:min(100%,560px)}
.invitation-page:before{background:none}.inv-content{width:72%;max-width:390px;padding:0 4px;text-shadow:0 1px 5px #061321,0 0 12px #061321}.inv-content:before{content:'';position:absolute;inset:-12px -8px;z-index:-1;background:radial-gradient(ellipse,#09182c99 35%,transparent 75%);pointer-events:none}.inv-logo{width:clamp(78px,21vw,112px);margin-bottom:10px}.inv-title{font-size:clamp(27px,6.6vw,41px)}.inv-copy{font-size:clamp(13px,3.55vw,16px);line-height:1.75;margin-bottom:12px}.inv-family{font-size:clamp(12px,3.3vw,15px)}.inv-name{font-size:clamp(30px,7vw,43px)}.inv-sign{font-size:clamp(12px,3vw,14px)}.inv-rule{margin:8px auto 13px}.inv-prayer{font-size:clamp(12px,3vw,14px)}.inv-amp{margin:8px 0}.invitation-page .inv-content{isolation:isolate}@media(min-width:480px){.invitation-page{min-height:1280px}} 


#formal-invitation{padding:105px 0 270px;min-height:1100px;container-type:inline-size}
#formal-invitation .inv-content{width:60%;max-width:330px;padding:0;z-index:1}
#formal-invitation .inv-content:before{display:none}
.inv-top{display:grid;grid-template-columns:1fr .85fr 1fr;align-items:center;gap:7px;width:124%;margin-left:-12%;margin-bottom:15px}
#formal-invitation .inv-top .inv-logo{width:100%;max-width:88px;margin:0 auto}
#formal-invitation .inv-prayer{font-size:clamp(9px,2.4cqw,13px);line-height:1.55;margin:0;color:#e8c88c;text-wrap:balance}
#formal-invitation .inv-title{font-family:"Noto Serif Gujarati","Nirmala UI","Shruti",serif;font-size:clamp(25px,6.8cqw,38px);font-weight:600;line-height:1.4;margin:8px -8px;color:#f5d399;text-shadow:0 2px 2px #402809,0 0 18px #e6b45e35;letter-spacing:.015em}
#formal-invitation .inv-copy{font-size:clamp(11px,3cqw,15px);line-height:1.75;margin:0 auto 12px}
#formal-invitation .inv-family{font-size:clamp(10px,2.8cqw,14px);line-height:1.65}
#formal-invitation .inv-name{font-size:clamp(25px,6.4cqw,36px);margin:7px 0 4px;line-height:1.35}
#formal-invitation .inv-amp{font-size:23px;margin:7px 0}
#formal-invitation .inv-sign{font-size:clamp(10px,2.7cqw,13px);line-height:1.6}
#formal-invitation .inv-content>div:last-child{width:86%;margin:auto}
#formal-invitation .inv-rule{margin:8px auto 13px}
#formal-invitation .garden-motion{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
@media(min-width:480px){#formal-invitation{min-height:1280px;padding-top:132px;padding-bottom:330px}}
html.motion-reduced #formal-invitation .garden-motion{display:none}

#formal-invitation .garden-motion{z-index:0;display:block}#formal-invitation .inv-content{z-index:1}#formal-invitation .inv-top{margin-bottom:8px}#formal-invitation .inv-top + .inv-rule{margin-top:5px}html.motion-reduced #formal-invitation .garden-motion{display:none}

#mandap{position:relative;isolation:isolate;width:min(100%,560px);aspect-ratio:928/1648;margin:auto;background:#521018 url("assets/art-11.webp") center/100% 100% no-repeat;overflow:hidden;container-type:inline-size;color:#f6d69d}#mandap .puja-copy{position:absolute;z-index:2;top:32.6%;left:24%;right:24%;text-align:center;font-family:"Nirmala UI","Shruti","Noto Sans Gujarati",sans-serif;line-height:1.55;text-shadow:0 2px 6px #30080e}#mandap .puja-prayer{font-size:3.1cqw;margin:0 0 3cqw}#mandap h2{font-weight:500;font-size:5.1cqw;line-height:1.25;margin:0; color:#ffe2a5}#mandap .puja-and{font:italic 3.8cqw Georgia;margin:1cqw 0}#mandap .puja-rule{display:flex;align-items:center;justify-content:center;gap:2cqw;margin:1.6cqw auto;color:#e8bc73;font-size:3cqw}#mandap .puja-rule:before,#mandap .puja-rule:after{content:'';height:1px;width:13cqw;background:linear-gradient(90deg,transparent,#e8bc73)}#mandap .puja-rule:after{transform:rotate(180deg)}#mandap .puja-date{font-size:4.1cqw;margin:.7cqw 0}#mandap .puja-small{font-size:3.25cqw;margin:.55cqw 0}#mandap .puja-motion{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}#mandap.ready [data-puja]{opacity:0;transform:translateY(8px);transition:opacity 1.1s,transform 1.1s}#mandap.ready [data-puja].seen{opacity:1;transform:none}html.motion-reduced #mandap .puja-motion{display:none}
#mandap .puja-english{font: 3.05cqw/1.45 Georgia,serif;color:#f1d8a9;margin:2.2cqw -1.5cqw 1cqw}


#haldi{position:relative;isolation:isolate;width:min(100%,560px);aspect-ratio:928/1648;margin:auto;background:#e8ae2b url("assets/art-12.webp") center/100% 100% no-repeat;overflow:hidden;container-type:inline-size;color:#55331b}
#haldi .haldi-copy{position:absolute;z-index:2;top:12.2%;left:22%;right:22%;text-align:center;font-family:Georgia,"Nirmala UI","Shruti",serif;color:#55331b}
#haldi .haldi-title-wrap{margin:0 auto 1.2cqw;display:flex;justify-content:center;align-items:center;flex-direction:column}
#haldi .haldi-title{display:block;width:min(100%,39cqw);height:auto;filter:url(#haldi-flat-ink)}
#haldi .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#haldi .haldi-gu{font:3.3cqw/1.4 "Nirmala UI","Shruti","Noto Sans Gujarati",sans-serif;letter-spacing:.03em;margin:1.8cqw 0 0;color:#623b21}
#haldi .haldi-rule{display:flex;align-items:center;justify-content:center;gap:2cqw;margin:2cqw 0 2.3cqw;color:#8b521c;font-size:3.1cqw}
#haldi .haldi-rule:before,#haldi .haldi-rule:after{content:'';height:1px;width:13cqw;background:linear-gradient(90deg,transparent,#9c641e)}#haldi .haldi-rule:after{transform:rotate(180deg)}
#haldi .haldi-description{font:2.85cqw/1.75 "Noto Serif Gujarati","Nirmala UI","Shruti",serif;margin:0 0 3.8cqw;color:#563419}
#haldi .haldi-date{font:600 3.3cqw/1.5 "Noto Serif Gujarati","Nirmala UI","Shruti",serif;letter-spacing:.04em;margin:0 0 1.1cqw;color:#713711}
#haldi .haldi-time{font:2.7cqw/1.6 "Noto Serif Gujarati","Nirmala UI","Shruti",serif;letter-spacing:.025em;margin:0 0 3cqw}
#haldi .haldi-place{font:600 3.65cqw/1.5 "Noto Serif Gujarati","Nirmala UI","Shruti",serif;margin:0;color:#713711}
#haldi .haldi-address{font:2.55cqw/1.5 "Noto Serif Gujarati","Nirmala UI","Shruti",serif;margin:1cqw 0 0}
#haldi .haldi-map{display:block;color:inherit;text-decoration:none;padding:1.2cqw .5cqw;border-radius:6px;cursor:pointer;-webkit-tap-highlight-color:#78340f22}#haldi .haldi-map-hint{display:inline-flex;align-items:center;justify-content:center;gap:4px;font:2.55cqw/1.5 "Noto Serif Gujarati","Nirmala UI","Shruti",serif;color:#713711;margin-top:1.1cqw;text-decoration:none}#haldi .haldi-map:focus-visible{outline:2px solid #78340f;outline-offset:2px}#haldi .haldi-map:hover .haldi-map-hint{color:#492008}
#haldi canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
#haldi.ready [data-haldi]{opacity:0;transform:translateY(7px);transition:opacity 1s,transform 1s}#haldi.ready [data-haldi].seen{opacity:1;transform:none}
html.motion-reduced #haldi canvas{display:none}


#sangeet{position:relative;isolation:isolate;width:min(100%,560px);aspect-ratio:928/1648;margin:auto;background:#181344 url("assets/art-15.webp") center/100% 100% no-repeat;overflow:hidden;container-type:inline-size;color:#f5d399}
#sangeet .sg-copy{position:absolute;z-index:2;top:15.5%;left:23%;right:23%;text-align:center;color:#f4d59e;font-family:"Noto Serif Gujarati","Nirmala UI","Shruti","Noto Sans Gujarati",serif}
#sangeet h2{font-size:8cqw;line-height:1.28;font-weight:600;margin:0;color:#ffdfa1;text-shadow:0 2px 6px #100b31;letter-spacing:-.02em}
#sangeet .sg-rule{display:flex;align-items:center;justify-content:center;gap:2.5cqw;margin:2.5cqw 0 2.5cqw;color:#e5b967;font-size:3.2cqw}
#sangeet .sg-rule:before,#sangeet .sg-rule:after{content:'';height:1px;width:13cqw;background:linear-gradient(90deg,transparent,#d4ad68)}#sangeet .sg-rule:after{transform:rotate(180deg)}
#sangeet .sg-description{font-size:3.05cqw;line-height:1.65;margin:0 0 2.7cqw;color:#f2d9b2}
#sangeet .sg-date{font-size:4.15cqw;line-height:1.45;font-weight:600;margin:0 0 1.2cqw}
#sangeet .sg-time{font-size:3.4cqw;line-height:1.5;margin:0 0 2.2cqw}
#sangeet .sg-map{display:block;color:inherit;text-decoration:none;padding:1cqw 0;cursor:pointer;border-radius:6px}#sangeet .sg-map:focus-visible{outline:2px solid #f5d399}
#sangeet .sg-place{font-size:4.1cqw;font-weight:600;line-height:1.45;margin:0}#sangeet .sg-address{font-size:2.9cqw;line-height:1.55;margin:.8cqw 0 0}#sangeet .sg-hint{display:inline-flex;align-items:center;gap:4px;font-size:2.85cqw;color:#e9c987;text-decoration:none;margin-top:1.6cqw}
#sangeet canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
#sangeet.ready [data-sg]{opacity:0;transform:translateY(7px);transition:opacity 1s,transform 1s}#sangeet.ready [data-sg].seen{opacity:1;transform:none}
html.motion-reduced #sangeet canvas{display:none}


.event-dress{display:flex;align-items:center;justify-content:center;gap:2.1cqw;margin:1.6cqw auto 0;padding:3.0cqw 0 0;width:100%;text-align:left;position:relative;}
.event-dress::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent 0 12%, currentColor 12% 42%, transparent 42% 58%, currentColor 58% 88%, transparent 88%);opacity:.45}
.event-dress::after{content:"✤";position:absolute;left:50%;top:0;transform:translate(-50%,-58%);font-size:2.6cqw;line-height:1;color:currentColor;text-shadow:0 0 1px rgba(255,255,255,.2)}
.event-dress img{display:block;width:17cqw;height:22cqw;object-fit:contain;filter:drop-shadow(0 1px 1px #0002)}
.dress-copy{display:flex;flex-direction:column;gap:.55cqw;min-width:0;max-width:35cqw;}
.dress-label{font-size:2.2cqw;line-height:1.2;opacity:.9;letter-spacing:.14em}.dress-copy strong{font-size:3.1cqw;line-height:1.3;font-weight:600;}.dress-desc{font-size:2.3cqw;line-height:1.35;}.dress-swatches{display:flex;gap:.8cqw;margin-top:.5cqw}.dress-swatches i{width:2.6cqw;height:2.6cqw;display:block;border-radius:50%;border:1px solid #6d4d3955}
#haldi .haldi-copy{top:9.1%;left:23%;right:23%}#haldi .haldi-title{width:34cqw}#haldi .haldi-rule{margin:1cqw 0 1.4cqw}#haldi .haldi-description{margin:0 0 2cqw;line-height:1.55}#haldi .haldi-date{margin:0 0 .45cqw}#haldi .haldi-time{margin:0 0 1.2cqw}#haldi .haldi-map{padding:.2cqw 0}#haldi .haldi-map-hint{margin-top:1.1cqw}#haldi .event-dress{color:#4d264d}#haldi .event-dress img{height:19cqw;width:15cqw}
#haldi .haldi-map-hint,#sangeet .sg-hint{display:flex;align-items:center;justify-content:center;gap:4px;position:relative;width:100%;padding-top:2.3cqw;text-decoration:none}
#haldi .haldi-map-hint::before,#sangeet .sg-hint::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent 0 12%, currentColor 12% 42%, transparent 42% 58%, currentColor 58% 88%, transparent 88%);opacity:.42}
#haldi .haldi-map-hint::after,#sangeet .sg-hint::after{content:"✤";position:absolute;left:50%;top:0;transform:translate(-50%,-58%);font-size:2.45cqw;line-height:1;color:currentColor;text-shadow:0 0 1px rgba(255,255,255,.2)}
#sangeet .sg-copy{top:13.3%;left:24%;right:24%;color:#f2d9b2}#sangeet h2{color:#ffdfa1;text-shadow:none;font-size:6.5cqw}#sangeet .sg-description{color:#f2d9b2;line-height:1.55;font-size:2.9cqw;margin:0 0 1.7cqw}#sangeet .sg-rule{color:#d4ad68;margin:.8cqw 0 1cqw}#sangeet .sg-rule:before,#sangeet .sg-rule:after{background:linear-gradient(90deg,transparent,#d4ad68)}#sangeet .sg-date{font-size:3.8cqw;margin:0 0 .4cqw}#sangeet .sg-time{font-size:3.1cqw;margin:0 0 1cqw}#sangeet .sg-place{font-size:3.6cqw}#sangeet .sg-address{font-size:2.65cqw;margin:.2cqw 0 0}#sangeet .sg-hint{color:#e9c987;margin-top:1.1cqw;font-size:2.55cqw}#sangeet .sg-map{padding:.1cqw 0}#sangeet .event-dress{margin-top:1.2cqw;padding-top:2.7cqw}#sangeet .event-dress img{height:15cqw;width:17cqw}#sangeet .dress-copy strong{font-size:3cqw}#sangeet .dress-copy{gap:.3cqw}


#wedding-main{position:relative;isolation:isolate;width:min(100%,560px);aspect-ratio:941/1901;margin:auto;overflow:hidden;background:#500a13 url("assets/art-17.webp") center/100% 100% no-repeat;color:#f5d399;container-type:inline-size}
#wedding-main canvas{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none}
#wedding-main .wed-copy{position:absolute;z-index:2;top:36.8cqw;left:23%;right:23%;text-align:center;color:#f4d9ab;font-family:"Noto Serif Gujarati","Nirmala UI","Shruti",serif}
#wedding-main h2{font:600 5.7cqw/1.2 "Noto Serif Gujarati","Nirmala UI","Shruti",serif;margin:0;color:#ffdda0;text-shadow:0 1px 3px #35070c;letter-spacing:0}
#wedding-main .wed-kicker{font:normal 1.7cqw/1.4 Georgia,serif;letter-spacing:.24em;color:#d6b571;margin:0 0 1.3cqw}
#wedding-main .wed-rule{display:flex;align-items:center;justify-content:center;gap:2cqw;margin:.65cqw auto .85cqw;color:#e3ba73;font-size:2.6cqw;line-height:1}
#wedding-main .wed-rule:before,#wedding-main .wed-rule:after{content:"";height:1px;width:13cqw;background:linear-gradient(90deg,transparent,#dab474)}#wedding-main .wed-rule:after{transform:rotate(180deg)}
#wedding-main .wed-description{font-size:2.25cqw;line-height:1.5;margin:0 0 .55cqw}
#wedding-main .wed-names{font-size:4.05cqw;line-height:1.25;color:#ffdda0;margin:0 0 .7cqw}#wedding-main .wed-names span{font-family:Georgia,serif;font-style:italic;font-size:.85em;color:#d6b571}
#wedding-main .wed-date{font-size:3.2cqw;line-height:1.4;font-weight:600;margin:0;color:#ffdda0}
#wedding-main .wed-day{font-size:2.35cqw;line-height:1.4;margin:.08cqw 0 .5cqw}
#wedding-main .wed-events{display:grid;grid-template-columns:1fr 1fr;gap:1.1cqw;margin:0 auto;align-items:start}
#wedding-main .wed-events div+div{border-left:1px solid #d7b56b65}
#wedding-main .wed-events svg{display:block;margin:0 auto .6cqw;width:4.2cqw;height:3.7cqw;color:#e9c481}
#wedding-main .wed-events strong{font-weight:600;font-size:2.7cqw;display:block;line-height:1.4;color:#ffdda0}
#wedding-main .wed-events p{font-size:2.25cqw;line-height:1.5;margin:.25cqw 0 0;white-space:nowrap}
#wedding-main .wed-venue-label{font-size:2.0cqw;line-height:1.4;margin:0 0 .42cqw;color:#d9b97a}
#wedding-main .wed-venue-title{font-size:3.05cqw;line-height:1.4;font-weight:600;margin:0 0 .5cqw;color:#ffdda0}
#wedding-main .wed-venue{font-size:2.15cqw;line-height:1.4;margin:0}
#wedding-main.ready [data-wed]{opacity:0;transform:translateY(6px);transition:opacity .85s,transform .85s}#wedding-main.ready [data-wed].seen{opacity:1;transform:none}
html.motion-reduced #wedding-main canvas{display:none}html.motion-reduced #wedding-main.ready [data-wed]{opacity:1;transform:none;transition:none}
#wedding-main .wed-map{display:block;color:inherit;text-decoration:none;border-radius:5px;padding:.15cqw 0;cursor:pointer}#wedding-main .wed-map:focus-visible{outline:2px solid #ffdda0}
#wedding-main .wed-hint{display:inline-flex;align-items:center;justify-content:center;gap:.55cqw;color:#e9c987;font-size:2.15cqw;line-height:1.35;text-decoration:underline;text-underline-offset:2px;margin-top:.45cqw}#wedding-main .wed-hint svg{width:2.5cqw;height:2.5cqw}
#wedding-main .wed-dress-rule{margin:.9cqw auto .75cqw;font-size:2.2cqw}
#wedding-main .wed-dress{display:flex;align-items:center;justify-content:center;gap:2.1cqw;text-align:left;font-family:Georgia,serif;color:#f4d9ab}#wedding-main .wed-dress img{width:12cqw;height:14cqw;object-fit:contain}#wedding-main .wed-dress small{font-size:1.8cqw;letter-spacing:.17em;display:block;margin-bottom:.6cqw}#wedding-main .wed-dress strong{font:normal 3.0cqw/1.2 Georgia,serif;white-space:nowrap}#wedding-main .wed-dress .dress-swatches{margin-top:.8cqw}#wedding-main .wed-dress .dress-swatches i{width:2.1cqw;height:2.1cqw}


/* Fail open: static invitation remains readable when JavaScript is unavailable. */
.scene:not(.intro-running) .lit,.scene.intro-static .lit{opacity:1!important;mask-image:none!important;-webkit-mask-image:none!important}
.scene:not(.intro-running) .letter,.scene.intro-static .letter{opacity:1!important;animation:none!important;transform:translateX(-50%);filter:none}
.scene.intro-running .lit{opacity:0!important;mask-image:none!important;-webkit-mask-image:none!important}
#light-layer{pointer-events:none;display:block}
.scene:not(.intro-running) #light-layer{display:none}
.clouds{-webkit-mask-image:linear-gradient(black 0%,black 24%,transparent 35%)}
main{height:100vh;height:100svh}.scene{height:min(100vh,177.6vw);height:min(100svh,177.6vw);width:min(100vw,56.3vh);width:min(100vw,56.3svh)}
.date-page,.invitation-page{min-height:100vh;min-height:100svh}
/* Soft scene change: a brief light veil on first entrance, no forced scrolling. */
.wedding-transition{position:absolute;inset:0;pointer-events:none;z-index:20;background:linear-gradient(180deg,var(--transition-tone,#07152d) 0%,transparent 85%);opacity:0;}
.wedding-transition.arrive{animation:wedding-arrive 1.15s cubic-bezier(.16,.7,.25,1) both}
@keyframes wedding-arrive{0%{opacity:.80}100%{opacity:0}}
html.motion-reduced .wedding-transition.arrive{animation:none}


#haldi .event-dress,#sangeet .event-dress{font-family:Georgia,"Times New Roman",serif;gap:2.5cqw;align-items:center;justify-content:center;text-align:left}
#haldi .event-dress img,#sangeet .event-dress img{width:16cqw;height:18cqw;object-fit:contain;filter:none}
#haldi .dress-copy,#sangeet .dress-copy{gap:.8cqw;max-width:38cqw}
#haldi .dress-label,#sangeet .dress-label{font-size:2cqw;letter-spacing:.17em;line-height:1.3;opacity:.9}
#haldi .dress-copy strong,#sangeet .dress-copy strong{font:normal 3.3cqw/1.2 Georgia,"Times New Roman",serif;white-space:nowrap}
#haldi .dress-swatches i,#sangeet .dress-swatches i{width:2.2cqw;height:2.2cqw;border:1px solid #d4ad6877}
#sangeet .event-dress img{height:15cqw;width:15cqw}


/* Page 02 only: original blue background, miniature-painted tea border. */
#wedding-date{isolation:isolate;padding:clamp(80px,19vw,110px) clamp(25px,8vw,48px) clamp(204px,59vw,330px);min-height:100vh;min-height:max(100svh,177.6vw);min-height:max(100svh,min(177.6vw,995px))}
#wedding-date .date-frame{z-index:0;inset:15px;border-color:#c9a76b38}
#wedding-date .corner{display:none}
#wedding-date .tea-art-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:1;pointer-events:none}
#wedding-date .date-content{z-index:3;max-width:420px}
#wedding-date .date-heading{margin:12px 0 6px;font-size:clamp(32px,9vw,50px)}
#wedding-date .date-ornament{margin:10px auto 18px}
#wedding-date .romantic-line{margin:0 auto 20px}
#wedding-date .date-message{margin:0 auto 18px}
#wedding-date .countdown-title{margin-bottom:13px}
#wedding-date .countdown-grid{gap:6px}
#wedding-date .count-item{min-height:clamp(88px,24vw,116px)}
#wedding-date .count-value{font-size:clamp(23px,6.6vw,35px)}
#wedding-date .count-label{font-size:clamp(7px,1.9vw,10px);letter-spacing:.04em}
#wedding-date .tea-art-steam{position:absolute;inset:0;z-index:2;pointer-events:none}
#wedding-date .tea-art-steam svg{position:absolute;bottom:12.4%;left:26%;width:5%;height:8%;overflow:visible;fill:none;stroke:#f8e4c2;stroke-width:1.35;stroke-linecap:round;animation:tea-border-steam 4.5s ease-in-out infinite}
#wedding-date .tea-art-steam svg+svg{left:72%;bottom:12.8%;animation-delay:-2.2s}
@keyframes tea-border-steam{0%{opacity:0;transform:translateY(5px) scale(.8)}35%{opacity:.35}100%{opacity:0;transform:translateY(-10px) scale(1.1)}}
html.motion-reduced #wedding-date .tea-art-steam{display:none}


/* Page 02: integrated miniature painting; retain original navy and gold typography. */
#wedding-date .date-frame{display:none}
#wedding-date .tea-art-frame{object-fit:fill}
#wedding-date .tea-motion{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
#wedding-date .tea-art-steam{z-index:2}
#wedding-date .tea-art-steam svg{left:39.2%;bottom:17.4%;width:4%;height:8%;stroke-width:.9;filter:blur(.45px)}
#wedding-date .tea-art-steam svg+svg{left:63%;bottom:17.1%}
#wedding-date{padding-top:clamp(135px,34vw,190px);padding-bottom:clamp(220px,62vw,347px)}
#wedding-date .date-content{max-width:390px;top:clamp(-48px,-8vw,-24px)}
#wedding-date .countdown-grid{gap:6px}
html.motion-reduced #wedding-date .tea-motion{display:none}


#family-greetings{position:relative;isolation:isolate;width:min(100%,560px);aspect-ratio:928/1648;margin:auto;overflow:hidden;background:#081b39;color:#e9d1a2;container-type:inline-size;font-family:"Noto Serif Gujarati","Nirmala UI","Shruti",serif}
#family-greetings .family-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:0}
#family-greetings canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
#family-greetings .family-copy{position:absolute;z-index:2;top:23%;left:15%;right:15%;text-align:center}
#family-greetings h2{font-size:6.2cqw;font-weight:600;line-height:1.45;margin:0;color:#ffdda0;text-shadow:0 1px 2px #020c1a;letter-spacing:0}
#family-greetings .family-rule{display:flex;align-items:center;justify-content:center;gap:2.5cqw;color:#d5ad66;font-size:3cqw;line-height:1;margin:2.1cqw 0 3cqw}
#family-greetings .family-rule:before,#family-greetings .family-rule:after{content:'';height:1px;width:14cqw;background:linear-gradient(90deg,transparent,#d5ad66)}#family-greetings .family-rule:after{transform:rotate(180deg)}
#family-greetings .family-welcome{font-size:2.75cqw;line-height:1.75;margin:0 auto 3.6cqw;max-width:59cqw;color:#e9d1a2}
#family-greetings .family-names{margin:0;line-height:1.62;color:#f7d99d;font-size:3.5cqw;font-weight:500;letter-spacing:0}
#family-greetings .family-names span{display:block;font-size:3.25cqw}
#family-greetings .family-separator{margin:2.5cqw auto;color:#d6b575;font-size:2.8cqw;line-height:1}
#family-greetings .family-sign{font-size:3.7cqw;color:#ffdda0;line-height:1.55;margin:3.1cqw 0 0}
#family-greetings .family-blessing{font-size:2.8cqw;color:#e7c78d;margin:1.8cqw 0 0}
#family-greetings .family-veil{position:absolute;inset:0;pointer-events:none;z-index:3;background:linear-gradient(180deg,#081b39,transparent);opacity:0}
#family-greetings .family-veil.arrive{animation:family-arrive 1.1s ease-out both}@keyframes family-arrive{from{opacity:.72}to{opacity:0}}
#family-greetings .family-copy> *{opacity:1}#family-greetings .family-copy.enter> *{animation:family-reveal .9s ease-out both;animation-delay:var(--d,0s)}@keyframes family-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
html.motion-reduced #family-greetings canvas{display:none}html.motion-reduced #family-greetings .family-copy.enter>*,html.motion-reduced #family-greetings .family-veil.arrive{animation:none}


#mandap .puja-home-map,#family-greetings .family-home-map{display:block;color:inherit;text-decoration:none;border-radius:4px;-webkit-tap-highlight-color:#d9b77833}
#mandap .home-map-hint,#family-greetings .home-map-hint{display:inline-flex;align-items:center;justify-content:center;gap:4px;color:#e9c987;text-decoration:underline;text-underline-offset:3px;font-size:2.65cqw;line-height:1.5}
#mandap .puja-home-map:focus-visible,#family-greetings .family-home-map:focus-visible{outline:2px solid #e9c987;outline-offset:3px}
#family-greetings .family-copy{top:18%;}
#family-greetings .family-welcome{margin-bottom:3cqw}
#family-greetings .family-separator{margin:2cqw auto}
#family-greetings .family-home{margin:0 auto}
#family-greetings .family-home .family-rule{margin:2cqw 0 1.7cqw}
#family-greetings .family-address{display:block;font-size:2.7cqw;line-height:1.65;color:#e9d1a2}
#family-greetings .home-map-hint{margin-top:.7cqw}
#family-greetings .family-home + .family-rule{margin:1.8cqw 0 1.6cqw}
#family-greetings .family-sign{margin-top:0}


#music-toggle{position:fixed;z-index:1000;top:calc(12px + env(safe-area-inset-top,0px));right:max(12px,calc((100vw - 560px)/2 + 12px));width:40px;height:40px;display:grid;place-items:center;padding:0;background:#07152ded;color:#f5d399;border:1px solid #cba66b99;border-radius:50%;box-shadow:0 2px 10px #0005;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#music-toggle svg{width:19px;height:19px;display:block}#music-toggle .music-on{display:none}#music-toggle[aria-pressed="true"] .music-on{display:block}#music-toggle[aria-pressed="true"] .music-off{display:none}
#music-toggle:focus-visible{outline:2px solid #ffe5b1;outline-offset:3px}
#music-toggle[hidden]{display:none}

/* Compatibility: text is never permanently hidden if a scroll observer fails. */
.inv-ready [data-inv],#mandap.ready [data-puja],#haldi.ready [data-haldi],#sangeet.ready [data-sg],#wedding-main.ready [data-wed]{opacity:1;transform:none}
html:not(.motion-reduced) .inv-ready [data-inv].seen,html:not(.motion-reduced) #mandap.ready [data-puja].seen,html:not(.motion-reduced) #haldi.ready [data-haldi].seen,html:not(.motion-reduced) #sangeet.ready [data-sg].seen,html:not(.motion-reduced) #wedding-main.ready [data-wed].seen{animation:compat-reveal .75s ease-out both}
@keyframes compat-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
#motion-toggle{position:fixed;z-index:1001;top:12px;left:12px;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));border:1px solid #c9a76b88;border-radius:24px;padding:8px 12px;background:#07152de8;color:#f6d598;font:12px Georgia,serif;cursor:pointer;box-shadow:0 2px 8px #0005;min-height:38px}#motion-toggle[hidden]{display:none}

/* V58: uninterrupted motion control and soft, non-blocking page arrivals. */
main{position:relative;isolation:isolate}
.wedding-transition{background:linear-gradient(180deg,var(--transition-tone,#07152d),transparent 92%);opacity:0;pointer-events:none;z-index:20}
.wedding-transition.arrive{animation:page-soft-arrive .95s cubic-bezier(.2,.7,.25,1) both}
@keyframes page-soft-arrive{0%{opacity:.38}100%{opacity:0}}
html.motion-reduced .wedding-transition.arrive{animation:none;opacity:0}
#motion-toggle{left:max(12px,calc((100vw - 560px)/2 + 12px),env(safe-area-inset-left));touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#back-to-top{position:fixed;right:max(12px,calc((100vw - 560px)/2 + 12px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:1000;width:42px;height:42px;border-radius:50%;border:1px solid #cba66b99;color:#f5d399;background:#07152ded;box-shadow:0 2px 10px #0005;display:grid;place-items:center;padding:0;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .25s ease,transform .25s ease,visibility .25s;pointer-events:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#back-to-top.visible{opacity:1;visibility:visible;transform:none;pointer-events:auto}
#back-to-top:focus-visible,#motion-toggle:focus-visible{outline:2px solid #ffe5b1;outline-offset:3px}
html.motion-reduced #back-to-top{transition:none;transform:none}
html.motion-reduced .family-veil{opacity:0!important}
