@font-face{font-family:Cormorant;src:url('fonts/cormorant.woff2') format('woff2');font-display:swap}
@font-face{font-family:Devanagari;src:url('fonts/devanagari.woff2') format('woff2');font-display:swap}
:root{color-scheme:dark;--sky:#062f40;--ivory:#fff2d8;--gold:#f0d69a;--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}
html{scroll-behavior:auto}
html.invitation-locked{overflow:hidden}
body{margin:0;background:var(--sky);color:var(--ivory);font-family:Cormorant,Georgia,serif}
img{display:block;max-width:100%}
button{font:inherit}
button:focus-visible,.skip:focus-visible{outline:3px solid #fff;outline-offset:5px}
.skip{position:fixed;z-index:20;left:1rem;top:1rem;transform:translateY(-200%);padding:.7rem;background:#fff;color:#062f40}
.skip:focus{transform:none}
.invocation{font:16px/1.5 Devanagari,serif;color:var(--gold);margin:0 0 12px}
.intro{font-size:clamp(19px,2vw,25px);margin:0 0 8px}
.date span{display:block;font-size:.8em;margin-top:6px}
.recipient{border-top:1px solid #e5ca8a99;margin:clamp(12px,3vh,24px) auto 0;padding-top:12px;width:min(330px,90%)}
.recipient span,.recipient strong{display:block}
.recipient span{font-size:17px}
.recipient strong{font-size:25px;line-height:1.2}
.open{margin-top:18px;min-height:48px;padding:10px 30px;border:1px solid #f4e1b6;border-radius:2px;background:#f5e3bd;color:#092d3a;font-size:20px;font-weight:600;cursor:pointer;transition:background .3s}
.open:hover{background:#fff5dc}
.cover[hidden]{display:none}
.sky{position:relative;overflow:clip;isolation:isolate;background:#073346 url('images/sky.webp') center top/auto 1000px repeat-y;text-align:center}
.title{position:relative;z-index:2;min-height:85svh;padding:13vh 24px 10vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.title h1{font-size:clamp(76px,10.4vw,150px);font-weight:400;line-height:.9;margin:0;color:#ffedc8;text-shadow:0 2px 18px #001925}
.title h1 span,.title h1 i{display:block}
.title h1 i{font-size:.33em;font-weight:400;line-height:1.5}
.date{font-size:clamp(21px,2.3vw,28px);margin:20px 0 0}
.theatre{position:relative;min-height:1800px;margin-top:-4vh}
.theatre img{position:absolute;filter:drop-shadow(0 12px 12px #001b2a99)}
.arch{width:100%;top:0;left:0;z-index:4}
.balloon{position:absolute;z-index:3;width:clamp(130px,18vw,290px);left:13%;top:15%}
.balloon img{position:static;animation:bob 6s ease-in-out infinite alternate}
.palace{width:min(64%,950px);top:23%;left:18%;z-index:2}
.moon{width:clamp(110px,18vw,270px);right:11%;top:47%;z-index:2}
.proposal{width:min(52%,720px);top:55%;left:24%;z-index:3}
.hero-end{position:relative;z-index:5;font-size:clamp(24px,3vw,36px);line-height:1.25;margin:-20px auto 0;padding:0 20px 90px;color:#fff2d8}
footer{padding:22px 18px max(100px,calc(env(safe-area-inset-bottom) + 88px));text-align:center;font-size:15px;background:#082d3a}
footer .footer-couple{font-size:17px;color:#d8ecec}
@keyframes bob{from{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,6px,0)}}
@media(max-width:600px){.recipient{margin-top:14px}
.theatre{min-height:1120px;margin-top:-5vh}
.arch{width:160%;max-width:none;left:-30%}
.balloon{left:4%;top:12%;width:35%}
.palace{width:94%;left:3%;top:26%}
.moon{width:32%;right:2%;top:48%}
.proposal{width:84%;left:8%;top:58%}
.hero-end{margin-top:-35px}
.title{min-height:78svh;padding-top:10vh}
.title h1{font-size:clamp(65px,17vw,95px)}
}
@media(max-height:620px){.invocation{margin-bottom:4px}
.recipient{margin-top:7px;padding-top:6px}
.open{margin-top:8px}
.recipient strong{font-size:22px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
.sky{background-size:100% auto}
.family{position:relative;isolation:isolate;overflow:hidden;text-align:center;padding:100px 22px 120px;background:#073346 url('images/damask.webp') center top/100% auto repeat-y}
.family-copy{position:relative;z-index:1;max-width:720px;margin:auto}
.family-copy p{font-size:clamp(22px,2.2vw,29px);line-height:1.5;margin:20px 0}
.family-copy .invocation{font-size:17px}
.family h2{font-size:clamp(48px,6vw,78px);font-weight:400;line-height:1;margin:26px 0}
.family-copy .family-names{font-size:clamp(58px,8vw,100px);line-height:1}
.family-names i{font-size:.6em;color:var(--gold)}
.family-moon,.family-balloon{position:absolute;opacity:.8;width:clamp(100px,15vw,220px)}
.family-moon{left:-25px;top:30%}
.family-balloon{right:-20px;top:9%}
.medallion{position:relative;width:min(620px,90vw);margin:90px auto 40px;color:#163d43}
.medallion-art{width:100%}
.medallion-copy{position:absolute;inset:30% 20% 22%;display:flex;flex-direction:column;justify-content:center;align-items:center}
.medallion-copy p{font-size:clamp(20px,3vw,28px);margin:0}
.medallion-copy h3{font-size:clamp(37px,5.7vw,67px);line-height:.95;font-weight:400;margin:10px 0}
.medallion-copy span{font-size:clamp(18px,2.4vw,25px)}
.pendant{position:absolute;top:12%;left:43.6%;width:12.8%;height:12%;border-radius:50%;overflow:hidden;background:#d8e1d4;animation:pendulum 5s ease-in-out infinite alternate}
.pendant img{width:100%;height:100%;object-fit:cover;transform:scale(1.5);object-position:50% 61%}
@keyframes pendulum{from{transform:rotate(-8deg)}to{transform:rotate(8deg)}}
.countdown h3{font-size:clamp(27px,3vw,40px);font-weight:400}
.countdown-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(630px,100%);margin:30px auto}
.countdown-grid div{padding:14px 4px;border:1px solid #e4cb91aa;background:#082f3ab8}
.countdown-grid strong,.countdown-grid span{display:block}
.countdown-grid strong{font-size:clamp(31px,4vw,48px);font-weight:400;line-height:1}
.countdown-grid span{font-size:16px;margin-top:8px}
.countdown>p{font-size:21px}
.family img{pointer-events:none}
@media(max-width:600px){.family{padding:78px 18px 90px}
.family-copy{padding:0 8px}
.family-copy p{font-size:22px}
.family-moon,.family-balloon{opacity:.25;width:100px}
.family-moon{left:-35px}
.family-balloon{right:-40px}
.medallion{margin:65px auto 30px}
.medallion-copy h3{font-size:clamp(34px,10vw,52px)}
.countdown-grid{gap:6px}
.countdown-grid span{font-size:14px}
}
.celebrations{background:#073346 url('images/damask.webp') center top/100% auto repeat-y;text-align:center;padding:90px 24px 130px}
.celebrations-intro{color:var(--gold);font-size:23px}
.celebrations h2{font-size:clamp(54px,7vw,90px);line-height:1;font-weight:400;margin:12px 0}
.celebrations>p{font-size:23px}
.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:92px 6%;max-width:1050px;margin:80px auto 0}
.event{text-align:center}
.event-art{position:relative;width:min(100%,380px);margin:0 auto 30px}
.event-scene{width:100%;aspect-ratio:4/5;object-fit:cover;border:5px solid #dbbb7d;border-radius:50%;box-shadow:0 10px 24px #001e2b99}
.event-art .event-balloon,.event-art .event-moon,.event-art .event-palace{position:absolute;filter:drop-shadow(0 4px 4px #092b35a6)}
.event-balloon{width:18%;left:-7%;top:-4%}
.event-moon{width:24%;right:-10%;top:47%}
.event-palace{width:34%;left:-12%;bottom:0}
.event h3{font-size:clamp(42px,4vw,59px);font-weight:400;line-height:1;margin:0 0 14px}
.event p{font-size:22px;line-height:1.45;margin:8px 0}
.event .event-note{color:#f1d8a8;font-style:italic;font-size:20px;margin-top:17px}
@media(max-width:600px){.celebrations{padding:75px 30px 95px}
.celebrations>p{font-size:20px}
.event-grid{grid-template-columns:1fr;gap:70px;margin-top:58px}
.event-art{width:min(85%,350px)}
.event p{font-size:21px}
}
.event-art::after{content:"";position:absolute;right:-10%;bottom:-2%;width:58%;height:15%;background:url('images/mountain-trim.webp') center bottom/contain no-repeat;pointer-events:none;filter:drop-shadow(0 4px 4px #092b35a6)}
.venues{padding:95px 24px 110px;background:#e5e1c8;color:#173d42;text-align:center}
.venues-heading p{font-size:23px}
.venues-heading h2{font-size:clamp(52px,6vw,80px);font-weight:400;line-height:1;margin:15px 0 50px}
.venue-grid{max-width:1060px;margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.venue{padding:28px clamp(20px,3vw,38px) 36px;border:1px solid #a88e58;background:#fbf1d9;box-shadow:0 8px 25px #27463a20}
.venue>img{width:min(88%,340px);height:150px;object-fit:contain;margin:auto}
.venue h3{font-size:45px;line-height:1;font-weight:400;margin:12px 0}
.venue p{font-size:21px;line-height:1.5}
.venue .venue-occasion{font-size:17px;letter-spacing:.04em;color:#536b55}
.venue-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:25px}
.venue-actions a{min-height:46px;display:inline-grid;place-items:center;padding:8px 18px;background:#113f43;color:#fff4da;text-decoration:none;font-size:18px;border:1px solid #113f43}
.venue-actions a+ a{background:transparent;color:#113f43}
.venue-actions a:focus-visible{outline:3px solid #164c61;outline-offset:3px}
.venue-note{font-size:16px;margin:28px auto 0}
@media(max-width:700px){.venues{padding:75px 20px 85px}
.venue-grid{grid-template-columns:1fr}
.venue{padding:24px 20px 30px}
}
.story{padding:95px 20px 110px;text-align:center;background:#c3d1be;color:#163d42}
.story>p{font-size:23px}
.story h2{font-size:clamp(52px,6vw,78px);font-weight:400;line-height:1;margin:12px 0 25px}
.story-intro{max-width:650px;margin:0 auto;line-height:1.55}
.gallery{display:flex;align-items:center;justify-content:center;gap:clamp(9px,2vw,28px);margin:48px auto 0}
.gallery-frame{width:min(380px,calc(100vw - 140px));padding:12px 12px 18px;background:#f8ecd3;border:1px solid #af935c;box-shadow:0 9px 23px #26483c38;position:relative}
.gallery-frame::after{content:"";position:absolute;right:-12%;bottom:5%;width:40%;height:15%;background:url('images/mountain-trim.webp') center/contain no-repeat;pointer-events:none}
.gallery-slides{display:grid}
.gallery-slide{grid-area:1/1;margin:0;opacity:0;visibility:hidden;transition:opacity 1.625s ease,visibility 1.625s}
.gallery-slide.active{opacity:1;visibility:visible}
.gallery-slide img{width:100%;aspect-ratio:4/5;object-fit:cover}
.gallery-slide figcaption{font-size:19px;line-height:1.25;margin:14px 2px 0}
.gallery button{border:1px solid #28565a;color:#163d42;background:#edf0dc;width:48px;height:48px;flex:0 0 48px;border-radius:50%;font-size:32px;line-height:1;cursor:pointer}
.gallery button:focus-visible{outline:3px solid #164c61;outline-offset:4px}
@media(max-width:450px){.story{padding:75px 15px 85px}
.story>p{font-size:20px}
.gallery-frame{width:calc(100vw - 138px);padding:7px 7px 13px}
.gallery-slide figcaption{font-size:17px}
.gallery{gap:8px}
.gallery button{width:44px;height:44px;flex-basis:44px}
}
.visit{background:#073346 url('images/damask.webp') center top/100% auto repeat-y;text-align:center;padding:90px 24px 100px}
.visit>p{font-size:23px;color:var(--gold)}
.visit>h2{font-size:clamp(50px,6vw,76px);font-weight:400;line-height:1;margin:15px auto 50px}
.visit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1120px;margin:auto}
.visit-grid article{padding:25px;border-top:1px solid #d8bc80}
.visit-grid h3{font-weight:400;font-size:34px;margin:5px 0 14px}
.visit-grid p{font-size:21px;line-height:1.5}
.visit-grid a{display:inline-grid;place-items:center;min-height:46px;padding:9px 18px;border:1px solid #e4cc99;color:#fff1d6;text-decoration:none;font-size:19px}
.visit-grid a:focus-visible{outline:3px solid white;outline-offset:4px}
.visit-medallion{margin-bottom:0}
@media(max-width:700px){.visit{padding:75px 20px 85px}
.visit-grid{grid-template-columns:1fr;gap:5px}
.visit-grid article{padding:24px 8px}
}
.pendant img{position:absolute;inset:0}
.pendant img+img{animation:pendant-swap 12s ease-in-out infinite}
@keyframes pendant-swap{0%,38%{opacity:0}50%,88%{opacity:1}100%{opacity:0}}
.motion-paused,.motion-paused *{animation-play-state:paused!important}
.gallery-frame::after{top:-8%;bottom:auto}
.visit{background:#302139 url('images/plum-paper.webp') center top/100% auto repeat-y}
.cover:not([open]){display:none}
.cover::backdrop{background:transparent}
.invitation-locked:not(.invitation-opening) main,.invitation-locked:not(.invitation-opening) footer{visibility:hidden}
.mountain-guests{background:#e5e1c8;color:#173d42;padding:90px 24px;text-align:center}
.guest-form,.guest-blessings{max-width:900px;margin:0 auto}
.guest-form h2,.guest-blessings h2,.mountain-farewell h2{font:400 clamp(48px,6vw,72px)/1 Cormorant,serif;margin:16px 0}
.guest-form>p,.guest-blessings>p,.mountain-farewell>p{font:22px/1.5 Cormorant,serif}
.guest-form .form{margin:35px auto 80px;padding:30px;background:#fff5df;border:1px solid #b49964;color:#173d42}
.guest-blessings{border-top:1px solid #a88e58;padding-top:65px}
.blessing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:18px;margin:30px auto}
.blessing{background:#fff5df;padding:24px;margin:0;border:1px solid #b49964;color:#173d42}
.blessing-dialog{color:#173d42}
.mountain-farewell{padding:90px 24px;background:#302139 url('images/plum-paper.webp') center/100% auto repeat-y;color:#fff2d8;text-align:center}
.share-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:30px auto}
.mountain-farewell .button-outline{border-color:#ead1a0;color:#fff2d8}
.event-calendar{display:inline-grid;place-items:center;min-height:44px;padding:8px 16px;color:#fff2d8;text-underline-offset:4px}
.invitation-back,.invitation-music{background:#092f40!important;color:#fff2d8!important;border-color:#e4ca94!important}
.skip-main{position:fixed;z-index:20;left:1rem;top:1rem;transform:translateY(-200%);padding:.7rem;background:#fff;color:#062f40}
.skip-main:focus{transform:none}
.skip-main:focus-visible{outline:3px solid #fff;outline-offset:5px}
.gallery{touch-action:pan-y}
.family-hosts{margin:-40px auto 65px;max-width:460px}
.family-hosts h3{font:400 32px/1.2 Cormorant,serif}
.family-hosts p{font:20px/1.4 Cormorant,serif}
.family-hosts a{display:inline-flex;align-items:center;min-height:44px}
.skip,.skip-main{display:inline-flex;align-items:center;min-height:44px}
.title h1,.family-names,.event h3,.venue h3{max-width:100%;overflow-wrap:anywhere}
.title{isolation:isolate}
.title::before{content:"";position:absolute;inset:0;z-index:-1;background:#073346 url('images/sky.webp') center top/100% auto repeat-y;-webkit-mask:radial-gradient(ellipse 60% 30% at 50% 115%,transparent 98.5%,#000 100%);mask:radial-gradient(ellipse 60% 30% at 50% 115%,transparent 98.5%,#000 100%)}
.title::after{content:"";position:absolute;z-index:3;top:85%;left:-10%;width:120%;height:30%;border-top:1px solid #e2c586;border-radius:50% 50% 0 0/100% 100% 0 0;pointer-events:none}
.theatre{margin-top:-14svh;z-index:0}
@media(min-width:601px){.title{padding-bottom:20vh}
}
@media(max-width:600px){.title{padding-bottom:18vh}
}
.celebrations{overflow:clip}
.title{--banner-rise:clamp(72px,10vw,140px);--banner-drop:clamp(24px,3vw,40px)}
.title::before{-webkit-mask:radial-gradient(ellipse 60% var(--banner-rise) at 50% calc(100% + var(--banner-drop)),transparent 98.5%,#000 100%);mask:radial-gradient(ellipse 60% var(--banner-rise) at 50% calc(100% + var(--banner-drop)),transparent 98.5%,#000 100%)}
.title::after{top:auto;bottom:calc(-1 * var(--banner-drop));height:var(--banner-rise)}
.title h1{font-size:clamp(60px,5.56vw,80px)}
.title h1 i{font-size:.66em}
@media(max-width:600px){.title h1{font-size:clamp(50px,14vw,55px)}
.title h1 i{font-size:.55em}
}
/* Quiet paper drapes carry the theatre frame past the illustrated arch. */
.theatre::before,.theatre::after{content:"";position:absolute;z-index:1;top:5%;bottom:0;width:clamp(48px,14vw,200px);pointer-events:none;background:url('images/theatre-drape.webp') left top/100% 100% no-repeat;filter:drop-shadow(3px 4px 5px #001b2a88)}
.theatre::before{left:0}
.theatre::after{right:0;transform:scaleX(-1)}
@media(max-width:600px){.theatre::before,.theatre::after{width:13vw;min-width:40px;top:7%}
}
/* Keep long client hashtags inside their card and scale the theatre between layouts. */
.visit-grid article{min-width:0}
.visit-grid a{max-width:100%;min-width:0;overflow-wrap:anywhere;word-break:break-word;line-height:1.3}
.visit>.medallion-signature{max-width:680px;margin:10px auto 0;color:var(--ivory);font-size:clamp(18px,2vw,24px);line-height:1.3;overflow-wrap:anywhere}
.mountain-farewell p,footer p{overflow-wrap:anywhere}
@media(max-width:900px){.visit-grid{grid-template-columns:minmax(0,1fr);gap:5px}
.visit-grid article{padding:24px 8px}
}
@media(min-width:601px) and (max-width:1439px){.theatre{min-height:clamp(1120px,calc(634px + 81vw),1800px)}
}
/* Light forms need a dark focus indicator; compact short-screen dialogs remain scrollable. */
.blessing-dialog :is(button,input,textarea,select):focus-visible,.mountain-guests :is(button,input,textarea,select):focus-visible{outline:3px solid #164c61;outline-offset:3px}
@media(max-height:650px){.blessing-dialog{padding:14px 18px}
.blessing-dialog .dialog-close{position:sticky;float:right;top:0;right:auto;z-index:1;margin:-4px -6px 0 0;background:#fff2d8}
.blessing-dialog .lotus{width:44px;height:27px}
.blessing-dialog h2{font-size:30px;line-height:1.08;margin:5px 0 7px}
.blessing-dialog>p{font-size:15px;line-height:1.3;margin:5px 0 8px}
.blessing-dialog .form label:not(.honeypot){font-size:16px;margin:8px 0 4px}
.blessing-dialog .form textarea{height:70px;min-height:70px}
.blessing-dialog .privacy-note{font-size:13px;line-height:1.35;margin:8px 0}
.blessing-dialog .form-status:empty{display:none}
}
/* The painted Ganesha and frame sit in front of the curved hero edge. */
.title{z-index:1}
.theatre{z-index:2}
.hero-location{font-size:clamp(20px,2vw,25px);margin:16px 0 0}
.theatre::before,.theatre::after{top:0;mask-image:linear-gradient(transparent 0,transparent 5%,#000 25%);-webkit-mask-image:linear-gradient(transparent 0,transparent 5%,#000 25%)}
.theatre::before{left:-10px}
.theatre::after{right:-10px}
.sky{background-image:linear-gradient(to bottom,transparent calc(100% - 90px),#073346 100%),url('images/sky.webp');background-size:100% 100%,100% auto;background-repeat:no-repeat,repeat-y}
.sky::after{content:"";position:absolute;z-index:6;bottom:8px;left:50%;width:46px;height:46px;translate:-50% 0;background:#e4c489;clip-path:polygon(50% 0,57% 43%,100% 50%,57% 57%,50% 100%,43% 57%,0 50%,43% 43%);filter:drop-shadow(0 2px 3px #062f40)}
.family{z-index:0;background-image:linear-gradient(to bottom,#073346,transparent 110px),url('images/damask.webp');background-size:100% 100%,100% auto;background-repeat:no-repeat,repeat-y}
/* A night-sky story, with arrows drawn on a centered SVG grid. */
.story{position:relative;isolation:isolate;overflow:hidden;background:#073346 url('images/sky.webp') center top/100% auto repeat-y;color:#fff2d8}
.story>p,.story>h2,.story .gallery{position:relative;z-index:1}
.gallery-slide figcaption{color:#163d42}
.gallery button{display:grid;place-items:center;padding:0;background:#0b3542;color:#fff2d8;border-color:#e0c48c;box-shadow:0 4px 12px #001b2a66}
.gallery button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gallery button:focus-visible{outline-color:#fff2d8}
.story-moon,.story-balloon{position:absolute;z-index:0;width:clamp(95px,14vw,200px);opacity:.75;pointer-events:none}
.story-moon{top:8%;left:3%}
.story-balloon{top:14%;right:4%}
@media(max-width:600px){.story-moon,.story-balloon{width:95px;opacity:.23}
.story-moon{left:-38px}
.story-balloon{right:-35px}
}
/* Independent translate keeps parallax transforms intact. */
@keyframes paper-sway{from{translate:calc(-1 * var(--paper-sway,12px)) 0}to{translate:var(--paper-sway,12px) 0}}
.theatre .palace,.theatre .moon,.theatre .proposal,.family-moon,.family-balloon,.event-balloon,.event-moon,.event-palace,.event-art::after,.story-moon,.story-balloon{animation:paper-sway 4.4s ease-in-out infinite alternate}
.theatre .palace,.theatre .moon,.theatre .proposal{--paper-sway:clamp(10px,1.1vw,16px)}
.event-art,.event-balloon,.event-moon,.event-palace{--paper-sway:clamp(7px,.8vw,10px)}
.balloon img{animation-name:paper-float}
@keyframes paper-float{from{transform:translate3d(-9px,-7px,0)}to{transform:translate3d(9px,7px,0)}}
.balloon img{animation-duration:4.6s}
.event-moon,.family-moon,.story-moon{animation-duration:5s;animation-direction:alternate-reverse}
.motion-paused::after{animation-play-state:paused!important}
.mountain-farewell-art{position:relative;height:clamp(280px,45vw,620px);margin:-1px -24px -90px;background:linear-gradient(to bottom,#302139 0%,transparent 25%,transparent 80%,#082d3a 100%),url('images/kailash-farewell.webp') center bottom/cover no-repeat}
@media(max-width:600px){.mountain-farewell-art{height:auto;aspect-ratio:3/2;margin-bottom:-90px}
}
footer{border-top:0!important}
/* Main is a programmatic reading destination, not a control; keep its focus cue near the title. */
#hero:focus{outline:0}
#hero:focus-visible .title h1{outline:2px solid #f0d69a;outline-offset:8px}
/* One continuous paper theatre: the deity crown, names, and scenery read in order. */
.hero-stage{position:relative;isolation:isolate}
.hero-stage::before,.hero-stage::after{content:"";position:absolute;z-index:1;top:calc(66.6667vw - clamp(50px,8vw,120px));bottom:0;width:clamp(48px,14vw,200px);pointer-events:none;background:url('images/theatre-drape.webp') left top/100% 100% no-repeat;filter:drop-shadow(3px 4px 5px #001b2a88);mask-image:linear-gradient(transparent 0,#000 6%,#000 95%,transparent);-webkit-mask-image:linear-gradient(transparent 0,#000 6%,#000 95%,transparent)}
.hero-stage::before{left:-10px}
.hero-stage::after{right:-10px;transform:scaleX(-1)}
.hero-crown{position:relative;z-index:2;height:clamp(180px,29vw,440px)}
.hero-crown-art{position:absolute;top:0;left:0;width:100%;height:auto;max-width:none;filter:drop-shadow(0 12px 12px #001b2a99);mask-image:linear-gradient(#000 85%,transparent);-webkit-mask-image:linear-gradient(#000 85%,transparent)}
.title{min-height:clamp(360px,50svh,480px);padding:28px max(24px,14vw) 60px;z-index:2}
.title::before,.title::after,.theatre::before,.theatre::after{content:none}
.theatre{margin-top:-7svh;z-index:2}
@media(max-width:600px){.hero-stage::before,.hero-stage::after{top:clamp(165px,49vw,230px);width:13vw;min-width:40px}
.hero-crown{height:clamp(165px,49vw,230px)}
.hero-crown-art{width:160%;left:-30%}
.title{min-height:350px;padding:20px 45px 50px}
}
/* The farewell sky and artwork cross-fade into each other and the footer. */
.mountain-farewell{background-color:#073346;background-image:linear-gradient(to bottom,transparent 25%,#082d3a 100%),url('images/sky.webp');background-size:100% 100%,100% auto;background-position:center top;background-repeat:no-repeat,repeat-y}
.mountain-farewell-art{background:url('images/kailash-farewell.webp') center bottom/cover no-repeat;mask-image:linear-gradient(transparent 0,#000 40%,#000 78%,transparent 100%);-webkit-mask-image:linear-gradient(transparent 0,#000 40%,#000 78%,transparent 100%)}
/* Keep the hero artwork close to the names; use an intentional fine-line divider. */
.balloon{top:7%}
.palace{top:15%}
@media(max-width:600px){.balloon{top:5%}
.palace{top:16%}
}
.sky{background-image:url('images/sky.webp');background-size:100% auto;background-repeat:repeat-y}
.family{background-image:url('images/damask.webp');background-size:100% auto;background-repeat:repeat-y}
.sky::before{content:"";position:absolute;z-index:6;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,#d2b77e 32%,#d2b77e 68%,transparent);pointer-events:none}
.sky::after{bottom:0}
/* Guest forms sit on ivory paper: native radios and pickers must use light controls, not the dark night-sky scheme. */
.form{color-scheme:light}
/* Entered values read at body size (the guest-count picker inherited a tiny control font). */
/* Cormorant reads small, so entered values and the gift line are set larger than the shared 16px floor. */
.guest-form .form :is(input,select,textarea){font-size:20px}
.guest-form .guest-board-action p{font-size:20px}

/* The studio strip: a quiet legal footer at the very end of every invitation. */
.studio-strip{margin:14px 0 0;font-size:.72rem;line-height:1.6;color:inherit;opacity:.72}
.studio-strip a{color:inherit;text-underline-offset:3px;display:inline-block;padding:14px 8px;margin:-12px -4px}

/* Saniya & Vikas client layout */
.family-pair{display:grid;grid-template-columns:repeat(2,minmax(114px,205px));justify-content:center;gap:clamp(14px,4vw,48px);margin:34px auto 10px}
.family-person{margin:0;min-width:0;text-align:center}
.portrait-print{background:#fff8ea;padding:9px;border:1px solid var(--gold,#f0d69a);box-shadow:0 10px 24px rgba(0,0,0,.28)}
.portrait-print img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.family-person figcaption{margin-top:14px;display:grid;gap:2px}
.family-person figcaption strong{font-weight:500;font-size:clamp(22px,2.4vw,30px);line-height:1.15}
.family-person figcaption span{font-style:italic;color:var(--gold,#f0d69a);font-size:19px}
.family-copy .family-parents{font-size:19px;line-height:1.45;margin:12px 0 0;overflow-wrap:break-word}
.family-parents-label{display:block;font-size:16px;letter-spacing:.06em;color:var(--gold,#f0d69a);margin-bottom:4px}
.family-copy .family-invitation{max-width:36ch;margin:28px auto 0}
.event-grid-four{max-width:900px}
.venue-grid-single{grid-template-columns:minmax(0,560px);justify-content:center}
.venue-crest{width:min(220px,60%);height:auto;margin:0 auto 10px;display:block}
.visit-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.event-calendar,.venue-actions a{min-height:44px;display:inline-grid;place-items:center}
.event-calendar:focus-visible,.venue-actions a:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.blessings-empty,.guest-photos-empty{font-style:italic}
.share-fallback[hidden]{display:none}
.share-fallback{display:grid;gap:10px;max-width:420px;margin:16px auto}
#share-fallback.share-fallback:not([hidden]){display:grid}
.share-fallback input{min-height:44px;padding:8px;font:inherit}
@media(max-width:700px){.event-grid-four{grid-template-columns:1fr}.visit-grid-two{grid-template-columns:1fr}}
@media(max-width:259px){.family-pair{grid-template-columns:minmax(0,205px)}}

/* Round 1 Â· hero line diyas (point 4) */
.hero-end{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1.6vw,18px);flex-wrap:nowrap;max-width:min(92vw,900px);margin-top:clamp(18px,3vw,40px);padding-top:clamp(8px,2vw,24px)}
.hero-end span{flex:0 1 auto;min-width:0}
.line-diya{flex:none;width:auto;height:calc(1.4em);transform-origin:50% 0;animation:pendulum 5s ease-in-out infinite alternate}
.line-diya-right{animation-direction:alternate-reverse}
@media(min-width:900px){.line-diya{height:1.6em}}
@media(prefers-reduced-motion:reduce){.line-diya{animation:none}}
@media(max-width:380px){.hero-end{font-size:20px;gap:6px;padding-left:10px;padding-right:10px}.hero-end span{text-wrap:balance}}
@media(max-height:500px) and (orientation:landscape){.hero-end{margin-top:40px}}

/* Round 1 Â· events (point 8) */
.event h3 [lang="hi"]{font-family:Devanagari,Cormorant,serif}
.celebrations-lead{font-family:Devanagari,Cormorant,serif}
.event-actions{display:flex;justify-content:center;flex-wrap:nowrap;gap:clamp(12px,4vw,28px);margin-top:6px}
.event-actions a{display:inline-grid;place-items:center;min-height:44px;min-width:44px;padding:8px 6px;color:#fff2d8;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.event-actions a:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.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}
#venues-heading:focus{outline:none}
#venues-heading:focus-visible{outline:3px solid currentColor;outline-offset:6px}

/* Round 1 Â· family section (point 6) */
.family-block{position:relative;max-width:900px;margin:34px auto 0}
.family-toran{display:block;margin:0 auto 18px;width:min(100%,640px);height:auto;pointer-events:none}
.family-groups{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(12px,3vw,32px)}
.family-group{text-align:center;min-width:0}
.family-parents-label{display:block;font-family:Devanagari,Cormorant,serif;font-size:19px;letter-spacing:0;color:var(--gold,#f0d69a);margin:0 0 6px}
.family-parents-names{font-size:26px;line-height:1.3;margin:0;overflow-wrap:break-word}
.family-kalash{width:clamp(64px,9vw,104px);height:auto}
.family-message{max-width:36ch;margin:30px auto 0;font-family:Devanagari,Cormorant,serif;font-size:20px;line-height:1.75}
.family-message p{margin:0 0 10px}
.family-signature{margin-top:14px!important;color:var(--gold,#f0d69a)}
@media(max-width:599px){.family-groups{grid-template-columns:1fr;gap:18px}.family-parents-names{font-size:23px}.family-kalash{justify-self:center}}

/* Round 1 Â· helper lines (point 11) */
.helper-hi{font-family:Devanagari,Cormorant,serif;font-size:18px;line-height:1.7;opacity:.92}
.guest-board-action [lang="hi"]{font-family:Devanagari,Cormorant,serif}
@media(min-width:1024px){.guest-form .guest-board-action{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding-block:22px}.guest-form .guest-board-action p{margin:0}}

/* Round 1 - what to wear (point 10, outfit version) */
.colours{text-align:center;overflow:hidden}
.colours h2{font-family:Devanagari,Cormorant,serif}
.outfits{position:relative;max-width:1080px;margin:28px auto 44px}
.outfit-track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,5vw,64px) clamp(24px,4vw,56px)}
.outfit{display:flex;flex-direction:column;align-items:center;opacity:0;translate:0 -14px;transition:opacity .7s ease,translate .7s cubic-bezier(.2,.8,.2,1)}
.colours.in-view .outfit{opacity:1;translate:0 0}
.colours.in-view .outfit:nth-child(2){transition-delay:120ms}
.colours.in-view .outfit:nth-child(3){transition-delay:240ms}
.colours.in-view .outfit:nth-child(4){transition-delay:360ms}
.outfit-art{transform-origin:50% 100%;width:min(100%,300px)}
.colours.swaying .outfit-art{animation:outfit-sway 7s ease-in-out infinite alternate}
.colours.swaying .outfit:nth-child(2) .outfit-art{animation-duration:7.6s;animation-delay:-2s}
.colours.swaying .outfit:nth-child(3) .outfit-art{animation-duration:6.6s;animation-delay:-3.4s}
.colours.swaying .outfit:nth-child(4) .outfit-art{animation-duration:8.1s;animation-delay:-1.1s}
.colours.paused .outfit-art,.colours.paused .outfit-petals i{animation-play-state:paused}
@keyframes outfit-sway{from{rotate:-1deg}to{rotate:1deg}}
.outfit-img{display:block;width:100%;height:auto;max-height:min(62vh,560px);object-fit:contain}
.colour-tag{position:relative;width:min(100%,200px);margin-top:12px;color:#3b2417;rotate:1deg}
.colour-tag-art{display:block;width:100%;height:auto}
.colour-tag-copy{position:absolute;inset:22% 12% 9%;display:flex;flex-direction:column;justify-content:center;gap:2px}
.colour-tag-copy p{margin:0}
.colour-tag-name{font-family:Devanagari,Cormorant,serif;font-size:22px;line-height:1.3}
.colour-tag-date{font-variant:small-caps;letter-spacing:.06em;font-size:15px}
.colour-tag-colour{font-family:Devanagari,Cormorant,serif;font-size:17px;color:#6a2b12}
.colour-tag-line{font-size:15px;line-height:1.3}
.outfits-prev,.outfits-next{display:none}
.outfit-petals{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.outfit-petals i{position:absolute;top:-20px;width:10px;height:8px;border-radius:60% 40% 60% 40%;background:#f2a23a;opacity:0;animation:petal-drift 14s linear infinite}
.outfit-petals i:nth-child(1){left:12%;animation-delay:0s}
.outfit-petals i:nth-child(2){left:34%;animation-delay:-5s;background:#e8743b}
.outfit-petals i:nth-child(3){left:58%;animation-delay:-9s}
.outfit-petals i:nth-child(4){left:76%;animation-delay:-2.5s;background:#f6c94a}
.outfit-petals i:nth-child(5){left:90%;animation-delay:-11s;background:#e8743b}
@keyframes petal-drift{0%{opacity:0;transform:translate3d(0,0,0) rotate(0)}10%{opacity:.75}90%{opacity:.6}100%{opacity:0;transform:translate3d(-60px,110vh,0) rotate(320deg)}}
@media(min-width:1024px){.colour-tag-name{font-size:26px}.colour-tag{width:min(100%,220px)}}
@media(max-width:599px){
 .outfits{margin-inline:-20px}
 .outfit-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:0 18%;overscroll-behavior-x:contain}
 .outfit-track::-webkit-scrollbar{display:none}
 .outfit{flex:0 0 64%;scroll-snap-align:center;transition:opacity .4s ease,scale .4s ease,translate .7s cubic-bezier(.2,.8,.2,1);scale:.9}
 .colours.in-view .outfit{opacity:.55}
 .colours.in-view .outfit.is-current{opacity:1;scale:1}
 .outfit-img{max-height:52vh}
 .outfits-prev,.outfits-next{display:grid;place-items:center;position:absolute;top:34%;z-index:3;width:44px;height:44px;border:1px solid #e4cc99;border-radius:50%;background:rgba(43,18,48,.72);color:#fff1d6}
 .outfits-prev[hidden],.outfits-next[hidden]{display:none}
 .outfits-prev{left:8px}.outfits-next{right:8px}
 .outfits-prev svg,.outfits-next svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
 .outfits-next.nudge{animation:arrow-nudge 1.1s ease-in-out 2}
}
@keyframes arrow-nudge{0%,100%{translate:0 0}50%{translate:6px 0}}
.outfits-prev:focus-visible,.outfits-next:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.outfit{opacity:1!important;translate:none;transition:none}.outfit-art,.outfit-petals i,.outfits-next.nudge{animation:none!important}.outfit-petals{display:none}.outfit-track{scroll-behavior:auto}}

/* Round 1 Â· invitation ends at the farewell (point 12) */
body>footer{display:none}
