/* =========================================================
   KAMAL KUNJ — कमल कुंज · Luxury Pichwai & Lotus Heritage
   BrandCatchers Media · Template #2 · mobile-first, no frameworks
   ========================================================= */
:root{
  --em:#0c3b2e; --em-2:#082d23; --em-3:#051e17; --em-soft:#1f5b49;
  --pk:#f2c4cc; --pk-2:#f9dde2; --pk-3:#fdf1f2; --rose:#c76a82; --rose-d:#9c3d59;
  --ivory:#fffaf0; --ink:#173d31; --ink-soft:#4f6b60;
  --gold:#c99a3e; --gold-2:#e9c979; --gold-3:#8d6420; --gold-hi:#fbe7a8;
  --gold-grad:linear-gradient(100deg,#8d6420 0%,#d9ad52 22%,#fbe7a8 42%,#d4a447 60%,#9a6d22 80%,#e2bd6a 100%);
  --wa:#1f8a4c;
  --col:min(100vw,520px);
  --f-hi-display:'Kalam','Tiro Devanagari Hindi',serif;
  --f-hi-body:'Tiro Devanagari Hindi','Cormorant Garamond',serif;
  --f-en-script:'Pinyon Script',cursive;
  --f-num:'Cinzel','Cormorant Garamond',serif;
  --f-body:var(--f-hi-body); --f-display:var(--f-hi-display); --f-names:var(--f-hi-display);
}
html[lang="en"]{ --f-body:'Cormorant Garamond',serif; --f-display:'Cormorant Garamond',serif; --f-names:var(--f-en-script); }
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-variant-numeric:lining-nums;font-family:var(--f-body);color:var(--ink);background:#06231b radial-gradient(circle at 50% 0,#0f4636,#041a13 70%) fixed;line-height:1.55;overflow-x:hidden;-webkit-tap-highlight-color:transparent}
body.is-locked{overflow:hidden;height:100vh;height:100dvh}
img{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit}
[hidden]{display:none!important}
.app{width:var(--col);margin:0 auto;background:var(--pk-3);overflow:hidden;box-shadow:0 0 60px rgba(0,0,0,.5)}
section,footer{position:relative;padding:70px 22px;text-align:center}

/* ---------- section skins: ivory-pink with lotus line pattern / deep emerald with gold buti ---------- */
.ivory{background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23c76a82' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M30 18c4 5 4 10 0 14-4-4-4-9 0-14zM30 32c-5-1-9-4-11-9 5 0 9 3 11 9zM30 32c5-1 9-4 11-9-5 0-9 3-11 9z'/%3E%3Cpath d='M22 36c5 2 11 2 16 0'/%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='60' cy='0' r='2'/%3E%3Ccircle cx='0' cy='60' r='2'/%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3C/g%3E%3C/svg%3E"),
  linear-gradient(180deg,#fdf3ef 0%,#f8dfe2 55%,#fbeaea 100%)}
.emerald{color:var(--ivory);background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cg fill='%23e2b866' fill-opacity='.13'%3E%3Cpath d='M23 15c2.6 3.2 2.6 6.4 0 9-2.6-2.6-2.6-5.8 0-9zM23 24c-3.4-.4-5.8-2.4-7-5.6 3.2.2 5.6 2.2 7 5.6zM23 24c3.4-.4 5.8-2.4 7-5.6-3.2.2-5.6 2.2-7 5.6z'/%3E%3Ccircle cx='0' cy='0' r='1.4'/%3E%3Ccircle cx='46' cy='0' r='1.4'/%3E%3Ccircle cx='0' cy='46' r='1.4'/%3E%3Ccircle cx='46' cy='46' r='1.4'/%3E%3C/g%3E%3C/svg%3E"),
  radial-gradient(120% 70% at 50% 0%,#14513f 0%,#0c3b2e 45%,#062a20 100%)}
/* Pichwai double gold border panel */
.panel{position:relative;padding:30px 20px;border-radius:4px;box-shadow:inset 0 0 0 1.5px var(--gold-2),inset 0 0 0 5px transparent,inset 0 0 0 6px rgba(233,201,121,.55)}
.panel::before,.panel::after{content:"";position:absolute;width:26px;height:26px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cg fill='%23e9c979'%3E%3Cpath d='M13 2c3 4 3 8 0 11-3-3-3-7 0-11z'/%3E%3Cpath d='M13 13c-4-.5-7-3-8-7 4 .3 7 3 8 7zM13 13c4-.5 7-3 8-7-4 .3-7 3-8 7z' fill-opacity='.8'/%3E%3Ccircle cx='13' cy='17' r='1.6'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.panel::before{top:-13px;left:50%;margin-left:-13px;background-color:var(--em);border-radius:50%;box-shadow:0 0 0 3px var(--em)}
.ivory .panel::before{background-color:#fbeaea;box-shadow:0 0 0 3px #fbeaea}
.panel::after{bottom:-13px;left:50%;margin-left:-13px;transform:rotate(180deg);background-color:var(--em-2);border-radius:50%;box-shadow:0 0 0 3px var(--em-2)}

/* ---------- type ---------- */
.kicker{font-family:var(--f-body);font-size:16px;color:var(--rose-d);margin-bottom:4px}
html[lang="en"] .kicker{text-transform:uppercase;font-size:13px;letter-spacing:.28em;font-weight:600}
.kicker.light{color:var(--pk)}
.sec-title{font-family:var(--f-display);font-weight:700;font-size:34px;line-height:1.3;color:var(--em);margin-bottom:8px}
html[lang="en"] .sec-title{font-family:var(--f-en-script);font-weight:400;font-size:46px;line-height:1.15}
.sec-title.light{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 0 rgba(0,0,0,.35))}
.sec-title.small{font-size:25px}
html[lang="en"] .sec-title.small{font-size:36px}
.sec-sub{font-size:15px;color:var(--ink-soft);margin:-2px auto 18px;max-width:30ch}
.gold-text{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.orn{display:flex;align-items:center;justify-content:center;gap:10px;margin:18px auto;width:220px}
.orn span{flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold-2),transparent)}
.orn i{width:22px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cg fill='%23e9c979'%3E%3Cpath d='M11 1c2.4 3.4 2.4 7 0 10-2.4-3-2.4-6.6 0-10z'/%3E%3Cpath d='M11 13C7.5 12.6 4.6 10.4 3 6.6c3.6.3 6.6 2.6 8 6.4zM11 13c3.5-.4 6.4-2.6 8-6.4-3.6.3-6.6 2.6-8 6.4z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.orn.dark span{background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* =================== GATE: Pichwai curtain =================== */
.gate{position:fixed;inset:0;z-index:50;width:var(--col);margin:0 auto;overflow:hidden;background:#06231b;cursor:pointer}
.gate-glow{position:absolute;inset:0;background:radial-gradient(60% 45% at 50% 45%,rgba(255,236,200,.95),rgba(248,196,206,.45) 45%,transparent 75%),linear-gradient(#0c3b2e,#06231b);opacity:1}
.curtain{position:absolute;top:0;bottom:0;width:50%;overflow:hidden;transition:transform 2.2s cubic-bezier(.6,0,.25,1),filter 2.2s;will-change:transform}
.curtain-l{left:0;transform-origin:0 0}
.curtain-r{right:0;transform-origin:100% 0}
.curtain-art{position:absolute;top:0;bottom:0;width:200%;background:url(assets/img/curtain.webp) center/cover no-repeat}
.curtain-l .curtain-art{left:0}.curtain-r .curtain-art{right:0}
/* soft fabric folds */
.curtain::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,rgba(0,0,0,0) 0 22px,rgba(0,0,0,.10) 34px,rgba(255,255,255,.05) 44px,rgba(0,0,0,0) 56px);opacity:0;transition:opacity 1s}
.gate.opening .curtain::after{opacity:1}
.gate.opening .curtain-l{transform:translateX(-86%) skewY(-3deg) scaleX(.6);filter:brightness(.7)}
.gate.opening .curtain-r{transform:translateX(86%) skewY(3deg) scaleX(.6);filter:brightness(.7)}
.gate-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,26,19,.82) 0%,rgba(4,26,19,0) 16%,rgba(4,26,19,0) 42%,rgba(4,26,19,.78) 62%,rgba(3,22,16,.96) 100%);transition:opacity .8s}
.gate-top{position:absolute;top:max(20px,env(safe-area-inset-top));left:0;right:0;text-align:center;transition:opacity .6s}
.gate-mantra{font-family:var(--f-hi-display);font-weight:700;padding:0 72px;font-size:19px;color:var(--gold-hi);text-shadow:0 2px 10px rgba(0,0,0,.8)}
html[lang="en"] .gate-mantra{font-family:'Cormorant Garamond',serif;font-size:17px;letter-spacing:.06em}
.gate-lotus{position:absolute;left:50%;top:33%;width:150px;margin-left:-75px;transform:translateY(-50%);filter:drop-shadow(0 6px 14px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(255,220,170,.55));transition:opacity .9s .9s}
.gate-lotus svg{display:block;width:100%;overflow:visible}
.gate-lotus path{fill:url(#gpk);stroke:url(#ggd);stroke-width:2.2;transition:transform 1s cubic-bezier(.3,1.4,.5,1);transform-origin:100px 152px}
.gate-lotus .gl-base{fill:none;stroke-width:3}
.gate-lotus .p-l2{transform:rotate(38deg) scale(.55)}.gate-lotus .p-r2{transform:rotate(-38deg) scale(.55)}
.gate-lotus .p-l1{transform:rotate(26deg) scale(.8)}.gate-lotus .p-r1{transform:rotate(-26deg) scale(.8)}
.gate-lotus .p-c{transform:scale(.92)}
.gate-lotus{animation:budPulse 2.6s ease-in-out infinite}
@keyframes budPulse{0%,100%{transform:translateY(-50%) scale(1)}50%{transform:translateY(-50%) scale(1.05)}}
.gate.bloomed .gate-lotus path{transform:none}
.gate.bloomed .gate-lotus{animation:none;opacity:0}
.gate-content{position:absolute;left:0;right:0;bottom:max(30px,calc(env(safe-area-inset-bottom) + 22px));padding:0 24px;text-align:center;transition:opacity .6s,transform .8s}
.gate-guest{font-size:17px;color:#fdeef0;margin-bottom:8px;text-shadow:0 2px 8px rgba(0,0,0,.8)}
.gate-guest b{font-weight:400;color:var(--gold-hi)}
.gate-kicker{font-family:var(--f-display);font-size:20px;color:var(--pk);text-shadow:0 2px 6px rgba(0,0,0,.7)}
html[lang="en"] .gate-kicker{text-transform:uppercase;font-size:13px;letter-spacing:.38em;font-weight:600}
.gate-names{font-family:var(--f-names);font-weight:700;font-size:50px;line-height:1.2;white-space:nowrap;margin:2px 0 0;background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 3px rgba(0,0,0,.8))}
html[lang="en"] .gate-names{font-weight:400;font-size:58px}
.gate-names .amp{font-size:.55em;padding:0 .2em;vertical-align:.15em}
.gate-names.stacked .nm{display:block}
.gate-date{font-size:16px;color:#f8e4e7;letter-spacing:.05em;margin-bottom:20px;text-shadow:0 2px 6px rgba(0,0,0,.8)}
.btn-open{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:232px;height:56px;padding:0 30px;border-radius:999px;
  font-family:var(--f-display);font-weight:700;font-size:20px;color:var(--em-3);
  background:linear-gradient(180deg,#fff1c4 0%,#e8c26a 45%,#c08d33 100%);
  box-shadow:0 0 0 1.5px #7a5214,0 0 0 4px rgba(251,231,168,.35),0 10px 28px rgba(0,0,0,.55),inset 0 1px 0 #fff8dd}
html[lang="en"] .btn-open{font-size:16px;letter-spacing:.16em;text-transform:uppercase}
.btn-open-ring{position:absolute;inset:-6px;border-radius:999px;border:1.5px solid rgba(251,231,168,.7);animation:ring 2.2s ease-out infinite}
@keyframes ring{0%{transform:scale(.96);opacity:.9}100%{transform:scale(1.18,1.45);opacity:0}}
.gate-hint{margin-top:12px;font-size:13px;color:rgba(253,238,240,.75);letter-spacing:.04em}
.gate.bloomed .gate-content,.gate.bloomed .gate-top{opacity:0;transform:translateY(16px)}
.gate.opening .gate-shade{opacity:0}
.gate.gone{opacity:0;visibility:hidden;transition:opacity 1.1s ease .1s,visibility 0s 1.3s}

/* =================== floating controls =================== */
.lang-toggle{position:fixed;z-index:60;top:max(14px,env(safe-area-inset-top));right:max(14px,calc((100vw - var(--col))/2 + 14px));
  height:34px;padding:0 14px;border-radius:999px;font-family:'Cormorant Garamond',serif;font-weight:700;font-size:14px;letter-spacing:.06em;color:var(--em-3);
  background:linear-gradient(180deg,#fff1c4,#d9ad52);box-shadow:0 0 0 1px #7a5214,0 4px 14px rgba(0,0,0,.35)}
.lang-toggle .hi{font-family:var(--f-hi-display);font-weight:700;font-size:15px}
.music-btn{position:fixed;z-index:60;bottom:max(18px,env(safe-area-inset-bottom));right:max(16px,calc((100vw - var(--col))/2 + 16px));width:52px;height:52px;border-radius:50%;
  display:grid;place-items:center;color:var(--em-3);background:radial-gradient(circle at 35% 30%,#fff3c9,#dcae55 55%,#a8772a);
  box-shadow:0 0 0 1.5px #7a5214,0 0 0 5px rgba(201,154,62,.25),0 8px 20px rgba(0,0,0,.4)}
.music-btn svg{width:22px;height:22px}
.music-btn .eq{display:none;gap:3px;align-items:flex-end;height:18px}
.music-btn .eq i{width:3px;background:var(--em-3);border-radius:2px;animation:eq 1s ease-in-out infinite}
.music-btn .eq i:nth-child(2){animation-delay:.2s}.music-btn .eq i:nth-child(3){animation-delay:.45s}.music-btn .eq i:nth-child(4){animation-delay:.1s}
@keyframes eq{0%,100%{height:5px}50%{height:18px}}
.music-btn.playing .ic-note{display:none}.music-btn.playing .eq{display:flex}

/* lotus petals */
.petals{position:fixed;inset:0;pointer-events:none;z-index:70;overflow:hidden}
.petal{position:absolute;top:-40px;width:13px;height:22px;opacity:.92;will-change:transform;animation:fall linear forwards;border-radius:50% 50% 50% 50%/80% 80% 20% 20%}
.petal.p{background:linear-gradient(180deg,#fff4f6,#f3b3c1 55%,#d9788f)}
.petal.w{background:linear-gradient(180deg,#ffffff,#fbeef0 60%,#f0cdd5)}
.petal.d{background:linear-gradient(180deg,#ffe3ea,#e98ea6 60%,#c25775);width:10px;height:17px}
@keyframes fall{0%{transform:translate3d(0,0,0) rotate(0) scale(var(--s,1))}100%{transform:translate3d(var(--dx),110vh,0) rotate(var(--rot)) scale(var(--s,1))}}

/* water ripples */
.ripples{position:absolute;left:0;right:0;bottom:0;height:120px;pointer-events:none;overflow:hidden}
.ripples i{position:absolute;bottom:26px;width:120px;height:26px;margin-left:-60px;border:1.5px solid rgba(251,231,168,.45);border-radius:50%;opacity:0;animation:ripple 5.5s ease-out infinite}
.ripples i:nth-child(1){left:22%}.ripples i:nth-child(2){left:70%;bottom:46px;animation-delay:1.8s}.ripples i:nth-child(3){left:48%;bottom:12px;animation-delay:3.6s}
@keyframes ripple{0%{transform:scale(.2);opacity:.9}100%{transform:scale(1.6);opacity:0}}
@media (prefers-reduced-motion:reduce){.ripples{display:none}}

/* =================== 1. DEITY HEADER =================== */
.s-invoke{padding:64px 20px 96px;overflow:hidden}
.s-invoke .panel{padding:34px 18px 30px}
.s-invoke .panel::before{background-color:#13503e;box-shadow:0 0 0 3px #13503e}
.deity-frame{position:relative;width:min(74%,250px);margin:0 auto;aspect-ratio:3/4;padding:5px;background:var(--gold-grad);
  border-radius:50% 50% 6px 6px/34% 34% 6px 6px;box-shadow:0 0 0 4px rgba(233,201,121,.18),0 18px 34px rgba(0,0,0,.45);animation:float 7s ease-in-out infinite}
.deity-frame::after{content:"";position:absolute;inset:10px;border:1px solid rgba(255,244,214,.8);border-radius:50% 50% 3px 3px/33% 33% 3px 3px;pointer-events:none}
.deity-frame img{width:100%;height:100%;object-fit:cover;border-radius:50% 50% 3px 3px/33% 33% 3px 3px;background:var(--em-2)}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.mantra{font-family:var(--f-hi-display);font-weight:700;font-size:25px;line-height:1.35;margin-top:20px;color:var(--gold-hi);text-shadow:0 2px 8px rgba(0,0,0,.5)}
html[lang="en"] .mantra{font-family:'Cormorant Garamond',serif;font-size:24px;font-weight:600}
.shloka{white-space:pre-line;font-size:16px;line-height:1.85;margin:8px auto 0;color:#fdf1f2;max-width:32ch}
body[data-deity="jain"] .shloka{font-family:var(--f-hi-body);font-size:17px;line-height:1.9;color:#fff5e6}
html[lang="en"] body:not([data-deity="jain"]) .shloka{font-style:italic;font-size:18px}
.gloss{font-style:italic;font-size:16px;color:var(--pk);margin:10px auto 0;max-width:30ch;line-height:1.5}
.guest-line{font-size:18px;color:var(--gold-hi);margin-bottom:6px}
.guest-line b{font-family:var(--f-display);font-weight:700;font-size:22px}
.intro{text-wrap:balance;font-size:17px;line-height:1.8;max-width:31ch;margin:0 auto;color:#fdf1f2}
html[lang="en"] .intro{font-size:19px}

/* =================== 2. HERO: lotus frame =================== */
.title-big{font-family:var(--f-display);font-weight:700;font-size:46px;line-height:1.15;color:var(--em);margin-bottom:18px}
html[lang="en"] .title-big{font-family:var(--f-en-script);font-weight:400;font-size:58px}
.lotus-frame{position:relative;width:min(88%,330px);margin:0 auto;aspect-ratio:300/380}
.lf-back{position:absolute;left:0;top:0;width:100%;height:auto;overflow:visible}
.lf-back path{fill:#f7c9d3;stroke:var(--gold);stroke-width:1.6}
.lf-back path.mid{fill:#efb0c0}
.lf-photo{position:absolute;left:21%;top:2%;width:58%;height:84%;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M50 0C72 18 100 40 100 78 100 108 78 130 50 130 22 130 0 108 0 78 0 40 28 18 50 0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M50 0C72 18 100 40 100 78 100 108 78 130 50 130 22 130 0 108 0 78 0 40 28 18 50 0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;background:var(--em)}
.lf-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.lf-line{position:absolute;left:21%;top:2%;width:58%;height:84%;overflow:visible;pointer-events:none;filter:drop-shadow(0 6px 10px rgba(12,59,46,.35))}
.lf-line path{fill:none;stroke:url(#ggd);stroke:#d4a447;stroke-width:3.2;vector-effect:non-scaling-stroke}
.lf-line path.in{stroke:#fbe7a8;stroke-width:1.2}
.lf-base{position:absolute;left:0;bottom:-2%;width:100%;height:auto}
.lf-base path{fill:#e9c979;stroke:#8d6420;stroke-width:1.2}
.lf-base path.leaf{fill:#1f5b49;stroke:#c99a3e}
.names{margin-top:20px}
.name-block{padding:0 4px}
.prefix{display:block;font-size:15px;color:var(--ink-soft)}
.prefix:empty{display:none}
.name{font-family:var(--f-names);font-weight:700;font-size:54px;line-height:1.25;white-space:nowrap;background:linear-gradient(100deg,#0c3b2e,#1f6b55 45%,#0c3b2e);-webkit-background-clip:text;background-clip:text;color:transparent}
html[lang="en"] .name{font-weight:400;font-size:64px;line-height:1.25}
.relation{text-wrap:balance;font-size:14px;color:var(--ink-soft);max-width:34ch;margin:2px auto 0;line-height:1.6}
.relation:empty{display:none}
html[lang="en"] .relation{font-size:16px;font-style:italic}
.joiner{display:block;font-family:var(--f-en-script);font-size:40px;line-height:1;margin:6px 0;color:var(--rose)}
html[lang="hi"] .joiner{font-family:var(--f-hi-display);font-weight:700;font-size:24px}

/* lotus band divider */
.lotus-band{position:relative;height:30px;background:#0a3428 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='30' viewBox='0 0 40 30'%3E%3Cg fill='%23f2c4cc' stroke='%23e9c979' stroke-width='.8'%3E%3Cpath d='M20 6c2.8 3.6 2.8 7.4 0 10.4-2.8-3-2.8-6.8 0-10.4z'/%3E%3Cpath d='M20 18.5c-3.8-.4-6.8-2.8-8.4-6.6 3.8.3 6.8 2.6 8.4 6.6zM20 18.5c3.8-.4 6.8-2.8 8.4-6.6-3.8.3-6.8 2.6-8.4 6.6z' fill-opacity='.75'/%3E%3C/g%3E%3Cpath d='M0 23h40' stroke='%23e9c979' stroke-width='.8'/%3E%3Ccircle cx='0' cy='23' r='1.6' fill='%23e9c979'/%3E%3C/svg%3E") center/40px 30px repeat-x;
  box-shadow:inset 0 1.5px 0 var(--gold-2),inset 0 -1.5px 0 var(--gold-2)}

/* =================== 3. FAMILIES =================== */
.family-card{padding:30px 16px 26px;background:rgba(5,30,23,.55)}
.fam-head{display:flex;align-items:flex-end;justify-content:center;gap:4px}
.mor{width:84px;height:auto;flex:0 0 84px}
.mor.l{transform:scaleX(-1)}
.fam-title{font-family:var(--f-display);font-weight:700;font-size:30px;line-height:1.3;padding-bottom:10px}
html[lang="en"] .fam-title{font-family:var(--f-en-script);font-weight:400;font-size:36px}
.fam-names{margin-top:10px}
.fam-names p{font-size:16px;line-height:1.6;color:#fdf1f2;margin:6px auto;max-width:30ch;text-wrap:balance}
.sides{display:grid;gap:4px;margin-top:22px}
.side h4{font-family:var(--f-display);font-weight:700;font-size:23px;color:var(--pk)}
html[lang="en"] .side h4{font-family:'Cormorant Garamond',serif;font-weight:700;font-size:15px;text-transform:uppercase;letter-spacing:.24em;color:var(--gold-2)}
.side p{font-size:16px;line-height:1.55;color:#fdf1f2;text-wrap:balance}
.side p.place{font-size:14px;color:#cfe3da;margin-top:2px}
.side-lotus{display:block;height:22px;margin:8px 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cg fill='%23e9c979'%3E%3Cpath d='M11 1c2.4 3.4 2.4 7 0 10-2.4-3-2.4-6.6 0-10z'/%3E%3Cpath d='M11 13C7.5 12.6 4.6 10.4 3 6.6c3.6.3 6.6 2.6 8 6.4zM11 13c3.5-.4 6.4-2.6 8-6.4-3.6.3-6.6 2.6-8 6.4z'/%3E%3C/g%3E%3C/svg%3E") center/22px 16px no-repeat}

/* =================== 4. DATE: lotus bloom =================== */
.bloom{position:relative;width:270px;height:270px;margin:4px auto 0;cursor:pointer;outline:none;-webkit-user-select:none;user-select:none}
.lp{position:absolute;left:50%;bottom:50%;width:62px;height:106px;margin-left:-31px;transform-origin:50% 100%;
  transform:rotate(calc(var(--a) * .1)) scale(.86);transition:transform 1.3s cubic-bezier(.3,1.25,.45,1)}
.lp.inner{width:50px;height:84px;margin-left:-25px;transform:rotate(calc(var(--a) * .05)) scale(.9);transition-delay:.15s}
.lp svg{width:100%;height:100%;display:block;overflow:visible}
.lp path{fill:url(#bpk);stroke:#c99a3e;stroke-width:1.6}
.lp path.vein{fill:none;stroke:rgba(199,106,130,.45);stroke-width:1}
.lp.inner path:first-child{fill:url(#bpk2)}
.bloom.open .lp{transform:rotate(var(--a)) translateY(-14px)}
.bloom.open .lp.inner{transform:rotate(var(--a)) translateY(-4px) scale(.98)}
.bloom.instant .lp{transition:none}
.bloom-core{position:absolute;left:50%;top:50%;width:118px;height:118px;margin:-59px 0 0 -59px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:radial-gradient(circle at 35% 30%,#fffaf0,#fbeacb 60%,#e9c979);box-shadow:0 0 0 3px #c99a3e,0 0 0 7px rgba(233,201,121,.35),0 10px 24px rgba(12,59,46,.3);
  transform:scale(.2);opacity:0;transition:transform 1s cubic-bezier(.3,1.4,.5,1) .55s,opacity .6s .55s}
.bloom.open .bloom-core{transform:none;opacity:1}
.bloom.instant .bloom-core{transition:none}
.bd-day{font-family:var(--f-num);font-weight:600;font-size:40px;line-height:1;color:var(--em)}
.bd-month{font-family:var(--f-display);font-weight:700;font-size:19px;line-height:1.3;color:var(--rose-d)}
html[lang="en"] .bd-month{font-family:'Cormorant Garamond',serif;font-size:17px;text-transform:uppercase;letter-spacing:.12em}
.bd-year{font-family:var(--f-num);font-size:15px;color:var(--gold-3);letter-spacing:.1em}
.bloom-tap{position:absolute;left:50%;top:58%;transform:translateX(-50%);padding:3px 12px;border-radius:999px;background:rgba(255,250,240,.92);color:var(--em);font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 2px 8px rgba(12,59,46,.25);transition:opacity .4s;animation:tapPulse 1.8s ease-in-out infinite}
@keyframes tapPulse{50%{transform:translateX(-50%) scale(1.08)}}
.bloom.open .bloom-tap{opacity:0;animation:none}
.date-full{opacity:0;transform:translateY(10px);transition:opacity .8s,transform .8s;margin-top:4px}
.date-full.show{opacity:1;transform:none}
.date-text{font-family:var(--f-display);font-weight:700;font-size:23px;color:var(--em)}
html[lang="en"] .date-text{font-size:24px;font-weight:600}
.time-text{font-size:15px;color:var(--ink-soft);margin-top:2px}
/* diya countdown */
.countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:20px}
.cd{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:30px}
.flame{position:absolute;top:2px;left:50%;width:14px;height:24px;margin-left:-7px;border-radius:50% 50% 50% 50%/65% 65% 35% 35%;
  background:radial-gradient(ellipse at 50% 75%,#fff7d6 0 22%,#ffd36b 45%,#f39a1e 75%,rgba(243,154,30,0) 100%);filter:drop-shadow(0 0 8px rgba(255,190,80,.9));transform-origin:50% 100%;animation:flick 1.6s ease-in-out infinite alternate}
.cd:nth-child(2) .flame{animation-delay:.4s}.cd:nth-child(3) .flame{animation-delay:.8s}.cd:nth-child(4) .flame{animation-delay:.2s}
@keyframes flick{0%{transform:scale(1,1) rotate(-2deg)}50%{transform:scale(.92,1.08) rotate(2deg)}100%{transform:scale(1.04,.95) rotate(-1deg)}}
.diya{width:100%;max-width:84px;height:auto;overflow:visible}
.diya .d-petals{fill:#f3b8c5;stroke:#c99a3e;stroke-width:1.6}
.diya .d-rim{fill:none;stroke:#c99a3e;stroke-width:1.4}
.cd b{font-family:var(--f-num);font-weight:600;font-size:26px;line-height:1;color:var(--em);margin-top:6px}
.cd-l{font-size:13px;color:var(--ink-soft);margin-top:3px}
html[lang="en"] .cd-l{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:700}
.cd-done{margin-top:16px;font-family:var(--f-display);font-size:22px;color:var(--rose-d)}

/* =================== 5. EVENTS: lotus-petal frames =================== */
.events{display:grid;gap:44px;margin-top:30px}
.ev{opacity:0;transform:translateY(26px) scale(.96);transition:opacity 1s ease,transform 1.1s cubic-bezier(.2,.8,.2,1)}
.ev.open{opacity:1;transform:none}
.ev-frame{position:relative;width:min(80%,290px);margin:0 auto;aspect-ratio:100/130;filter:drop-shadow(0 16px 22px rgba(0,0,0,.4))}
.ev-art{position:absolute;inset:0;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M50 0C72 18 100 40 100 78 100 108 78 130 50 130 22 130 0 108 0 78 0 40 28 18 50 0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M50 0C72 18 100 40 100 78 100 108 78 130 50 130 22 130 0 108 0 78 0 40 28 18 50 0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;background:var(--em-2)}
.ev-art img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;transform:scale(1.04);transition:transform 6s ease}
.ev.open .ev-art img{transform:scale(1)}
.ev-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ev-line path{fill:none;stroke:#d9ad52;stroke-width:3.4;vector-effect:non-scaling-stroke}
.ev-line path.in{stroke:#fbe7a8;stroke-width:1.1}
.ev-no{position:absolute;left:50%;bottom:-18px;width:40px;height:40px;margin-left:-20px;border-radius:50%;display:grid;place-items:center;font-family:var(--f-num);font-weight:600;font-size:15px;color:var(--em-3);
  background:radial-gradient(circle at 35% 30%,#fff3c9,#dcae55 60%,#a8772a);box-shadow:0 0 0 2px var(--em),0 0 0 3.5px var(--gold-2)}
.ev-no.solo{position:relative;left:auto;bottom:auto;margin:0 auto 10px}
.ev-card{position:relative;margin:-2px 6px 0;padding:34px 18px 22px;border-radius:0 0 16px 16px;color:var(--ink);
  background:linear-gradient(180deg,#fffaf0,#fbe9ea);box-shadow:inset 0 0 0 1.5px var(--gold),inset 0 0 0 5px #fffaf0,inset 0 0 0 6px rgba(201,154,62,.6),0 10px 24px rgba(0,0,0,.3)}
.ev-frame + .ev-card{margin-top:-30px;padding-top:58px;border-radius:16px}
.ev-name{font-family:var(--f-display);font-weight:700;font-size:30px;line-height:1.25;color:var(--em)}
html[lang="en"] .ev-name{font-family:var(--f-en-script);font-weight:400;font-size:40px}
.ev-sub{font-size:15px;color:var(--rose-d);margin-top:-2px}
html[lang="en"] .ev-sub{font-style:italic;font-size:17px}
.ev-meta{list-style:none;display:grid;gap:7px;margin:14px auto 0;max-width:290px;text-align:left}
.ev-meta li{display:flex;gap:9px;align-items:flex-start;font-size:15px;line-height:1.45;color:var(--ink)}
.ev-meta svg{flex:0 0 18px;width:18px;height:18px;margin-top:2px;color:var(--gold-3)}
.ev-meta li.dress svg{flex:0 0 20px;width:20px;height:20px;margin-top:1px}
.ev-meta .lbl{color:var(--ink-soft)}
.nw{white-space:nowrap}
.dress-ic{color:var(--gold-3)}
.ev-map{display:inline-flex;align-items:center;gap:7px;margin-top:14px;height:38px;padding:0 16px;border-radius:999px;text-decoration:none;font-size:14px;font-weight:700;color:var(--em-3);
  background:linear-gradient(180deg,#fff1c4,#d9ad52);box-shadow:0 0 0 1px #8d6420,0 4px 10px rgba(12,59,46,.25)}
html[lang="en"] .ev-map{font-family:'Cormorant Garamond',serif;font-size:15px;letter-spacing:.04em}
.ev-map svg{width:16px;height:16px}

/* =================== 6. GALLERY: Pichwai cusped arches =================== */
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px;grid-auto-flow:dense}
.gi{position:relative;padding:4px;background:var(--gold-grad);cursor:zoom-in;
  -webkit-mask:var(--arch) center/100% 100% no-repeat;mask:var(--arch) center/100% 100% no-repeat;
  --arch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 130' preserveAspectRatio='none'%3E%3Cpath d='M0 130V40C0 34 4 31 8 30 10 22 16 18 22 18 26 9 34 5 42 6 45 2 48 0 50 0 52 0 55 2 58 6 66 5 74 9 78 18 84 18 90 22 92 30 96 31 100 34 100 40V130Z'/%3E%3C/svg%3E")}
.gi img{width:100%;aspect-ratio:3/4;object-fit:cover;background:#e9c6cc;
  -webkit-mask:var(--arch) center/100% 100% no-repeat;mask:var(--arch) center/100% 100% no-repeat}
.gi.land{grid-column:span 2;--arch:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V30C0 25 4 22 9 22 13 14 21 11 29 12 36 4 50 2 62 6 68 1 74 0 80 0 86 0 92 1 98 6 110 2 124 4 131 12 139 11 147 14 151 22 156 22 160 25 160 30V120Z'/%3E%3C/svg%3E")}
.gi.land img{aspect-ratio:4/3}
.gi.solo{grid-column:span 2;width:62%;justify-self:center}
.lightbox{position:fixed;inset:0;z-index:90;background:rgba(3,22,16,.95);display:flex;align-items:center;justify-content:center}
.lightbox img{max-width:94vw;max-height:84vh;border:3px solid var(--gold-2);border-radius:6px}
.lightbox button{position:absolute;color:var(--gold-hi);font-size:44px;line-height:1;padding:10px 14px}
.lb-close{top:10px;right:10px}.lb-prev{left:4px;top:50%;transform:translateY(-50%)}.lb-next{right:4px;top:50%;transform:translateY(-50%)}

/* =================== 7. VENUE =================== */
.venue-card{margin-top:18px;padding:0 18px 28px;background:rgba(5,30,23,.5);overflow:visible}
.venue-art{height:150px;margin:0 -18px 18px;border-radius:4px 4px 0 0;background:url(assets/img/pond.webp) 50% 62%/cover no-repeat;
  -webkit-mask:linear-gradient(180deg,#000 62%,transparent);mask:linear-gradient(180deg,#000 62%,transparent)}
.env-kicker{font-size:15px;color:var(--pk)}
html[lang="en"] .env-kicker{text-transform:uppercase;font-size:12px;letter-spacing:.3em;font-weight:700}
.env-name{font-family:var(--f-display);font-weight:700;font-size:30px;line-height:1.25;margin-top:2px}
html[lang="en"] .env-name{font-weight:600;font-size:30px}
.env-name{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.env-addr{font-size:16px;color:#fdf1f2;margin-top:4px}
.env-date{font-size:14px;color:#cfe3da;margin-top:8px}
.btn-gold{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;padding:0 24px;margin-top:20px;border-radius:999px;text-decoration:none;font-weight:700;font-size:16px;color:var(--em-3);
  background:linear-gradient(180deg,#fff1c4 0%,#e8c26a 45%,#c08d33 100%);box-shadow:0 0 0 1.5px #7a5214,0 8px 20px rgba(0,0,0,.35)}
html[lang="en"] .btn-gold{font-family:'Cormorant Garamond',serif;letter-spacing:.06em}
.btn-gold svg{width:18px;height:18px}

/* =================== 8. THINGS TO KNOW =================== */
.know{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.k{padding:18px 12px 16px;border-radius:60px 60px 14px 14px;background:rgba(255,250,240,.85);box-shadow:inset 0 0 0 1px rgba(201,154,62,.7),0 6px 14px rgba(12,59,46,.08)}
.k.wide{grid-column:span 2}
.k-ic{width:46px;height:46px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;color:var(--em);background:radial-gradient(circle at 35% 30%,#fff,#f9dde2 70%);box-shadow:0 0 0 1.5px var(--gold)}
.k-ic svg{width:22px;height:22px}
.k h4{font-family:var(--f-display);font-weight:700;font-size:19px;color:var(--em)}
html[lang="en"] .k h4{font-weight:700;font-size:18px}
.k p{text-wrap:balance;font-size:14px;line-height:1.55;color:var(--ink-soft);margin-top:4px}

/* =================== 9. RSVP =================== */
.rsvp-arch{padding:24px 18px 30px;background:rgba(5,30,23,.5)}
.rsvp-lotus{width:110px;margin:0 auto 6px;display:block}
.rsvp-lotus path{fill:#f2c4cc;stroke:#c99a3e;stroke-width:1.6}
.rsvp-lotus path.m{fill:#f7d5dc}.rsvp-lotus path.c{fill:#fdeef1}
.rsvp-text{font-size:16px;color:#fdf1f2}
.rsvp-deadline{font-size:14px;color:var(--gold-2);margin-top:4px}
.rsvp-deadline:empty{display:none}
.rsvp-btns{display:grid;gap:16px;margin-top:22px}
.wa{display:flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 18px;border-radius:999px;text-decoration:none;color:#fff;font-weight:700;font-size:17px;
  background:linear-gradient(180deg,#2bb463,#1f8a4c);box-shadow:0 0 0 1.5px var(--gold-2),0 8px 18px rgba(0,0,0,.35)}
html[lang="en"] .wa{font-family:'Cormorant Garamond',serif;font-size:18px}
.wa svg{width:24px;height:24px;flex:0 0 24px}
.wa-lbl{display:block;margin-top:6px;font-size:14px;color:#cfe3da}
.extra{margin-top:28px}
.ex{margin-top:14px}
.ex h4{font-family:var(--f-display);font-weight:700;font-size:22px;color:var(--pk)}
html[lang="en"] .ex h4{font-family:var(--f-en-script);font-weight:400;font-size:30px}
.ex p{font-size:15px;color:#fdf1f2;max-width:32ch;margin:2px auto 0;text-wrap:balance}

/* =================== 10. FOOTER: lotus pond =================== */
.s-footer{padding:60px 0 0;color:var(--ivory);background:linear-gradient(180deg,#0c3b2e,#0f4a3a 60%,#0e4636)}
.foot-title{font-family:var(--f-display);font-weight:700;font-size:32px;padding:0 20px}
html[lang="en"] .foot-title{font-family:var(--f-en-script);font-weight:400;font-size:44px}
.foot-title{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.foot-text{font-size:16px;color:#fdf1f2;padding:0 20px}
.foot-tag{font-family:var(--f-num);font-size:15px;letter-spacing:.08em;color:var(--pk);margin-top:6px}
.foot-tag:empty{display:none}
.pond{position:relative;margin-top:22px}
.pond img{width:100%;height:auto;-webkit-mask:linear-gradient(180deg,transparent 0,#000 24%);mask:linear-gradient(180deg,transparent 0,#000 24%)}
.credit{padding:14px 20px 22px;font-size:12px;letter-spacing:.06em;color:#a9c7bb;background:#0a3428;font-family:'Cormorant Garamond',serif}
.credit:empty{display:none}

/* ---------- refinements ---------- */
.ev-frame{z-index:1}
.ev-card{z-index:0}
/* gate bud: glowing ivory medallion so it reads on the busy curtain */
.gate-lotus::before{content:"";position:absolute;left:50%;top:52%;width:178px;height:178px;margin:-89px 0 0 -89px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,250,240,.96) 0 52%,rgba(255,236,214,.55) 64%,rgba(255,236,214,0) 72%);box-shadow:0 0 0 1.5px rgba(233,201,121,.0)}
.gate-lotus::after{content:"";position:absolute;left:50%;top:52%;width:136px;height:136px;margin:-68px 0 0 -68px;border-radius:50%;border:1.5px solid #d4a447;box-shadow:0 0 0 4px rgba(212,164,71,.25)}
.gate-lotus svg{position:relative;z-index:1;width:116px;margin:0 auto}
.gate-lotus .p-l2{transform:rotate(30deg) scale(.6)}.gate-lotus .p-r2{transform:rotate(-30deg) scale(.6)}
.gate-lotus .p-l1{transform:rotate(14deg) scale(.86)}.gate-lotus .p-r1{transform:rotate(-14deg) scale(.86)}
/* let the invitation show through while the curtain parts */
.gate{transition:background-color 1.2s ease .6s}
.gate-glow{transition:opacity 1.4s ease .7s}
.gate.opening{background-color:transparent}
.gate.opening .gate-glow{opacity:0}
@media (max-height:760px){.gate-lotus{top:27%}}
