/* LoveLink V5 | six distinct art-directed wedding experiences. All local/offline. */
:root{--v5-ink:#453b33}
body[data-lux]{-webkit-font-smoothing:antialiased}
body[data-lux] img{user-select:none}
body[data-lux] :focus-visible{outline:3px solid var(--ll-gold);outline-offset:4px}
/* A clear, bespoke opening composition for each collection */
#cover .v5-opening-label{position:relative;z-index:2;display:flex;align-items:center;gap:12px;margin:0 auto 30px;font:500 10px/1.6 Georgia,serif;letter-spacing:.25em;text-transform:uppercase;opacity:.9}
#cover .v5-opening-label:before,#cover .v5-opening-label:after{content:'';width:38px;height:1px;background:currentColor;opacity:.55}
#cover .v5-opening-footer{position:relative;z-index:2;font:italic 13px/1.7 Georgia,'Noto Serif SC',serif;letter-spacing:.11em;margin:22px auto -4px;max-width:290px;opacity:.8}
#cover .v5-cover-art{position:absolute;inset:5%;pointer-events:none;opacity:.5;z-index:0}
#cover .v5-opening-label,#cover .v5-opening-footer{pointer-events:none}
body[data-lux="joy-red"] #cover .v5-cover-art{inset:4%;background:repeating-linear-gradient(90deg,transparent 0 11px,#f2c78012 11px 12px);mask-image:linear-gradient(90deg,transparent,#000 24% 76%,transparent)}
body[data-lux="joy-red"] #cover .v5-opening-label,body[data-lux="joy-red"] #cover .v5-opening-footer{color:#f6dca5}
body[data-lux="forever-white"] #cover .v5-cover-art{inset:15% 10%;border:1px solid #c9bbad;border-radius:48% 48% 0 0;opacity:.48;transform:scale(.95);animation:v5-arch 5s ease-in-out infinite alternate}
body[data-lux="forever-white"] #cover .v5-opening-label{color:#806c60}
body[data-lux="forever-white"] #cover .v5-opening-footer{color:#877b73}
body[data-lux="blush-garden"] #cover .v5-cover-art{inset:8%;background:radial-gradient(circle at 11% 18%,#cc8eab77 0 4px,transparent 5px),radial-gradient(circle at 78% 81%,#c781a166 0 7px,transparent 9px),radial-gradient(ellipse at 50% 50%,transparent 38%,#d0a0b5aa 38.5%,transparent 39%),radial-gradient(ellipse at 50% 50%,transparent 46%,#d0a0b578 46.5%,transparent 47%);animation:v5-breathe 6s ease-in-out infinite alternate}
body[data-lux="blush-garden"] #cover .v5-opening-footer{color:#a4647c}
body[data-lux="modern-noir"] #cover .v5-cover-art{inset:6%;border:1px solid #b89864;box-shadow:inset 0 0 0 10px #17171c,inset 0 0 0 11px #8c735b;clip-path:polygon(0 0,100% 0,100% 94%,96% 100%,4% 100%,0 94%);opacity:.55}
body[data-lux="modern-noir"] #cover .v5-opening-label,body[data-lux="modern-noir"] #cover .v5-opening-footer{color:#e8d3a2}
body[data-lux="sage-vows"] #cover .v5-cover-art{inset:7%;border:1px solid #b7b6a4;border-radius:8px;transform:rotate(-2deg);opacity:.65}
body[data-lux="sage-vows"] #cover .v5-opening-label,body[data-lux="sage-vows"] #cover .v5-opening-footer{color:#586c59}
body[data-lux="starry-tale"] #cover .v5-cover-art{inset:8%;border-radius:50%;background:radial-gradient(circle,#c5c4dd33 1px,transparent 2px) 0 0/26px 26px;animation:v5-orbit 32s linear infinite}
body[data-lux="starry-tale"] #cover .v5-opening-label,body[data-lux="starry-tale"] #cover .v5-opening-footer{color:#e9e0d1}
@keyframes v5-arch{to{transform:scale(1.05)}}@keyframes v5-breathe{to{transform:scale(1.055);opacity:.65}}@keyframes v5-orbit{to{transform:rotate(360deg)}}
/* Introductory art-directed signature story: six *different* compositions */
.v5-story{position:relative;isolation:isolate;overflow:hidden;padding:55px 28px;text-align:center;max-width:100%;min-width:0}
.v5-story *{box-sizing:border-box}
.v5-story small{display:block;font:11px Georgia,serif;letter-spacing:.24em;text-transform:uppercase;margin-bottom:16px}
.v5-story h2{font-weight:400;margin:5px auto 12px;line-height:1.3}
.v5-story p{font-size:13px;line-height:2.2;margin:15px auto;max-width:390px}
.v5-story .v5-story-photo{position:relative;overflow:hidden;margin:0 auto;background:#dfcfc6;box-shadow:0 17px 42px #00000019}
.v5-story .v5-story-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}
.v5-story .v5-story-photo:hover img{transform:scale(1.06)}
.v5-story .v5-story-second{position:absolute;overflow:hidden;box-shadow:0 10px 28px #00000026}
.v5-story .v5-story-second img{width:100%;height:100%;object-fit:cover}
.v5-story .v5-script{display:block;font:italic clamp(28px,8vw,53px) Georgia,serif;line-height:1.1;letter-spacing:-.035em}
.v5-story .v5-line{display:block;width:70px;height:1px;background:currentColor;margin:24px auto;opacity:.65}
.v5-story .v5-story-inner{max-width:600px;margin:auto;position:relative}
.v5-story .v5-photo-wrap{position:relative;max-width:460px;margin:0 auto}
.v5-story .v5-caption{font:italic 13px Georgia,serif;letter-spacing:.07em}
body[data-lux="joy-red"] .v5-story{background:linear-gradient(120deg,#430812,#7c111f 49%,#39070e);color:#efd5a0;padding:75px 12px 86px}
body[data-lux="joy-red"] .v5-story::before,body[data-lux="joy-red"] .v5-story::after{content:'囍';position:absolute;top:45px;color:#d4a86620;font:90px 'Songti SC',serif}
body[data-lux="joy-red"] .v5-story::before{left:-25px}body[data-lux="joy-red"] .v5-story::after{right:-25px}
body[data-lux="joy-red"] .v5-story .v5-story-inner{max-width:510px;border:1px solid #d3a96b80;padding:48px 25px}
body[data-lux="joy-red"] .v5-story .v5-story-photo{height:315px;width:min(74%,310px);border:6px solid #d3a46e}
body[data-lux="joy-red"] .v5-story .v5-story-second{width:125px;height:175px;bottom:-35px;right:3%;border:4px solid #be9058;transform:rotate(7deg)}
body[data-lux="joy-red"] .v5-story h2{font:400 37px 'Songti SC',serif;letter-spacing:.14em;color:#f8d995}
body[data-lux="joy-red"] .v5-story small{color:#cdb287}
body[data-lux="forever-white"] .v5-story{order:3;background:#f9f8f4;color:#4a4541;padding:72px 7% 90px}
body[data-lux="forever-white"] .v5-story .v5-story-inner{display:grid;grid-template-columns:1.05fr 1fr;gap:20px;align-items:center;max-width:630px;text-align:left}
body[data-lux="forever-white"] .v5-story .v5-photo-wrap{width:100%}
body[data-lux="forever-white"] .v5-story .v5-story-photo{height:420px;width:100%;box-shadow:none}
body[data-lux="forever-white"] .v5-story .v5-story-second{display:none}
body[data-lux="forever-white"] .v5-story .v5-story-copy{padding:20px 0 20px 5px}
body[data-lux="forever-white"] .v5-story small{letter-spacing:.19em;color:#a49283}
body[data-lux="forever-white"] .v5-story h2{font:400 clamp(30px,6vw,44px)/1.26 Georgia,'Noto Serif SC',serif;letter-spacing:-.03em}
body[data-lux="forever-white"] .v5-story p{font-size:12px;color:#897f77}
body[data-lux="forever-white"] .v5-story .v5-line{margin:18px 0}
body[data-lux="blush-garden"] .v5-story{order:5;background:transparent;padding:45px 12px 80px;color:#a56f84}
body[data-lux="blush-garden"] .v5-story .v5-story-inner{background:linear-gradient(170deg,#fffcfc,#fbe2e9);border:2px solid #e8becd;box-shadow:0 24px 60px #96526925;border-radius:210px 210px 26px 26px;padding:35px 22px 45px}
body[data-lux="blush-garden"] .v5-story .v5-story-photo{width:83%;height:340px;clip-path:ellipse(50% 50% at 50% 50%);border-radius:160px 160px 8px 8px}
body[data-lux="blush-garden"] .v5-story .v5-story-second{width:110px;height:132px;bottom:-25px;left:-1%;border:7px solid white;transform:rotate(-11deg)}
body[data-lux="blush-garden"] .v5-story .v5-script{color:#a65f7c}
body[data-lux="blush-garden"] .v5-story h2{font:400 31px 'Noto Serif SC',serif}
body[data-lux="blush-garden"] .v5-story::before{content:'❀';font:110px Georgia,serif;color:#dcb0c19c;position:absolute;top:-22px;left:-15px;animation:v5-breathe 6s infinite alternate}
body[data-lux="modern-noir"] .v5-story{background:#070a0f;color:#e9d7ad;padding:90px 14px;max-width:100%}
body[data-lux="modern-noir"] .v5-story .v5-story-inner{border:1px solid #b79f6e;padding:46px 23px 32px;background:repeating-linear-gradient(90deg,#d8c6990b 0 1px,transparent 1px 36px)}
body[data-lux="modern-noir"] .v5-story .v5-story-inner:before{content:'✦';position:absolute;left:50%;top:-18px;transform:translateX(-50%);padding:0 12px;background:#070a0f;color:#d6bd87;font-size:22px}
body[data-lux="modern-noir"] .v5-story small{color:#b7a17c}
body[data-lux="modern-noir"] .v5-story h2{font:400 clamp(32px,7vw,49px) Georgia,serif;letter-spacing:.04em}
body[data-lux="modern-noir"] .v5-story .v5-story-photo{height:250px;width:90%;filter:grayscale(1) contrast(1.08);border-top:1px solid #b99f6a;border-bottom:1px solid #b99f6a;box-shadow:none}
body[data-lux="modern-noir"] .v5-story .v5-story-second{display:none}
body[data-lux="modern-noir"] .v5-story .v5-caption{letter-spacing:.26em;color:#b59d72}
body[data-lux="sage-vows"] .v5-story{background:#e8ebe0;color:#536654;padding:85px 20px;overflow:visible}
body[data-lux="sage-vows"] .v5-story .v5-story-inner{max-width:600px;transform:rotate(-1deg);background:#fffaf0;padding:45px 25px 50px;box-shadow:6px 14px 35px #40563b25;outline:1px solid #c2c9b6}
body[data-lux="sage-vows"] .v5-story .v5-story-photo{width:min(76%,360px);height:330px;border:10px solid #fff;transform:rotate(3deg);box-shadow:0 8px 20px #34402b35}
body[data-lux="sage-vows"] .v5-story .v5-story-second{width:110px;height:135px;left:4%;top:25px;border:7px solid white;transform:rotate(-9deg)}
body[data-lux="sage-vows"] .v5-story h2{font:400 35px 'Noto Serif SC',serif}
body[data-lux="sage-vows"] .v5-story small{color:#82917d}
body[data-lux="sage-vows"] .v5-story .v5-script{font:italic 43px Georgia,serif;color:#8f9f85}
body[data-lux="starry-tale"] .v5-story{color:#f1e8cd;background:radial-gradient(circle at 50% 10%,#283651,#090f1c 70%);padding:85px 18px}
body[data-lux="starry-tale"] .v5-story::before{content:'';position:absolute;inset:0;background:radial-gradient(#ffe3ae 1px,transparent 1.5px) 0 0/46px 49px;opacity:.18}
body[data-lux="starry-tale"] .v5-story .v5-story-inner{border-top:1px solid #c8c2a866;border-bottom:1px solid #c8c2a866;padding:45px 0}
body[data-lux="starry-tale"] .v5-story h2{font:400 clamp(31px,7vw,50px) Georgia,'Noto Serif SC',serif}
body[data-lux="starry-tale"] .v5-story .v5-story-photo{height:295px;width:90%;border:7px solid #090b13;outline:1px solid #aaa68c;filter:grayscale(.45)}
body[data-lux="starry-tale"] .v5-story .v5-story-second{display:none}
body[data-lux="starry-tale"] .v5-story .v5-caption{color:#d3bea6;letter-spacing:.14em}
/* Gallery zoom: images remain usable on desktop and touch */
.v5-zoomable{cursor:zoom-in;transition:filter .3s ease,transform .5s ease}
.v5-zoomable:hover{filter:brightness(1.05) saturate(1.07)}
.v5-lightbox[hidden]{display:none}
.v5-lightbox{position:fixed;inset:0;z-index:10020;background:rgba(11,11,14,.96);color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:65px 24px 72px;backdrop-filter:blur(18px)}
.v5-lightbox img{max-height:75dvh;max-width:min(970px,100%);object-fit:contain;box-shadow:0 16px 50px #0008;border:1px solid #ffffff1c}
.v5-lightbox .v5-lightbox-bar{display:flex;align-items:center;justify-content:center;gap:22px;position:absolute;bottom:21px;font:12px Georgia,serif;letter-spacing:.15em}
.v5-lightbox button{position:absolute;border:1px solid #ffffff5c;background:#18171c;color:#fff;border-radius:50%;width:45px;height:45px;font-size:25px;cursor:pointer;display:grid;place-items:center;touch-action:manipulation}
.v5-lightbox button:hover{background:#493c3b}
.v5-lightbox .v5-close{top:18px;right:18px}
.v5-lightbox .v5-prev{top:50%;left:8px;transform:translateY(-50%)}
.v5-lightbox .v5-next{top:50%;right:8px;transform:translateY(-50%)}
.v5-lightbox .v5-lightbox-caption{position:absolute;top:24px;left:24px;font:12px Georgia,'Noto Serif SC',serif;color:#f8e8d0;letter-spacing:.18em;max-width:70%}
.v5-story .v5-zoomable{cursor:zoom-in}
/* small shared mini actions, unobtrusive */
.v5-details-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:22px 16px 40px;color:inherit}
.v5-details-actions button{border:1px solid currentColor;border-radius:40px;padding:11px 17px;background:transparent;color:inherit;opacity:.78;font:12px/1.4 system-ui,'Noto Sans SC',sans-serif;letter-spacing:.05em;cursor:pointer;transition:transform .2s,opacity .2s}
.v5-details-actions button:hover{opacity:1;transform:translateY(-2px)}
.v5-toast{position:fixed;z-index:10200;left:50%;bottom:110px;transform:translateX(-50%) translateY(10px);border-radius:100px;color:#fff;padding:12px 20px;background:#342e2bf0;box-shadow:0 6px 24px #0004;font:13px system-ui,sans-serif;opacity:0;transition:.25s;pointer-events:none;max-width:calc(100vw - 30px);text-align:center}
.v5-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* Reader labels, animated photographic entrance */
.v5-section-flag{position:absolute;top:15px;left:16px;font:10px Georgia,serif;letter-spacing:.2em;color:var(--ll-gold);pointer-events:none;opacity:.72;z-index:3}
body[data-lux] .v5-story.v5-in .v5-story-photo{animation:v5-photo-in 1.25s cubic-bezier(.2,.7,.2,1) both}
@keyframes v5-photo-in{from{opacity:.35;transform:translateY(35px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
body[data-lux="joy-red"] .v5-story.v5-in .v5-story-photo{animation:v5-gold-reveal 1.4s ease both}
@keyframes v5-gold-reveal{from{clip-path:inset(0 50% 0 50%)}to{clip-path:inset(0 0 0 0)}}
body[data-lux="modern-noir"] .v5-story.v5-in .v5-story-inner{animation:v5-noir 1.5s ease both}
@keyframes v5-noir{from{filter:brightness(.12);opacity:.4}to{filter:brightness(1);opacity:1}}
/* Cover clicks and fixed tool controls must not overlap on smaller devices */
@media(max-width:650px){.v5-story{padding:54px 15px}body[data-lux="forever-white"] .v5-story .v5-story-inner{display:block;text-align:center}body[data-lux="forever-white"] .v5-story .v5-story-photo{height:380px;width:78%;margin:auto}body[data-lux="forever-white"] .v5-story .v5-line{margin:16px auto}body[data-lux="forever-white"] .v5-story .v5-story-copy{padding-top:32px}body[data-lux="joy-red"] .v5-story .v5-story-second{width:98px;height:135px;right:-3%}body[data-lux="sage-vows"] .v5-story .v5-story-second{left:-2%}}
@media(max-width:380px){.v5-story .v5-story-photo{max-width:100%}body[data-lux="forever-white"] .v5-story .v5-story-photo{height:310px}.v5-lightbox{padding-inline:15px}.v5-lightbox button{width:38px;height:38px}.v5-lightbox .v5-prev{left:3px}.v5-lightbox .v5-next{right:3px}}
@media(prefers-reduced-motion:reduce){#cover .v5-cover-art,.v5-story.v5-in .v5-story-photo,.v5-story.v5-in .v5-story-inner{animation:none!important}.v5-zoomable{transition:none!important}}
@media(max-width:540px){body.ll-opened .ll-edit-btn{bottom:calc(70px + env(safe-area-inset-bottom,0px))!important;left:10px!important;padding:11px 14px!important}body .ll-style-open{bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;right:10px!important}.v5-details-actions{padding-bottom:28px}}

/* LoveLink V6: unobtrusive English names below the bilingual showcase couple names. */
.v6-english-names{display:block;margin:7px auto 12px;font-family:Georgia,'Cormorant Garamond',serif;font-size:clamp(13px,2.4vw,18px);font-weight:400;letter-spacing:.12em;opacity:.9;line-height:1.55;text-align:center;}
#cover .v6-english-names{margin-top:4px;margin-bottom:14px;}
