body.opening-visible .demo-return{visibility:hidden!important}
.ec-opening{--opening-paper:#fbf4e8;--opening-ink:#244e4a;--opening-accent:#b69660;position:fixed;inset:0;margin:0;padding:0;border:0;width:100%;max-width:none;height:100dvh;max-height:none;overflow:auto;background:var(--opening-paper);color:var(--opening-ink)}
.ec-opening::backdrop{background:var(--opening-paper)}.ec-opening *{box-sizing:border-box}.eo-header{display:flex;align-items:center;justify-content:space-between;padding:22px 5vw;position:relative;z-index:3;font:11px var(--sans)}.eo-header a{color:inherit;text-decoration:none}.eo-header button{border:0;background:none;color:inherit;min-width:40px;min-height:40px;font:11px var(--sans)}.eo-header button[aria-pressed=true]{text-decoration:underline;text-underline-offset:5px}
.eo-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:calc(100dvh - 90px);max-width:1200px;margin:auto;padding:35px 6vw 65px;gap:7vw}.eo-copy{text-align:center}.eo-eyebrow{font:10px/1.8 var(--sans);letter-spacing:.16em;text-transform:uppercase}.eo-copy h1{font:400 clamp(52px,6vw,86px)/.95 var(--serif);margin:24px 0;letter-spacing:-.035em}.eo-copy h1 em{display:block;font:italic .5em var(--serif);margin:13px}.eo-date,.eo-guest{font:12px/1.8 var(--sans)}.eo-guest{font:italic 20px var(--serif);margin:20px}.eo-open{background:var(--opening-ink);color:var(--opening-paper);border:1px solid var(--opening-ink);padding:18px 25px;display:inline-flex;align-items:center;gap:25px;font:12px var(--sans);min-height:52px;margin-top:22px;cursor:pointer}.eo-music{display:flex;gap:8px;align-items:center;justify-content:center;font:11px var(--sans);margin:20px 0}.eo-music input{accent-color:var(--opening-ink);width:17px;height:17px}.eo-skip{display:block;margin:18px auto;border:0;border-bottom:1px solid currentColor;background:none;padding:7px;color:inherit;font:11px var(--sans);cursor:pointer}.eo-note{font:9px/1.6 var(--sans);opacity:.65;margin-top:24px}.eo-object{position:relative;min-height:400px;display:grid;place-items:center;perspective:1200px}.eo-object>div{display:none}.eo-object .eo-shadow{display:block;position:absolute;width:230px;height:30px;background:#163c3418;border-radius:50%;filter:blur(10px);bottom:3%;left:50%;transform:translateX(-50%)}
.eo-bottle{width:120px;height:250px;border:2px solid #509498;border-radius:20px 20px 38px 38px;background:linear-gradient(100deg,#ffffffad,#b9e6dd55 35%,#68b6b654);position:relative;transform:rotate(12deg);box-shadow:inset 12px 0 14px #ffffff77,0 18px 40px #2d8f8d20;animation:eo-bob 5s ease-in-out infinite}.eo-cork{position:absolute;left:35px;top:-48px;width:46px;height:60px;background:repeating-linear-gradient(100deg,#bb9460 0 3px,#caa775 3px 8px);border:1px solid #8f704d;border-radius:7px;transition:transform .65s,opacity .65s}.eo-message{position:absolute;inset:55px 22px 35px;background:#fff7df;display:grid;place-items:center;color:#a76d54;font:45px var(--serif);box-shadow:5px 0 8px #3e75642a;transform:rotate(-8deg);transition:transform 1s,opacity 1s}.eo-ripple{position:absolute;bottom:0;width:100%;height:60px;border-radius:50%;background:#8fcac52a;animation:eo-ripple 4s ease-in-out infinite}
.ec-opening[data-opening=beach]{background:linear-gradient(#e0f0eb 0 70%,#f7efd9 70%);--opening-ink:#165f69}.ec-opening[data-opening=beach] .eo-bottle,.ec-opening[data-opening=beach] .eo-ripple{display:block}.ec-opening[data-opening=beach].is-unsealing .eo-cork{transform:translate(20px,-120px) rotate(45deg);opacity:0}.ec-opening[data-opening=beach].is-unsealing .eo-message{transform:translateY(-240px) rotate(0);opacity:0}.ec-opening[data-opening=beach].is-unsealing .eo-bottle{animation:none;transform:rotate(0);transition:transform .6s}
.eo-doors{display:flex;width:270px;height:370px;border:10px double #b69c70;border-radius:150px 150px 0 0;background:radial-gradient(ellipse,#fff9de,#e5cf96);box-shadow:0 15px 40px #604c2629;overflow:hidden;perspective:900px}.eo-doors>i{width:50%;height:100%;background:repeating-linear-gradient(90deg,#647368 0 3px,#526456 3px 42px);border:1px solid #e4d8b5;position:relative;transition:transform 1s ease;transform-origin:left center}.eo-doors>i+i{transform-origin:right center}.eo-doors>i:after{content:'';position:absolute;top:60%;right:12px;width:6px;height:34px;background:#d4bb7e;border-radius:4px}.eo-doors>i+i:after{left:12px;right:auto}.ec-opening[data-opening=church] .eo-doors{display:flex}.ec-opening[data-opening=church]{background:#efeade;--opening-ink:#3b5144}.ec-opening[data-opening=church].is-unsealing .eo-doors>i:first-child{transform:rotateY(-115deg)}.ec-opening[data-opening=church].is-unsealing .eo-doors>i+i{transform:rotateY(115deg)}
.eo-passport{width:260px;height:350px;border-radius:9px 22px 22px 9px;background:linear-gradient(100deg,#173e3b 0 5%,#285652 6% 100%);color:#dec589;border:1px solid #d5bc7c;outline:1px solid #dec589;outline-offset:-15px;box-shadow:8px 12px 0 #e4ddc9,14px 20px 35px #183e392a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:42px;transform:rotate(-9deg);transform-origin:left center;transition:transform 1s,opacity 1s}.eo-passport>span{font:19px var(--serif);letter-spacing:.18em}.eo-passport svg{width:80px;height:80px}.eo-passport small{font:8px var(--sans);letter-spacing:.12em;text-align:center}.ec-opening[data-opening=abroad] .eo-passport{display:flex}.ec-opening[data-opening=abroad]{background:repeating-linear-gradient(0deg,#eee9db 0 1px,#f8f3e7 1px 8px);--opening-ink:#244b46}.ec-opening[data-opening=abroad].is-unsealing .eo-passport{transform:rotate(-3deg) rotateY(-120deg);opacity:0}
.eo-envelope{width:320px;height:220px;background:#f8edda;box-shadow:0 20px 50px #4b49311a;position:relative;border:1px solid #c8ba9c;perspective:900px}.eo-envelope:after{content:'';position:absolute;inset:0;background:linear-gradient(32deg,#f2e3c9 50%,transparent 50%),linear-gradient(-32deg,#f2e3c9 50%,transparent 50%);pointer-events:none}.eo-flap{position:absolute;inset:0;background:#e7d7b8;clip-path:polygon(0 0,100% 0,50% 64%);transform-origin:top;transition:transform .8s;z-index:1}.eo-envelope>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-20%);z-index:2;background:#a36e5d;border:4px double #c98c72;color:#f9e8ce;border-radius:50%;width:66px;height:66px;display:grid;place-items:center;transition:transform .5s,opacity .5s}.eo-envelope svg{width:27px;height:27px}.ec-opening[data-opening=timeline] .eo-envelope{display:block}.ec-opening[data-opening=timeline].is-unsealing .eo-envelope>span{transform:translate(-50%,-20%) scale(1.6);opacity:0}.ec-opening[data-opening=timeline].is-unsealing .eo-flap{transform:rotateX(160deg)}
.ec-opening.is-unsealing .eo-copy{animation:eo-copy-away 1s both}.eo-open:focus-visible,.eo-skip:focus-visible,.eo-header a:focus-visible{outline:3px solid var(--opening-accent);outline-offset:5px}
@keyframes eo-bob{50%{transform:translateY(-12px) rotate(8deg)}}@keyframes eo-ripple{50%{transform:scaleX(.8);opacity:.5}}@keyframes eo-copy-away{to{opacity:0;transform:translateY(-15px)}}
@media(max-width:760px){.eo-header{padding:12px 18px}.eo-layout{display:flex;flex-direction:column;gap:10px;min-height:0;padding:10px 24px 35px}.eo-object{min-height:220px;width:100%;max-width:350px;flex-shrink:0}.eo-copy h1{font-size:48px;margin:17px 0}.eo-copy h1 em{display:inline;font-size:.55em;margin:0 12px}.eo-copy{width:100%}.eo-eyebrow{font-size:9px}.eo-date{font-size:11px}.eo-guest{margin:14px;font-size:17px}.eo-open{margin-top:10px;padding:15px 20px}.eo-music{margin:15px 0}.eo-skip{margin:10px auto}.eo-note{margin-top:15px}.eo-bottle{width:75px;height:155px}.eo-cork{left:21px;top:-30px;width:30px;height:36px}.eo-message{inset:35px 13px 20px;font-size:30px}.eo-ripple{height:30px}.eo-object .eo-shadow{width:150px}.eo-doors{width:165px;height:215px;border-width:7px}.eo-passport{width:150px;height:200px;gap:22px;outline-offset:-10px}.eo-passport>span{font-size:12px}.eo-passport svg{width:45px;height:45px}.eo-passport small{font-size:6px;max-width:110px;line-height:1.5}.eo-envelope{width:235px;height:155px}.eo-envelope>span{width:52px;height:52px}.ec-opening[data-opening=beach]{background:linear-gradient(#e0f0eb 0 40%,#f7efd9 40%)}}
@media(prefers-reduced-motion:reduce){.ec-opening *{animation:none!important;transition:none!important}}

body.opening-visible{overflow:hidden}
@media(max-width:760px) and (max-height:720px){.eo-layout{gap:4px;padding-top:0;padding-bottom:20px}.eo-object{min-height:165px}.eo-copy h1{font-size:42px;margin:12px 0}.eo-copy .eo-eyebrow{margin:8px 0}.eo-guest{margin:9px}.eo-music{margin:12px 0}.eo-skip{margin:7px auto}.eo-note{margin-top:10px}.eo-bottle{width:62px;height:125px}.eo-cork{left:17px;top:-24px;width:24px;height:29px}.eo-message{inset:28px 10px 15px;font-size:25px}.eo-doors{width:125px;height:165px}.eo-passport{width:120px;height:160px;gap:16px}.eo-passport>span{font-size:10px}.eo-passport svg{width:35px;height:35px}.eo-passport small{font-size:5px;max-width:90px}.eo-envelope{width:200px;height:125px}.eo-envelope>span{width:45px;height:45px}}

.eo-object[role=button]{cursor:pointer;border-radius:24px}.eo-object[role=button]:focus-visible{outline:2px solid var(--opening-accent);outline-offset:5px}

.ec-opening[data-opening=classic] .eo-envelope,.ec-opening[data-opening=coastal] .eo-envelope,.ec-opening[data-opening=editorial] .eo-envelope{display:block}.ec-opening[data-opening=inland] .eo-doors{display:flex;border-color:#bd855e;background:#f2d4a4}.ec-opening[data-opening=inland] .eo-doors>i{background:repeating-linear-gradient(90deg,#995a3c 0 3px,#8b4c32 3px 42px)}.ec-opening[data-opening=inland].is-unsealing .eo-doors>i:first-child{transform:rotateY(-115deg)}.ec-opening[data-opening=inland].is-unsealing .eo-doors>i+i{transform:rotateY(115deg)}.ec-opening[data-opening=classic].is-unsealing .eo-flap,.ec-opening[data-opening=coastal].is-unsealing .eo-flap,.ec-opening[data-opening=editorial].is-unsealing .eo-flap{transform:rotateX(160deg)}.ec-opening[data-opening=classic].is-unsealing .eo-envelope>span,.ec-opening[data-opening=coastal].is-unsealing .eo-envelope>span,.ec-opening[data-opening=editorial].is-unsealing .eo-envelope>span{transform:translate(-50%,-20%) scale(1.6);opacity:0}.ec-opening[data-opening=coastal]{background:repeating-linear-gradient(90deg,#e1e7d5 0 28px,#f4efe4 28px 56px)}.ec-opening[data-opening=editorial]{background:var(--opening-paper);color:var(--opening-ink)}.ec-opening[data-opening=editorial] .eo-envelope{background:#30352f;border-color:#b7a17a}.ec-opening[data-opening=editorial] .eo-envelope:after{background:linear-gradient(32deg,#25342f 50%,transparent 50%),linear-gradient(-32deg,#25342f 50%,transparent 50%)}.ec-opening[data-opening=editorial] .eo-flap{background:#4b5144}.ec-opening[data-opening=editorial] .eo-envelope>span{background:#b49361;border-color:#d7bd90;color:#2d332b}.ec-opening .eo-copy h1{font-size:clamp(48px,6vw,76px)}

/* Opening surfaces and their text must always use the same colour pair. */
.ec-opening[data-opening]{background:var(--opening-paper);color:var(--opening-ink)}
.ec-opening .eo-header,.ec-opening .eo-header :is(a,button),.ec-opening .eo-copy,.ec-opening .eo-copy :is(h1,p,label),.ec-opening .eo-skip{color:var(--opening-ink)}
.ec-opening .eo-copy .eo-open{background:var(--opening-ink);color:var(--opening-paper);border-color:var(--opening-ink);white-space:normal;max-width:100%;justify-content:center;line-height:1.5}
.ec-opening .eo-open span{color:inherit}
.ec-opening .eo-copy .eo-note{opacity:1;font-size:11px;line-height:1.7}
.ec-opening .eo-copy h1{font-size:clamp(36px,4.6vw,64px);line-height:1.08;overflow-wrap:anywhere}
.ec-opening .eo-date{font-size:14px;line-height:1.7}
.ec-opening .eo-music{font-size:13px;line-height:1.6}
.ec-opening .eo-music input{flex-shrink:0;accent-color:var(--opening-ink)}
.ec-opening .eo-skip{font-size:12px;min-height:40px}
.ec-opening .eo-layout>div{min-width:0}
.ec-opening .eo-copy p{overflow-wrap:anywhere}
.ec-opening .eo-header :is(button,a):focus-visible,.ec-opening .eo-skip:focus-visible,.ec-opening .eo-open:focus-visible{outline:3px solid var(--opening-accent);outline-offset:4px}
@media(max-width:760px){
 .ec-opening .eo-copy h1{font-size:clamp(30px,9vw,40px);line-height:1.12}
 .ec-opening .eo-header{padding-inline:18px;gap:10px}
 .ec-opening .eo-header>a,.ec-opening .eo-header>span{min-width:0;overflow-wrap:anywhere}
 .ec-opening .eo-layout{padding-inline:24px}
 .ec-opening .eo-music{align-items:center}
 .ec-opening .eo-open{gap:15px;padding:14px 18px}
 .ec-opening .eo-passport small{font-size:8px;line-height:1.4}
}

/* A sculptural folding art card, exclusive to Atelier Amour. */
.eo-atelier{display:none}.ec-opening[data-opening=atelier] .eo-atelier{display:grid;place-items:center;width:250px;height:330px;position:relative;transform:rotate(-7deg);perspective:900px;color:var(--opening-ink);transition:transform 1s cubic-bezier(.2,.7,.2,1)}.eo-atelier-front{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:35px;background:var(--opening-paper);border:1px solid var(--opening-ink);box-shadow:14px 18px 0 color-mix(in srgb,var(--opening-ink) 9%,var(--opening-paper));transition:transform 1s cubic-bezier(.2,.7,.2,1);transform-origin:0 50%}.eo-atelier-front:before{content:'';position:absolute;inset:14px;border:1px solid var(--opening-accent);pointer-events:none}.eo-atelier-front span,.eo-atelier-front small{font:650 9px/1.8 var(--sans,Arial,sans-serif);letter-spacing:.14em;color:var(--opening-ink)}.eo-atelier-front strong{font:500 49px/1.2 'Playfair Display',Georgia,serif;letter-spacing:-.06em;color:var(--opening-ink)}.eo-atelier-wing{position:absolute;inset:0;width:50%;background:var(--opening-paper);border:1px solid var(--opening-accent);transition:transform 1s cubic-bezier(.2,.7,.2,1)}.eo-atelier-wing.left{transform-origin:0 50%;transform:rotateY(-12deg) translateX(-30px)}.eo-atelier-wing.right{left:auto;right:0;transform-origin:100% 50%;transform:rotateY(12deg) translateX(30px)}.ec-opening[data-opening=atelier].is-unsealing .eo-atelier{transform:rotate(0) scale(1.05)}.ec-opening[data-opening=atelier].is-unsealing .eo-atelier-front{transform:rotateY(-65deg)}.ec-opening[data-opening=atelier].is-unsealing .eo-atelier-wing.right{transform:rotateY(65deg) translateX(55px)}
@media(max-width:700px){.ec-opening[data-opening=atelier] .eo-atelier{width:145px;height:186px;transform:rotate(-5deg)}.eo-atelier-front{gap:20px;box-shadow:8px 10px 0 color-mix(in srgb,var(--opening-ink) 9%,var(--opening-paper))}.eo-atelier-front:before{inset:9px}.eo-atelier-front strong{font-size:30px}.eo-atelier-front span,.eo-atelier-front small{font-size:7px;letter-spacing:.08em}.eo-atelier-wing.left{transform:rotateY(-12deg) translateX(-15px)}.eo-atelier-wing.right{transform:rotateY(12deg) translateX(15px)}}
@media(prefers-reduced-motion:reduce){.eo-atelier,.eo-atelier *{transition:none!important}}
