/* Every rule is scoped to the additional collection; approved designs stay intact. */
.collection-extended .collection-video,.collection-extended .collection-video-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.collection-extended .collection-video{opacity:0;transition:opacity 1s}
.collection-extended .collection-video.is-playing{opacity:.62}
.collection-extended .collection-video-frame{mask-image:radial-gradient(ellipse at center,transparent 20%,#000 76%)}
.collection-extended .inv-section .collection-video,.collection-extended .inv-section .collection-video-frame,.collection-extended .entrance-transition .collection-video{display:none}
.collection-extended{--panel:color-mix(in srgb,var(--paper) 95%,transparent);--accent:color-mix(in srgb,var(--color) 25%,var(--paper))}
body.collection-extended[data-demo="true"][data-landing-preview="false"] .cover{box-sizing:border-box;padding-top:94px}
body.collection-extended[data-demo="true"][data-landing-preview="false"] .cover .cover-content{top:0}
body.collection-dark .cover .guest-block{background:color-mix(in srgb,var(--paper) 94%,var(--color));color:var(--color)}
body.collection-dark .event-block,body.collection-dark .rsvp form,body.collection-dark .gift-card{background:color-mix(in srgb,var(--paper) 93%,var(--color));color:var(--color)}
.collection-dark .invite-button{background:var(--color);color:var(--paper)}
.collection-extended .collection-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
.collection-extended .cover .theme-scene:after{display:none}
.collection-extended .cover-photo,.collection-extended .cover-shade{display:none}
body.collection-extended .cover .cover-content{background:var(--panel);width:calc(100% - 48px);max-width:390px;padding:28px 22px;box-shadow:0 12px 48px #1111110a;border:0;border-radius:160px 160px 12px 12px;color:var(--color)}
.collection-extended .cover .cover-content:before{display:none}
.collection-extended .cover .couple-monogram,.collection-extended .cover .kicker,.collection-extended .cover h1,.collection-extended .cover-date,.collection-extended .cover .guest-block,.collection-extended .cover #open-invitation{animation-duration:.8s;animation-delay:.12s}
.collection-extended .cover-date{animation-delay:.35s}
.collection-extended .cover .guest-block{animation-delay:.45s}
.collection-extended .cover #open-invitation{animation-delay:.55s}
.collection-extended .premium-edition,.collection-extended .portrait-frame{display:none}
.collection-extended .cover .premium-cover-portrait{width:108px;height:136px;margin:0 auto 16px}
.collection-extended .cover .premium-cover-portrait img{border-radius:80px 80px 8px 8px}
.collection-extended .cover .couple-monogram{border:0;width:auto;height:auto;display:flex;align-items:center;justify-content:center;font:30px/1.4 'Great Vibes',cursive;gap:9px;margin:0 auto 12px}
.collection-extended .cover .couple-monogram i{font:italic 16px/1.4 'Cormorant Garamond',serif}
.collection-extended .cover h1{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;font:44px/1.25 'Great Vibes',cursive;letter-spacing:0;margin:12px auto 18px;width:100%}
.collection-extended .cover h1 .ampersand{font:italic 25px/1.4 'Cormorant Garamond',serif;margin:0}
.collection-extended .cover .kicker{font-size:9px;letter-spacing:2px;margin-bottom:12px}
.collection-extended .cover-date{font-size:11px;letter-spacing:1.5px;margin-bottom:20px}
.collection-extended .cover .guest-block{border:0;background:color-mix(in srgb,var(--paper) 76%,white);border-radius:10px;margin:0 auto 18px;padding:12px;max-width:100%}
.collection-extended .guest-block p{font-size:10px;line-height:1.6;margin-bottom:5px}
.collection-extended .guest-block strong{font-size:14px}
.collection-extended .cover #open-invitation{min-width:0;max-width:240px;width:100%;min-height:46px;padding:10px 15px;box-shadow:none}
.collection-extended .invitation-overture{background:var(--paper);margin:0;rotate:none;box-shadow:none;border:0;padding-inline:24px;text-align:center}
body.collection-extended .invitation-overture .overture-copy{width:100%;max-width:400px;background:var(--panel);border:0;border-radius:16px;padding:28px 20px;color:var(--color);box-shadow:0 12px 40px #1111110a}
.collection-extended .overture-photo{width:min(180px,75%);aspect-ratio:4/5;margin:0 auto 22px;rotate:none;padding:0;background:none;box-shadow:none}
.collection-extended .overture-photo img{border-radius:110px 110px 10px 10px}
.collection-extended .overture-copy h2{font:44px/1.3 'Great Vibes',cursive;letter-spacing:0;position:static;margin:18px auto 20px;text-align:center}
.collection-extended .overture-copy h2 i{font:italic 24px/1.4 'Cormorant Garamond',serif}
.collection-extended .collection-welcome,.collection-extended .collection-letter{font:16px/1.7 'Cormorant Garamond',serif;max-width:290px;margin:0 auto 24px}
.collection-extended .collection-signature{font:34px/1.4 'Great Vibes',cursive;margin:24px auto}
.collection-extended .collection-monogram{display:flex;justify-content:center;align-items:center;gap:12px;font:60px/1.4 'Great Vibes',cursive;margin:0 auto 28px}
.collection-extended .collection-monogram i{font:italic 22px/1.4 'Cormorant Garamond',serif}
.collection-extended .overture-date{font-size:11px;letter-spacing:1.5px;margin:22px auto}
.collection-extended .scroll-invitation{margin:22px auto 0}
.collection-extended .inv-section{background:var(--paper);color:var(--color);position:relative;isolation:isolate}
.collection-extended .inv-section .collection-backdrop{opacity:.13}
.collection-extended .inv-section .collection-atmosphere{display:none}
.collection-extended .inv-section>h2,.collection-extended .inv-section .chapter-heading h2{font:36px/1.25 'Cormorant Garamond',serif}
.collection-extended .section-number,.collection-extended .story>.kicker,.collection-extended .premium-event-index,.collection-extended .premium-event-emblem,.collection-extended .gallery-section>.kicker{display:none}
.collection-extended .opening{padding-top:64px;padding-bottom:64px}
.collection-extended .opening .couple-profiles{gap:14px}
.collection-extended .opening .couple-profiles article{padding:20px 14px;margin:0}
.collection-extended .opening .couple-profiles .profile-groom{padding-top:20px}
.collection-extended .profile-photo{outline:none;box-shadow:none;border-radius:130px 130px 8px 8px}
.collection-extended .profile-rule{width:26px;opacity:.25}
.collection-extended .couple-profiles h3{font:32px/1.4 'Cormorant Garamond',serif}
.collection-extended .couple-profiles p{font-size:13px}
.collection-extended .profile-amp{margin:8px auto;font-size:32px}
.collection-extended .events{padding:64px 24px}
.collection-extended .event-block{border:0;background:color-mix(in srgb,var(--paper) 80%,white);border-radius:16px;padding:24px 20px;box-shadow:0 8px 28px #11111106}
.collection-extended .event-block h3{font-size:26px}
.collection-extended .event-block h4{font-size:18px}
.collection-extended .story{min-height:0;padding:64px 28px;text-align:center;border:0}
.collection-extended .story>p{padding:0;border:0}
.collection-extended .gallery-section{padding:64px 24px}
.collection-extended .premium-gallery-frame{rotate:none;padding:6px;background:color-mix(in srgb,var(--paper) 75%,white);border:0;box-shadow:none;border-radius:12px}
.collection-extended .premium-gallery-photo img{border-radius:8px}
.collection-extended .premium-gallery-frame figcaption{display:none}
.collection-extended .rsvp{padding:64px 24px}
.collection-extended .rsvp form,.collection-extended .rsvp-note,.collection-extended .guest-response{background:color-mix(in srgb,var(--paper) 85%,white);color:var(--color)}
.collection-extended .closing{min-height:100dvh;padding:64px 28px}
.collection-extended .closing .collection-backdrop{opacity:.25}
/* Seven different frame and typography compositions. */
body.collection-extended.layout-oval .cover .cover-content{border-radius:48% 48% 18px 18px;padding-top:34px}
.collection-extended.layout-oval .premium-cover-portrait img,.collection-extended.layout-oval .overture-photo img,.collection-extended.layout-oval .profile-photo{border-radius:50%}
.collection-extended.layout-oval .premium-cover-portrait{width:116px;height:116px}
.collection-extended.layout-oval .overture-photo{width:172px;aspect-ratio:1}
body.collection-extended.layout-window .cover .cover-content{border-radius:12px;padding-top:24px}
.collection-extended.layout-window .premium-cover-portrait{width:132px;height:162px}
.collection-extended.layout-window .cover h1{font-family:'Cormorant Garamond',serif;font-size:38px}
.collection-extended.layout-window .overture-copy h2{font-family:'Cormorant Garamond',serif;font-size:38px}
body.collection-extended.layout-seal .cover .cover-content{border-radius:22px;padding-block:36px}
.collection-extended.layout-seal .premium-cover-portrait,.collection-extended.layout-heritage .premium-cover-portrait,.collection-extended.layout-letter .premium-cover-portrait{display:none}
.collection-extended.layout-seal .cover .couple-monogram,.collection-extended.layout-heritage .cover .couple-monogram{font-size:68px;margin-bottom:24px}
.collection-extended.layout-seal .cover h1{font:40px/1.3 'Cormorant Garamond',serif}
body.collection-extended.layout-heritage .cover .cover-content{border-radius:46% 46% 5px 5px;padding-top:42px}
.collection-extended.layout-heritage .cover h1{font:42px/1.3 'Cormorant Garamond',serif;flex-direction:column;gap:0}
.collection-extended.layout-heritage .cover .couple-monogram{font-size:56px}
.collection-extended.layout-heritage .event-block{border-radius:90px 90px 8px 8px;padding-top:36px}
body.collection-extended.layout-editorial .cover .cover-content{border-radius:4px;padding:22px}
.collection-extended.layout-editorial .cover .couple-monogram{display:none}
.collection-extended.layout-editorial .premium-cover-portrait{width:170px;height:194px}
.collection-extended.layout-editorial .premium-cover-portrait img,.collection-extended.layout-editorial .overture-photo img,.collection-extended.layout-editorial .profile-photo{border-radius:0}
.collection-extended.layout-editorial .cover h1,.collection-extended.layout-editorial .overture-copy h2{font:38px/1.2 'Cormorant Garamond',serif}
.collection-extended.layout-editorial .event-block{border-radius:2px}
body.collection-extended.layout-letter .cover .cover-content{border-radius:6px;padding-block:38px}
.collection-extended.layout-letter .cover .couple-monogram{margin-bottom:28px;font-size:42px}
.collection-extended.layout-letter .cover h1{font-size:48px}
.collection-extended.layout-letter .overture-copy h2{font:34px/1.3 'Cormorant Garamond',serif}
.collection-extended.layout-letter .collection-letter{font-size:20px}
/* Small foreground ornaments only. The background image never animates. */
.collection-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.collection-atmosphere>span{position:absolute;width:3px;height:3px;border-radius:50%;left:calc(8% + var(--n)*27%);top:calc(13% + var(--n)*19%);background:var(--color);opacity:.15}
.atmosphere-night>span,.atmosphere-glow>span{box-shadow:0 0 6px var(--color);animation:collection-glimmer calc(4s + var(--n)*1s) calc(var(--n)*-1s) ease-in-out infinite}
.atmosphere-petals>span{width:5px;height:8px;border-radius:60% 10% 60% 10%;animation:collection-petal calc(18s + var(--n)*2s) calc(var(--n)*-5s) linear infinite;opacity:.25}
@keyframes collection-glimmer{0%,100%{opacity:.08}50%{opacity:.45}}
@keyframes collection-petal{from{translate:0 -35px;rotate:0deg}to{translate:12px 700px;rotate:100deg}}
.collection-extended .theme-scene.scene-asleep *,.collection-extended.page-asleep .collection-atmosphere>span,.collection-extended.motion-pause .collection-atmosphere>span{animation-play-state:paused!important}
/* Catalog thumbnails use each design's actual scene and frame. */
.catalog-extended{background:var(--invite-paper)!important}
.catalog-extended>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1!important;filter:none!important}
.catalog-extended:before,.catalog-extended:after{display:none!important}
.catalog-extended .template-paper{color:var(--invite-color);background:color-mix(in srgb,var(--invite-paper) 95%,transparent);width:72%;height:auto;min-height:64%;padding:26px 12px;border:0;box-shadow:none;inset:auto;left:14%;top:18%;border-radius:100px 100px 8px 8px;transform:none;rotate:none}
.catalog-extended .template-paper h3{font:36px/1.25 'Great Vibes',cursive;letter-spacing:0}
.catalog-extended .paper-rule,.catalog-extended .template-paper small{display:none}
.catalog-extended.frame-seal .template-paper{border-radius:12px}
.catalog-extended.frame-oval .template-paper{border-radius:46% 46% 12px 12px}
.catalog-extended.frame-window .template-paper,.catalog-extended.frame-editorial .template-paper,.catalog-extended.frame-letter .template-paper{border-radius:3px}
.catalog-extended.frame-editorial .template-paper h3,.catalog-extended.frame-window .template-paper h3{font-family:'Cormorant Garamond',serif}
@media(min-width:601px){body.collection-extended .cover .cover-content{max-width:410px;padding-block:32px}.collection-extended .overture-photo{width:210px}.collection-extended .opening .couple-profiles{display:grid;grid-template-columns:1fr 40px 1fr;align-items:start;gap:12px}.collection-extended .profile-amp{align-self:center}.collection-extended .opening .couple-profiles article{padding:20px 8px}.collection-extended .profile-photo{width:100%;max-width:180px}.collection-extended .couple-profiles h3{font-size:29px}}
@media(max-height:740px){body.collection-extended .cover .cover-content{padding-block:20px;margin-block:18px}.collection-extended .cover .premium-cover-portrait{width:92px;height:110px}.collection-extended .cover .couple-monogram{margin-bottom:8px}.collection-extended .cover h1{font-size:36px;margin-block:10px}.collection-extended .cover-date{margin-bottom:14px}.collection-extended .cover .guest-block{margin-bottom:14px}.collection-extended.layout-seal .cover .couple-monogram,.collection-extended.layout-heritage .cover .couple-monogram{font-size:46px;margin-bottom:14px}}
@media(prefers-reduced-motion:reduce){.collection-extended .collection-atmosphere>span{animation:none!important;opacity:.25}}
@media(max-height:740px){
 body.collection-extended .cover .cover-content{padding:18px 18px;margin-block:0}
 .collection-extended .cover .couple-monogram{font-size:30px;line-height:1.2;margin-bottom:10px}
 .collection-extended.layout-seal .cover .couple-monogram,.collection-extended.layout-heritage .cover .couple-monogram{font-size:42px;line-height:1.2;margin-bottom:12px}
 .collection-extended .cover .kicker{margin-bottom:8px;font-size:8px;letter-spacing:1.5px}
 .collection-extended .cover h1,.collection-extended.layout-letter .cover h1,.collection-extended.layout-seal .cover h1,.collection-extended.layout-window .cover h1,.collection-extended.layout-heritage .cover h1{font-size:32px;line-height:1.18;margin:10px auto 12px}
 .collection-extended.layout-heritage .cover h1{flex-direction:row;gap:6px}
 .collection-extended .cover-date{margin-bottom:12px}
 .collection-extended .cover .guest-block{padding:10px;margin-bottom:12px}
 .collection-extended .cover .guest-block p{font-size:9px}
 .collection-extended .cover .guest-block strong{font-size:12px}
 .photos-character.collection-extended .character-cover{width:150px;height:100px;margin-bottom:10px}
}

.playful-assets{position:absolute;inset:0;pointer-events:none;z-index:4;overflow:hidden}.playful-flowers{position:absolute;left:-3%;bottom:0;width:106%;height:110px;object-fit:contain;transform-origin:bottom;animation:playful-flower-sway 6s ease-in-out infinite alternate}.playful-cloud{position:absolute;width:90px;height:32px;border-radius:50%;background:#fffdf5;box-shadow:22px -11px 0 #fffdf5,-20px 4px 0 #fffdf5;top:17%;left:-30px;opacity:.8;animation:playful-cloud-drift 12s ease-in-out infinite alternate}.cloud-two{left:auto;right:-25px;top:42%;scale:.6;animation-delay:-6s}.playful-light{position:absolute;font-size:20px;color:#b58d4c;animation:playful-star 3s ease-in-out infinite}.light-one{left:9%;top:34%}.light-two{right:10%;top:60%;animation-delay:-1.5s}.playful-butterfly{position:absolute;left:9%;top:60%;font-size:27px;color:#dc9b83;animation:playful-butterfly-path 10s ease-in-out infinite}.inv-section .playful-assets{opacity:.7}.inv-section .playful-flowers{height:75px}.playful-premium .playful-flowers{animation-duration:4.5s}.playful-meadow .playful-cloud{opacity:.55}.scene-asleep .playful-assets *,.page-asleep .playful-assets *,.motion-pause .playful-assets *{animation-play-state:paused!important}@keyframes playful-flower-sway{from{rotate:-2deg}to{rotate:2deg;translate:0 -6px}}@keyframes playful-cloud-drift{from{translate:-8px 0}to{translate:32px 4px}}@keyframes playful-star{0%,100%{opacity:.25;scale:.7}50%{opacity:.9;scale:1}}@keyframes playful-butterfly-path{0%,100%{translate:0 0;rotate:-10deg}35%{translate:30px -50px;rotate:14deg}70%{translate:-5px -20px;rotate:-5deg}}@media(prefers-reduced-motion:reduce){.playful-assets *{animation:none!important}}

.playful-butterfly{width:30px;height:30px;object-fit:contain}

.fairytale-lanterns{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}.fairytale-lanterns img{position:absolute;width:38px;height:70px;object-fit:contain;left:calc(5% + var(--n)*83%);top:28%;animation:fairytale-lantern-rise 12s ease-in-out infinite;animation-delay:calc(var(--n)*-6s)}@keyframes fairytale-lantern-rise{0%,100%{translate:0 20px;rotate:-4deg;opacity:.6}50%{translate:8px -35px;rotate:4deg;opacity:1}}.scene-asleep .fairytale-lanterns img,.page-asleep .fairytale-lanterns img,.motion-pause .fairytale-lanterns img{animation-play-state:paused!important}@media(prefers-reduced-motion:reduce){.fairytale-lanterns img{animation:none!important}}
.collection-extended .playful-assets,.collection-extended .fairytale-lanterns{position:absolute!important;z-index:6}.collection-extended .inv-section>.playful-assets,.collection-extended .inv-section>.fairytale-lanterns{z-index:-1;opacity:.5}.theme-scene.scene-asleep~.playful-assets *,.theme-scene.scene-asleep~.fairytale-lanterns *{animation-play-state:paused!important}
/* Dark catalog previews require a dark panel behind their light invitation ink. */
.template-art.catalog-night .template-paper{background:#172534ed!important;color:#f6e9cd!important;outline:0;border-color:#d8bf8038}
.template-art.catalog-night .template-paper :is(p,h3,.sample-date,small){color:inherit!important;opacity:1}

/* Center the composition independently from card size and inherited paper width. */
.template-art .template-paper{position:absolute;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;translate:-50% -50%;margin:0;transform:none;rotate:0deg!important}
.template-art.catalog-extended .template-paper{width:72%;max-width:260px;min-height:64%;padding:26px 12px;left:50%;top:50%;right:auto;bottom:auto;display:flex;flex-direction:column;align-items:center;justify-content:center}
