/* Freeze the delayed flap at its closed first keyframe: no pre-animation flip. */
.envelope-flap{transform:rotateX(0deg);transition:none!important}.opening .envelope-flap{transform:rotateX(0deg);transition:none!important;animation:clean-flap 1.7s .8s cubic-bezier(.4,0,.2,1) both!important}
/* The first viewport and ring exchange are the same continuous scene. */
.hero-story{height:210svh;min-height:1200px}.hero-story .ring-sticky{padding:77px 18px 20px;justify-content:space-between;gap:9px;min-height:0;height:100svh}.promise-title{width:100%}.promise-title .eyebrow{font-size:8px;letter-spacing:.17em}.promise-title .names{font-family:var(--serif);font-style:italic;font-size:clamp(38px,11vw,82px);margin:9px 0 4px;line-height:1.1;white-space:nowrap}.names span{font-family:var(--serif);font-size:.5em;margin:0 .12em;vertical-align:middle;color:#ddb882}.promise-title .shubh{color:#ebc488;font-size:22px;line-height:1.4;margin-top:7px}.exchange-stage{height:min(47svh,440px);width:min(630px,100%);margin:0 auto;min-height:0;flex-shrink:1}.exchange-arch{inset:0 2% 0;border-color:#d4a76340}.consistent-couple{position:absolute;inset:0;transform:scale(calc(.95 + var(--meet, 0) * .05));filter:drop-shadow(0 14px 15px #20091840)}.couple-half{position:absolute;inset:0;will-change:transform}.couple-half img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.half-jaya{clip-path:inset(0 50% 0 0);transform:translateX(calc(-7% + var(--meet, 0) * 7%)) rotate(calc(-2deg + var(--meet, 0) * 2deg));transform-origin:40% 85%}.half-abhishek{clip-path:inset(0 0 0 50%);transform:translateX(calc(7% - var(--meet, 0) * 7%)) rotate(calc(2deg - var(--meet, 0) * 2deg));transform-origin:60% 85%}.promise-caption{height:34px;min-height:34px;width:100%;flex-shrink:0}.promise-caption p{font-size:20px}.promise-line{display:none}.opening-date{text-align:center;position:relative;z-index:4;flex-shrink:0}.opening-date p:first-child{font-size:20px;color:#f8e0c5}.opening-date p:first-child span{margin:0 6px;color:#cba46f}.opening-date p:nth-child(2){font-size:17px;color:#dcbdaa;margin:4px 0}.opening-date .scroll-cue{margin:13px 0 0;gap:5px;font-size:7px}.opening-date .scroll-cue span{font-size:17px}.promise-ring{top:44%;left:calc(50% + var(--exchange) * 1%)}.promise-sparkles{left:51%;top:44%;width:45px;height:45px}.hero-story .promise-ring{width:28px}.mini-header{padding:23px 20px}.mini-header>a:first-child{font-size:8px}.mini-header .eyebrow{letter-spacing:.14em;font-size:8px}
/* Legible capitals in the names, without ambiguous calligraphic A forms. */
.cover-caption h1,.card-inner h2.script{font-family:var(--serif);font-style:italic}.cover-caption h1{font-size:37px}.card-inner h2.script{font-size:60px;line-height:1.06}.card-inner h2.script span{font-size:26px;margin:10px 0}.note-signature{font-size:31px}
/* A small paper keepsake in place of the oversized circular monogram. */
.note-section{padding:95px 23px 65px;background:#e6c7b2;position:relative}.note-paper{position:relative;background:#fcf6e9;max-width:610px;margin:auto;padding:70px 25px 40px;box-shadow:0 12px 28px #6345331a;isolation:isolate}.note-paper:before{content:'';position:absolute;inset:8px;border:1px solid #d6c29f;pointer-events:none;z-index:-1}.note-paper h2{font-size:40px;line-height:1.08}.note-keepsake{position:relative;margin:-117px auto 29px;width:145px;height:130px;background:#fdf8ed;border:7px solid #fff9ef;box-shadow:0 7px 13px #4b302d26;transform:rotate(6deg)}.note-keepsake img{width:100%;height:100%;object-fit:contain;background:#edddc3}.note-paper .note-copy{font-size:21px;line-height:1.5}.note-paper .note-signature{font-size:30px;line-height:1.4}.note-paper .rsvp-copy{font-size:17px}.note-paper .eyebrow{font-size:8px}.closing{padding:36px 24px 40px;background:#f3e4d0}.closing>.pattern{opacity:.09}.closing-flowers{display:block;width:min(280px,80vw);height:165px;object-fit:contain;margin:0 auto 4px;filter:drop-shadow(0 7px 10px #74543014)}.closing .script{font-size:56px;line-height:1.12;margin:18px auto 22px}.closing p:not([class]){font-size:27px;margin:8px 0 18px}.closing .footer-venue{font-size:20px;margin:18px 0 6px}.closing .eyebrow{font-size:8px}.closing button{font-size:15px;margin-top:25px}.closing .closing-mandala{display:none}.google-maps-icon{width:18px!important;height:24px!important;stroke:none!important;fill:none;flex-shrink:0}.maps-link{display:inline-flex;align-items:center;gap:9px}.maps-link .google-maps-icon{width:13px!important;height:18px!important}.maps-link span{margin-left:0}.button .google-maps-icon{width:17px!important;height:23px!important}
@media(min-width:700px){.hero-story .ring-sticky{padding-top:65px}.exchange-stage{height:min(51svh,480px);width:min(720px,100%)}.promise-title .shubh{font-size:27px}.promise-title .names{font-size:67px}.promise-caption p{font-size:25px}.opening-date p:first-child{font-size:23px}.note-paper{padding:75px 65px 45px}.note-paper h2{font-size:51px}.closing .script{font-size:65px}}
@media(max-height:700px){.hero-story .ring-sticky{padding-top:57px;gap:4px}.promise-title .names{font-size:37px}.promise-title .shubh{font-size:18px;margin-top:3px}.exchange-stage{height:40svh}.opening-date p:first-child{font-size:17px}.opening-date p:nth-child(2){font-size:15px}.opening-date .scroll-cue{margin-top:6px}.promise-caption p{font-size:18px}.promise-title .eyebrow{font-size:7px}}
@media(prefers-reduced-motion:reduce){.hero-story{height:auto;min-height:0}.hero-story .ring-sticky{height:auto;min-height:680px}.couple-half,.consistent-couple{transform:none}.opening .envelope-flap{animation:none!important}}
/* Shared masks follow the gap between the figures, including the flowing skirt. */
.half-jaya{clip-path:polygon(0 0,56% 0,56% 35%,57% 42%,57% 60%,61% 100%,0 100%)}.half-abhishek{clip-path:polygon(56% 0,100% 0,100% 100%,61% 100%,57% 60%,57% 42%,56% 35%)}.promise-ring{left:56%;top:44%}.promise-sparkles{left:56%;top:44%}
/* Gentle character motion settles as their hands meet. No falling petals. */
.petals{display:none!important}.couple-half img{animation:quiet-float 5s ease-in-out infinite}.half-abhishek img{animation-delay:-2.5s}@keyframes quiet-float{0%,100%{transform:translateY(0)}50%{transform:translateY(calc(-7px * (1 - var(--meet, 0))))}}@media(prefers-reduced-motion:reduce){.couple-half img{animation:none}}
/* Each complete silhouette starts on its own half; no face or pose is swapped. */
.half-jaya{clip-path:inset(0 50% 0 0);transform:translateX(calc(var(--meet, 0) * 3.5%))}.half-abhishek{clip-path:inset(0 0 0 50%);transform:translateX(calc(var(--meet, 0) * -3.5%))}.promise-ring{left:50%;top:43%}.promise-sparkles{left:50%;top:43%}
@media(prefers-reduced-motion:reduce){.half-jaya{transform:translateX(3.5%)}.half-abhishek{transform:translateX(-3.5%)}}
html.opening-reset{scroll-behavior:auto!important}.note-signature{font-family:var(--serif);font-style:italic}
/* The welcoming portraits turn before the ring-exchange pose arrives. */
.front-couple{position:absolute;inset:0;z-index:3;perspective:900px;opacity:clamp(0,calc((.34 - var(--exchange)) * 10),1);pointer-events:none}.front-figure{position:absolute;inset:0;width:57%;height:100%;transform-style:preserve-3d;backface-visibility:hidden}.front-figure img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 12px 12px #2a071c40);animation:quiet-float 5s ease-in-out infinite}.front-jaya{left:-5%;transform-origin:60% 50%;transform:translateX(calc(var(--turn, 0) * 4%)) rotateY(calc(var(--turn, 0) * -60deg))}.front-abhishek{left:auto;right:-5%;transform-origin:40% 50%;transform:translateX(calc(var(--turn, 0) * -4%)) rotateY(calc(var(--turn, 0) * 60deg))}.front-abhishek img{animation-delay:-2.5s}.consistent-couple{opacity:clamp(0,calc((var(--exchange) - .28) * 8),1)}.promise-ring{opacity:clamp(0,calc((var(--exchange) - .3) * 10),1)}.promise-made .promise-ring{opacity:0}
/* Date first, city second, with enough size to read at a glance. */
.opening-date .hero-full-date{font-size:clamp(27px,7.8vw,39px)!important;line-height:1.15;white-space:nowrap;font-weight:500}.opening-date .hero-city{font-size:15px!important;text-transform:uppercase;letter-spacing:.2em;margin:8px 0!important;color:#efd3ad}.opening-date .hero-venue-time{font-size:15px;color:#dbbca6;line-height:1.4}.opening-date .scroll-cue{margin-top:9px}.cover-caption .cover-full-date{font-size:21px;letter-spacing:.02em;margin-top:9px}.cover-caption .cover-city{font-size:10px;letter-spacing:.22em;text-transform:uppercase;margin-top:3px}.hero-story .ring-sticky{gap:5px}.hero-story .exchange-stage{height:min(44svh,410px)}
/* Continuous opening: no idle delay between seal and flap. */
.opening .seal{animation:seal-awakens .6s ease-in-out forwards}.opening .envelope-flap{animation:clean-flap 1.1s .08s cubic-bezier(.25,.55,.35,1) both!important}.opening .envelope{animation:fluid-envelope 2.6s ease-in-out both}.opening .envelope-base:after{animation:inside-glow 1.1s .5s both}.opening .opening-bloom{animation:clean-bloom 1.5s 1s both}.opening .cover-caption,.opening .cover-intro,.opening .cover-footer{animation:copy-away .3s both}@keyframes fluid-envelope{0%{transform:translateY(0) scale(1);opacity:1}55%{transform:translateY(24px) scale(1.04);opacity:1}100%{transform:translateY(85px) scale(1.1);opacity:0}}
@media(max-height:700px){.hero-story .exchange-stage{height:35svh}.opening-date .hero-full-date{font-size:26px!important}.opening-date .hero-city{font-size:12px!important;margin:4px 0!important}.opening-date .hero-venue-time{font-size:13px}.promise-caption{height:26px;min-height:26px}.promise-caption p{font-size:17px}}
@media(prefers-reduced-motion:reduce){.front-couple{display:none}.consistent-couple{opacity:1}.front-figure img{animation:none}}
/* The ring belongs at the hand contact; it never drops through the scene. */
.hero-story .promise-ring{width:13px;height:16px;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-30deg);opacity:0;filter:drop-shadow(0 0 3px #f6d596);transition:opacity .3s}.hero-story.promise-made .promise-ring{opacity:1}.hero-story .promise-sparkles{top:42%;width:32px;height:32px}.hero-story .promise-sparkles i{font-size:12px}
/* Approach with a simple glide; portraits never fold, rotate or flatten. */
.front-couple{perspective:none}.front-figure{transform-style:flat;backface-visibility:visible}.front-jaya{transform:translateX(calc(var(--turn, 0) * 7%))}.front-abhishek{transform:translateX(calc(var(--turn, 0) * -7%))}
/* A continuous four-second reveal, with time for the light to bloom. */
.opening .seal{animation:seal-awakens .9s cubic-bezier(.25,.45,.3,1) both}.opening .envelope-flap{animation:clean-flap 2.1s .1s cubic-bezier(.25,.5,.3,1) both!important}.opening .envelope{animation:cinematic-envelope 4.2s cubic-bezier(.25,.4,.3,1) both}.opening .envelope-base:after{animation:inside-glow 2.2s .5s both}.opening .opening-bloom{animation:cinematic-light 3.1s 1s both}.opening .cover-caption,.opening .cover-intro,.opening .cover-footer{animation:copy-away .7s both}
@keyframes cinematic-envelope{0%{transform:translateY(0) scale(1);opacity:1}28%{transform:translateY(5px) scale(1.02);opacity:1}65%{transform:translateY(18px) scale(1.08);opacity:1}100%{transform:translateY(45px) scale(1.15);opacity:0}}
@keyframes cinematic-light{0%{opacity:0;transform:scale(.08)}35%{opacity:.3;transform:scale(.3)}65%{opacity:.8;transform:scale(.9)}100%{opacity:1;transform:scale(2.5)}}
/* Give the opened flap room within the viewport as the light builds. */
@keyframes cinematic-envelope{0%{transform:translateY(0) scale(1);opacity:1}28%{transform:translateY(26px) scale(.96);opacity:1}65%{transform:translateY(50px) scale(.88);opacity:1}100%{transform:translateY(65px) scale(.96);opacity:0}}

/* The sealed and opening states share the identical pocket and lining.
   Only the hinged flap transforms; clicking must not expose the interior instantly. */
.envelope-base,.envelope-bottom{transition:none!important}
