/* Ornaments belong to the invitation document, not the viewport. */
body{background:#123c2d;}
body::before{display:none!important;}
.invitation-body{position:relative;isolation:isolate;background:#123c2d;}
.invitation-body::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('./assets/emerald-velvet-folds-v9.png') center top/1024px 683px repeat;opacity:.23;filter:saturate(.55);}
body .invitation-ornaments{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
body .ivory-corner{width:clamp(104px,16vw,190px);height:auto;}
body .invitation-ornaments .corner-lanterns{width:clamp(112px,16vw,190px);right:10px;bottom:12px;}
body .invitation-body footer{padding-bottom:210px;}
/* Fade both fabric sections into the same emerald tone. */
body #heroSection{background-color:#123c2d;padding-bottom:220px;}
body #heroSection::after{content:'';display:block;position:absolute;left:0;right:0;bottom:-1px;height:210px;pointer-events:none;z-index:0;background:linear-gradient(to bottom,rgba(18,60,45,0),rgba(18,60,45,.35) 36%,#123c2d 100%);}
body #heroSection+.section{position:relative;background:linear-gradient(to bottom,#123c2d 0,rgba(18,60,45,.7) 80px,rgba(18,60,45,0) 220px);}
/* The ending remains the decoded last video frame; no poster swap. */
.film-intro.film-ended:not(.film-still) .film-video{visibility:visible;opacity:1;}
@media(max-width:600px){body .ivory-corner{width:106px;}body .invitation-ornaments .corner-lanterns{width:116px;right:5px;bottom:10px;}body #heroSection{padding-top:135px;padding-bottom:200px;}body #heroSection::after{height:190px;}body .invitation-body footer{padding-bottom:180px;}}

