.t-ganesha-envelope{--maroon:#7a1f2b;--gold:#b8892f;--cream:#f7eedd}.t-ganesha-envelope *{box-sizing:border-box;margin:0;padding:0}.t-ganesha-envelope{width:100%;height:100%;color:var(--maroon);-webkit-tap-highlight-color:transparent;background:radial-gradient(circle at 50% 30%,#8e2c3a,#4a1220);justify-content:center;align-items:center;font-family:Lora,serif;display:flex;overflow:hidden}.t-ganesha-envelope .phone{background:var(--cream);perspective:1400px;border-radius:min(4vw,36px);width:min(100%,430px);height:min(100%,900px);position:relative;overflow:hidden;box-shadow:0 30px 80px #0008;container-type:size}.t-ganesha-envelope img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none;display:block}.t-ganesha-envelope .envelope{transition:opacity .9s,transform 1.1s cubic-bezier(.6,0,.3,1);position:absolute;inset:0}.t-ganesha-envelope .paper{background:var(--cream) url(/templates/ganesha-envelope/card-bg.webp) center/cover;position:absolute;inset:0}.t-ganesha-envelope .brand{text-align:center;width:100%;color:var(--maroon);z-index:9;font:600 26px Playfair Display,serif;transition:opacity .5s;position:absolute;top:5%}.t-ganesha-envelope .brand b{vertical-align:-4px;border:3px solid #c7374a;border-radius:7px;width:26px;height:26px;margin-right:6px;display:inline-block;transform:rotate(-8deg)}.t-ganesha-envelope .env{aspect-ratio:1;width:90%;position:absolute;top:16%;left:5%}.t-ganesha-envelope .pocket-back{background:#5e1622;border-radius:4px;position:absolute;inset:4% 13% 5%}.t-ganesha-envelope .card{z-index:2;background:#fbf4e4 url(/templates/ganesha-envelope/card-bg.webp) 50%/cover;border-radius:6px;height:86%;transition:transform 1.2s cubic-bezier(.3,.7,.2,1);position:absolute;top:6%;left:15%;right:15%;overflow:hidden;box-shadow:0 -6px 24px #0003}.t-ganesha-envelope .card .mantra{text-align:center;color:var(--maroon);margin-top:12%;font:20px Tiro Devanagari Sanskrit,serif}.t-ganesha-envelope .card img{width:60%;margin:5% auto 0}.t-ganesha-envelope .body{z-index:3;position:absolute;inset:0}.t-ganesha-envelope .body img{object-fit:contain;width:100%;height:100%}.t-ganesha-envelope .flap{z-index:4;transform-origin:50% 0;height:50%;transform-style:preserve-3d;transition:transform 1s cubic-bezier(.5,0,.3,1);position:absolute;top:3%;left:11%;right:11%}.t-ganesha-envelope .flap img{object-fit:fill;backface-visibility:hidden;width:100%;height:100%;position:absolute;inset:0}.t-ganesha-envelope .flap .inside{transform:rotateX(180deg)}.t-ganesha-envelope .ribbon{z-index:5;background:linear-gradient(90deg,#c9a24a 0 7%,#7a1f2b 7% 12%,#8e2638 12% 88%,#7a1f2b 88% 93%,#c9a24a 93%);border-radius:2px;width:13%;height:78%;transition:transform .8s,opacity .8s;position:absolute;top:-14%;left:50%;transform:translate(-50%);box-shadow:0 2px 6px #0004}.t-ganesha-envelope .seal{z-index:6;cursor:pointer;pointer-events:auto;width:34%;transition:transform .6s,opacity .6s;position:absolute;top:52%;left:50%;transform:translate(-50%,-50%)}.t-ganesha-envelope .seal img{width:100%}.t-ganesha-envelope .seal .tassels{z-index:-1;width:44%;position:absolute;top:62%;left:28%}.t-ganesha-envelope .seal.hint{animation:2.2s ease-in-out infinite ganesha-envelope-breathe}.t-ganesha-envelope .seal.glow img:first-child{animation:.9s forwards ganesha-envelope-glow}@keyframes ganesha-envelope-breathe{50%{transform:translate(-50%,-50%)scale(1.04)}}@keyframes ganesha-envelope-glow{0%{filter:none}60%{filter:drop-shadow(0 0 18px #ffb347)drop-shadow(0 0 40px #ff8c1a)brightness(1.25)}to{filter:drop-shadow(0 0 26px #ffcf70)brightness(1.4)}}.t-ganesha-envelope .closed-text{text-align:center;z-index:7;width:100%;transition:opacity .5s;position:absolute;bottom:5%}.t-ganesha-envelope .closed-text h2{font:italic 500 26px Playfair Display,serif}.t-ganesha-envelope .closed-text .line{background:var(--gold);width:120px;height:1px;margin:10px auto 22px}.t-ganesha-envelope button.open{color:#fff;cursor:pointer;background:linear-gradient(#8e2638,#6a1424);border:0;border-radius:40px;padding:16px 42px;font:500 19px Lora,serif;box-shadow:0 8px 20px #6a142455}.t-ganesha-envelope button.open:active{transform:scale(.97)}.t-ganesha-envelope .s-glow .closed-text,.t-ganesha-envelope .s-glow .brand{opacity:0}.t-ganesha-envelope .s-open .ribbon{opacity:0;transform:translate(-50%,-120%)}.t-ganesha-envelope .s-open .seal{opacity:0;transform:translate(-50%,-50%)scale(.3)}.t-ganesha-envelope .s-open .flap{z-index:1;transform:rotateX(180deg)}.t-ganesha-envelope .s-reveal .card{transform:translateY(-58%)}.t-ganesha-envelope .s-explore .envelope{opacity:0;pointer-events:none;transform:scale(1.15)}.t-ganesha-envelope .invite{opacity:0;pointer-events:none;scroll-behavior:smooth;transition:opacity 1s .2s;position:absolute;inset:0;overflow-y:auto}.t-ganesha-envelope .s-explore .invite{opacity:1;pointer-events:auto}.t-ganesha-envelope .page{text-align:center;background:#fbf4e4 url(/templates/ganesha-envelope/card-bg.webp) top/100% no-repeat;min-height:100%;padding:0 8% 40px;position:relative}.t-ganesha-envelope .layer{will-change:transform;pointer-events:none;transition:transform .25s ease-out;position:absolute}.t-ganesha-envelope .layer img{width:100%;display:block}.t-ganesha-envelope .invite{scrollbar-width:none;overflow-x:hidden}.t-ganesha-envelope .invite::-webkit-scrollbar{display:none}.t-ganesha-envelope .lamps{width:100%;top:0;left:0}.t-ganesha-envelope .lamps img{transform-origin:50% 0;width:100%;animation:4s ease-in-out infinite ganesha-envelope-sway}@keyframes ganesha-envelope-sway{50%{transform:rotate(1.2deg)}}.t-ganesha-envelope .leaves{width:42%;bottom:5%;left:-8%}.t-ganesha-envelope .vilakku{width:15%;bottom:7%;left:14%}.t-ganesha-envelope .flowers{width:42%;bottom:5%;right:-6%}.t-ganesha-envelope .flame{animation:1.6s infinite alternate ganesha-envelope-flicker}@keyframes ganesha-envelope-flicker{to{filter:brightness(1.15)drop-shadow(0 0 6px #ffc46b)}}.t-ganesha-envelope .hero{z-index:2;height:100%;min-height:640px;padding-top:15%;position:relative}.t-ganesha-envelope .mantra2{font:22px Tiro Devanagari Sanskrit,serif}.t-ganesha-envelope .ganesha{cursor:pointer;pointer-events:auto;width:66%;margin:4% auto 0;transition:transform .4s}.t-ganesha-envelope .ganesha:active{transform:scale(.96)}.t-ganesha-envelope .bless{margin-top:3%;font:italic 17px Lora,serif}.t-ganesha-envelope .bless b{font:italic 600 21px Playfair Display,serif;display:block}.t-ganesha-envelope .div{color:var(--gold);letter-spacing:6px;margin:6px 0}.t-ganesha-envelope .names{outline:none;margin-top:2%;font:600 clamp(40px,12cqw,52px)/1.05 Playfair Display,serif}.t-ganesha-envelope .names i{color:var(--gold);font:40px Great Vibes,cursive;display:block}.t-ganesha-envelope .down{border:1.5px solid var(--gold);cursor:pointer;background:#fff8;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;margin-top:4%;animation:1.8s infinite ganesha-envelope-bob;display:inline-flex}@keyframes ganesha-envelope-bob{50%{transform:translateY(6px)}}.t-ganesha-envelope .reveal{opacity:0;transition:opacity .8s,transform .8s;transform:translateY(16px)}.t-ganesha-envelope .s-explore .reveal{opacity:1;transform:none}.t-ganesha-envelope .s-explore .r1{transition-delay:.6s}.t-ganesha-envelope .s-explore .r2{transition-delay:1.1s}.t-ganesha-envelope .s-explore .r3{transition-delay:1.5s}.t-ganesha-envelope .s-explore .r4{transition-delay:1.9s}.t-ganesha-envelope .s-explore .r5{transition-delay:2.4s}.t-ganesha-envelope section.more{z-index:2;padding:30px 0 10px;position:relative}.t-ganesha-envelope h3{margin-bottom:14px;font:600 28px Playfair Display,serif}.t-ganesha-envelope .ev{text-align:left;cursor:pointer;background:#fffaf0;border:1px solid #e9d6ad;border-radius:14px;justify-content:space-between;align-items:center;margin:10px 0;padding:14px 16px;transition:transform .2s,box-shadow .2s;display:flex}.t-ganesha-envelope .ev:hover{transform:translateY(-2px);box-shadow:0 6px 16px #7a1f2b1a}.t-ganesha-envelope .ev b{font:600 18px Playfair Display,serif}.t-ganesha-envelope .ev small{color:#7c5a4a;display:block}.t-ganesha-envelope .ev .cal{color:var(--gold);border:1px solid var(--gold);white-space:nowrap;border-radius:20px;padding:5px 10px;font-size:13px}.t-ganesha-envelope .venue{background:#fffaf0;border:1px solid #e9d6ad;border-radius:14px;padding:18px}.t-ganesha-envelope .venue a{color:var(--maroon);border:1px solid var(--gold);border-radius:24px;margin-top:10px;padding:8px 18px;text-decoration:none;display:inline-block}.t-ganesha-envelope .rsvp{flex-direction:column;gap:10px;margin:14px 0;display:flex}.t-ganesha-envelope .rsvp label{cursor:pointer;background:#fffaf0;border:1px solid #e9d6ad;border-radius:30px;align-items:center;gap:10px;padding:12px 18px;display:flex}.t-ganesha-envelope .rsvp input{accent-color:var(--maroon);width:18px;height:18px}.t-ganesha-envelope .thanks{padding:16px;font:italic 20px Lora,serif;display:block}.t-ganesha-envelope .made{z-index:20;color:#fff;background:#4a1430;justify-content:space-between;align-items:center;gap:8px;margin:0 -9%;padding:10px 14px;font-size:14px;display:flex;position:sticky;bottom:0}.t-ganesha-envelope .made a{color:#ffd9c7;font-weight:600;text-decoration:none}.t-ganesha-envelope .replay{z-index:30;border:1px solid var(--gold);cursor:pointer;background:#fff9;border-radius:20px;padding:6px 12px;font-size:13px;display:none;position:absolute;top:12px;right:12px}.t-ganesha-envelope .petal{z-index:25;pointer-events:none;background:#f3a1b5;border-radius:60% 0;width:14px;height:10px;font-size:0;animation:linear forwards ganesha-envelope-fall;position:absolute}@keyframes ganesha-envelope-fall{to{transform:translate(var(--dx), 110cqh) rotate(540deg);opacity:.2}}@media (max-width:500px){.t-ganesha-envelope .phone{border-radius:0}}.t-ganesha-envelope .div{letter-spacing:0;justify-content:center;align-items:center;gap:10px;display:flex}.t-ganesha-envelope .div i{background:var(--gold);width:46px;height:1px;display:block}.t-ganesha-envelope .mantra-en{color:#7c5a4a;margin-top:2px;font:italic 13px Lora,serif}.t-ganesha-envelope .down{color:var(--maroon)}.t-ganesha-envelope .fam{gap:12px;display:grid}.t-ganesha-envelope .fam p b{font:600 20px Playfair Display,serif;display:block}.t-ganesha-envelope .fam p small,.t-ganesha-envelope .venue small{color:#7c5a4a;font-size:14px}.t-ganesha-envelope .events small+small{margin-top:2px}.t-ganesha-envelope a.ev{color:inherit;text-decoration:none}.t-ganesha-envelope .venue+.venue{margin-top:10px}.t-ganesha-envelope .venue.info{text-align:left;gap:14px;display:grid}.t-ganesha-envelope .venue .row{color:inherit;border:0;border-radius:0;align-items:flex-start;gap:12px;margin:0;padding:0;text-decoration:none;display:flex}.t-ganesha-envelope .venue .row svg{width:22px;height:22px;color:var(--gold);flex:none;margin-top:2px}.t-ganesha-envelope .venue .row b{font:600 16px Playfair Display,serif;display:block}.t-ganesha-envelope .venue .row small{display:block}.t-ganesha-envelope .venue a.upi{margin-top:8px;padding:6px 14px;font-size:14px}.t-ganesha-envelope .note{color:#7c5a4a;font:italic 15px Lora,serif}.t-ganesha-envelope .txt{color:var(--maroon);background:#fffaf0;border:1px solid #e9d6ad;border-radius:30px;outline:none;width:100%;padding:12px 18px;font:16px Lora,serif}.t-ganesha-envelope .txt:focus{border-color:var(--gold)}.t-ganesha-envelope .step{justify-content:space-between;align-items:center;padding:4px 18px;display:flex}.t-ganesha-envelope .step div{align-items:center;gap:14px;display:flex}.t-ganesha-envelope .step button{border:1px solid var(--gold);width:34px;height:34px;color:var(--maroon);cursor:pointer;background:#fffaf0;border-radius:50%;font-size:18px}.t-ganesha-envelope .rsvp button.open{margin-top:6px}.t-ganesha-envelope button:disabled{opacity:.65;cursor:default}.t-ganesha-envelope .err{color:#c62828;margin-top:6px;font-size:14px}.t-ganesha-envelope .wf{gap:10px;margin-bottom:14px;display:grid}.t-ganesha-envelope .wrow{gap:8px;display:flex}.t-ganesha-envelope .wrow button{color:#fff;cursor:pointer;background:linear-gradient(#8e2638,#6a1424);border:0;border-radius:30px;flex:none;padding:0 20px;font:500 15px Lora,serif}.t-ganesha-envelope .venue.wish{text-align:left;margin:10px 0}.t-ganesha-envelope .wish q{quotes:"C" "D";font:italic 16px/1.5 Lora,serif;display:block}.t-ganesha-envelope .wish small{color:var(--gold);margin-top:6px;font-weight:600;display:block}.t-ganesha-envelope .foot{padding:36px 0 30px}.t-ganesha-envelope .foot p{color:#7c5a4a;font:italic 15px Lora,serif}.t-ganesha-envelope .foot b{margin-top:6px;font:600 22px Playfair Display,serif;display:block}.t-ganesha-envelope .foot .tag{color:var(--gold);letter-spacing:.06em;margin-top:12px;font-size:14px;display:inline-block}.t-ganesha-envelope .sw{letter-spacing:.2em;text-transform:uppercase;color:#7c5a4a;justify-content:center;align-items:center;gap:10px;margin-top:22px;font-size:12px;display:flex}.t-ganesha-envelope .sw button{cursor:pointer;border:2px solid #fff;border-radius:50%;width:26px;height:26px;box-shadow:0 0 0 1px #e9d6ad}.t-ganesha-envelope .sw button.on{box-shadow:0 0 0 2px var(--maroon)}.t-ganesha-envelope .made b{font-weight:700}.t-ganesha-envelope .replay{color:var(--maroon);align-items:center;gap:5px}.t-ganesha-envelope .s-explore .replay{display:inline-flex}
