/* Premium art direction: six different spatial and motion systems. */
.experience{position:relative;isolation:isolate;overflow:hidden;min-height:780px}
.experience figure,.experience h2,.experience p{margin:0}
.experience img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.experience em{font-weight:400}
.scene-eyebrow{display:block;font:700 10px var(--sans);letter-spacing:.23em;text-transform:uppercase}

/* SENANDIKA — a conservatory window with living edges and layered journal pages. */
.experience-conservatory{background:linear-gradient(120deg,#d9e2d3 0%,#ecede1 58%,#d4dfd0);color:#26372e}
.conservatory-crown{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.conservatory-crown i{position:absolute;display:block;width:clamp(150px,20vw,380px);height:clamp(35px,6vw,105px);border-radius:100% 0 100% 0;background:linear-gradient(100deg,#75916b9e,#32583d7a);filter:blur(1px);transform-origin:8% 50%;opacity:.55}
.conservatory-crown i:nth-child(1){left:-5%;top:10%;transform:rotate(35deg)}.conservatory-crown i:nth-child(2){left:-2%;top:24%;transform:rotate(-15deg)}.conservatory-crown i:nth-child(3){right:-7%;top:5%;transform:rotate(145deg)}.conservatory-crown i:nth-child(4){right:-4%;bottom:9%;transform:rotate(195deg)}.conservatory-crown i:nth-child(5){left:-4%;bottom:2%;transform:rotate(-40deg)}
.conservatory-layout{position:relative;display:grid;grid-template-columns:42% 46% 12%;align-items:center;width:min(1380px,calc(100% - 100px));min-height:850px;margin:auto;padding:100px 0}
.conservatory-heading{z-index:2;padding-right:6vw}.conservatory-heading h2{font-size:clamp(72px,8vw,136px);line-height:.86;letter-spacing:-.06em;margin:25px 0 35px}.conservatory-heading h2 em{color:#5e7c60}.conservatory-heading p{max-width:400px;font:400 clamp(19px,1.8vw,25px)/1.38 var(--display)}.conservatory-heading a{display:inline-block;margin-top:45px;border-bottom:1px solid;padding-bottom:9px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.conservatory-portrait{position:relative;z-index:1;grid-column:2;grid-row:1;height:min(680px,64vw);padding:16px;border-radius:46% 46% 2px 2px;border:1px solid #78927b;background:#edf1e8;box-shadow:0 30px 90px #37573c26;overflow:hidden}.conservatory-portrait img{border-radius:45% 45% 1px 1px}.conservatory-portrait figcaption{position:absolute;bottom:27px;left:32px;color:white;font:italic 24px var(--display);text-shadow:0 1px 8px #0009}
.conservatory-detail{position:absolute;z-index:3;right:0;bottom:5%;width:20%;max-height:320px;padding:9px;background:#f8f7ee;box-shadow:0 22px 60px #263e2f40;transform:rotate(5deg)}.conservatory-detail img{max-height:265px}.conservatory-detail figcaption{padding:10px 3px 3px;font-size:9px;letter-spacing:.17em}
.conservatory-rail{writing-mode:vertical-rl;justify-self:center;font-size:9px;letter-spacing:.27em;color:#607462}
.experience-conservatory.scene-visible .conservatory-crown i{animation:leaf-sway 7s ease-in-out infinite alternate}.experience-conservatory.scene-visible .conservatory-crown i:nth-child(even){animation-delay:-3s}@keyframes leaf-sway{to{translate:9px -10px;rotate:3deg}}
.experience-conservatory .conservatory-portrait{clip-path:inset(100% 0 0 round 46% 46% 0 0);transition:clip-path 1.7s cubic-bezier(.2,.7,.2,1)}.experience-conservatory.scene-visible .conservatory-portrait{clip-path:inset(0 round 46% 46% 0 0)}

/* SAGARA — physical film strip, widescreen frames and manual reel navigation. */
.experience-film{background:#0e2533;color:#eaf0ee;padding:120px 0 110px}
.film-heading{display:grid;grid-template-columns:1.2fr .8fr;column-gap:7%;align-items:end;width:min(1340px,calc(100% - 100px));margin:0 auto 75px}.film-heading .scene-eyebrow{grid-column:1/-1;color:#9eb8c2}.film-heading h2{font-size:clamp(84px,10vw,160px);line-height:.82;margin-top:24px}.film-heading h2 em{color:#9bb8c6}.film-heading p{max-width:410px;font:italic clamp(20px,2vw,28px)/1.4 var(--display)}
.film-screen{position:relative;width:100%;padding:22px 0;background:#081822;box-shadow:0 20px 80px #0005}.film-perforations{height:15px;background:repeating-linear-gradient(90deg,transparent 0 30px,#d5e1df 30px 46px,transparent 46px 79px);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);opacity:.66}.film-frames{display:flex;gap:18px;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:16px max(5vw,calc((100vw - 1190px)/2))}.film-frames::-webkit-scrollbar{display:none}.film-frames figure{position:relative;flex:0 0 min(71vw,940px);height:clamp(360px,53vw,640px);display:flex;align-items:center;justify-content:center;background:#233d4e;scroll-snap-align:center;overflow:hidden}.film-frames figure img{width:auto;max-width:100%;max-height:100%;height:auto}.film-frames figcaption{position:absolute;bottom:20px;left:20px;padding:8px 11px;background:#0e2533c9;font-size:9px;letter-spacing:.25em}
.film-controls{display:flex;align-items:center;justify-content:space-between;width:min(1340px,calc(100% - 100px));margin:28px auto 0;font-size:9px;letter-spacing:.22em}.film-controls div{display:flex;gap:10px}.film-controls button{width:48px;height:48px;border:1px solid #a9bbc2;background:transparent;color:#eaf0ee;font:31px var(--display);transition:background .25s}.film-controls button:hover{background:#355163}
.experience-film.scene-visible .film-screen{animation:film-project .9s ease-out both}@keyframes film-project{from{opacity:0;filter:blur(15px);transform:scale(.97)}to{opacity:1;filter:none;transform:none}}

/* ARUNIKA — the sun physically descends with scroll progress. */
.experience-sundial{background:linear-gradient(180deg,#f2d5a4 0%,#d99967 54%,#a95c3e 100%);color:#573427;min-height:1000px}
.sundial-sun{position:absolute;width:min(58vw,860px);aspect-ratio:1;top:calc(2% + var(--scene-progress,0)*17%);left:45%;border-radius:50%;background:radial-gradient(circle,#fff2ce 0%,#f8d18c 57%,#dc925d 100%);box-shadow:0 0 110px #ffe4acb3;transition:top .13s linear}
.sundial-content{position:relative;display:grid;grid-template-columns:42% 58%;align-items:center;width:min(1350px,calc(100% - 100px));min-height:1000px;margin:auto;padding:130px 0}.sundial-copy{z-index:2}.sundial-copy h2{font-size:clamp(78px,9.5vw,152px);line-height:.82;margin:27px 0 34px}.sundial-copy h2 em{color:#fff3d8}.sundial-copy p{max-width:390px;font:italic clamp(20px,2vw,27px)/1.4 var(--display)}.sundial-copy small{display:block;margin-top:60px;font-size:9px;letter-spacing:.24em}
.sundial-photos{position:relative;min-height:700px;display:flex;align-items:center;justify-content:center}.sundial-main{z-index:1;width:min(70%,490px);height:660px;overflow:hidden;border:11px solid #f7e2c6;box-shadow:0 35px 80px #783c2840}.sundial-inset{z-index:2;position:absolute;bottom:4%;left:0;width:32%;height:260px;border:8px solid #fff1d8;box-shadow:0 20px 50px #71371e40;transform:rotate(-7deg)}.sundial-horizon{position:absolute;left:0;right:0;bottom:16%;height:1px;background:#fff3d89e}
.experience-sundial.scene-visible .sundial-main{animation:sun-photo 1.5s ease-out both}.experience-sundial.scene-visible .sundial-inset{animation:sun-inset 1.9s .2s ease-out both}@keyframes sun-photo{from{opacity:0;transform:translateY(90px) rotate(5deg)}to{opacity:1;transform:none}}@keyframes sun-inset{from{opacity:0;transform:translate(-30px,60px) rotate(-14deg)}to{opacity:1;transform:rotate(-7deg)}}

/* KIRANA — a gallery visitor deliberately changes the work on display. */
.experience-exhibition{background:#f4f5ef;color:#2b4142;padding:115px 0 135px}.exhibition-header{width:min(1280px,calc(100% - 100px));margin:0 auto 65px;display:grid;grid-template-columns:1fr .55fr;column-gap:7%;align-items:end}.exhibition-header .scene-eyebrow{grid-column:1/-1;color:#6b8683}.exhibition-header h2{font-size:clamp(78px,8.5vw,135px);line-height:.88;margin-top:25px}.exhibition-header p{max-width:340px;font:italic 24px/1.4 var(--display)}
.exhibition-stage{display:grid;grid-template-columns:72% 28%;width:min(1280px,calc(100% - 100px));margin:auto;border-top:1px solid #99aba5}.exhibition-work{position:relative;height:min(67vw,760px);min-height:560px;padding:40px 10%;display:flex;align-items:center;justify-content:center;background:#e4ebe4}.exhibition-slide{position:absolute;inset:40px 10%;display:flex;flex-direction:column;align-items:center;justify-content:center;visibility:hidden;opacity:0;transform:translateY(22px) scale(.97);transition:opacity .7s,transform .9s,visibility .7s}.exhibition-slide.active{visibility:visible;opacity:1;transform:none}.exhibition-slide img{max-width:100%;max-height:calc(100% - 35px);width:auto;height:auto;box-shadow:0 23px 70px #2038342f}.exhibition-slide figcaption{align-self:start;margin-top:13px;font-size:10px;letter-spacing:.19em;text-transform:uppercase}
.exhibition-sidebar{display:flex;flex-direction:column;padding:42px 0 30px 34px;border-left:1px solid #99aba5}.exhibition-sidebar>span{font-size:9px;font-weight:700;letter-spacing:.2em}.exhibition-sidebar [role=group]{display:grid;margin:auto 0}.exhibition-sidebar button{display:flex;align-items:baseline;gap:16px;width:100%;padding:19px 4px;border:0;border-bottom:1px solid #aabbb3;background:transparent;color:#2b4142;text-align:left;font:30px var(--display);transition:padding .3s,color .3s}.exhibition-sidebar button[aria-pressed=true]{padding-left:15px;color:#658882}.exhibition-sidebar button small{font:700 9px var(--sans)}.exhibition-sidebar p{font:italic 19px/1.4 var(--display);max-width:250px}

/* AKSARA — the invitation is a physical letter with a functional opening. */
.experience-letter{background:#d5c5af;color:#4b382e;padding:110px 0 125px}.letter-desk{width:min(1300px,calc(100% - 100px));margin:auto}.letter-desk>.scene-eyebrow{margin-bottom:35px}.letter-composition{position:relative;min-height:850px;perspective:1300px}.letter-paper{position:absolute;z-index:2;top:7%;left:12%;width:55%;min-height:650px;padding:75px 8% 55px;background:#f4ecde;box-shadow:12px 18px 65px #493a2d35;transform:translateY(210px) rotate(-3deg);transition:transform 1.3s cubic-bezier(.17,.75,.16,1)}.letter-paper:before{content:'';position:absolute;inset:20px;border:1px solid #bca78d;pointer-events:none}.letter-paper span{font:italic 23px var(--display)}.letter-paper h2{font-size:clamp(68px,6.8vw,107px);line-height:.88;margin:36px 0}.letter-paper p{max-width:430px;font:21px/1.5 var(--display)}.letter-paper small{display:block;margin-top:34px;font:italic 19px var(--display)}
.letter-envelope{position:absolute;z-index:3;bottom:0;left:2%;width:76%;height:430px;filter:drop-shadow(0 30px 45px #59432f4a);pointer-events:none}.letter-pocket{position:absolute;inset:0;background:#ddc9ad;clip-path:polygon(0 0,50% 46%,100% 0,100% 100%,0 100%);border:1px solid #a98e70}.letter-flap{position:absolute;inset:0;background:#d5bfa0;clip-path:polygon(0 0,100% 0,50% 58%);transform-origin:top;transition:transform 1.1s cubic-bezier(.2,.75,.2,1);backface-visibility:hidden}.letter-postcard{position:absolute;z-index:4;right:0;top:3%;width:36%;height:560px;padding:13px 13px 45px;background:#f8f0e2;box-shadow:0 22px 60px #4b372d53;transform:rotate(6deg);transition:transform 1s}.letter-postcard img{max-height:100%}.letter-postcard figcaption{font-size:9px;letter-spacing:.18em;padding:12px 0}.letter-toggle{position:relative;z-index:5;margin:15px 0 0 12%;padding:14px 26px;border:1px solid #513d30;background:#513d30;color:#f7ead6;font-size:11px;letter-spacing:.13em;text-transform:uppercase}.letter-toggle:hover{background:#725744}
.experience-letter.letter-open .letter-paper{transform:translateY(-250px) rotate(-1deg)}.experience-letter.letter-open .letter-postcard{transform:translate(15px,-10px) rotate(9deg)}

/* LEMBAYUNG — the curtains part and reveal a star-filled night. */
.experience-theatre{background:radial-gradient(circle at 50% 31%,#766585,#2d2a43 68%);color:#f5edf5;min-height:1050px}.theatre-stars{position:absolute;inset:0;pointer-events:none}.theatre-stars i{position:absolute;width:4px;height:4px;border-radius:50%;background:#f9ebd5;box-shadow:0 0 14px #fff8d2}.theatre-stars i:nth-child(1){top:17%;left:12%}.theatre-stars i:nth-child(2){top:30%;left:27%}.theatre-stars i:nth-child(3){top:11%;left:68%}.theatre-stars i:nth-child(4){top:26%;left:85%}.theatre-stars i:nth-child(5){top:55%;left:75%}.theatre-stars i:nth-child(6){top:75%;left:16%}.theatre-stars i:nth-child(7){top:66%;left:43%}.theatre-stars i:nth-child(8){top:9%;left:49%}.theatre-stars i:nth-child(9){top:84%;left:92%}
.theatre-curtain{position:absolute;z-index:4;top:0;bottom:0;width:50.5%;background:repeating-linear-gradient(90deg,#302438 0 28px,#4e3b54 55px,#281d30 85px,#654967 118px);box-shadow:inset 0 0 100px #130e20;transition:transform 1.8s cubic-bezier(.6,0,.23,1)}.theatre-curtain-left{left:0;border-right:2px solid #bf9c7b}.theatre-curtain-right{right:0;border-left:2px solid #bf9c7b}.experience-theatre.scene-visible .theatre-curtain-left{transform:translateX(calc(-100%*var(--scene-progress,1)))}.experience-theatre.scene-visible .theatre-curtain-right{transform:translateX(calc(100%*var(--scene-progress,1)))}
.theatre-content{position:relative;z-index:2;display:grid;grid-template-columns:42% 58%;align-items:center;width:min(1280px,calc(100% - 100px));min-height:1050px;margin:auto;padding:140px 0}.theatre-copy{z-index:2}.theatre-copy h2{font-size:clamp(87px,10vw,160px);line-height:.83;margin:30px 0 38px}.theatre-copy h2 em{color:#e3bbd8}.theatre-copy p{max-width:350px;font:italic 26px/1.45 var(--display)}.theatre-portrait{height:750px;padding:14px;border:1px solid #d6bdd5a8;box-shadow:0 30px 110px #120f2480}.theatre-portrait img{max-height:670px}.theatre-portrait figcaption{padding:18px 0;text-align:center;font-size:9px;letter-spacing:.23em}
.experience-theatre.scene-visible .theatre-stars i{animation:star-pulse 3s ease-in-out infinite alternate}.experience-theatre.scene-visible .theatre-stars i:nth-child(3n){animation-delay:-1.2s}@keyframes star-pulse{to{opacity:.25;transform:scale(.5)}}

@media(max-width:900px){.conservatory-layout,.sundial-content,.theatre-content{width:calc(100% - 60px)}.conservatory-heading h2,.sundial-copy h2,.theatre-copy h2{font-size:clamp(70px,9vw,110px)}.film-heading,.film-controls,.exhibition-header,.exhibition-stage,.letter-desk{width:calc(100% - 60px)}.letter-composition{min-height:750px}.letter-paper{width:65%;padding:60px 8%}.letter-postcard{width:34%;height:470px}}
@media(max-width:680px){.experience{min-height:0}.scene-eyebrow{font-size:9px}.experience-conservatory .conservatory-layout{display:flex;flex-direction:column;align-items:stretch;width:calc(100% - 40px);min-height:0;padding:90px 0 120px}.conservatory-heading{padding:0 0 45px}.conservatory-heading h2{font-size:clamp(72px,17vw,110px)}.conservatory-heading p{font-size:23px}.conservatory-portrait{height:clamp(410px,125vw,630px)}.conservatory-detail{width:43%;right:0;bottom:3%;max-height:230px}.conservatory-detail img{max-height:180px}.conservatory-rail{display:none}
.experience-film{padding:85px 0 90px}.film-heading{display:block;width:calc(100% - 40px);margin-bottom:45px}.film-heading h2{font-size:clamp(74px,16vw,110px);margin:20px 0 30px}.film-heading p{font-size:22px}.film-frames{padding:10px 10vw}.film-frames figure{flex-basis:80vw;height:clamp(350px,90vw,500px)}.film-controls{width:calc(100% - 40px)}.film-controls span{max-width:180px;line-height:1.5}
.experience-sundial .sundial-content{display:flex;flex-direction:column;width:calc(100% - 40px);min-height:0;padding:85px 0 100px}.sundial-sun{width:95vw;left:12%;top:34%}.sundial-copy h2{font-size:clamp(76px,17vw,115px)}.sundial-copy p{font-size:22px}.sundial-copy small{margin:30px 0 45px}.sundial-photos{width:100%;min-height:530px}.sundial-main{width:75%;height:500px}.sundial-inset{width:39%;height:195px}.sundial-horizon{bottom:8%}
.experience-exhibition{padding:88px 0 100px}.exhibition-header,.exhibition-stage{width:calc(100% - 40px)}.exhibition-header{display:block;margin-bottom:45px}.exhibition-header h2{font-size:clamp(70px,15vw,100px)}.exhibition-header p{margin-top:30px;font-size:22px}.exhibition-stage{display:block}.exhibition-work{height:clamp(410px,110vw,600px);min-height:0;padding:15px}.exhibition-slide{inset:15px}.exhibition-sidebar{padding:25px 0;border-left:0}.exhibition-sidebar [role=group]{margin:25px 0}.exhibition-sidebar button{font-size:27px}.exhibition-sidebar p{max-width:none}
.experience-letter{padding:85px 0 95px}.letter-desk{width:calc(100% - 40px)}.letter-composition{min-height:790px}.letter-paper{top:11%;left:3%;width:85%;min-height:590px;padding:52px 9%}.letter-paper h2{font-size:clamp(70px,15vw,100px)}.letter-paper p{font-size:18px}.letter-envelope{left:0;width:100%;height:330px}.letter-postcard{top:3%;right:0;width:38%;height:290px;padding:6px 6px 25px}.letter-postcard figcaption{font-size:6px;padding:7px 0}.letter-toggle{margin:12px 0 0 3%}
.experience-theatre .theatre-content{display:flex;flex-direction:column;width:calc(100% - 40px);min-height:0;padding:100px 0 120px}.theatre-copy h2{font-size:clamp(80px,18vw,130px)}.theatre-copy p{font-size:22px;margin-bottom:40px}.theatre-portrait{width:100%;height:clamp(470px,125vw,650px)}.theatre-portrait img{max-height:calc(100% - 40px)}.theatre-curtain{width:24%}.experience-theatre.scene-visible .theatre-curtain-left{transform:translateX(-100%)}.experience-theatre.scene-visible .theatre-curtain-right{transform:translateX(100%)}
}
@media(prefers-reduced-motion:reduce){.experience *, .experience *:before,.experience *:after{animation:none!important;transition:none!important}.conservatory-portrait{clip-path:none!important}.theatre-curtain{display:none}.letter-paper{transform:translateY(-35px) rotate(-1deg)}}
/* The page's other sections keep their intentional order in flex-based models. */
body[data-model="sagara"] main>.experience,body[data-model="kirana"] main>.experience,body[data-model="aksara"] main>.experience,body[data-model="lembayung"] main>.experience{order:2}
/* The couple's bespoke emblem repeats as a logo, never plain separated initials. */
.loader-emblem{display:block;width:110px;height:110px}.loader-emblem .monogram-logo{width:100%;height:100%}.cover-emblem{display:block;width:90px;height:90px;margin-bottom:18px}.cover-emblem .monogram-logo{width:100%;height:100%}.site-header .brand{display:block;width:50px;height:50px;flex:none}.site-header .brand .monogram-logo{width:100%;height:100%}
@media(max-width:680px){.cover-emblem{width:57px;height:57px;margin-bottom:8px}.site-header .brand{width:42px;height:42px}}
/* Editorial framing keeps both faces in view and lets fabric, rather than heads, crop. */
.conservatory-portrait img,.sundial-main img,.theatre-portrait img{object-fit:cover;object-position:center 17%}
.sundial-inset img{object-fit:cover;object-position:center 24%}

/* Each cover yields to the story using its own visual language. */
body[data-model="senandika"] .cover.is-leaving{animation:premium-greenhouse-open .82s cubic-bezier(.2,.72,.2,1) forwards}
body[data-model="sagara"] .cover.is-leaving{animation:premium-film-cut .82s steps(12,end) forwards}
body[data-model="arunika"] .cover.is-leaving{animation:premium-sunrise-open .82s ease-in forwards}
body[data-model="kirana"] .cover.is-leaving{animation:premium-gallery-open .82s cubic-bezier(.35,.1,.2,1) forwards}
body[data-model="aksara"] .cover.is-leaving{animation:premium-letter-fold .82s cubic-bezier(.65,0,.3,1) forwards;transform-origin:top center}
body[data-model="lembayung"] .cover.is-leaving{background:transparent;animation:premium-curtain-clear .82s linear forwards}
body[data-model="lembayung"] .cover.is-leaving .cover-panel{animation:premium-curtain-left .82s cubic-bezier(.7,0,.22,1) forwards}
body[data-model="lembayung"] .cover.is-leaving .cover-photo{animation:premium-curtain-right .82s cubic-bezier(.7,0,.22,1) forwards}
@keyframes premium-greenhouse-open{to{clip-path:inset(0 0 100% 0);filter:blur(12px)}}
@keyframes premium-film-cut{to{clip-path:inset(0 100% 0 0);filter:contrast(1.6)}}
@keyframes premium-sunrise-open{65%{filter:brightness(1.3)}to{opacity:0;filter:brightness(2.2)}}
@keyframes premium-gallery-open{to{opacity:0;transform:scale(.76) rotate(-4deg);filter:blur(7px)}}
@keyframes premium-letter-fold{to{opacity:0;transform:perspective(1200px) rotateX(-85deg)}}
@keyframes premium-curtain-clear{70%{opacity:1}to{opacity:0}}
@keyframes premium-curtain-left{to{transform:translateX(-105%)}}
@keyframes premium-curtain-right{to{transform:translateX(105%)}}

/* The photo entrances echo each model instead of repeating one template fade. */
body[data-model="senandika"] .gallery-item[data-reveal]{clip-path:inset(0 0 100% 0);transition:opacity 1.15s,transform 1.15s,clip-path 1.35s cubic-bezier(.2,.7,.2,1)}
body[data-model="senandika"] .gallery-item[data-reveal].is-visible{clip-path:inset(0)}
body[data-model="sagara"] .gallery-item[data-reveal]{filter:blur(8px);transition:opacity .8s,transform 1s,filter 1s}
body[data-model="sagara"] .gallery-item[data-reveal].is-visible{filter:none}
body[data-model="arunika"] .gallery-item[data-reveal]{clip-path:circle(0 at 50% 35%);transition:opacity 1.2s,transform 1.2s,clip-path 1.25s cubic-bezier(.25,.7,.2,1)}
body[data-model="arunika"] .gallery-item[data-reveal].is-visible{clip-path:circle(150% at 50% 35%)}
body[data-model="kirana"] .gallery-item[data-reveal]{clip-path:inset(12% 12% 12% 12%);transition:opacity .85s,transform 1s,clip-path 1s}
body[data-model="kirana"] .gallery-item[data-reveal].is-visible{clip-path:inset(0)}
body[data-model="aksara"] .gallery-item[data-reveal]{translate:0 55px;filter:blur(4px);transition:opacity 1s,translate 1.1s cubic-bezier(.2,.7,.2,1),filter 1s}
body[data-model="aksara"] .gallery-item[data-reveal].is-visible{translate:0;filter:none}
body[data-model="lembayung"] .gallery-item[data-reveal]{clip-path:inset(0 50% 0 50%);transition:opacity 1.2s,transform 1.2s,filter 1.2s,clip-path 1.3s cubic-bezier(.2,.7,.2,1)}
body[data-model="lembayung"] .gallery-item[data-reveal].is-visible{clip-path:inset(0)}
.gallery-item:nth-child(4n+2)[data-reveal]{transition-delay:.08s}
.gallery-item:nth-child(4n+3)[data-reveal]{transition-delay:.14s}
.gallery-item:nth-child(4n)[data-reveal]{transition-delay:.2s}

@media(max-width:680px){
  .letter-paper span{display:block;max-width:52%;font-size:18px;line-height:1.3}
  .film-frames figure{height:clamp(225px,58vw,300px)}
}
@media(prefers-reduced-motion:reduce){
  .cover.is-leaving{display:none!important;animation:none!important}
  .gallery-item[data-reveal]{clip-path:none!important;translate:none!important;filter:none!important}
}

/* A lined, open envelope: the paper rises between its decorated front and rear flap. */
.letter-composition{overflow:hidden}
.letter-envelope-back,.letter-envelope,.letter-envelope-interior,.letter-envelope-hit{bottom:0;left:2%;width:76%;height:430px}
.letter-envelope-back{position:absolute;z-index:1;background:linear-gradient(155deg,#a58a6e,#c8b093 63%,#b59978);border:1px solid #9b7d5f;box-shadow:0 30px 45px #59432f4a}
.letter-envelope-interior{position:absolute;z-index:2;height:452px;clip-path:polygon(0 22px,50% 0,100% 22px,100% 100%,0 100%);background:linear-gradient(180deg,#876a52 0%,#ad8e6f 15%,#c6a985 53%,#b49675 100%);box-shadow:inset 0 18px 35px #4a302742}
.letter-paper{z-index:4;top:calc(100% - 520px);min-height:360px;padding:30px 7% 34px;transform:rotate(-2deg);transition:transform 1.3s cubic-bezier(.17,.75,.16,1);transition-delay:0s}
.letter-paper span{font-size:21px}
.letter-paper h2{font-size:clamp(58px,5.6vw,76px);margin:12px 0 8px}
.letter-paper p{font-size:18px;line-height:1.35}
.letter-paper small{font-size:17px;margin-top:12px}
.letter-envelope{z-index:5;filter:none}
.letter-pocket{z-index:1;clip-path:polygon(0 0,50% 12%,100% 0,100% 100%,0 100%);background:radial-gradient(ellipse at 50% -12%,#f0e1ca 0%,#dfc9a9 55%,#c7aa85 100%);box-shadow:inset 0 1px #fff9,inset 0 -22px 38px #8c6c4222}
.letter-pocket:before{content:'';position:absolute;inset:0;background:url('../aksara/envelope-ornament.svg') center / 100% 100% no-repeat;mix-blend-mode:multiply;opacity:.72}
.letter-pocket:after{content:'';position:absolute;inset:0;clip-path:polygon(0 0,50% 12%,100% 0,100% 2%,50% 14%,0 2%);background:#846447;opacity:.46}
.letter-flap{position:absolute;z-index:0;inset:auto auto 429px 2%;width:76%;height:125px;clip-path:polygon(0 100%,50% 0,100% 100%);background:linear-gradient(160deg,#eadcc8,#b99876);transform:none;transition:none;backface-visibility:visible}
.letter-seal{position:absolute;z-index:2;top:67%;left:50%;display:flex;align-items:center;justify-content:center;width:92px;height:92px;border:1px solid #86684d;border-radius:50%;color:#604832;box-shadow:inset 0 0 0 5px #dcc4a6,inset 0 0 0 6px #98785a80,0 3px 12px #6646281f;background:#e3ceb0a6;font:italic 34px var(--display);letter-spacing:-.12em;transform:translate(-50%,-50%);transition:transform .55s cubic-bezier(.2,.7,.2,1),box-shadow .55s;pointer-events:none}
.letter-seal span{font-size:19px;margin:0 2px 0 0;align-self:center}
.letter-envelope-cue{position:absolute;z-index:2;bottom:31px;left:50%;transform:translateX(-50%);color:#68503c;font-size:9px;font-weight:600;letter-spacing:.17em;text-transform:uppercase;white-space:nowrap;pointer-events:none}
.letter-envelope-hit{position:absolute;z-index:6;display:block;border:0;padding:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.letter-envelope-hit:focus-visible{outline:2px solid #76583b;outline-offset:5px}
.letter-composition:has(.letter-envelope-hit:is(:hover,:focus-visible)) .letter-seal{transform:translate(-50%,-50%) scale(1.05);box-shadow:inset 0 0 0 5px #dcc4a6,inset 0 0 0 6px #98785a80,0 8px 24px #6646283d}
.letter-envelope-back,.letter-envelope,.letter-envelope-interior,.letter-envelope-hit{width:68%}
.letter-flap{width:68%}
.letter-postcard{z-index:3;right:1%;top:5%;display:flex;flex-direction:column;width:min(29%,350px);height:510px;padding:9px 9px 21px}
.letter-postcard img{flex:1 1 auto;min-height:0;width:100%;height:100%;object-fit:contain;object-position:center}
.letter-postcard figcaption{flex:0 0 auto;padding:9px 2px 0}
@media(max-width:680px){
  .letter-envelope-back,.letter-envelope,.letter-envelope-hit{left:0;width:100%;height:330px}
  .letter-envelope-interior{left:0;width:100%;height:352px}
  .letter-flap{left:0;bottom:329px;width:100%;height:125px}
  .letter-postcard{top:3%;right:0;width:35%;height:210px;padding:5px}
  .letter-postcard figcaption{display:none}
  .letter-seal{width:76px;height:76px;font-size:29px}
  .letter-seal span{font-size:16px}
  .letter-envelope-cue{bottom:22px;font-size:8px;letter-spacing:.12em}
  .letter-paper{top:calc(100% - 420px);width:82%;min-height:355px;padding:30px 8% 30px;transform:rotate(-2deg)}
  .letter-paper span{font-size:16px}
  .letter-paper h2{font-size:clamp(52px,12vw,66px);margin:12px 0 8px}
  .letter-paper p{font-size:16px;line-height:1.35}
  .letter-paper small{font-size:16px;margin-top:10px}
}
@media(prefers-reduced-motion:reduce){
  .letter-paper{transform:rotate(-2deg)}
  .experience-letter.letter-open .letter-paper{transform:translateY(-250px) rotate(-1deg)}
}
