.layer[data-kind="link"]{pointer-events:none}.layer[data-kind="link"] a{pointer-events:auto}.section:first-child .layer[data-kind="video"]{z-index:2}.open{z-index:3;box-shadow:0 0 0 8px #fff4dc44;animation:halo 2.5s ease-in-out infinite}.motion-ready .motion-pending{opacity:0}.motion-ready .motion-pending:focus-within{opacity:1}.motion-ready .motion-running{will-change:opacity,transform}.music:focus-visible,.open:focus-visible{outline:3px solid #b88340;outline-offset:5px}@keyframes halo{50%{box-shadow:0 0 0 18px #fff4dc11}}@media(prefers-reduced-motion:reduce){.motion-ready .motion-pending{opacity:1}.open{animation:none}}

/* Full bleed background, centered original canvas. */
html,body{width:100%;margin:0;padding:0;overflow-x:clip} .invitation{width:100%;max-width:none;margin:0;--canvas-width:min(100vw,1366px)}
.section{width:100%;margin:0;border:0;padding:0;isolation:isolate;aspect-ratio:auto!important;height:auto;background:#493b2a}
.section+.section{margin-top:-1px}
.section-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:-1;display:block}
.stage{left:50%;overflow:hidden;z-index:1}
@media(min-width:900px){.invitation{--canvas-width:min(72vw,1366px)}}
@media(max-width:899px){.section-backdrop{object-fit:fill}}
.section:first-child .layer[data-kind="link"]{z-index:4}
.open{inset:0;transform:none;background:transparent;box-shadow:none;padding:0;border-radius:0;font-size:0;animation:none;color:transparent}
.open:focus-visible{outline:4px solid #fff4dc;outline-offset:-5px}
.music{cursor:pointer;box-shadow:0 2px 12px #0004;font-size:23px;bottom:max(18px,env(safe-area-inset-bottom));right:max(18px,env(safe-area-inset-right))}

/* Original artwork circle: center 305/600, 204/400; diameter 94/600. */
.art-music{position:absolute;left:50.83%;top:51%;width:15.67%;aspect-ratio:1;transform:translate(-50%,-50%);border:0;padding:0;background:transparent;border-radius:50%;cursor:pointer;z-index:5;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.art-music:focus-visible{outline:4px solid #fff4dc;outline-offset:4px}
.art-music[aria-pressed="true"] span{position:absolute;inset:12%;border-radius:50%;background:#f5e8c9;display:grid;place-items:center;box-shadow:inset 0 0 8px #a78b5a66}
.art-music[aria-pressed="true"] span:after{content:"";width:28%;height:43%;border-left:0.11em solid #70532c;border-right:0.11em solid #70532c;font-size:100px;box-sizing:content-box}
.layer[data-id="LBg7BQJfj5Qh3G2j"]{z-index:3}

/* Story is a single original illustration, not a centered canvas over a duplicate. */
.story-full{background:transparent}.story-full .stage{z-index:1}.story-full .section-backdrop{display:none}

/* Opening gate: hidden sections never occupy layout or accept input. */
.section[hidden],.music[hidden]{display:none!important}
.section:focus{outline:none}
.section#section-1{margin-top:0}

/* V13: match the reference's heavier serif and compact event rows. */
#section-4 .marriage-label{font-weight:700;letter-spacing:.12em;line-height:1.16}
#section-4 [data-id="LBgkX4Vr1dQz1hk1"] .marriage-label{color:#6b120f!important;letter-spacing:0!important}

/* Seam fix: align backdrop vertically with the centered artwork, not a separately cropped cover. */
.section-backdrop{object-fit:fill;object-position:center top}
.section+.section{margin-top:0}
.stage{overflow:hidden}

/* Overlap adjacent artwork and feather the incoming edge, rather than exposing a border. */
.invitation{--section-blend:clamp(18px,4vw,48px)}
.section:not([hidden]) + .section:not([hidden]){margin-top:calc(-1 * var(--section-blend));-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--section-blend));mask-image:linear-gradient(to bottom,transparent 0,#000 var(--section-blend));}
.section#section-1{margin-top:0;mask-image:none;-webkit-mask-image:none}

/* Keep the original family artwork edge-to-edge, including saved layer overrides. */
#section-2 [data-id="LB7pM5mJtYPg8y3R"]{left:0!important;top:0!important}
#section-2 [data-id="LB1THHXXTF9p8H8d"]{top:0!important}
#section-2 [data-id="LB3RqTp2WgMzr6rM"],#section-2 [data-id="LBZYGvcnhTcFVzpt"]{left:0!important}
#section-2 [data-id="LBZYGvcnhTcFVzpt"]{width:1384.0575px!important}
#section-2 [data-id="LBlb4CZSfTLgXLVf"]{inset:0!important;width:100%!important;height:100%!important}

/* Final invitation: centered portrait, no duplicated or cropped artwork. */
#section-5{background:linear-gradient(180deg,#071c35 0%,#10233a 35%,#382518 75%,#21170f 100%)}
#section-5 .stage{left:50%;transform-origin:center top}
#section-5 [data-id="v22-join-art"]>img{object-fit:contain!important;object-position:center center}
