/* Targeted photo framing and test-environment identification. */
.preview-note{position:relative;z-index:20;text-align:center;padding:8px 12px;background:#e6ecf2;color:#53677c;font:10px/1.5 'DM Sans',sans-serif;letter-spacing:.08em}.preview-note a{margin-left:12px;color:inherit}.envelope-screen{top:0}.fairytale-scene{max-width:none!important;width:100%;padding-inline:0!important}.hero-photo{grid-column:1/-1!important;grid-row:auto!important;order:4;width:100%!important;max-width:none!important;aspect-ratio:auto!important;height:auto!important;margin:0!important;mask-image:none!important;-webkit-mask-image:none!important;overflow:visible!important}.hero-photo .photo-expand{height:auto}.hero-photo img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}.hero-photo:after,.photo-aura,.portrait-fireflies{display:none!important}.hero-photo-details{position:static!important;padding:25px 15px!important;color:#5a7087!important;text-shadow:none!important;background:#eaf0f6}.hero-photo-details .royal-date b{border-color:#92aac3!important}.fairytale-scene>.eyebrow,.fairytale-scene>h1,.fairytale-scene>.royal-subtitle,.fairytale-scene>.button,.castle-art{grid-column:1/-1!important;grid-row:auto!important;justify-self:center}.fairytale-scene{display:flex!important;flex-direction:column!important;align-items:center!important}.castle-art{position:relative!important;right:auto!important;top:auto!important}.fairytale-scene>h1{margin-inline:0!important}.princess-moment,.photo-chapter{height:auto!important;aspect-ratio:auto!important}.photo-chapter .photo-expand{max-width:none!important}.princess-moment img,.photo-chapter img{width:100%;height:auto!important;object-fit:contain!important}.photo-chapter:before,.photo-chapter:after{display:none!important}.story-confetti{opacity:.45;pointer-events:none}.scene-magic{opacity:.45}.royal-date b{font-size:48px!important}.hero-photo img{aspect-ratio:4000/3655}.hero-photo-details .hero-hours span{color:#7591ad!important}
@media(max-width:700px){.hero-photo img{height:106vw!important;object-fit:cover!important;object-position:30% 40%!important}.site-header{top:0}.preview-note{font-size:9px}.princess-moment img{height:auto!important}}
@media print{.preview-note{display:none}}

#main-content{max-width:none}.section{max-width:1100px;margin-inline:auto}.preview-note{position:relative}.hero-photo-details .royal-date{color:#5a7087}.photo-chapter{width:100%}
.fairytale-scene>.castle-art{order:0!important}.fairytale-scene>.eyebrow{position:static!important;order:1!important;margin:0 auto!important;align-self:center!important;text-align:center!important}.fairytale-scene>h1{order:2!important}.fairytale-scene>.royal-subtitle{order:3!important;margin-bottom:22px!important}.fairytale-scene>.hero-photo{order:4!important}.fairytale-scene>.button{order:5!important;margin:25px auto!important}.fairytale-scene>.carriage-art{order:6!important;display:none!important}

/* Blue tones apply only to interface and decorative art; photographs stay original. */
:root{--pink:#e3eff9;--paper:#f3f8fd;--rose:#4674a3;--ink:#304f70;--gold:#517caa;--line:#aac5df;--soft:#d5e7f7;--color-secondary:#517caa}
#main-content,.hero,.section,.envelope-stage{background-color:#e3eff9;background-blend-mode:luminosity}
.envelope-screen{background:radial-gradient(ellipse at center,#f9fcff,#dceaf7)}
.castle-art,.envelope-art,.gift-art,.footer-castle,.carriage-art{filter:sepia(1) saturate(1.55) hue-rotate(166deg) drop-shadow(0 8px 16px #527ba21a)!important}
.scene-magic:after{filter:sepia(1) saturate(1.2) hue-rotate(166deg)}
footer{background-color:#a8c7e2;background-blend-mode:luminosity}
.hero-photo-details{background:#edf5fc!important;color:#416b96!important}.hero-photo-details .royal-date{color:#416b96!important}.hero-photo-details .royal-date b{border-color:#a3bfd9!important}
.preview-note{background:#e2edf7;color:#436484}.site-header{background:#f2f8fde8}.wordmark,.fairytale-scene h1,.opening-title,.opening-signature{color:#4875a4!important}
.eyebrow,.royal-subtitle{color:#537ca3!important}.fairytale-scene>.eyebrow{background:none!important;text-shadow:none!important}
.hero{background:linear-gradient(135deg,#e2eefb,#f2f8fe 58%,#e5f0fb)!important}.kingdom-atmosphere{filter:sepia(1) saturate(.7) hue-rotate(166deg)}
/* Clear paper texture, without the earlier luminous filter. */
.envelope-stage:before{display:none!important}.envelope-stage{background:#e5eff8!important}
.envelope-art{background-image:url('assets/sobre-azul-natural.png')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;aspect-ratio:3/2!important;width:92%!important;left:4%!important;filter:none!important;opacity:1!important;mask-image:none!important;-webkit-mask-image:none!important;box-shadow:none!important}
#envelope-name{font-size:clamp(18px,4.5vw,25px);padding-inline:16px;line-height:1.3}
.castle-art{background-image:url('assets/castillo-azul-natural.png')!important;background-size:contain!important;background-position:center!important;aspect-ratio:1/1!important;filter:none!important;mask-image:none!important;-webkit-mask-image:none!important;opacity:1!important;margin-bottom:0!important;transform:none!important}
.image-magic{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3;border-radius:inherit}.image-magic i{position:absolute;left:var(--x);top:var(--y);width:3px;height:5px;border-radius:1px;background:#9ebfdf;opacity:0;animation:blue-magic-drift var(--duration) ease-in-out var(--delay) infinite;animation-play-state:paused}.image-magic i:nth-child(3n){width:4px;height:4px;clip-path:polygon(50% 0,62% 36%,100% 50%,62% 64%,50% 100%,38% 64%,0 50%,38% 36%);background:#fff}.magic-visible>.image-magic i{animation-play-state:running}.gift-art,.footer-castle,.envelope-art{position:relative}.envelope-art{position:absolute}
@keyframes blue-magic-drift{0%,100%{transform:translate(0,8px) rotate(0);opacity:0}25%{opacity:.5}60%{opacity:.3}80%{transform:translate(3px,-26px) rotate(65deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.image-magic{display:none!important}}
@media print{.image-magic{display:none!important}}
.countdown-section:before{background-image:url('assets/corona-azul-nitida.png')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;aspect-ratio:3/2!important;width:125px!important;mask-image:none!important;-webkit-mask-image:none!important;filter:none!important}
.gift-art{background-image:url('assets/regalos-azules-nitidos.png')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;aspect-ratio:3/2!important;width:230px!important;mask-image:none!important;-webkit-mask-image:none!important;filter:none!important}
footer .footer-castle{background-image:url('assets/castillo-azul-natural.png')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;aspect-ratio:1!important;mask-image:none!important;-webkit-mask-image:none!important;filter:none!important;opacity:1!important}
/* Clearly visible, continuous confetti in side bands; central faces stay unobstructed. */
.image-magic{z-index:5!important}.image-magic i{width:5px;height:10px;background:#4d89bf;box-shadow:0 1px 2px #254e7533;opacity:0;animation-name:blue-magic-fall;animation-timing-function:linear}.image-magic i:nth-child(2n){background:#e9f7ff;width:5px;height:8px;box-shadow:0 0 2px #477aa7}.image-magic i:nth-child(3n){width:10px;height:10px;background:#76b4e8;box-shadow:none}.image-magic i:nth-child(5n){background:#acc8dd;border-radius:50%;width:5px;height:5px;clip-path:none}
@keyframes blue-magic-fall{0%{transform:translate(0,-65px) rotate(0deg);opacity:0}10%{opacity:.85}50%{transform:translate(8px,25px) rotate(95deg);opacity:.9}85%{opacity:.8}100%{transform:translate(0,125px) rotate(190deg);opacity:0}}
/* Seamless image transitions into the invitation's blue paper. */
.castle-art,footer .footer-castle{mask-image:linear-gradient(to bottom,transparent 0%,#000 6%,#000 87%,transparent 100%),linear-gradient(to right,transparent 0%,#000 9%,#000 91%,transparent 100%)!important;mask-composite:intersect!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 6%,#000 87%,transparent 100%),linear-gradient(to right,transparent 0%,#000 9%,#000 91%,transparent 100%)!important;-webkit-mask-composite:source-in!important;background-color:transparent!important}
.princess-moment{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}.princess-moment .photo-expand{mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 81%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 8%,#000 81%,transparent 100%)!important}.princess-moment img{border:0!important;border-radius:0!important;box-shadow:none!important}
.hero-photo{background:#edf5fc!important}.hero-photo .photo-expand{mask-image:linear-gradient(to bottom,#000 0%,#000 66%,transparent 92%)!important;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 66%,transparent 92%)!important}.hero-photo-details{margin-top:-1px!important}
@media(max-width:700px){.hero-photo img{height:auto!important;object-fit:contain!important;aspect-ratio:4000/3655!important}}
/* One continuous visual flow across every photographic chapter and ornament. */
.story-portrait,.photo-chapter,.princess-moment{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.story-portrait .photo-expand{border:0!important;border-radius:0!important;box-shadow:none!important;mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 83%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 83%,transparent 100%)!important}
.story-portrait img{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.hero-photo{background:transparent!important}.hero-photo .photo-expand{mask-image:linear-gradient(to bottom,transparent 0%,#000 6%,#000 66%,transparent 92%)!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 6%,#000 66%,transparent 92%)!important}
.hero-photo-details{background:transparent!important;margin-top:-16px!important;padding-top:10px!important}
.photo-chapter{margin-block:-18px!important}.photo-chapter+.section{padding-top:40px}.princess-moment{margin-block:12px!important}
.envelope-art{mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 85%,transparent 100%),linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%)!important;mask-composite:intersect!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 85%,transparent 100%),linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%)!important;-webkit-mask-composite:source-in!important}
.gift-art{background-color:transparent!important;box-shadow:none!important}.countdown-section:before{background-color:transparent!important;box-shadow:none!important}
footer{background-image:none!important;background:linear-gradient(to bottom,#e5eff8 0%,#b8d2e9 42%,#7797b5 100%)!important;padding-top:34px!important}footer:before{background:none!important}.lantern-chapter{margin-bottom:-32px!important;position:relative;z-index:1}
.family-section,.gifts,.countdown-section,#event-info-section,#itinerary-section,.music-section,.memories-section,.faq,#dress-section,.rsvp-section{background-image:none!important;background-color:transparent!important}
#main-content{background-image:none!important;background:linear-gradient(180deg,#f5fbff 0%,#e6f0f9 26%,#e0ecf6 60%,#e5eff8 100%)!important}.hero{background:transparent!important}.hero .kingdom-atmosphere{opacity:.2}.personal-welcome{background:transparent!important;border:0!important}.section:after{opacity:.28}
.shared-album img,.shared-album video{border:0!important;border-radius:0!important;box-shadow:none!important;mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 90%,transparent)!important;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 8%,#000 90%,transparent)!important}
@media print{.story-portrait .photo-expand,.envelope-art{mask-image:none!important;-webkit-mask-image:none!important}}
.story-portrait .photo-expand{mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 83%,transparent 100%),linear-gradient(to right,transparent 0%,#000 4%,#000 96%,transparent 100%)!important;mask-composite:intersect!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 9%,#000 83%,transparent 100%),linear-gradient(to right,transparent 0%,#000 4%,#000 96%,transparent 100%)!important;-webkit-mask-composite:source-in!important}
.hero-photo .photo-expand{mask-image:linear-gradient(to bottom,transparent 0%,#000 6%,#000 66%,transparent 92%),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent)!important;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 6%,#000 66%,transparent 92%),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent)!important}
.floating-music{position:fixed;right:18px;bottom:20px;z-index:250;width:56px;height:56px;border-radius:50%;border:1px solid #aac8e1;background:#416e9a;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 18px #24435f40;cursor:pointer;transition:background .2s,transform .2s}.floating-music:hover{background:#315b84;transform:translateY(-2px)}.floating-music svg{width:27px;height:27px}.floating-music[aria-busy=true]{opacity:.65}.locked .floating-music{display:none}.guest-dock{max-width:calc(100% - 100px);left:12px!important;right:auto!important;transform:none!important}.envelope-gift{max-width:440px;margin:40px auto 0;padding:28px 18px 10px;border-top:1px solid #9bbbd766}.envelope-gift-symbol{display:block;font:40px/1 Georgia;color:#648db5;margin-bottom:12px}.envelope-gift h3{font-family:'Berkshire Swash',Georgia,serif;font-size:28px;color:#5079a3;margin-bottom:15px}.envelope-gift p{font-size:20px;line-height:1.7;color:#45637f}.floating-music.is-playing{box-shadow:0 0 0 5px #75a8d51f,0 4px 18px #24435f40}
@media print{.floating-music{display:none!important}}
.music-section #spotify-container{max-width:540px;margin:28px auto 0}.music-section #spotify-container iframe{display:block;border:0;width:100%;border-radius:12px}
.filigrana-credit{position:relative;z-index:2;max-width:440px;margin:55px auto 0;padding:30px 18px 6px;border-top:1px solid #ffffff55;text-align:center}.filigrana-kicker{font:9px/1.7 'DM Sans',sans-serif!important;letter-spacing:.18em;text-transform:uppercase;color:#f2f8ff!important;margin-bottom:16px!important}.filigrana-logo{display:block!important;width:126px!important;height:auto!important;max-width:45%!important;margin:0 auto 12px!important;filter:brightness(0) invert(1);opacity:.95;mask-image:none!important;-webkit-mask-image:none!important;border:0!important;box-shadow:none!important;background:transparent!important}.filigrana-name{font:20px/1.4 'Cormorant Garamond',Georgia,serif!important;color:#fff!important;letter-spacing:.05em}.filigrana-description{font:12px/1.7 'DM Sans',sans-serif!important;color:#f1f7fd!important;margin:9px auto 20px!important;max-width:290px}.filigrana-credit .filigrana-contact{display:inline-flex;align-items:center;justify-content:center;padding:11px 24px;border:1px solid #e2eefb;border-radius:24px;font:12px/1.5 'DM Sans',sans-serif;text-decoration:none;color:#fff;background:#ffffff14;min-height:44px}.filigrana-credit .filigrana-contact:hover{background:#ffffff29}
@media print{.filigrana-credit{display:none!important}}
