:root{--cl-cream:#645747;--cl-gold:#a8916a;--cl-dark:#f4f0e8;color-scheme:light}body.cl-invitation{background:#f4f0e8;color:#645747}#invitation{max-width:528px;margin:auto;background:#f8f5ef}#petals-opening{position:fixed;inset:0;max-width:528px;margin:auto;z-index:100;background:#f4f0e8}#petals-opening video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#petals-second{opacity:0;transition:opacity .7s}#petals-enter{position:absolute;inset:0;width:100%;padding-top:86svh;letter-spacing:.2em;text-transform:uppercase;font-size:13px;color:#675945}#petals-continue{position:absolute;bottom:4%;left:30%;width:40%;padding:12px;color:#645747;background:#fffcf5da;border-radius:30px;z-index:4}#petals-date{position:absolute;top:55%;left:20%;width:60%;text-align:center;letter-spacing:.18em;font-size:15px;background:#f4f0e8;padding:4px}#invitation section{text-align:center;padding:64px 32px;scroll-margin-top:10px}.petals-letter{min-height:100svh;background:url(petals/open.jpg) center/cover;display:flex;flex-direction:column;justify-content:space-around;align-items:center;gap:26px}.petals-letter p{font-size:23px;line-height:1.6}.petals-letter h1,.petals-script,.petals-initials{font-family:'Great Vibes',cursive;font-weight:400}.petals-letter h1{font-size:48px;line-height:1.3}.petals-initials{font-size:70px}.petals-sep{width:170px}.petals-next{font-size:36px;text-decoration:none}.petals-paper{background:#f4f0e8}.petals-paper>section{position:relative;isolation:isolate}.petals-paper>section::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url(petals/s345-bg.jpg) center/cover no-repeat;-webkit-mask-image:linear-gradient(transparent,#000 64px,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(transparent,#000 64px,#000 calc(100% - 64px),transparent)}h2{font-family:'Cinzel',serif;font-size:26px;letter-spacing:.1em;font-weight:400;margin-bottom:24px}#invitation p{line-height:1.6}#invitation h3{font-weight:500;margin:24px 0 12px}.petals-script{font-size:42px}.petals-count{display:flex;gap:14px;justify-content:center;margin:32px 0}.petals-count>div{width:100px;aspect-ratio:1;background:url(petals/cadran.png) center/contain no-repeat;display:flex;flex-direction:column;justify-content:center}.petals-count b{font-size:32px;font-weight:400}.petals-count span{font-size:14px}.petals-program{list-style:none;padding:0;margin:32px auto;max-width:300px}.petals-program li{display:flex;text-align:left;align-items:center;gap:24px;margin:28px 0}.petals-program img{width:52px;height:52px;object-fit:contain}.petals-program b{font-weight:500;font-size:20px}.petals-program p{font-size:19px}#venue p{font-size:20px}.cl-gold-button{color:#574831;background:#eee4d3;border:1px solid #c2b294;box-shadow:none;margin-top:24px}.cl-form{margin:28px auto}.cl-form label,.cl-form legend{color:#645747!important}.cl-form input[type=text],.cl-form input[type=email],.cl-stepper,.cl-attendance-choice span{background:#fffaf2cc;color:#645747;border-color:#c4b59a}.cl-stepper input,.cl-voice-button{color:#645747}.cl-form input::placeholder{color:#8b7d6a}.cl-music{right:max(16px,calc((100vw - 528px)/2 + 16px));background:#fffcf0d9;color:#77654b;border-color:#cabb9f}.cl-receipt{background:#fffaf2;color:#645747}.petals-credit{font-size:11px;margin-top:48px}#thanks>a{font-size:13px}#rsvp>p{font-size:20px}.cl-rsvp-feedback{color:#783d2b}.cl-voice-status{color:#645747}@media(max-width:360px){#invitation section{padding:44px 24px}.petals-letter h1{font-size:40px}.petals-letter p{font-size:20px}.petals-count{gap:6px}.petals-count>div{width:85px}}

/* Keep one viewport-sized backdrop stationary, clipped to the invitation paper. */
.petals-paper{position:relative;isolation:isolate;clip-path:inset(0);background:transparent}
.petals-paper::before{content:"";position:fixed;inset:0;width:100%;max-width:528px;margin-inline:auto;z-index:-1;pointer-events:none;background:#f4f0e8 url(petals/s345-bg.jpg) center/cover no-repeat}
.petals-paper>section::before{content:none}
/* v1.1: reference-style overlapping panels and an independently scrolling paper. */
body.cl-invitation{overflow:hidden;color:#a08b6f;background:#f6f1e8}
#invitation{position:relative;isolation:isolate;height:100svh;height:100dvh;overflow:auto;scrollbar-width:none;scroll-behavior:smooth}
#invitation section{padding:0;scroll-margin-top:0}
#invitation .petals-letter{position:sticky;top:0;z-index:1;display:block;height:100%;min-height:0;overflow:hidden;background-color:#f6f1e8}
.petals-letter-scroll{height:100%;overflow-y:auto;scrollbar-width:none;padding:60px 12% 40px;display:flex;flex-direction:column;align-items:center;gap:22px}
.petals-letter-scroll>*{flex-shrink:0;max-width:100%}.petals-letter p{font-size:20px}.petals-letter h1{font-size:44px;overflow-wrap:anywhere}.petals-initials{font-size:84px;line-height:1.4}.petals-initials img{width:144px;max-height:160px;object-fit:contain}
.petals-sep{width:120px;height:auto;margin:12px auto}.petals-next{display:flex;justify-content:center;align-items:center;width:44px;min-height:44px}.petals-next img,.petals-paper-next img{width:17px}
.petals-paper{position:relative;z-index:2;height:100%;overflow:hidden;clip-path:none;background:#f6f1e8 url(petals/s345-bg.jpg) center/cover no-repeat}
.petals-paper::before,.petals-paper>section::before{content:none}
.petals-paper-scroll{position:absolute;inset:clamp(64px,10.25svh,96px) clamp(26px,15.8vw,62px) 72px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;scroll-behavior:smooth}
.petals-paper-next{position:absolute;bottom:12px;left:calc(50% - 22px);width:44px;height:44px;display:flex;align-items:center;justify-content:center}
#invitation h2{font-size:24px;line-height:1.3;letter-spacing:.04em;font-weight:500;margin:0;text-transform:uppercase}.petals-schedule{min-height:100%;display:flex;flex-direction:column;justify-content:center}.petals-subtitle{font-size:18px;margin-top:2px}
.petals-count{gap:12px;margin:10px 0 8px}.petals-count>div{width:78px;max-width:calc((100% - 24px)/3);aspect-ratio:78/107}.petals-count b{font-size:28px;line-height:1;font-weight:500}.petals-count span{font-size:11px;letter-spacing:.06em;margin-top:3px}.petals-divider{width:120px;margin:8px auto}
#invitation #program h2{margin-top:8px;font-size:22px;letter-spacing:.1em}.petals-program{position:relative;margin:12px auto 0;max-width:250px}.petals-program:before{content:"";position:absolute;left:80px;top:35px;bottom:35px;width:1px;background:#a08b6f66}.petals-program li{position:relative;gap:36px;min-height:70px;margin:12px 0 0}.petals-program li:before{content:"";position:absolute;left:76px;width:9px;height:9px;border:1px solid #a08b6f;border-radius:50%;background:#f6f1e8}.petals-program img{width:62px;height:62px;flex-shrink:0}.petals-program b{font-size:15px;font-weight:600}.petals-program p{font-size:18px}
#invitation #venue,#invitation #rsvp,#invitation #thanks{min-height:100%;padding:4px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:72px}
#invitation #venue h2,#invitation #rsvp h2{font-size:26px;letter-spacing:.14em}#venue p{font-size:15px}#invitation #venue h3{font-size:16px;font-weight:600;text-transform:uppercase;margin:14px 0 0}#venue h3+p{font-size:14px}.petals-venue-photo{width:260px;max-width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:16px auto 6px}
#venue .petals-floral-button{width:210px;max-width:100%;min-height:48px;padding:12px 24px 12px 32px;margin-top:12px;border:0;border-radius:0;background:transparent url(petals/btn.png) center/100% 100% no-repeat;font-family:'Cormorant Garamond',serif;font-size:12px;letter-spacing:.14em;font-weight:600}
#rsvp>p{font-size:14px}.cl-form{width:100%;margin:18px auto;text-align:left}.cl-music{z-index:30}#invitation #thanks h2{font-family:'Great Vibes',cursive;font-size:52px;letter-spacing:0;text-transform:none}
@media(max-width:360px){.petals-paper-scroll{inset-inline:28px}.petals-letter-scroll{padding-inline:28px}.petals-letter h1{font-size:38px}.petals-letter p{font-size:18px}}
@media(prefers-reduced-motion:reduce){#invitation,.petals-paper-scroll{scroll-behavior:auto}}
@media print{body.cl-invitation{overflow:visible}#invitation{height:auto;overflow:visible}.petals-letter-scroll,.petals-paper-scroll{position:static;height:auto;overflow:visible}#invitation .petals-letter,.petals-paper{position:relative;height:auto;overflow:visible}.petals-paper-next,#petals-opening{display:none!important}}
/* v1.1.1: permanent content windows, measured from the 430px reference canvas. */
#invitation{container-type:inline-size}
.petals-letter-scroll{position:absolute;inset:18.837cqw 14.419cqw 18.605cqw;height:auto;padding:0;gap:22px;overscroll-behavior-y:auto}
.petals-paper-scroll{inset:22.326cqw 14.419cqw 18.605cqw}
#petals-date{left:50%;top:58%;width:auto;max-width:70%;transform:translate(-50%,-50%);padding:0;background:transparent;border:0;box-shadow:none;text-decoration:none;white-space:nowrap;color:#6c5233;font-family:'Cormorant Garamond',serif;font-size:16px;font-weight:500;letter-spacing:.25em;line-height:1.5;pointer-events:none}
@media(max-width:360px){.petals-letter-scroll{padding:0}.petals-paper-scroll{inset-inline:14.419cqw}}
@media print{.petals-letter-scroll,.petals-paper-scroll{position:static;height:auto;overflow:visible}}

/* While the paper is entering, wheel/touch gestures belong to the outer panel. */
.petals-paper:not(.is-docked) .petals-paper-scroll{overflow-y:hidden;pointer-events:none}
.petals-paper:not(.is-docked) .petals-paper-next{pointer-events:none}
.petals-paper.is-docked .petals-paper-scroll{overflow-y:auto;pointer-events:auto}

/* Optional couple portrait, inside the existing scrolling invitation paper. */
#invitation #couple{min-height:100%;padding:12px 0 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;scroll-margin-top:0}
.petals-couple-eyebrow{font-family:'Cinzel',serif;font-size:10px;letter-spacing:.17em;text-transform:uppercase;color:#927b58;margin:0}
#invitation #couple h2{font-family:'Great Vibes',cursive;font-size:37px;line-height:1.25;letter-spacing:0;text-transform:none;color:#8b7353;margin:0;overflow-wrap:anywhere;max-width:100%}
.petals-couple-portrait{width:100%;max-width:300px;margin:8px auto;padding:6px;border:1px solid #bba47b;background:#fffaf3aa;box-shadow:0 8px 22px #6c56331a}
.petals-couple-portrait img{display:block;width:100%;height:auto;max-height:49svh;object-fit:contain;background:#f8f3eb}
#couple .petals-couple-caption{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:18px;line-height:1.5;color:#8a7455;margin:0;max-width:270px}
#couple .petals-sep{margin:3px auto;width:100px}
@media(max-width:360px){#invitation #couple h2{font-size:31px}#couple .petals-couple-caption{font-size:16px}}
@media print{.petals-couple-portrait img{max-height:none}}

#invitation #couple-gallery{min-height:100%;padding:20px 0 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
#couple-gallery h2{font-size:23px;color:#8b7353}.petals-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:5px 0}.petals-gallery-item{display:block;padding:4px;border:1px solid #bba47b88;background:#fffaf3a6;box-shadow:0 4px 12px #6c563312;transition:transform .2s}.petals-gallery-item img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}.petals-gallery-item:hover{transform:translateY(-2px)}.petals-gallery-item:focus-visible{outline:2px solid #8b7353;outline-offset:3px}.petals-gallery-hint{font-size:14px!important;font-style:italic;color:#8a7455;margin:0}
.petals-gallery-lightbox{position:fixed;inset:0;margin:auto;padding:17px;border:1px solid #bba47b;background:#f8f4ec;color:#645747;width:min(92vw,820px);max-width:92vw;max-height:94dvh;box-shadow:0 20px 70px #0006;text-align:center;z-index:200}.petals-gallery-lightbox::backdrop{background:#16100cdd;backdrop-filter:blur(5px)}.petals-gallery-lightbox>img{display:block;width:100%;height:auto;max-height:70dvh;object-fit:contain;margin:10px auto}.petals-gallery-close{display:block;margin:0 0 8px auto;padding:7px 13px;border:1px solid #bba47b;color:#645747;background:#fffaf3;font:16px 'Cormorant Garamond',serif;cursor:pointer}.petals-gallery-counter{font-size:15px;margin:8px 0}.petals-gallery-navigation{display:flex;justify-content:space-between;gap:15px}.petals-gallery-navigation button{padding:8px 16px;border:1px solid #bba47b;color:#645747;background:#fffaf3;font:16px 'Cormorant Garamond',serif;cursor:pointer}.petals-gallery-lightbox button:focus-visible{outline:2px solid #8b7353;outline-offset:3px}@media(max-width:360px){.petals-gallery-grid{gap:8px}.petals-gallery-lightbox{padding:12px}}@media(prefers-reduced-motion:reduce){.petals-gallery-item{transition:none}}@media print{.petals-gallery-lightbox{display:none}.petals-gallery-grid{break-inside:avoid}}

/* A personal, layered thank-you keepsake inside the existing paper window. */
#invitation #thanks.petals-finale{justify-content:flex-start;gap:0;padding:22px 0 12px;min-height:100%;color:#806b4e}
.petals-finale-card{width:100%;position:relative;padding:27px 17px 28px;border:1px solid #baa27c77;background:linear-gradient(145deg,#fffdf5dc,#f4ecdfb8);box-shadow:0 10px 28px #80644014;isolation:isolate}
.petals-finale-card:before,.petals-finale-card:after{content:'';position:absolute;z-index:-1;width:72px;height:100px;background:url(petals/sep-1.png) center/contain no-repeat;opacity:.35;pointer-events:none}.petals-finale-card:before{left:-12px;top:-20px;transform:rotate(-28deg)}.petals-finale-card:after{right:-12px;bottom:-17px;transform:rotate(155deg)}
#thanks .petals-finale-eyebrow{font-family:'Cinzel',serif;font-size:8px;line-height:1.7;letter-spacing:.15em;text-transform:uppercase;color:#9b805b;margin:0 0 20px}
.petals-finale-photo{width:88%;max-width:245px;margin:0 auto 19px;padding:5px;background:#fffdf8;border:1px solid #bea984;box-shadow:0 7px 19px #735d3626;transform:rotate(-2deg)}.petals-finale-photo img{display:block;width:100%;height:auto;max-height:32svh;object-fit:contain}.petals-finale-initials{font:64px/1.3 'Great Vibes',cursive;color:#9d825e;margin:12px 0 14px}.petals-finale-ornament{width:100px;margin:0 auto 13px;display:block}
#invitation #thanks.petals-finale h2{font-size:39px;line-height:1.3;color:#9d8059;margin:4px -8px 14px}
#thanks .petals-finale-message{font-size:17px;line-height:1.7;color:#8a7354;margin:0 auto;max-width:260px}
#invitation #thanks.petals-finale h3{font-family:'Great Vibes',cursive;font-size:37px;line-height:1.3;font-weight:400;color:#98794f;margin:20px -5px 12px;overflow-wrap:anywhere}
.petals-finale-rule{display:flex;align-items:center;justify-content:center;gap:10px;width:130px;max-width:90%;margin:8px auto 12px;color:#b0966c}.petals-finale-rule:before,.petals-finale-rule:after{content:'';height:1px;flex:1;background:#b69d7255}.petals-finale-rule span{font-size:18px;line-height:1}
#thanks .petals-finale-date{font-family:'Cinzel',serif;font-size:12px;letter-spacing:.18em;color:#8f7350;margin:0}#thanks .petals-finale-venue{font-size:15px;font-style:italic;line-height:1.5;color:#9b835e;margin:7px 0 0}
.petals-finale-rsvp{display:inline-block;margin:21px 0 0;padding:11px 19px;border:1px solid #b29a73;background:#f8f2e7;color:#8a704a;font-family:'Cinzel',serif;font-size:9px;letter-spacing:.12em;text-decoration:none}.petals-finale-rsvp:hover{background:#eee2cf}.petals-finale-rsvp:focus-visible{outline:2px solid #8a704a;outline-offset:4px}
#thanks.petals-finale .petals-credit{font-size:9px;line-height:1.6;margin:26px 0 4px;color:#a58e6e}#thanks.petals-finale>.petals-host-link{font-size:10px;color:#aa9475}
@media(max-width:360px){.petals-finale-card{padding:25px 13px}#invitation #thanks.petals-finale h2{font-size:33px}#invitation #thanks.petals-finale h3{font-size:32px}#thanks .petals-finale-message{font-size:16px}.petals-finale-photo{width:92%}}
/* v1.1.6: one-screen invitation letter, sized to its actual content window. */
.petals-letter-scroll{container-type:size;display:flex;justify-content:center;gap:clamp(7px,1.7cqh,15px);overflow-y:auto;padding-block:5px}
.petals-letter-scroll .petals-initials{font-size:clamp(44px,11.5cqh,68px);line-height:1.05;margin:0;flex-shrink:1}
.petals-letter-scroll .petals-initials img{width:auto;max-width:104px;max-height:clamp(48px,12cqh,80px)}
#invitation .petals-letter-scroll p{font-size:clamp(14px,3.25cqh,18px);line-height:1.42;margin:0}
#invitation .petals-letter-scroll h1{font-size:clamp(28px,6.9cqh,40px);line-height:1.2;margin:0;overflow-wrap:anywhere}
.petals-letter-scroll .petals-sep{width:clamp(80px,22cqw,115px);max-height:30px;object-fit:contain;margin:clamp(2px,.6cqh,5px) auto}
.petals-letter-scroll .petals-next{width:38px;min-height:30px;height:30px;flex-shrink:0;margin:0}.petals-letter-scroll .petals-next img{width:14px}
@media(max-height:680px){.petals-letter-scroll{gap:7px}.petals-letter-scroll .petals-initials{font-size:44px}#invitation .petals-letter-scroll h1{font-size:29px}#invitation .petals-letter-scroll p{font-size:14px;line-height:1.32}.petals-letter-scroll .petals-sep{max-height:22px;margin:2px auto}}
