/* Measured reference refinements, isolated preview only. */
:root{--ivory:#fff;--line:#e3b36f;--rose:#e4b777;--wine:#583822;--serif:'Cormorant Infant',Georgia,serif;--ink:#000}
body{line-height:1.3}.btn{background:#e3b16e;color:#fff;min-height:32px;padding:5px 26px;font-size:12px;border-radius:40px;gap:4px}.btn:hover{background:#efc88c}.btn svg{width:13px;height:13px}
.cover-heading{padding-top:70px}.cover-heading p{font-size:24px;line-height:1.3}.cover h1{font-size:24px;font-weight:600;line-height:1.3}.cover-invite{bottom:21.3%}.cover-invite>p:first-child{font-size:12px;font-weight:600}.cover-invite .guest{font:400 12px/1.3 var(--sans);margin:8px 0 29px;min-height:0}.cover-invite .guest.default{visibility:hidden;height:0;min-height:0;margin:0 0 37px}.cover .backdrop{filter:brightness(.87)}.cover:after{background:linear-gradient(#0007,transparent 32%,#0002 70%,#0005)}
.cover.open{transform:translateY(-100%);transition:transform 1.2s cubic-bezier(.7,0,.3,1),opacity 1s}
.hero{padding:0 20px;height:100svh;min-height:844px;align-items:center}.hero .eyebrow{font:500 24px/1.3 var(--script);letter-spacing:0}.hero h1{font:600 36px/1.3 var(--serif);text-transform:uppercase}.hero h1 i{font:500 28px/1.3 var(--script);display:block}.hero .date{font:400 18px/1.3 var(--sans);margin-top:10px}.scroll-hint{display:none}
.quote-section{padding:100px 30px 40px}.quote-section .backdrop{filter:brightness(.45)}.photo-inset{height:390px;border-radius:18px;margin:0}.verse-box{border-radius:0 0 25px 25px;background-color:#000b;padding:30px 30px 60px}.motif{background-size:80px 80px}.monogram{font:500 48px/1.3 var(--serif);letter-spacing:6px;color:#d7bb83;margin-bottom:34px}.monogram i{font-size:36px;color:#e2ae70}.verse-box blockquote{font:italic 600 14px/1.3 var(--serif);color:#e2ae70}.verse-box cite{font:700 16px/1.3 var(--serif);margin-top:14px;color:#e2ae70}
.verse-box:after,.couple-panel:after,.story-panel:after{background:linear-gradient(#0000,#000c 140px,#000c 74%,#0000)}
.couple-section{padding:30px 24px}.couple-section>.backdrop{filter:brightness(.62)}.couple-panel{padding:100px 18px 110px;border:3px solid var(--line);border-radius:180px;background-color:#0005}.emblem{width:50px;height:85px;margin:0 auto 30px}.couple-panel h2{font-size:32px;line-height:1.3}.intro{max-width:262px;margin:10px auto 67px;font-size:12px;line-height:1.3}.portrait-wrap{width:170px;height:300px;margin-bottom:40px}.portrait{border:2px solid #ddbf86}.person h3{font-size:48px;line-height:1.3;margin:0 -17px 2px}.person .fullname{font:600 18px/1 var(--serif);margin-bottom:7px}.person .parents{font:400 12px/1.3 var(--sans)}.floral{width:110px;height:155px}.floral.left{left:auto;right:-35px;bottom:-15px;transform:rotate(12deg)}.floral.right{display:none}.leaf-ornament{width:70px;height:220px;left:-28px;top:40px;transform:rotate(-14deg);opacity:1}.person:nth-of-type(2) .floral.left{right:auto;left:-35px;transform:scaleX(-1) rotate(12deg)}.person:nth-of-type(2) .leaf-ornament{left:auto;right:-28px;transform:scaleX(-1) rotate(-14deg)}.amp{font:600 60px/1 var(--serif);margin:70px 0 85px}
.interlude{height:620px;min-height:0}.events-section{padding:60px 30px 100px}.events-section>.emblem{width:60px;height:102px;margin-bottom:30px}.events-section h2{font-size:42px;line-height:1}.countdown{gap:6px;margin:30px auto 24px}.countdown div{width:72px;border:0;background:#e3b16e;color:#000;border-radius:9px;padding:8px 0 7px}.countdown b{font:28px/1 var(--serif);font-weight:600}.countdown span{font-size:12px;line-height:1.2}.event-intro{font-size:12px;line-height:1.3;max-width:330px}.event-card{margin-top:60px;padding:20px;min-height:425px;border-radius:22px}.event-card .backdrop{filter:brightness(.62)}.event-inner{padding:30px 10px;border:2px solid #e5b570;border-radius:20px;box-shadow:inset 0 0 3px #fff9}.event-card h3{font-size:38px;margin-bottom:20px}.event-date{font:700 22px/1.3 var(--serif)}.event-date span{display:block;font-size:24px}.event-time{font-size:14px;margin-top:0}.pin{width:22px;height:24px;margin:20px 0 8px}.pin svg{width:22px;height:24px;fill:#e3b16e;stroke:#e3b16e}.event-place{font:700 16px/1.3 var(--serif)}.event-address{font-size:12px;margin:10px 0 20px;line-height:1.3}.event-card+.event-card{margin-top:30px}.events-section:after{height:170px;background-size:80px;mask-image:linear-gradient(transparent,black)}
.gallery-section{padding:40px 20px 95px}.gallery-section h2{font-size:38px;line-height:1.3}.gallery-grid{grid-template-columns:repeat(5,1fr);gap:4px;margin-top:30px}.gallery-item{height:147px;border-radius:10px}.gallery-item:nth-child(2){height:298px}.gallery-item:nth-child(n+4){grid-column:auto;grid-row:auto;height:182px}.gallery-item:nth-child(4),.gallery-item:nth-child(5),.gallery-item:nth-child(6){display:none}.gallery-strip{display:flex;gap:4px;overflow-x:auto;margin-top:5px;scrollbar-width:none;scroll-snap-type:x mandatory}.gallery-strip .gallery-item{flex:0 0 calc((100% - 8px)/3);height:182px;scroll-snap-align:start}.gallery-feature{display:block;width:100%;height:380px;padding:0;border:0;background:#17100c;border-radius:6px;overflow:hidden;margin-top:8px}.gallery-feature img{width:100%;height:100%;object-fit:cover}
.story-section{padding:50px 30px}.story-section>.backdrop{filter:brightness(.64)}.story-panel{padding:60px 20px 20px;border:3px solid #ddbc81;border-radius:22px;background-color:#0004}.story-panel>.emblem{width:60px;height:102px}.story-panel h2{font-size:38px;margin:30px 0 55px}.story-item{padding:18px 14px;margin-bottom:10px;border:2px solid #ddc797;border-radius:21px;background:#0004}.story-item h3{font:600 24px/1 var(--serif);margin-bottom:10px}.story-item p{font-size:12px;line-height:1.3}
.gift-section{padding:80px 30px 100px}.gift-symbol{margin-bottom:15px}.gift-section h2{font-size:38px}.gift-section>p{font-size:12px;line-height:1.5;margin:10px auto 35px}.gift-card{padding:28px 29px 30px;border:3px solid #e7b56d;border-radius:20px;margin:24px 0;background:#eeeae0;color:#000;box-shadow:inset 0 0 0 3px #fff9;min-height:215px}.gift-card:after{background:url('gift-texture.svg') center/cover;opacity:1}.bank{font-size:18px;font-weight:600;min-height:32px;margin-bottom:6px;color:#153d68}.account{font-size:12px;letter-spacing:0;margin-bottom:0}.account-name{font-size:12px}.account-name b{font-weight:600}.gift-card .btn{background:#e3b16e;color:#fff;min-height:36px;margin-top:20px}.address-card{font-size:12px;line-height:1.5;margin-top:35px}.gift-section>h2:last-child{font-size:28px!important;margin-top:40px!important}
.wishes-section{min-height:600px;padding:90px 40px 80px}.wishes-section .backdrop{filter:brightness(.58)}.wishes-section>h2{font-size:48px;line-height:1.3}.wishes-section>p{font-size:12px;margin:0 0 30px}.wishes-panel{padding:14px;background:#eeeadd;border-radius:7px;box-shadow:inset 0 0 7px #77685a;color:#000}.wishes-panel h3{text-align:center;font:600 14px/1.3 Arial,sans-serif;margin:0 0 22px}.preview-note{font:9px/1.3 var(--sans);padding:4px 6px;margin-bottom:8px;background:#b7614f;color:white;border:0}.wishes-panel label{margin-bottom:12px}.wishes-panel label>span{display:none}.wishes-panel input{height:35px;min-height:35px}.wishes-panel input,.wishes-panel textarea{font:12px/1.3 Arial,sans-serif;margin:0;border-radius:5px;border:1px solid #ddd;padding:10px}.wishes-panel textarea{height:70px;min-height:70px}.wishes-panel select,.wishes-panel label.attendance{display:none}.wishes-panel .btn{border-radius:3px;background:#51311d;font:12px/1.3 Arial,sans-serif;min-height:32px;padding:6px 25px}.form-status:empty{margin:0}.closing{min-height:844px;height:100svh;padding:60px 20px 180px}.closing .backdrop{filter:brightness(.72)}.closing .end-copy{max-width:350px}.closing .end-copy p{font-size:12px;line-height:1.5;margin-bottom:10px}.closing h2{font-size:36px;line-height:1.3;margin:0}.closing .thanks{font:12px/1.3 var(--sans);display:block;margin-top:48px}.preview-footer{font-size:9px;background:#000}.music-toggle{width:35px;height:35px;bottom:20px;right:15px;background:#191713;border:0;font-size:20px}.music-toggle.playing{animation:none}.js-motion .reveal{transition:opacity 1.2s,transform 1.2s;transform:translateY(40px)}.js-motion .reveal.visible{transform:none}
@media(prefers-reduced-motion:reduce){.js-motion .reveal{transform:none}}
/* Final contrast and ornamental-density pass. */
.motif{background-size:55px 55px}.verse-box{background-color:#000c}.couple-section>.backdrop,.story-section>.backdrop{filter:brightness(.42)}.couple-panel{background-color:#0005}.couple-panel:after,.story-panel:after{background:linear-gradient(#0001,#0009 180px,#0007 78%,#0001)}.quote-section .backdrop{filter:brightness(.38)}.event-card .backdrop{filter:brightness(.45)}.event-card:after{background:#0003}.wishes-section .backdrop{filter:brightness(.38)}.gift-symbol svg rect{fill:#fff;stroke:#fff}.gift-symbol svg path{stroke:#fff;stroke-width:4}.gift-symbol svg{width:43px;height:43px}.gift-symbol svg path:first-of-type{fill:none}.gift-card{min-height:225px}.gallery-strip{scroll-behavior:smooth}.preview-footer{padding:9px 15px}.cover{background:#1a1715}.cover-invite .btn{min-width:174px}.cover .backdrop{filter:brightness(.7)}
.motif{background-image:none}.motif:before{content:'';position:absolute;inset:0;background:url('batik.svg') center top/55px 55px;mask-image:linear-gradient(#000,transparent 260px,transparent calc(100% - 200px),#000);z-index:0;pointer-events:none}.verse-box.motif:before{mask-image:linear-gradient(#000,transparent 160px,transparent calc(100% - 80px),#000)}.couple-panel:after,.story-panel:after{background:linear-gradient(#0001,#0005 160px,#0005 80%,#0001)}.gallery-strip .gallery-item{display:block;grid-column:auto;grid-row:auto}.events-section:after{opacity:.65}
/* Third measured pass. */
.hero .date{font:700 18px/1.3 var(--serif);letter-spacing:3.5px}.hero h1{font-weight:600}.couple-panel{padding-top:100px}.couple-panel .intro{line-height:18px;max-width:262px;margin-bottom:40px}.person .parents{letter-spacing:.5px;line-height:18px}.person h3{font-weight:500}.portrait-wrap{margin-bottom:40px}.floral.left{width:110px;height:155px;object-fit:contain;right:-34px;bottom:-16px;transform:rotate(8deg)}.leaf-ornament{object-fit:fill;width:52px;left:-22px;top:58px;height:210px;transform:rotate(-11deg)}.person:nth-of-type(2) .leaf-ornament{right:-22px;left:auto;transform:scaleX(-1) rotate(-11deg)}.person:nth-of-type(2) .floral.left{left:-34px}.event-time,.event-address{letter-spacing:.5px;line-height:1.5}.event-place{line-height:1.3}.pin svg{stroke:none;fill:#e3b16e}.pin svg circle{fill:#493b2a;stroke:none}.gallery-strip .gallery-item{margin-top:0!important}.gallery-grid{gap:4px}.story-panel{background:#000a}.story-item p{line-height:1.3}.music-toggle{width:35px;height:35px;display:none;font-size:25px;font-weight:700}.opened .music-toggle{display:flex;align-items:center;justify-content:center}.motif:before{background-size:88px 88px;mask-image:linear-gradient(#000,transparent 320px,transparent calc(100% - 220px),#000)}.events-section:after{background-size:88px 88px}.couple-section>.backdrop,.story-section>.backdrop{position:sticky;top:0;display:block;width:calc(100% + 48px);max-width:none;margin:-30px -24px calc(-100svh + 30px);height:100svh;object-fit:cover;object-position:50% 50%!important;filter:brightness(.52)}.story-section>.backdrop{width:calc(100% + 60px);margin:-50px -30px calc(-100svh + 50px)}.wishes-section{min-height:100svh;padding-top:100px}.closing .thanks{margin-top:75px}.gift-card .bank{font-size:18px}.gift-card .account{line-height:1.5}.couple-section,.story-section{overflow:clip;overflow-clip-margin:0}
.couple-section>.backdrop,.story-section>.backdrop{position:absolute;top:0;left:0;margin:0;width:100%;height:100svh;will-change:transform}.couple-section,.story-section{overflow:clip}.floral{object-fit:contain}
.leaf-ornament{width:150px;height:280px;left:-27px;top:32px;transform:rotate(-7deg);object-fit:fill}.person:nth-of-type(2) .leaf-ornament{left:auto;right:-27px;transform:scaleX(-1) rotate(-7deg)}.floral.right{display:block;width:75px;height:105px;left:-28px;right:auto;bottom:8px;transform:scaleX(-1) rotate(15deg)}.person:nth-of-type(2) .floral.right{left:auto;right:-28px;transform:rotate(15deg)}.gift-card .btn svg{width:13px;height:13px;margin-left:3px}.photo-inset{border-radius:18px 18px 0 0}.gift-symbol svg rect{stroke:none}.gift-symbol svg path{stroke-width:3}.gift-symbol svg path:nth-of-type(1){fill:#fff;stroke:#fff}.preview-note{width:fit-content;max-width:100%}
/* Fourth pass from paired mobile screenshots. */
:root{--line:#e2ae70}.hero>div:not(.slides){transform:translateY(-50px)}.hero h1{color:#d7bb83}.hero .date{color:white}.quote-section{padding-bottom:5px}.couple-section{padding:30px 20px 0}.couple-panel{border-width:4px;border-radius:200px;padding-top:82px;padding-bottom:110px}.portrait-wrap{width:171px;height:304px;margin-bottom:46px}.amp{line-height:1.3;margin:60px 0 49px}.leaf-ornament{width:58px;height:240px;left:-28px;top:37px;transform:none;object-fit:fill}.person:nth-of-type(2) .leaf-ornament{right:-28px;left:auto;transform:scaleX(-1)}.floral.left{width:100px;height:143px;right:-28px;bottom:-15px}.person:nth-of-type(2) .floral.left{left:-28px}.floral.right{width:64px;height:93px;left:-29px;bottom:-3px}.person:nth-of-type(2) .floral.right{right:-29px}.motif:before{background-size:80px 80px}.events-section:after{background-size:80px 80px}.events-section h2{font-size:42px}.event-card{min-height:455px}.event-inner{min-height:415px;padding:40px 10px}.gallery-section{padding-top:100px}.gallery-feature{height:auto;aspect-ratio:1065/1600}.gallery-feature img{object-fit:contain}.gallery-item{background:#d6d2cc}.gallery-item img{object-fit:contain}.gallery-strip .gallery-item img{object-fit:contain}.photo-inset img{object-fit:contain;background:#d9d5cf}.cover .backdrop,.hero .slides img,.interlude .backdrop,.closing>.backdrop,.wishes-section>.backdrop{object-fit:contain;object-position:50% 50%!important;background:#827d74}.hero .slides{background:#827d74}.backdrop{max-width:none}.bank.mandiri{font:700 25px/32px Arial,sans-serif;color:#173959;position:relative;padding-right:4px;text-transform:lowercase}.bank-wave{position:absolute;color:#f5bb27;font-size:46px;right:0;top:-25px;transform:rotate(-8deg)}.bank.bri{font:700 25px/32px Arial,sans-serif;color:#124c87}.bank-icon{font-size:31px;vertical-align:middle}.gift-symbol svg{width:48px;height:48px}.preview-note{font-size:8px;padding:2px 4px}.gift-card{padding:30px;min-height:216px}.gift-card .btn{margin-top:20px}.story-panel h2{line-height:1}.story-section>.backdrop{filter:brightness(.52)}
.hero h1 i{font-family:'Alex Brush',cursive}.couple-panel .intro{margin-bottom:28px}.amp{line-height:1;margin:63px 0 55px}.couple-panel{padding-bottom:94px}.gallery-feature{height:380px;aspect-ratio:auto;background:#d7d4ce}.gallery-feature img{object-fit:contain}.cover .backdrop,.hero .slides img,.interlude .backdrop,.closing>.backdrop,.wishes-section>.backdrop{object-fit:cover;object-position:50% 50%!important}.gift-card:after{background-image:url('gift-engraving.webp')}
/* Fifth visual pass: warm photographic treatment and spacing hierarchy. */
h2{font-weight:500}.couple-panel h2{line-height:1.3}.motif:before{opacity:.83;mask-image:linear-gradient(#000,transparent 290px,transparent calc(100% - 210px),#000)}.verse-box.motif:before{mask-image:linear-gradient(#000,transparent 150px,transparent calc(100% - 80px),#000)}.leaf-ornament{width:70px;left:-29px}.person:nth-of-type(2) .leaf-ornament{right:-29px}.event-card h3{font-weight:500;line-height:1}.gallery-section{padding-top:70px}.story-panel h2{font-weight:500;margin-bottom:30px}.gift-section h2{font-weight:500;line-height:1}.gift-symbol svg{width:43px;height:43px}.gift-symbol svg rect{fill:none;stroke:#fff;stroke-width:2.8}.gift-symbol svg path,.gift-symbol svg path:first-of-type{fill:none;stroke:#fff;stroke-width:2.8}.gift-symbol{margin-bottom:21px}.gift-card{padding-top:25px;padding-bottom:25px}.gift-card .bank{font-weight:700}.wishes-panel{padding:14px 14px 22px}.wishes-panel h3{margin-bottom:26px}.wishes-panel textarea{height:80px;min-height:80px}
/* Final measured local offsets, preserving differences in original copy. */
.gallery-section{padding-top:100px}.story-panel{border-width:4px;padding-top:51px}.story-panel h2{margin-bottom:35px}.motif:before{mask-image:linear-gradient(#000,transparent 230px,transparent calc(100% - 190px),#000)}.verse-box.motif:before{mask-image:linear-gradient(#000,transparent 150px,transparent calc(100% - 80px),#000)}.gift-section{padding-top:68px;padding-bottom:30px}.gift-section>p{margin-bottom:20px}.gift-symbol{height:48px;line-height:0;margin-bottom:30px}.gift-symbol svg{width:43px;height:43px}.gift-symbol svg rect{fill:white;stroke:none}.gift-symbol svg path,.gift-symbol svg path:first-of-type{fill:none;stroke:white;stroke-width:3}
.closing{padding-bottom:100px}.closing .end-copy>p:first-child{min-height:54px}

/* Sixth pass: natural photo tone, a continuous viewport-anchored background,
   and source-ratio gallery frames without side bars or missing feet. */
#app{isolation:isolate;background:transparent;overflow:clip}#invitation{position:relative;z-index:1}.page-backdrop{position:fixed;inset:0;margin:auto;width:100%;max-width:500px;height:100svh;object-fit:cover;object-position:center;z-index:0;pointer-events:none;filter:none}.couple-section>.backdrop,.story-section>.backdrop{display:none}.couple-section,.story-section{background:transparent}.couple-panel{background-color:#0005}.story-panel{background-color:#000a}.couple-panel:after,.story-panel:after{background:linear-gradient(#0001,#0005 160px,#0005 80%,#0001)}.events-section,.gallery-section,.gift-section{background:#000}.hero .slides img{filter:none}.interlude>.backdrop{filter:none}
.gallery-grid{grid-template-columns:1fr 2fr;gap:4px;align-items:start}.gallery-grid .gallery-item{width:100%;height:auto;aspect-ratio:1065/1600;grid-column:1;grid-row:1}.gallery-grid .gallery-item:nth-child(2){grid-column:2;grid-row:1/3;width:100%;height:100%;aspect-ratio:auto}.gallery-grid .gallery-item:nth-child(3){grid-column:1;grid-row:2}.gallery-grid .gallery-item:nth-child(n+4){display:none}.gallery-item,.gallery-feature{background:transparent}.gallery-item img{object-fit:cover;object-position:center!important}.gallery-strip .gallery-item{height:auto;aspect-ratio:1065/1600}.gallery-strip .gallery-item img{object-fit:cover}.gallery-feature{height:auto;aspect-ratio:1065/1600}.gallery-feature img{object-fit:cover}.gallery-item:hover img{transform:none}
.bank.mandiri,.bank.bri{height:32px;min-height:32px;padding:0;margin-bottom:6px;display:flex;justify-content:flex-end;align-items:center}.bank-logo{display:block;width:92px;height:30px;object-fit:contain;object-position:right center}.bank.bri .bank-logo{width:86px;height:24px}
/* Keep the same fixed photo visible through the comments section, like the reference. */
.wishes-section>.backdrop{display:none}.wishes-section{background:transparent}.gallery-section{padding-bottom:50px}
/* Seventh pass: the Y & M verse photo uses its full source ratio, no side bars. */
.photo-inset{height:auto;aspect-ratio:1064/1600}.photo-inset img{display:block;width:100%;height:auto;aspect-ratio:1064/1600;object-fit:cover;background:transparent}

/* Eighth pass: generated neutral studio extensions, original people untouched.
   Large viewport coverage prevents Safari toolbar-height gaps while scrolling. */
.page-backdrop{inset:0 auto auto 50%;margin:0;transform:translateX(-50%);height:100vh;height:100lvh;min-height:100dvh;width:100%;max-width:500px;object-fit:cover;object-position:50% 50%;background:#d6d3cd;z-index:-1}body{isolation:isolate}#app{z-index:0}.gallery-feature{height:360px;aspect-ratio:auto}.gallery-feature img{object-fit:cover;object-position:50% 72%!important}.gallery-grid{grid-template-columns:repeat(5,1fr)}.gallery-grid .gallery-item{height:147px;aspect-ratio:auto;grid-column:1/3;grid-row:1}.gallery-grid .gallery-item:nth-child(2){grid-column:3/6;grid-row:1/3;height:298px}.gallery-grid .gallery-item:nth-child(3){grid-column:1/3;grid-row:2}.gallery-grid .gallery-item img{object-position:50% 75%!important}.gallery-strip .gallery-item{height:182px;aspect-ratio:auto}.gallery-strip .gallery-item img{object-position:50% 75%!important}

/* Pass 9: animated photo interlude, matched to observed reference timing and geometry. */
.interlude{height:600px;min-height:0;background:#000;overflow:hidden}
.interlude .interlude-slides{position:absolute;inset:0;z-index:0;overflow:hidden}
.interlude-slide{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%;opacity:0;transition:opacity 1500ms ease;transform:scale(1);transform-origin:50% 50%;will-change:opacity,transform}
.interlude-slide.is-current{opacity:1}
.interlude-slide.is-moving{animation:interlude-push 20000ms linear both}
.interlude:after{z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent 80%,#000 100%)}
@keyframes interlude-push{from{transform:scale(1)}to{transform:scale(1.3)}}
@media(prefers-reduced-motion:reduce){.interlude-slide{animation:none!important;transition:none!important}}

/* Pass 10: reveal once at first entry, matching reference rise/soft scale. */
.js-motion .reveal{opacity:0;transform:translateY(96px) scale(.93);transform-origin:center;transition-property:opacity,transform;transition-duration:400ms;transition-timing-function:ease;transition-delay:var(--entrance-delay,0ms)}
.js-motion .reveal.visible{opacity:1;transform:translateY(0) scale(1)}
.end-copy>.thanks.reveal{display:inline-block}
@media(prefers-reduced-motion:reduce){.js-motion .reveal,.reveal{opacity:1!important;transform:none!important;transition:none!important}}

/* Pass 13: paint outer batik only. No layout, size or spacing changes. */
.quote-section:before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url('batik.svg') center bottom/80px 80px;opacity:.9;mask-image:linear-gradient(transparent 35%,#000 70%,#000);-webkit-mask-image:linear-gradient(transparent 35%,#000 70%,#000)}

/* Full-screen gallery controls do not affect page layout. */
body.gallery-open{overflow:hidden}
#lightbox[open]{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#000f;color:#fff;padding:64px 0;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom}
#lightbox::backdrop{background:#000f}
#lightbox-img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-select:none}
#lightbox button{position:absolute;width:44px;height:44px;border:0;border-radius:50%;background:#0007;color:#fff;z-index:2;display:flex;align-items:center;justify-content:center;font:36px/1 Arial,sans-serif;padding:0;touch-action:manipulation}
#lightbox #lightbox-close{top:max(12px,env(safe-area-inset-top));right:12px;font-size:32px}
#lightbox #lightbox-prev{top:calc(50% - 22px);left:8px;right:auto}
#lightbox #lightbox-next{top:calc(50% - 22px);right:8px}
#lightbox-count{position:absolute;top:max(24px,env(safe-area-inset-top));left:20px;font:14px/1.3 var(--sans);z-index:2}

/* Pass17: tighten only couple section spacing; all photos and artwork retained. */
.couple-panel{padding-top:60px;padding-bottom:60px}
.couple-panel .portrait-wrap{margin-bottom:28px}
.couple-panel .amp{margin-top:40px;margin-bottom:36px}

/* Pass18: restore breathing room below groom text, replace only gold side artwork. */
.couple-panel{padding-bottom:60px}
.couple-panel .leaf-ornament{content:url('couple-ornament-woman.png');width:171px;height:275px;left:-43px;top:47px;transform:none;object-fit:fill}
.couple-panel .person:nth-of-type(2) .leaf-ornament{content:url('couple-ornament-man.png');left:auto;right:-43px;transform:none}

/* Pass19: outside clearance below the outer gold oval, not inside text spacing. */
.couple-section{padding-bottom:28px}

/* Pass20: group both flower sprays opposite the gold side ornament. */
.couple-panel .person .floral.right{left:auto;right:-16px;bottom:-32px;transform:rotate(-12deg)}
.couple-panel .person:nth-of-type(2) .floral.right{left:-16px;right:auto;transform:scaleX(-1) rotate(-12deg)}

/* Pass24: couple flowers exactly like demo - vendor lily assets (JAWA-COUPLE-2/4) at demo geometry. One spray per panel, side opposite the ornament. */
.couple-panel .person .floral.left{content:url('couple-lily-woman.png');left:95px;right:auto;top:184px;bottom:auto;width:110px;height:141px;transform:none;object-fit:fill}
.couple-panel .person .floral.right{display:none}
.couple-panel .person:nth-of-type(2) .floral.left{content:url('couple-lily-man.png');left:-33px;top:185px;transform:none}

/* Pass25: events-section batik surround exactly like demo - vendor JAWA-PATTERN line batik (0.3) full-section over black, demo top gradient, vendor JAWA-MOTIF-BAWAH kawung band full-width at the bottom behind the cards. Card corner radius matches demo (20px). Foliage around demo cards is painted into its photos; ours carry the user's own in-photo flowers. */
.events-section:after{inset:0;height:auto;background:url('jawa-motif-bawah.png') center bottom/100% auto no-repeat,linear-gradient(rgb(0,0,0) 0%,rgba(92,67,36,0) 100%);opacity:1;mask-image:none;-webkit-mask-image:none}
.event-card{border-radius:20px}
