/* v8: faithful reel-led rebuild */
:root{--ds-font-display:'Playfair Display',Georgia,serif;--ds-font-text:'Josefin Sans',Arial,sans-serif;--ink:#5a3f47;--olive:#4d4d3f}
html,body{overflow-x:hidden;overflow-x:clip}
body{background:#efc3cc;color:var(--ink);font-family:'Josefin Sans',sans-serif}
body:not(.opened){background:#f4bdc4}
body{transition:background 1.4s ease}
#root{position:relative;z-index:1}
.night-garden{display:none !important}
.invitation-card{overflow:visible !important;background:none !important}
.env-curve{position:fixed;inset:0;z-index:0;pointer-events:none;transition:transform 1.5s cubic-bezier(.6,.05,.3,1),opacity 1.3s ease .15s;transform-origin:50% 0}
.env-curve svg{width:100%;height:100%;display:block}
body.opened .env-curve{transform:perspective(900px) rotateX(-88deg);opacity:0}
.env-curve::after{content:"";position:absolute;inset:0;opacity:.35;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .35' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .38 0 0 0 0 .36 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E")}
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.3;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .35' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .38 0 0 0 0 .36 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E")}
/* hero */
.invite{position:relative}
.invite-eyebrow{font-family:'Josefin Sans';letter-spacing:.32em;font-size:11px;color:#8a6670 !important}
.invite-names{font-family:'Playfair Display',serif !important;font-weight:400 !important;color:var(--ink) !important;letter-spacing:.01em}
.invite-amp{font-family:'Playfair Display',serif;font-style:italic;font-size:.42em;color:#a8777f !important}
.invite-lead{color:#7a5a63 !important;font-family:'Josefin Sans';font-weight:300;letter-spacing:.02em}
.hero-foot{position:relative;min-height:150px;margin:6px -24px 0}
.hf-venue{text-align:center;padding-top:14px;font-size:11px;letter-spacing:.3em;color:#7a5a63}
.hf-venue .orn{display:block;font-size:7px;margin-bottom:8px;color:#a8777f}
.sp{position:absolute;pointer-events:none;z-index:0}
.sp svg{width:100%;height:auto;display:block}
.sp-bl{left:-14px;bottom:-30px;width:150px;transform:rotate(-4deg);transform-origin:bottom}
.sp-br{right:-14px;bottom:-30px;width:150px;transform:scaleX(-1) rotate(-6deg);transform-origin:bottom}
.sp-tl{left:-26px;top:-34px;width:120px;transform:rotate(172deg);opacity:.9}
.sp-tr{right:-26px;top:-20px;width:120px;transform:scaleX(-1) rotate(168deg);opacity:.9}
.invite>*:not(.sp){position:relative;z-index:1}
/* reveal gating */
.rv{opacity:0;max-height:0;overflow:hidden;pointer-events:none}
body.rv-on .rv{opacity:1;max-height:none;overflow:visible;pointer-events:auto;animation:gg-fade 1.2s ease both}
body.rv-on .rs.rv{animation-delay:.6s}
@keyframes gg-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes gg-fade{from{opacity:0}to{opacity:1}}
body.opened .invite-eyebrow{animation:gg-fade 1s ease .5s both}
body.opened .invite-names{animation:gg-fade 1.2s ease .9s both}
body.opened .invite-lead{animation:gg-fade 1s ease 1.4s both}
/* countdown */
.cd{padding:34px 8px 8px}
.cdbox{position:relative;padding:34px 18px 26px;text-align:center}
.cdbox .fr{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#5a3f47;stroke-width:1}
.cdbox .fr .in{stroke-width:.7;opacity:.7}
.cdh{font-family:'Playfair Display',serif;font-style:italic;font-weight:400;font-size:34px;margin:0 0 6px;color:var(--ink)}
.cds{font-size:9px;letter-spacing:.24em;margin:0 0 20px;color:#7a5a63}
.cdn{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;position:relative}
.cdn div{display:flex;flex-direction:column;align-items:center}
.cdn b{font-family:'Playfair Display',serif;font-weight:400;font-size:28px;color:var(--ink)}
.cdn i{font-style:normal;font-size:8px;letter-spacing:.2em;margin-top:4px;color:#7a5a63}
.cdnote{font-size:10px;letter-spacing:.08em;margin:16px 0 0;color:#8a6670;font-style:italic}
/* venue */
.vn{text-align:center;padding:36px 4px 20px}
.eye{font-size:10px;letter-spacing:.34em;color:#7a5a63;margin:0 0 10px}
.vname{font-family:'Playfair Display',serif;font-weight:400;font-style:italic;font-size:34px;margin:0 0 6px;color:var(--ink)}
.vname small{font-family:'Josefin Sans';font-style:normal;font-size:11px;letter-spacing:.15em;color:#a8777f;text-transform:uppercase;vertical-align:middle}
.vloc{font-size:10px;letter-spacing:.3em;margin:0 0 14px;color:#7a5a63}
.vdate{font-family:'Playfair Display',serif;font-size:16px;margin:0 0 4px;color:var(--ink)}
.vaddr{font-size:11px;letter-spacing:.06em;margin:0 0 18px;color:#8a6670;font-style:italic}
.vmap{position:relative;border:1px solid #5a3f47;padding:5px;margin:0 0 14px}
.vmap svg{display:block;width:100%;height:170px}
.vmap .mp{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);font-size:9px;letter-spacing:.2em;background:#f6e8e6cc;padding:3px 8px;color:#7a5a63}
.vlinks{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.18em;color:#7a5a63;opacity:.75}
/* wedding day */
.day{margin:20px -24px 0;position:relative}
.dayband{position:relative;background:var(--olive);padding:44px 24px 36px;text-align:center;box-shadow:0 0 0 100vmax var(--olive);clip-path:inset(0 -100vmax)}
.dayband .sp-dy{left:-10px;top:-6px;width:90px;transform:rotate(172deg);opacity:.8}
.dh{font-family:'Playfair Display',serif;font-style:italic;font-weight:400;font-size:36px;color:#f3d7dc;margin:0 0 6px}
.dd{font-size:10px;letter-spacing:.3em;color:#e5c8cc;margin:0 0 24px}
.pcard{background:#efc3cc;padding:30px 20px 24px;clip-path:polygon(22px 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%,0 22px);box-shadow:inset 0 0 0 1px #5a3f47}
.pcard ol{list-style:none;margin:0;padding:0}
.pcard li{display:flex;flex-direction:column;align-items:center;gap:6px}
.pcard li b{font-family:'Playfair Display',serif;font-weight:400;font-size:24px;color:var(--ink)}
.pcard .ti{font-size:10px;letter-spacing:.22em;color:#5a3f47}
.pcard .ds{font-size:11px;line-height:1.5;color:#7a5a63;max-width:230px;font-style:italic}
.pcard li.sep{font-size:6px;color:#a8777f;margin:16px 0}
/* her content after the reel sections */
.save-section,.elopement-note,.rsvp-form,.invite-foot{position:relative;z-index:1}
.save-heading,.rsvp-intro h2{font-family:'Playfair Display',serif !important;font-weight:400 !important}
body.opened #root h1,body.opened #root h2,body.opened #root p{animation:none}
/* sound */
.snd{position:fixed;right:14px;bottom:18px;z-index:5;width:38px;height:38px;border-radius:50%;border:0;background:#6d5a5ecc;display:flex;align-items:center;justify-content:center;opacity:.9;cursor:pointer}
.snd .x{display:block}.snd .w{display:none}.snd.on .x{display:none}.snd.on .w{display:block}
body:not(.opened) .snd{display:none}
@media(min-width:700px){.hero-foot{margin:6px 0 0}.day{margin:20px 0 0}.sp-bl,.sp-br{width:200px}.sp-tl,.sp-tr{width:150px}}
@media(prefers-reduced-motion:reduce){.rv,.invite-eyebrow,.invite-names,.invite-lead{animation:none !important}.env-curve{transition:none}}
.vmap iframe{display:block;width:100%;height:190px;border:0;filter:sepia(.35) hue-rotate(310deg) saturate(.7)}
.vlinks a{color:inherit;text-decoration:none}
.pcard li.prov .ds{font-style:italic;opacity:.85}
.pcard li.prov b::after{content:'*'}
.hero-foot{min-height:250px}
.sp-bl,.sp-br{width:112px}
.hf-venue{position:relative;z-index:2;padding:6px 8px 0}
.vmap svg{display:none}
.rs{margin-top:10px}
@media(min-width:700px){.sp-bl,.sp-br{width:170px}.hero-foot{min-height:330px}}
.scratch-wrap.is-revealed,.scratch-wrap.is-revealed .scratch-under,.scratch-wrap.is-revealed .scratch-canvas{touch-action:pan-y !important}
.snd{opacity:.6;cursor:default}
.snd::before{content:attr(data-lbl);position:absolute;right:46px;top:50%;transform:translateY(-50%);white-space:nowrap;font:600 9px 'Josefin Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#7a5a63;background:#f6e8e6d9;padding:4px 8px;border-radius:10px}
.dayband .sp-dy{width:64px;left:-14px;top:-10px;opacity:.7}.dayband .dh{position:relative;z-index:1}
.sp img{display:block;width:100%;height:auto}
.sp-bl{left:-62px;bottom:-34px;width:230px;transform:rotate(14deg);transform-origin:50% 100%;opacity:1}
.sp-br{right:-62px;bottom:-34px;width:230px;transform:scaleX(-1) rotate(14deg);transform-origin:50% 100%}
.sp-tl{left:-80px;top:-70px;width:210px;transform:rotate(152deg);transform-origin:50% 50%;opacity:1}
.sp-tr{right:-80px;top:-60px;width:210px;transform:scaleX(-1) rotate(152deg);opacity:1}
.hero-foot{min-height:230px}
.dayband .sp-dy{width:96px;left:-34px;top:-44px;transform:rotate(160deg);opacity:.9}
.dayband .dh{padding:0 52px}
.cr{font:400 9px 'Josefin Sans',sans-serif;letter-spacing:.08em;opacity:.6;margin:10px 0 0;text-align:center}.cr a{color:inherit}
@media(min-width:700px){.sp-bl,.sp-br{width:340px}.sp-tl,.sp-tr{width:300px}.hero-foot{min-height:330px}.dayband .sp-dy{width:150px}}
.sp-bl,.sp-br{width:196px}
.dayband .dh{padding:0 34px}
.dayband .sp-dy{width:116px;left:-40px;top:-46px}
@media(min-width:700px){.sp-bl,.sp-br{width:340px}}
.sp-tl{left:-128px;top:-120px;width:210px}
.sp-tr{right:-128px;top:-112px;width:210px}
@media(max-width:360px){.dayband .dh{font-size:29px;white-space:nowrap;padding:0 30px}}
@media(min-width:700px){.sp-tl{left:-150px;top:-150px;width:340px}.sp-tr{right:-150px;top:-140px;width:340px}}
@media(min-width:700px){.sp-bl{left:-120px;width:280px}.sp-br{right:-120px;width:280px}}
.sp img{opacity:1}
.sp-bl{left:-16px;bottom:-24px;width:132px;transform:rotate(-3deg);transform-origin:50% 100%}
.sp-br{right:-16px;bottom:-24px;width:122px;transform:rotate(3deg);transform-origin:50% 100%}
.sp-tl{left:-12px;top:-30px;width:122px;transform:scaleY(-1) rotate(2deg)}
.sp-tr{right:-12px;top:-30px;width:116px;transform:scaleY(-1) rotate(-2deg)}
.dayband .sp-dy{width:64px;left:-10px;top:-8px;transform:none;opacity:.9}
@media(min-width:700px){.sp-bl{left:-60px;width:250px}.sp-br{right:-60px;width:230px}.sp-tl{left:-40px;top:-60px;width:230px}.sp-tr{right:-40px;top:-60px;width:220px}.dayband .sp-dy{width:110px}}
body{transition:background-color 1.8s ease .25s}
body:not(.opened) .env-curve .crz{opacity:0}
body.opened .env-curve .crz{animation:crs 1.6s ease both}
@keyframes crs{0%{opacity:0}25%{opacity:1}75%{opacity:1}100%{opacity:0}}
body.opened .env-curve{transition-delay:.45s}
.cr{opacity:.7}
.invite-names{font-style:italic !important;color:#6f5560 !important;font-size:clamp(40px,12vw,54px) !important;line-height:1.08 !important}
.invite-eyebrow{font-size:9.5px;letter-spacing:.38em;color:#8a7078 !important}
.invite-lead{color:#7b626b}
/* v11 */
.sp img{filter:brightness(1.1) saturate(.78) contrast(.94)}
.sp{opacity:.92}
.hero-foot{min-height:300px}
.sp-bl{left:-30px;bottom:-30px;width:170px;transform:rotate(-2deg)}
.sp-br{right:-30px;bottom:-30px;width:160px;transform:rotate(2deg)}
.sp-bl2{left:46px;bottom:-34px;width:104px;transform:rotate(6deg);transform-origin:50% 100%;opacity:.8}
.sp-br2{right:46px;bottom:-34px;width:104px;transform:rotate(-6deg);transform-origin:50% 100%;opacity:.8}
.sp-tl{left:-46px;top:-38px;width:112px;transform:scaleY(-1) rotate(-8deg)}
.sp-tr{right:-46px;top:-38px;width:112px;transform:scaleY(-1) rotate(8deg)}
.cdbox::before,.cdbox::after{content:"";position:absolute;pointer-events:none;border:1px solid #5a3f47}
.cdbox::before{left:0;top:0;right:7px;bottom:7px}
.cdbox::after{left:7px;top:7px;right:0;bottom:0;opacity:.75}
.cdbox{padding:38px 24px 32px}
body::after{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.5;mix-blend-mode:multiply;
background:
 linear-gradient(115deg,transparent 0 18%,rgba(120,80,90,.07) 18% 30%,transparent 30% 46%,rgba(120,80,90,.05) 46% 52%,transparent 52%),
 url(sp-b.webp) -60px 55%/260px auto no-repeat,url(sp-a.webp) calc(100% + 70px) 40%/240px auto no-repeat;
filter:blur(7px);opacity:.16}
body:not(.opened)::after{display:none}
@media(min-width:700px){.hero-foot{min-height:360px}.sp-bl{left:-80px;width:300px}.sp-br{right:-80px;width:280px}.sp-bl2{left:150px;width:190px}.sp-br2{right:150px;width:190px}.sp-tl{left:-80px;top:-70px;width:200px}.sp-tr{right:-80px;top:-70px;width:200px}}
/* v11b lateral long sprigs */
.sp img{filter:brightness(1.12) saturate(.72) contrast(.92)}
.hero-foot{min-height:310px;margin-top:0}
.sp-bl{left:-62px;bottom:-34px;width:190px;transform:rotate(3deg);opacity:.9}
.sp-br{right:-62px;bottom:-34px;width:180px;transform:rotate(-3deg);opacity:.9}
.sp-bl2{left:-14px;bottom:-36px;width:96px;transform:rotate(-7deg);opacity:.75}
.sp-br2{right:-14px;bottom:-36px;width:96px;transform:rotate(7deg);opacity:.75}
.sp-tl{left:-60px;top:-6px;width:124px;transform:scaleY(-1) rotate(-4deg);opacity:.85}
.sp-tr{right:-62px;top:52px;width:118px;transform:scaleY(-1) rotate(4deg);opacity:.85}
.invite-eyebrow{max-width:260px;margin-left:auto;margin-right:auto;line-height:1.9;text-wrap:balance}
@media(min-width:700px){.hero-foot{min-height:380px}.sp-bl{left:-30px;width:330px}.sp-br{right:-30px;width:310px}.sp-tl{left:-40px;top:-40px;width:210px}.sp-tr{right:-40px;top:-40px;width:200px}}
.sp-tl{left:-44px;top:-4px;width:98px;transform:scaleY(-1) rotate(-6deg);opacity:.8}
.sp-tr{right:-40px;top:60px;width:84px;transform:scaleY(-1) rotate(6deg);opacity:.8}
footer.closing{padding-bottom:84px}
@media(min-width:700px){.sp-tl{left:-30px;top:-30px;width:190px}.sp-tr{right:-30px;top:-30px;width:170px}}
/* v12: lower sprigs rise from outer screen edge */
.sp-bl{left:-128px;bottom:-40px;width:210px;transform:rotate(24deg);transform-origin:50% 100%;opacity:.9}
.sp-br{right:-128px;bottom:-40px;width:200px;transform:rotate(-24deg);transform-origin:50% 100%;opacity:.9}
.sp-bl2{left:-92px;bottom:-44px;width:120px;transform:rotate(30deg);transform-origin:50% 100%;opacity:.75}
.sp-br2{right:-92px;bottom:-44px;width:120px;transform:rotate(-30deg);transform-origin:50% 100%;opacity:.75}
@media(min-width:700px){.sp-bl{left:-150px;width:340px}.sp-br{right:-150px;width:320px}.sp-bl2{left:-100px;width:200px}.sp-br2{right:-100px;width:200px}}
/* v13: reel scale - sprigs about 30% of screen width, thin, in the hero corners */
.sp-bl{left:-30px;bottom:-6px;width:124px;transform:rotate(6deg);transform-origin:50% 100%;opacity:.8}
.sp-br{right:-30px;bottom:-6px;width:118px;transform:rotate(-6deg);transform-origin:50% 100%;opacity:.8}
.sp-bl2,.sp-br2{display:none}
.sp-tl{left:-34px;top:44px;width:78px}
.sp-tr{right:-30px;top:44px;width:72px}
@media(min-width:700px){.sp-bl{left:-40px;width:200px}.sp-br{right:-40px;width:190px}.sp-tl{left:-40px;top:0;width:130px}.sp-tr{right:-40px;top:0;width:120px}}
/* v14: hero edge layer, pinned to the first screen's corners; replaces in-flow sprigs */
.sp-bl,.sp-br,.sp-bl2,.sp-br2,.sp-tl,.sp-tr{display:none!important}
#edge{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .7s ease}
#edge.on{opacity:1}
#edge .e-b{position:absolute;bottom:70px;width:128px;opacity:.95}
#edge .e-bl{left:-26px;transform:rotate(4deg);transform-origin:50% 100%}
#edge .e-br{right:-26px;transform:rotate(-4deg);transform-origin:50% 100%}
#edge .e-t{position:absolute;top:34px;width:84px;height:168px;opacity:.5}
#edge .e-tl{left:-14px}#edge .e-tr{right:-14px}
@media(min-width:700px){#edge .e-b{width:200px;bottom:30px}#edge .e-t{width:130px;height:260px;top:10px}}
#edge{z-index:2}
#edge .e-b{width:108px;bottom:96px}
/* STEP 1+2: key -> pink screen -> botanicals appear in turns (bottom first, then top) -> invitation line -> first name -> second name -> scratch card. Everything else stays hidden until the scratch. */
@keyframes s1b{0%{clip-path:inset(100% 0 0 0);opacity:0}15%{opacity:.8}100%{clip-path:inset(0 0 0 0);opacity:.8}}
@keyframes s1t{0%{clip-path:inset(0 0 100% 0);opacity:0}20%{opacity:.5}100%{clip-path:inset(0 0 0 0);opacity:.5}}
@keyframes s2u{0%{opacity:0;transform:translateY(14px)}100%{opacity:1;transform:none}}
@keyframes s2n{0%{opacity:0;clip-path:inset(0 0 100% 0);transform:translateY(10px)}34%{opacity:1;clip-path:inset(0 0 52% 0);transform:none}54%{clip-path:inset(0 0 52% 0)}100%{opacity:1;clip-path:inset(0 0 0 0);transform:none}}
body.step1.opened #edge .e-b{bottom:48px;opacity:0;animation:s1b 1.5s cubic-bezier(.25,.6,.3,1) both}
body.step1.opened #edge .e-bl{animation-delay:1.0s}
body.step1.opened #edge .e-br{animation-delay:1.4s}
body.step1.opened #edge .e-t{opacity:0;animation:s1t 1.4s ease-out both}
body.step1.opened #edge .e-tl{animation-delay:2.2s}
body.step1.opened #edge .e-tr{animation-delay:2.6s}
body.step1.opened .invite-eyebrow{animation:gg-fade 1s ease 4.2s both!important}
body.step1.opened #root .invite-names{animation:none!important;opacity:1!important;clip-path:none!important}
body.step1 .invite-names .nm{display:block;opacity:0}
body.step1.opened .invite-names .nm{animation:gg-fade 1s ease both}
body.step1.opened .invite-names .nm1{animation-delay:5.0s}
body.step1.opened .invite-names .nm2{animation-delay:6.0s}
body.step1.opened .invite-names .nm3{animation-delay:6.9s}
body.step1.opened .invite>svg{animation:gg-fade .8s ease 8.2s both!important}
body.step1.opened #root .invite-lead{animation:gg-fade 1s ease 8.5s both!important}
body.step1.opened .scratch-zone{animation:gg-fade 1.1s ease 8.8s both!important}
body.step1:not(.rv-on) .invite-foot{display:none}
body.step1:not(.opened) .invite-eyebrow,body.step1:not(.opened) .invite-names,body.step1:not(.opened) .invite>svg,body.step1:not(.opened) .invite-lead,body.step1:not(.opened) .scratch-zone{opacity:0!important}

/* STEP1+2 proof: no bypass; rest stays hidden until real scratch */
.scratch-skip{display:none !important}

/* step1+2 v2: no envelope/flap, key goes straight to pink + plants */
.env-curve{display:none!important}

/* gap fix: hero-foot kept min-height for the in-flow sprigs, which are now display:none */
.hero-foot{min-height:0!important;padding-bottom:6px}

/* Judith: remove repeated venue line under the date card (venue section below stays) */
.hero-foot{display:none!important}

/* floral v2: own generated SVG gypsophila (no photos, no vendor assets) */
#edge .e-b{width:150px!important;filter:none!important;bottom:0!important;left:auto;right:auto;transform:none!important;height:290px}
#edge .e-bl{left:-8px!important;width:150px!important;height:280px}
#edge .e-br{right:-8px!important;width:150px!important;height:300px}
#edge .e-t{width:120px!important;height:200px!important;top:0!important}
#edge .e-tl{left:0!important}#edge .e-tr{right:0!important;left:auto!important}
#edge .e-ml{position:absolute;left:0;top:34%;width:80px;height:110px}
body.step1.opened #edge .e-ml{opacity:0;animation:s1t 1.4s ease-out 3.0s both}
body.step1.opened #edge .e-b{opacity:0;animation:s1b2 1.6s cubic-bezier(.25,.6,.3,1) both}
body.step1.opened #edge .e-t{animation-name:s1t2}
@keyframes s1b2{0%{clip-path:inset(100% 0 0 0);opacity:0}15%{opacity:1}100%{clip-path:inset(-20px -20px -20px -20px);opacity:1}}
@keyframes s1t2{0%{clip-path:inset(0 0 100% 0);opacity:0}20%{opacity:1}100%{clip-path:inset(-20px -20px -20px -20px);opacity:1}}
body.step1.opened #edge .e-ml{animation-name:s1t2}

/* footer (date line) must stay hidden until the scratch */
body.step1:not(.rv-on) footer.closing{display:none!important}

#edge .e-ml{top:34%!important;width:80px!important;height:110px!important;left:0!important}

#edge .e-ml{top:150px!important;width:92px!important;height:122px!important}
.cr{display:none!important}

body.skipentry .entry{display:none!important}
#edge .e-t{width:110px!important;height:170px!important}
#edge .e-b{height:300px!important}#edge .e-br{height:320px!important}
#edge .e-ml{top:150px!important;width:92px!important;height:122px!important}

body.skipentry{transition:none!important}

#edge .e-b{width:118px!important;height:245px!important}#edge .e-br{height:262px!important}#edge .e-bl{left:-6px!important}#edge .e-br{right:-6px!important}
@media(max-width:699px){#edge .e-t{width:25vw!important;height:42vw!important}#edge .e-b{width:27vw!important}#edge .e-ml{width:23vw!important;height:30vw!important}}
@media(max-width:360px){#edge .e-t{width:23vw!important;height:38vw!important}#edge .e-b{width:26vw!important}#edge .e-bl{left:-8vw!important}#edge .e-br{right:-8vw!important}#edge .e-ml{width:20vw!important;height:26vw!important}}
@media(max-width:699px){#edge .e-bl{left:-10vw!important}#edge .e-br{right:-10vw!important}}
@media(max-width:360px){#edge .e-bl{left:-12vw!important}#edge .e-br{right:-12vw!important}}
@media(max-width:699px){#edge .e-tr{right:-30px!important}}
@media(max-width:699px){#edge .e-b{width:34vw!important}#edge .e-bl{left:-14vw!important}#edge .e-br{right:-14vw!important}}
@media(max-width:699px){#edge .e-tr{right:-40px!important}}
@media(max-width:699px){#edge .e-b{width:30vw!important}#edge .e-bl{left:-12vw!important}#edge .e-br{right:-12vw!important}}
@media(max-width:360px){#edge .e-t{width:20vw!important;height:32vw!important}#edge .e-b{width:26vw!important}#edge .e-bl{left:-14vw!important}#edge .e-br{right:-14vw!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-bl{left:-16vw!important}#edge .e-br{right:-16vw!important}}
@media(max-width:360px){#edge .e-bl{left:-17vw!important}#edge .e-br{right:-17vw!important}}
@media(max-width:340px){#edge .e-b{width:21vw!important}#edge .e-bl{left:-9vw!important}#edge .e-br{right:-9vw!important}#edge .e-ml{width:15vw!important;height:20vw!important;top:42%!important}}
@media(max-width:360px){#edge .e-b{width:24vw!important}#edge .e-bl{left:-12vw!important}#edge .e-br{right:-12vw!important}}
@media(max-width:340px){#edge .e-b{width:22vw!important}#edge .e-bl{left:-10vw!important}#edge .e-br{right:-10vw!important}#edge .e-ml{display:none!important}}
@media(max-width:360px){#edge .e-b{width:30vw!important}#edge .e-bl{left:-19vw!important}#edge .e-br{right:-19vw!important}#edge .e-t{width:20vw!important;height:30vw!important}}
@media(max-width:340px){#edge .e-ml{display:none!important}#edge .e-t{width:18vw!important;height:28vw!important}}
@media(max-width:340px){#edge .e-b{height:262px!important}#edge .e-br{height:278px!important}}
@media(max-width:340px){#edge .e-b{height:240px!important}#edge .e-br{height:252px!important}}
@media(max-width:699px){#edge .e-tr{right:-72px!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-tl{left:-34px!important}#edge .e-tr{right:-56px!important}#edge .e-t{width:26vw!important}}
@media(max-width:699px){body.step1.opened #edge .e-b,#edge .e-b{bottom:-26px!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-b{width:37vw!important;height:410px!important}#edge .e-br{height:430px!important}#edge .e-bl{left:-22vw!important}#edge .e-br{right:-22vw!important}}
@media(max-width:360px){#edge .e-b{width:33vw!important;height:330px!important}#edge .e-br{height:350px!important}#edge .e-bl{left:-21vw!important}#edge .e-br{right:-21vw!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-b{height:385px!important;width:35vw!important}#edge .e-br{height:400px!important}#edge .e-bl{left:-20vw!important}#edge .e-br{right:-20vw!important}}
@media(max-width:360px){#edge .e-b{height:300px!important}#edge .e-br{height:315px!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-b{width:34vw!important}}
@media(max-width:360px){#edge .e-b{width:28vw!important}#edge .e-bl{left:-17vw!important}#edge .e-br{right:-17vw!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-b{width:33vw!important;height:370px!important}#edge .e-br{height:385px!important}}
@media(max-width:360px){#edge .e-b{width:27vw!important;height:285px!important}#edge .e-br{height:300px!important}}
@media(max-width:699px){body.step1.opened #edge .e-b{animation-name:s1b3!important}}
@keyframes s1b3{0%{clip-path:inset(100% 0 0 0);opacity:0}15%{opacity:1}100%{clip-path:inset(-600px -600px -40px -600px);opacity:1}}
@media(min-width:361px) and (max-width:699px){#edge .e-b{width:49vw!important;height:370px!important}#edge .e-br{height:385px!important}#edge .e-bl{left:-23vw!important}#edge .e-br{right:-23vw!important}}
@media(max-width:360px){#edge .e-b{width:46vw!important;height:285px!important}#edge .e-br{height:300px!important}#edge .e-bl{left:-22vw!important}#edge .e-br{right:-22vw!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-b{width:33vw!important;height:370px!important}#edge .e-br{height:385px!important}#edge .e-bl{left:-8vw!important}#edge .e-br{right:-8vw!important}}
@media(max-width:360px){#edge .e-b{width:30vw!important;height:290px!important}#edge .e-br{height:300px!important}#edge .e-bl{left:-7vw!important}#edge .e-br{right:-7vw!important}}
@media(min-width:361px) and (max-width:699px){#edge .e-bl{left:-11vw!important}#edge .e-br{right:-11vw!important}}
@media(max-width:360px){#edge .e-bl{left:-10vw!important}#edge .e-br{right:-10vw!important}}
@media(max-width:360px){#edge .e-bl{left:-13vw!important}#edge .e-br{right:-14vw!important}#edge .e-tl{left:-16px!important}}
@font-face{font-family:'PFItalicJ';font-style:italic;font-weight:400;src:url(./pfi-j3.ttf) format('truetype');unicode-range:U+004A}
.invite-names{font-family:'PFItalicJ','Playfair Display',serif!important}
/* pacing: flowers start right after the key opens, steady stagger */
body.step1.opened #edge .e-bl{animation-delay:0s!important;animation-duration:1.1s!important}
body.step1.opened #edge .e-br{animation-delay:.2s!important;animation-duration:1.1s!important}
body.step1.opened #edge .e-tl{animation-delay:.4s!important;animation-duration:1s!important}
body.step1.opened #edge .e-tr{animation-delay:.6s!important;animation-duration:1s!important}
body.step1.opened #edge .e-ml{animation-delay:.8s!important;animation-duration:1s!important}
body.step1.opened .invite-eyebrow{animation-delay:.8s!important;animation-duration:.7s!important}
body.step1.opened .invite-names .nm{animation-duration:.7s!important}
body.step1.opened .invite-names .nm1{animation-delay:1.3s!important}
body.step1.opened .invite-names .nm2{animation-delay:1.75s!important}
body.step1.opened .invite-names .nm3{animation-delay:2.15s!important}
body.step1.opened .invite>svg{animation-delay:2.9s!important;animation-duration:.6s!important}
body.step1.opened #root .invite-lead{animation-delay:3.05s!important;animation-duration:.7s!important}
body.step1.opened .scratch-zone{animation-delay:3.3s!important;animation-duration:.8s!important}

/* v20 first screen: soft lilacs (key screen only; ends when body.opened) */
body:not(.opened){background-color:#e6dbf3!important}
body:not(.opened) .entry,body:not(.opened) .entry-hint,body:not(.opened) .entry-names,body:not(.opened) .language-selector button,body:not(.opened) .language-selector button[aria-pressed=true]{color:#5b4776!important}
body:not(.opened) .entry-eyebrow,body:not(.opened) .entry-signoff{color:#6f5a8c!important}
body:not(.opened) .entry-open{color:#6a5586!important}
body:not(.opened) .language-selector button[aria-pressed=true]{border-bottom-color:#8a72ad!important}
body:not(.opened) .portal-screen stop:first-child{stop-color:#f2eafa!important}
body:not(.opened) .portal-screen stop:last-child{stop-color:#e2d5f1!important}

/* v21-proto: stage sits at its final offset before is-entered (no jump) */
body:not(.skipentry) .invitation-stage:not(.is-entered) .invitation-content{transform:translateY(44px)}
@keyframes pgb{0%{opacity:0;scale:.9}100%{opacity:1;scale:1}}
@keyframes pgt{0%{opacity:0;scale:.9}100%{opacity:1;scale:1}}
body.step1.opened #edge .e-b{animation-name:pgb!important;transform-origin:50% 100%;will-change:opacity,scale}
body.step1.opened #edge .e-t,body.step1.opened #edge .e-ml{animation-name:pgt!important;will-change:opacity,scale}
body.step1.opened #edge .e-t{transform-origin:50% 0}
body.step1.opened #edge .e-ml{transform-origin:0 50%}

/* palette E2_rosa_champan: first screen matches the pink invitation section */
body:not(.opened){background-color:#efc3cc!important}
body:not(.opened) .portal-screen stop:first-child{stop-color:#f7d9df!important}
body:not(.opened) .portal-screen stop:last-child{stop-color:#efc3cc!important}
body:not(.opened) .entry,body:not(.opened) .entry-hint,body:not(.opened) .entry-names,body:not(.opened) .entry-names span,body:not(.opened) .language-selector button{color:#6f5560!important}
body:not(.opened) .entry-eyebrow,body:not(.opened) .entry-signoff,body:not(.opened) .entry-open{color:#8a7078!important}
body:not(.opened) .language-selector button[aria-pressed=true]{border-bottom-color:#a98590!important;color:#6f5560!important}
body:not(.opened) #ring-shine-0 stop:nth-child(1),body:not(.opened) #ring-shine-1 stop:nth-child(1){stop-color:#f5d6da!important}
body:not(.opened) #ring-shine-0 stop:nth-child(2),body:not(.opened) #ring-shine-1 stop:nth-child(2){stop-color:#c98592!important}
body:not(.opened) #ring-shine-0 stop:nth-child(3),body:not(.opened) #ring-shine-1 stop:nth-child(3){stop-color:#ecbbc3!important}
body:not(.opened) #lockGold stop:nth-child(1){stop-color:#96525e!important}
body:not(.opened) #lockGold stop:nth-child(2){stop-color:#f5d6da!important}
body:not(.opened) #lockGold stop:nth-child(3){stop-color:#c98592!important}
body:not(.opened) #lockGold stop:nth-child(4){stop-color:#d9a1aa!important}
body:not(.opened) #lockGold stop:nth-child(5){stop-color:#96525e!important}
body:not(.opened) #keyGold stop:nth-child(1){stop-color:#f5d6da!important}
body:not(.opened) #keyGold stop:nth-child(2){stop-color:#c98592!important}
body:not(.opened) #keyGold stop:nth-child(3){stop-color:#d9a1aa!important}
body:not(.opened) #keyGold stop:nth-child(4){stop-color:#96525e!important}
body:not(.opened) .entry-key-svg path[fill="#f5d4d9"]{fill:#fce9eb!important}
body:not(.opened) .entry-lock-svg path[fill="#603d43"]{fill:#4a3034!important;stroke:#eec2c7!important}
body:not(.opened) .entry-lock-svg path[stroke="#412a2e"]{stroke:#4a3034!important}
body:not(.opened) .ring-glimmer{fill:#f5d6da!important}
body:not(.opened) .entry-lock-svg{filter:drop-shadow(rgba(120,60,65,.28) 0 1px 1px)!important}


/* visual Judith 2026-11-16: treure instruccio exterior rascar; noms pantalla clau en cursiva com la referencia interior */
.invite-lead{display:none!important}
.entry-names{font-family:'PFItalicJ',var(--ds-font-display)!important;font-style:italic!important}

/* Judith 2026-11-16: cursiva descriptiva (estil paragrafs programa) a la descripcio de La celebracio */
.elopement-note{font-style:italic!important}
/* Judith 2026-11-16: espai uniforme entre apartats -> regles finals a palette.css (carrega despres) */
.elopement-note{margin-bottom:0}

#form-ov{position:fixed;inset:0;z-index:70;background:#f7e2e5}
#form-ov iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#f7e2e5}
#form-ov .form-tanca{position:absolute;left:12px;bottom:18px;z-index:71;border:0;background:#6d5a5ecc;color:#fff;font:600 12px 'Josefin Sans',sans-serif;letter-spacing:.08em;padding:8px 14px;border-radius:20px;cursor:pointer}

/* Form controls have their own non-scrolling strip, outside the iframe. */
#form-ov{--form-bar:calc(74px + env(safe-area-inset-bottom,0px))}
#form-ov iframe{height:calc(100% - var(--form-bar));bottom:var(--form-bar)}
#form-ov>.snd{z-index:72;bottom:calc(18px + env(safe-area-inset-bottom,0px));opacity:.92;cursor:pointer}
#form-ov .form-tanca{bottom:calc(18px + env(safe-area-inset-bottom,0px))}
