/* MUNWEDINV engine - shared guest invite page styles. Each design (templates/<design>/skin.css) sets colours, fonts, decorations, opening. */
:root{--f-head:'Playfair Display',serif;--f-script:'Great Vibes',cursive;--f-body:Montserrat,system-ui,sans-serif;--wine:#6e1f2f;--wine2:#4a1220;--gold:#c9a24b;--gold2:#f3dc9c;--ivory:#fff8ef;--blush:#f7e1dc;--ink:#3b2228;
--rose:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3CradialGradient id='a' cx='50%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffd6de'/%3E%3Cstop offset='.55' stop-color='%23e8708a'/%3E%3Cstop offset='1' stop-color='%23a3274a'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='50%25' cy='40%25' r='65%25'%3E%3Cstop offset='0' stop-color='%23ffe6eb'/%3E%3Cstop offset='1' stop-color='%23cf4868'/%3E%3C/radialGradient%3E%3ClinearGradient id='l' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%237fa860'/%3E%3Cstop offset='1' stop-color='%233f6b2e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(90 138) rotate(145)'%3E%3Cpath d='M0 0C16-17 44-17 62 0C44 17 16 17 0 0Z' fill='url(%23l)'/%3E%3Cpath d='M3 0H58' stroke='%232f5222' stroke-width='2' fill='none'/%3E%3C/g%3E%3Cg transform='translate(110 138) rotate(35)'%3E%3Cpath d='M0 0C16-17 44-17 62 0C44 17 16 17 0 0Z' fill='url(%23l)'/%3E%3Cpath d='M3 0H58' stroke='%232f5222' stroke-width='2' fill='none'/%3E%3C/g%3E%3Cg transform='translate(100 96)'%3E%3Cg fill='url(%23a)'%3E%3Ccircle cx='0' cy='-34' r='30'/%3E%3Ccircle cx='32' cy='-11' r='30'/%3E%3Ccircle cx='20' cy='28' r='30'/%3E%3Ccircle cx='-20' cy='28' r='30'/%3E%3Ccircle cx='-32' cy='-11' r='30'/%3E%3C/g%3E%3Cg fill='url(%23b)'%3E%3Ccircle cx='14' cy='-14' r='22'/%3E%3Ccircle cx='16' cy='12' r='22'/%3E%3Ccircle cx='-12' cy='16' r='22'/%3E%3Ccircle cx='-18' cy='-8' r='22'/%3E%3C/g%3E%3Ccircle r='18' fill='%23e06684'/%3E%3Cpath d='M-12 2C-12-12 10-14 12-2C13 8 2 13-4 8C-9 4-6-4 0-4C5-4 6 2 2 3' stroke='%239e2443' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E")}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{font-family:var(--f-body);color:var(--ink);background:linear-gradient(180deg,var(--ivory),var(--blush) 40%,var(--ivory) 70%,var(--blush));min-height:100vh;overflow-x:hidden;font-size:15px;line-height:1.55}
body.is-closed{overflow:hidden;height:100vh}
h1,h2,h3{font-family:var(--f-head);font-weight:700;color:var(--wine)}
.wi-small{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#8a5a5f}
.wi-script{font-family:var(--f-script);color:var(--wine);font-size:34px;font-weight:400;line-height:1.2}

/* loader */
#wi-loader{position:fixed;inset:0;z-index:99;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--blush);transition:opacity .6s}
#wi-loader p{font-size:13px;color:var(--wine)}
.wi-ring{width:54px;height:54px;border-radius:50%;border:3px solid rgba(110,31,47,.15);border-top-color:var(--gold);animation:spin 1s linear infinite}
body:not(.is-loading) #wi-loader{opacity:0;pointer-events:none}
@keyframes spin{to{transform:rotate(360deg)}}

/* decorations */
.wi-rose{position:fixed;width:120px;height:120px;background:var(--rose) center/contain no-repeat;z-index:5;pointer-events:none;filter:drop-shadow(0 6px 8px rgba(80,10,30,.25));animation:sway 6s ease-in-out infinite;will-change:transform}
.wi-rose-tl{top:-30px;left:-34px;transform:rotate(25deg)}
.wi-rose-tr{top:-30px;right:-34px;animation-delay:-2s;width:100px;height:100px}
.wi-rose-bl{bottom:-34px;left:-30px;animation-delay:-3s;width:96px;height:96px}
.wi-rose-br{bottom:-36px;right:-36px;animation-delay:-1s}
@keyframes sway{0%,100%{rotate:-4deg;scale:1}50%{rotate:5deg;scale:1.05}}
.wi-marigolds{position:fixed;top:0;left:0;right:0;height:0;z-index:6;pointer-events:none;display:flex;justify-content:space-between;padding:0 6%}
.wi-garland{display:block;width:16px;height:56px;transform-origin:top center;
 background:radial-gradient(circle at 50% 50%,#ffb000 0 5px,#f57c00 6px 7px,transparent 8px) 0 0/16px 14px repeat-y;
 animation:swing 3.4s ease-in-out infinite;animation-delay:calc(var(--i) * -.37s);filter:drop-shadow(0 2px 2px rgba(120,50,0,.3))}
.wi-garland:nth-child(odd){background-image:radial-gradient(circle at 50% 50%,#ff8f00 0 5px,#e65100 6px 7px,transparent 8px)}
@keyframes swing{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
#wi-petals{position:fixed;inset:0;width:100%;height:100%;z-index:7;pointer-events:none}

/* intro + book */
#wi-intro{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;background:radial-gradient(circle at 50% 40%,#fff3ef,var(--blush) 70%);perspective:1400px;transition:opacity .9s .9s,visibility 0s 1.8s}
body.is-open #wi-intro{opacity:0;visibility:hidden;pointer-events:none}
.wi-rose-blur{position:absolute;width:220px;height:220px;background:var(--rose) center/contain no-repeat;filter:blur(6px);opacity:.75;transition:transform .2s}
.wi-rb1{top:6%;left:-60px}.wi-rb2{bottom:4%;right:-70px;width:260px;height:260px;filter:blur(3px)}
.wi-book{position:relative;width:min(68vw,280px);aspect-ratio:3/4.2;transform-style:preserve-3d;transform:rotateX(14deg) rotateY(-18deg);transition:transform 1.4s cubic-bezier(.2,.7,.2,1);cursor:pointer;outline:none}
.wi-book:focus-visible{outline:2px dashed var(--gold);outline-offset:8px}
body.is-open .wi-book{transform:rotateX(0) rotateY(0) translateZ(260px) scale(1.25)}
.wi-page-inside{position:absolute;inset:0;border-radius:4px 10px 10px 4px;background:linear-gradient(90deg,#efe2cf,var(--ivory) 12%);box-shadow:0 18px 40px rgba(60,10,25,.35);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:20px}
.wi-cover{position:absolute;inset:0;transform-origin:left center;transform-style:preserve-3d;transition:transform 1.5s cubic-bezier(.6,.05,.3,1)}
body.is-open .wi-cover{transform:rotateY(-165deg)}
.wi-cover-front,.wi-cover-back{position:absolute;inset:0;backface-visibility:hidden;border-radius:4px 12px 12px 4px}
.wi-cover-front{background:radial-gradient(circle at 30% 25%,#8e2c41,var(--wine) 45%,var(--wine2));box-shadow:inset 8px 0 14px rgba(0,0,0,.35),0 24px 50px rgba(60,10,25,.45);padding:14px}
.wi-cover-front:after{content:"";position:absolute;inset:0;border-radius:inherit;background:repeating-linear-gradient(45deg,rgba(255,255,255,.025) 0 2px,transparent 2px 4px)}
.wi-cover-back{transform:rotateY(180deg);background:linear-gradient(90deg,#e8d8c2,#fbf3e6)}
.wi-cover-border{height:100%;border:2px solid var(--gold);outline:1px solid rgba(243,220,156,.5);outline-offset:-8px;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.wi-emblem,.wi-medal{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,var(--gold2),var(--gold) 55%,#8a6a22);box-shadow:0 0 0 3px rgba(243,220,156,.35),0 6px 14px rgba(0,0,0,.3)}
.wi-emblem span,.wi-medal span{font-size:46px;color:var(--wine);line-height:1;text-shadow:0 1px 0 rgba(255,255,255,.4)}
.wi-cover-sub{color:var(--gold2);font-size:12px;letter-spacing:.14em}
.wi-cover-names{font-family:var(--f-head);color:var(--gold2);font-size:44px}
.wi-cover-names i{font-family:var(--f-script);font-style:normal;font-size:36px}
.wi-om{font-size:40px;color:var(--gold)}.wi-om.sm{font-size:30px}
.wi-tap{font-family:var(--f-head);font-style:italic;color:var(--wine);animation:pulse 1.8s ease-in-out infinite;opacity:0}
body:not(.is-loading) .wi-tap{opacity:1}
@keyframes pulse{0%,100%{transform:scale(1);opacity:.7}50%{transform:scale(1.06);opacity:1}}

/* sections */
#wi-main{position:relative;z-index:2}
.wi-sec{position:relative;padding:64px 22px;text-align:center;max-width:560px;margin:0 auto}
.wi-h{font-size:30px;margin-bottom:26px}
.wi-h:after{content:"";display:block;width:90px;height:10px;margin:10px auto 0;background:radial-gradient(circle,var(--gold) 2px,transparent 3px) center/14px 10px repeat-x}
.wi-reveal{opacity:0;filter:blur(6px);transform:translateY(16px);transition:opacity .9s,filter .9s,transform .9s}
.wi-reveal.in{opacity:1;filter:none;transform:none}

/* hero */
.wi-hero{min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;max-width:none;padding:70px 20px 60px;overflow:hidden}
.wi-hero-bg{position:absolute;inset:-20px;background:center/cover no-repeat;filter:blur(14px) saturate(1.1);opacity:.32;animation:kenburns 24s ease-in-out infinite alternate}
@keyframes kenburns{from{transform:scale(1.05)}to{transform:scale(1.2) translateY(-10px)}}
.wi-hero-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;max-width:480px}
.wi-hero .wi-medal{width:58px;height:58px;margin-bottom:6px}.wi-hero .wi-medal span{font-size:32px}
.wi-arch{width:min(46vw,190px);aspect-ratio:3/4;border-radius:999px 999px 10px 10px;padding:5px;background:linear-gradient(160deg,var(--gold2),var(--gold) 40%,#8a6a22);box-shadow:0 10px 26px rgba(80,20,30,.3);margin:10px 0}
.wi-arch img{width:100%;height:100%;object-fit:cover;border-radius:999px 999px 7px 7px;display:block}
.wi-name{font-family:var(--f-script);font-weight:400;font-size:clamp(44px,13vw,64px);line-height:1.05;min-height:1.05em}
.wi-name .ch{display:inline-block;animation:blurIn .5s both}
@keyframes blurIn{from{opacity:0;filter:blur(8px);transform:translateY(6px)}to{opacity:1;filter:none;transform:none}}
.wi-parents{font-size:13px;color:#6b4a4f}
.wi-amp{font-family:var(--f-head);font-style:italic;font-size:26px;color:var(--gold)}
.wi-line{margin-top:10px;font-family:var(--f-head);font-style:italic;font-size:15px;color:var(--wine)}
.wi-down{margin-top:18px;width:26px;height:40px;border:2px solid var(--gold);border-radius:14px;position:relative}
.wi-down span{position:absolute;left:50%;top:7px;width:4px;height:8px;margin-left:-2px;border-radius:2px;background:var(--wine);animation:down 1.5s infinite}
@keyframes down{0%{opacity:0;transform:translateY(0)}40%{opacity:1}100%{opacity:0;transform:translateY(14px)}}

/* save the date scroll */
.wi-scroll{position:relative;width:min(84vw,330px);margin:0 auto;padding-top:22px}
.wi-rod{position:relative;height:16px;margin:0 -16px;border-radius:8px;background:linear-gradient(180deg,#f8e2a4,var(--gold) 50%,#7d5c1c);box-shadow:0 4px 8px rgba(0,0,0,.25);z-index:3}
.wi-knob{position:absolute;left:-10px;top:-4px;width:24px;height:24px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff2c4,var(--gold) 60%,#7d5c1c)}.wi-knob.r{left:auto;right:-10px}
.wi-paper{height:0;overflow:hidden;margin:0 2px;background:linear-gradient(90deg,#f2e3c8,#fff9ee 15%,#fff9ee 85%,#f2e3c8);transition:height 1.6s cubic-bezier(.3,.7,.2,1);position:relative;box-shadow:0 8px 20px rgba(80,30,20,.18)}
.wi-scroll.open .wi-paper{height:330px}
.wi-paper-in{height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:24px;border:2px solid var(--gold);outline:1px solid var(--gold);outline-offset:-8px;margin:10px;height:310px;
 background:var(--rose) -30px -30px/80px no-repeat,var(--rose) calc(100% + 30px) calc(100% + 30px)/80px no-repeat}
.wi-big{font-family:var(--f-head);font-size:76px;color:var(--wine);line-height:1}
.wi-my{font-family:var(--f-head);font-size:22px;color:var(--wine)}
.wi-venue{font-size:13px;color:#6b4a4f;margin-top:6px}
.wi-roll{height:22px;margin:-4px -4px 0;border-radius:11px;background:linear-gradient(180deg,#e8d3ad,#fff6e3 45%,#cdb388);box-shadow:0 6px 10px rgba(0,0,0,.2);position:relative;z-index:2;transition:transform 1.6s cubic-bezier(.3,.7,.2,1)}
.wi-tassel{position:absolute;right:18px;top:30px;width:30px;height:90px;border:0;background:none;cursor:grab;z-index:4;touch-action:none;transition:top 1.6s cubic-bezier(.3,.7,.2,1)}
.wi-cord{position:absolute;left:14px;top:0;width:2px;height:56px;background:var(--gold)}
.wi-tuft{position:absolute;left:5px;top:52px;width:20px;height:34px;border-radius:10px 10px 4px 4px;background:repeating-linear-gradient(90deg,#b3122e 0 2px,#8a0e23 2px 4px);box-shadow:0 -4px 0 -1px var(--gold);animation:tug 2.2s ease-in-out infinite;transform-origin:top center}
@keyframes tug{0%,70%,100%{transform:translateY(0)}80%{transform:translateY(10px)}}
.wi-scroll.open .wi-tassel{top:352px}.wi-scroll.open .wi-tuft{animation:none}
.wi-finger{position:absolute;right:6px;top:60px;font-size:30px;animation:finger 2.2s ease-in-out infinite;pointer-events:none;z-index:5}
@keyframes finger{0%,100%{transform:translateY(0);opacity:.9}50%{transform:translateY(34px);opacity:1}}
.wi-scroll.open .wi-finger,.wi-scroll.open~.wi-hint{display:none}
.wi-hint{margin-top:14px;font-style:italic;color:#8a5a5f;font-size:13px}
.wi-count{margin:22px 0 16px;font-size:13px;color:var(--ink)}
.wi-count b{font-family:var(--f-head);font-size:22px;color:var(--wine)}
.wi-btn{display:inline-flex;align-items:center;gap:6px;padding:11px 20px;border-radius:999px;border:0;background:linear-gradient(135deg,var(--wine),#8e2c41);color:#fff8ef;font:600 13px var(--f-body);text-decoration:none;cursor:pointer;box-shadow:0 6px 14px rgba(110,31,47,.3)}
.wi-btn.ghost{background:#fff;color:var(--wine);box-shadow:inset 0 0 0 1.5px var(--wine)}
.wi-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}

/* 3D carousels */
.wi-car{position:relative;height:420px;perspective:1000px;touch-action:pan-y;user-select:none}
.wi-card{position:absolute;left:50%;top:0;width:min(74vw,280px);height:400px;margin-left:calc(min(74vw,280px) / -2);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 14px 34px rgba(80,20,30,.25);transition:transform .6s cubic-bezier(.2,.7,.2,1),opacity .6s,filter .6s;will-change:transform}
.wi-scene{position:absolute;inset:0 0 46%;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--c) 55%,#fff),var(--c) 70%)}
.wi-scene svg{width:100%;height:100%;filter:blur(3px);opacity:.55;transform:scale(1.6)}
.wi-card-body{position:absolute;inset:auto 0 0;height:62%;background:linear-gradient(180deg,rgba(255,255,255,.88),#fff 30%);padding:42px 18px 16px;text-align:left;border-top:3px solid var(--gold)}
.wi-icon{position:absolute;top:-34px;left:50%;margin-left:-34px;width:68px;height:68px;border-radius:50%;background:var(--c);border:3px solid var(--gold);display:grid;place-items:center;animation:bob 3s ease-in-out infinite}
.wi-icon svg{width:46px;height:46px}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.wi-card h3{text-align:center;font-size:22px;margin-bottom:10px}
.wi-card p{font-size:13px;margin:4px 0}
.wi-dress{display:flex;align-items:center;gap:8px;margin-top:10px!important;padding-top:10px;border-top:1px dashed #e6d4c4}
.wi-sw{width:18px;height:18px;border-radius:50%;background:var(--c);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--gold)}
.wi-photo{background:#fff;padding:10px 10px 0}
.wi-photo img{width:100%;height:340px;object-fit:cover;border-radius:10px;display:block;pointer-events:none}
.wi-photo figcaption{font-family:var(--f-script);font-size:24px;color:var(--wine);padding:8px 4px;text-align:center}
.wi-dots{display:flex;justify-content:center;gap:7px;margin-top:6px}
.wi-dots i{width:8px;height:8px;border-radius:50%;background:#dcc3c0;transition:all .3s}
.wi-dots i.on{width:22px;border-radius:4px;background:var(--wine)}

/* reception */
.wi-recep{position:relative;overflow:hidden;padding:44px 24px;border-radius:22px;background:radial-gradient(circle at 50% 0,#8e2c41,var(--wine) 55%,var(--wine2));color:var(--gold2);box-shadow:0 18px 40px rgba(60,10,25,.4);border:2px solid var(--gold)}
.wi-recep h2{color:var(--gold2);font-size:32px;margin:6px 0 14px}
.wi-recep p{margin:3px 0}.wi-recep .wi-small{color:#e8c98a}
.wi-bloom{position:absolute;width:110px;height:110px;background:var(--rose) center/contain no-repeat;transform:scale(0) rotate(-40deg);transition:transform 1.4s cubic-bezier(.3,1.4,.4,1) .3s}
.wi-bloom.l{left:-30px;bottom:-30px}.wi-bloom.r{right:-30px;top:-30px}
.wi-recep.in .wi-bloom{transform:scale(1) rotate(0)}
.wi-spark{position:absolute;left:var(--x);top:var(--y);width:6px;height:6px;background:#fff6cf;border-radius:50%;box-shadow:0 0 10px 3px rgba(255,230,150,.8);animation:twinkle 2s ease-in-out infinite;animation-delay:var(--d,0s)}
@keyframes twinkle{0%,100%{opacity:.1;transform:scale(.5)}50%{opacity:1;transform:scale(1.2)}}

/* map */
.wi-map{display:block;position:relative;border-radius:18px;overflow:hidden;box-shadow:0 12px 28px rgba(80,20,30,.22);border:2px solid var(--gold);text-decoration:none}
.wi-map svg{display:block;width:100%}
.wi-route{animation:dash 1.6s linear infinite}
@keyframes dash{to{stroke-dashoffset:-30}}
.wi-pin{animation:pin 1.6s ease-in-out infinite}
@keyframes pin{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.wi-map-label{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(255,248,239,.94);border-radius:10px;padding:8px 10px;color:var(--wine);font-weight:600;font-size:13px}
.wi-map-label small{font-weight:400;color:#6b4a4f}

/* closing */
.wi-close{padding-bottom:110px;display:flex;flex-direction:column;align-items:center;gap:14px}
.wi-close .wi-script{font-size:38px}

.wi-music{position:fixed;right:14px;bottom:14px;z-index:30;width:46px;height:46px;border-radius:50%;border:2px solid var(--gold);background:var(--wine);color:var(--gold2);font-size:20px;display:grid;place-items:center;text-decoration:none;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.3);opacity:0;transition:opacity .5s}
body.is-open .wi-music{opacity:1}
.wi-music.on{animation:spin 4s linear infinite}

/* pause what is off screen */
.paused,.paused *{animation-play-state:paused!important}
@media (min-width:700px){.wi-rose{width:170px;height:170px}}

/* English / Hindi */
body.lang-en .l-hi,body.lang-hi .l-en{display:none}
body.lang-hi{font-family:Hind,Montserrat,sans-serif}
body.lang-hi h1,body.lang-hi h2,body.lang-hi h3,body.lang-hi .wi-script,body.lang-hi .wi-name,body.lang-hi .wi-line,body.lang-hi .wi-my,body.lang-hi .wi-cover-names,body.lang-hi .wi-photo figcaption,.hi-always{font-family:'Tiro Devanagari Hindi',serif}
body.lang-hi .wi-name{font-size:clamp(38px,11vw,54px);line-height:1.3}
body.lang-hi .wi-script{font-size:30px;line-height:1.4}
body.lang-hi .wi-photo figcaption{font-size:18px}
body.lang-hi .wi-small{letter-spacing:.04em;font-size:13px}
.wi-lang{position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:40;display:flex;border-radius:999px;background:rgba(255,248,239,.92);box-shadow:0 4px 14px rgba(80,20,30,.2);border:1px solid var(--gold);overflow:hidden}
.wi-lang button{border:0;background:none;padding:6px 14px;font:600 12px var(--f-body);color:var(--wine);cursor:pointer}
.wi-lang button[lang=hi]{font-family:Hind,sans-serif;font-size:13px}
body.lang-en .wi-lang [data-lang=en],body.lang-hi .wi-lang [data-lang=hi]{background:var(--wine);color:var(--gold2)}

/* keep everything inside the phone width (roses and side cards hang off the edge) */
html,body{overflow-x:hidden;overflow-x:clip;max-width:100%}
#wi-intro,.wi-sec{overflow-x:clip}
.wi-sec.wi-fest,.wi-sec.wi-story{overflow:hidden;padding-left:0;padding-right:0}
.wi-garland:nth-child(3n){height:84px}.wi-garland:nth-child(3n+1){height:66px}
body:not(.is-open) .wi-marigolds{z-index:25}

/* MUNWEDINV 100vh: one full screen per part, snap, parallax in and out */
body.is-open:not(.is-closed){scroll-snap-type:y mandatory}
html:has(body.is-open:not(.is-closed)){scroll-snap-type:y mandatory}
.wi-sec{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;padding-top:56px;padding-bottom:40px}
.wi-sec > *{width:100%}
.wi-sec > :not(.wi-hero-bg):not(.wi-layer){transform:translateY(var(--ty,0)) scale(var(--sc,1));opacity:var(--op,1);will-change:transform,opacity}
.wi-hero-bg{transform:translateY(var(--by,0))}
.wi-close{padding-bottom:60px}
/* a soft back layer in every part that moves slower than the text */
.wi-layer{position:absolute;inset:-10% 0;pointer-events:none;z-index:-1;transform:translateY(var(--by,0));
 background:radial-gradient(circle at 15% 25%,rgba(201,162,75,.16),transparent 35%),radial-gradient(circle at 85% 70%,rgba(228,106,130,.14),transparent 40%)}
.wi-sec{isolation:isolate}
/* part dots on the right */
.wi-nav{position:fixed;right:8px;top:50%;transform:translateY(-50%);z-index:30;display:flex;flex-direction:column;gap:9px;opacity:0;transition:opacity .5s}
body.is-open:not(.is-closed) .wi-nav{opacity:1}
.wi-nav button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(110,31,47,.25);cursor:pointer;transition:all .3s}
.wi-nav button.on{height:22px;border-radius:4px;background:var(--wine)}
.wi-sec > .wi-reveal{transition:filter .9s}
/* no pictures: bigger medallion on the first page */
.no-photo .wi-hero .wi-medal{width:120px;height:120px;margin:16px 0}.no-photo .wi-hero .wi-medal span{font-size:66px}
/* faith emblem (Ganesh ji picture or a symbol) + opening verse */
.wi-emblem img,.wi-medal img{width:90%;height:90%;border-radius:50%;object-fit:cover;display:block}
.wi-om img{width:64px;height:64px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--gold)}
.wi-om.sm img{width:48px;height:48px}
.wi-hero .wi-medal{width:76px;height:76px}
.no-photo .wi-hero .wi-medal{width:130px;height:130px}
.wi-verse-o,.wi-cover-sub{font-family:'Tiro Devanagari Hindi','Noto Sans Gurmukhi',Amiri,serif}
.wi-emblem span,.wi-medal span,.wi-om span{font-family:'Tiro Devanagari Hindi','Noto Sans Gurmukhi',serif}
/* blessing screen (faith emblem + verse) */
.wi-bless .wi-bless-emb{width:150px;height:150px;border-radius:50%;margin:0 auto 18px;padding:6px;background:radial-gradient(circle,#fff8ea 60%,var(--gold) 61%,var(--gold) 64%,#fff8ea 65%);box-shadow:0 10px 30px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;overflow:hidden}
.wi-bless .wi-bless-emb img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.wi-bless .wi-bless-emb span{font-size:64px;color:var(--wine);line-height:1}
.wi-bless-cover{font-family:'Tiro Devanagari Hindi','Noto Sans Gurmukhi',Amiri,serif;color:var(--gold);font-size:18px;letter-spacing:.04em;margin-bottom:14px}
.wi-verse{max-width:360px;margin:0 auto}
.wi-verse-o{color:var(--wine);font-size:21px;line-height:1.75}
.wi-verse-m{font-size:14px;color:#7a5a5f;font-style:italic;margin-top:14px;line-height:1.55}
/* the soft "make your own" link at the very end + the Preview mark on unpaid invites */
.wi-made{margin-top:28px;font-size:11.5px;color:#9a7a7f;display:flex;flex-direction:column;gap:3px;align-items:center}
.wi-made a{color:var(--wine);text-decoration:none;border-bottom:1px dotted currentColor;opacity:.75}
.wi-made a:hover{opacity:1}
.wi-made span{font-size:10px;opacity:.7}
.wi-preview-mark{position:fixed;top:14px;left:-34px;z-index:60;transform:rotate(-45deg);background:var(--wine);color:#fff;font:600 11px/1 var(--f-body);letter-spacing:.18em;text-transform:uppercase;padding:7px 42px;box-shadow:0 2px 8px rgba(0,0,0,.25);pointer-events:none;opacity:.92}
.wi-sec > .wi-medal{width:84px;flex:none}.wi-hero .wi-medal{width:76px}
.wi-made a{border-bottom:0;display:flex;flex-direction:column;align-items:center;gap:3px}
.wi-made a b{font-weight:500;font-size:11.5px}
.wi-made a span{font-size:10px;border-bottom:1px dotted currentColor;opacity:.8}
/* "why ganesh image this small" - big emblem everywhere (sizes follow the screen height so every part still fits) */
.wi-emblem{width:clamp(96px,15vh,128px);height:clamp(96px,15vh,128px)}
.wi-hero .wi-medal{width:clamp(84px,13vh,112px);height:clamp(84px,13vh,112px)}
.wi-sec > .wi-medal{width:clamp(130px,22vh,190px);height:clamp(130px,22vh,190px)}
.wi-bless .wi-bless-emb{width:clamp(180px,32vh,260px);height:clamp(180px,32vh,260px)}
.wi-emblem img,.wi-medal img{width:94%;height:94%}
.wi-hero .wi-medal{width:clamp(76px,11vh,100px);height:clamp(76px,11vh,100px)}
/* every design: dark shade + buttons follow the chosen colour (no fixed wine left over) */
body{--wine2:color-mix(in srgb,var(--wine) 62%,#000);--soft:color-mix(in srgb,var(--wine) 55%,#8a7a70)}
.wi-small,.wi-hint,.wi-verse-m{color:var(--soft)}
.wi-parents,.wi-venue,.wi-map-label small{color:color-mix(in srgb,var(--ink) 80%,#fff)}
.wi-btn{background:linear-gradient(135deg,var(--wine),color-mix(in srgb,var(--wine) 75%,#fff))}
.wi-recep{background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--wine) 80%,#fff),var(--wine) 55%,var(--wine2))}
.wi-dots i{background:color-mix(in srgb,var(--wine) 25%,#fff)}
.wi-nav button{background:color-mix(in srgb,var(--wine) 30%,transparent)}
.wi-ring{border-color:color-mix(in srgb,var(--wine) 15%,transparent);border-top-color:var(--gold)}
/* corner roses: smaller on phones so they never reach the words */
@media (max-width:699px){.wi-rose{width:96px;height:96px}.wi-rose-tl{top:-28px;left:-30px}.wi-rose-tr{top:-26px;right:-28px;width:84px;height:84px}.wi-rose-bl{bottom:-28px;left:-26px;width:84px;height:84px}.wi-rose-br{bottom:-30px;right:-30px}}
/* MUNWEDINV no words over any picture (Vishal 2026-12-03): measured at 375x812 */
.wi-scene{inset:0 0 62%}                                            /* card art ends where the white card body starts */
.wi-recep{padding:46px 44px}
.wi-bloom{width:88px;height:88px}.wi-bloom.l{left:-46px;bottom:-46px}.wi-bloom.r{right:-46px;top:-46px}
.wi-map{overflow:visible;border:0;box-shadow:none;border-radius:0}
.wi-map svg{border-radius:18px;border:2px solid var(--gold);box-shadow:0 12px 28px rgba(80,20,30,.22)}
.wi-map-label{position:static;display:block;margin-top:12px;background:none;padding:0;text-align:center}
/* toran swags around the language switch (never behind it) */
.wi-garland:nth-child(4),.wi-garland:nth-child(5),.wi-garland:nth-child(6){visibility:hidden}
body.is-closed .wi-marigolds{z-index:25}
.is-open .wi-tap{opacity:0!important;animation:none}
/* the names screen must fit one phone screen */
.wi-hero{padding-top:58px;padding-bottom:30px}
.wi-hero-in{gap:4px}
.wi-hero .wi-arch{width:min(40vw,22vh,170px)}
.wi-name{font-size:clamp(40px,min(12vw,7vh),60px)}
.wi-line{margin-top:6px}
.wi-down{margin-top:10px}
/* pushpa varsha (Vishal 2026-12-03): petals fall OVER Lord Ganesha on every screen - the opening (#wi-intro z20, toran 25, roses 21) included.
   Still under the music button / part dots (30), language switch (40) and Preview mark (60); never takes a tap. */
#wi-petals{z-index:26;pointer-events:none}

/* MUNWEDINV contacts 2026-12-03: tap a number = phone dialer (tel:) */
.wi-call{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;max-width:340px;margin-top:4px}
.wi-call .wi-small{margin:0}
.wi-call-list{display:flex;flex-direction:column;gap:8px;width:100%}
.wi-call-btn{display:flex;align-items:center;gap:12px;min-height:52px;padding:7px 16px 7px 7px;border-radius:999px;background:#fffaf2;box-shadow:inset 0 0 0 1.5px var(--gold),0 4px 12px rgba(80,20,30,.12);color:var(--wine);text-decoration:none;text-align:left;-webkit-tap-highlight-color:transparent;transition:transform .15s}
.wi-call-btn:active{transform:scale(.97)}
.wi-call-ic{flex:none;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--wine);color:var(--gold2)}
.wi-call-ic svg{width:18px;height:18px}
.wi-call-tx{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.wi-call-tx b{font:600 14px var(--f-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wi-call-tx small{font-size:12.5px;letter-spacing:.04em;opacity:.8}

/* MUNWEDINV 2026-12-03 (Vishal): "Made with love on MeetUrNeed" clearly readable - bigger, full colour, a soft pill */
.wi-made{margin-top:22px;font-size:13px;color:var(--wine)}
.wi-made a{opacity:1;padding:9px 18px;border-radius:999px;background:rgba(255,250,242,.9);box-shadow:inset 0 0 0 1px var(--gold),0 3px 10px rgba(80,20,30,.1)}
.wi-made a b{font-weight:700;font-size:14.5px;color:var(--wine)}
.wi-made a span{font-size:12px;opacity:.9;border-bottom:0;text-decoration:underline;text-underline-offset:3px}

/* MUNWEDINV 2026-12-03 (Vishal: "show date" hard to tap): a big invisible touch zone round the tassel; the closed scroll and the hint are tappable too */
.wi-tassel::before{content:'';position:absolute;top:-24px;bottom:-30px;left:-44px;right:-26px}
.wi-scroll:not(.open){cursor:pointer}
.wi-hint{cursor:pointer;display:inline-block;padding:10px 18px;margin-top:6px;border-radius:999px;-webkit-tap-highlight-color:transparent}
.wi-hint:active{transform:scale(.97)}
