/* Shared quiet botanical background, no curtain sections or fabric bands. */
body,body .invitation-body{background-color:#06291f;}
body .invitation-body::before{background:linear-gradient(#06291fc9,#06291fc9),url('./assets/emerald-botanical-v12.png') 0 0/650px 650px repeat;opacity:1;filter:none;transform:none;}
body #heroSection{background:none;min-height:0;padding-top:130px;padding-bottom:80px;}
body #heroSection::before,body #heroSection::after{display:none!important;}
body #heroSection+.section{background:none;}
/* Fit the full source frame to the intro; eliminate the bottom letterbox strip. */
.film-intro{background:#06291f;}
.film-intro[data-video-mode="mobile"],.film-intro[data-screen="mobile"]{height:auto;aspect-ratio:9/16;min-height:0;}
.film-intro[data-video-mode="desktop"],.film-intro[data-screen="desktop-v5"]{height:min(57.8125vw,592px);min-height:0;}
.film-intro .film-stage{background-color:#06291f;}
.film-intro::after{content:'';display:block!important;position:absolute;inset:auto 0 -1px;height:100px;background:linear-gradient(to bottom,transparent,#06291f);pointer-events:none;z-index:2;}
.invitation-body::after{content:'';position:absolute;inset:0 0 auto;height:110px;background:linear-gradient(#06291f,transparent);z-index:0;pointer-events:none;}
/* Compact paper: less empty paper above and below the invitation text. */
body #heroSection .scroll-reveal{width:min(100%,300px);margin:28px auto 22px;}
.scroll-stage{aspect-ratio:9/13;margin-bottom:0;transition:margin-bottom 2.2s cubic-bezier(.22,.7,.22,1) .85s;}
.scroll-reveal[data-scroll-state="closed"] .scroll-stage{margin-bottom:-95%;}
.scroll-instruction,.scroll-reveal:not([data-scroll-state="closed"]) .scroll-instruction{margin:12px 0 0;line-height:1.6;transition:none;font-size:13px;color:#f3e2bb;}
.scroll-details{inset:23% 17% 8%;gap:8px;}
.scroll-names{font-size:28px;line-height:1.05;gap:3px;}
.scroll-kicker{font-size:9px;letter-spacing:.09em;line-height:1.5;}
.scroll-date{font-size:15px;line-height:1.35;}
.scroll-time,.scroll-message{font-size:11px;}
.scroll-continue{font-size:11px;padding:7px 13px;margin-top:4px;}
/* Crisp photographic blossoms, slightly more numerous, never blocking touch. */
.drifting-flower{width:24px;height:24px;filter:none;backdrop-filter:none;}
.drifting-flower:nth-child(3n){width:29px;height:29px;}
.drifting-flower img{display:block;width:100%;height:100%;object-fit:contain;filter:none;}
.drifting-flower::after{display:none;}
@keyframes flowerFloat{0%{opacity:0;transform:translate3d(0,-60px,0) rotate(0)}12%,80%{opacity:.85}100%{opacity:0;transform:translate3d(42px,520px,0) rotate(180deg)}}
@media(max-width:600px){body #heroSection{padding-top:125px;padding-bottom:70px;}body #heroSection .scroll-reveal{width:min(100%,290px);}.scroll-details{gap:7px;}.scroll-names{font-size:27px;}.drifting-flower{width:22px;height:22px;}.drifting-flower:nth-child(3n){width:27px;height:27px;}}
@media(prefers-reduced-motion:reduce){.scroll-stage{transition:none;}.drifting-flower{display:none;}}

