
/* V14 — Alur visual: foto mempelai > profil > undangan > cerita > galeri */
.invitation .inv-cover.r7-cover.r14-photo-first{min-height:max(740px,100svh);background:var(--r7-surface)}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-lockup,
.invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-modern .r7-lockup,
.invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-klasik .r7-lockup,
.invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-elegan .r7-lockup{
 padding:62px 9% 56px;justify-content:center;align-items:center;text-align:center;min-height:max(740px,100svh);background:linear-gradient(180deg,#00000005,#00000000 50%,#00000012);gap:0}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-seal{font-size:28px;min-height:28px;margin:10px auto 16px;line-height:1}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-kicker{letter-spacing:.25em;font-size:10px;text-align:center}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-photo-frame,
.invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-modern .r7-photo-frame,
.invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-elegan .r7-photo-frame{
 display:flex;justify-content:center;align-items:center;position:relative;width:min(80%,298px);aspect-ratio:4/4.9;height:auto;margin:0 auto 18px;flex-shrink:0;border-width:5px;border-color:var(--r7-gold);border-radius:155px 155px 14px 14px;box-shadow:0 15px 35px #0c080832,0 0 0 7px color-mix(in srgb,var(--r7-gold) 12%,transparent);overflow:hidden;background:color-mix(in srgb,var(--r7-gold) 13%,#fff)}
.invitation .inv-cover.r7-cover.r14-photo-first.v6-photo-small .r7-photo-frame{width:min(63%,228px)}
.invitation .inv-cover.r7-cover.r14-photo-first.v6-photo-large .r7-photo-frame{width:min(89%,335px)}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-photo{width:100%;height:100%;object-fit:cover}
.invitation .inv-cover.r7-cover.r14-photo-first .r14-photo-empty{flex-direction:column;gap:6px;color:var(--r7-gold)}
.r14-photo-initial{font:600 54px/1 'Cormorant Garamond',Georgia,serif;letter-spacing:-.07em}.r14-photo-initial em{font-style:italic;font-size:24px}.r14-photo-empty small{font-size:10px;letter-spacing:.19em;text-transform:uppercase}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-names,
.invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-modern .r7-names,
.invitation .inv-cover.r7-cover.r14-photo-first.r7-theme-gorga .r7-names,
.invitation .inv-cover.r7-cover.r14-photo-first.r7-theme-nias-omo-sebua .r7-names{
 display:flex;align-items:center;text-align:center;justify-content:center;max-width:100%;width:100%;color:var(--r7-text);font-size:clamp(37px,9vw,59px);line-height:.96;letter-spacing:-.035em;margin:5px auto 5px;text-shadow:0 1px 8px color-mix(in srgb,var(--r7-surface) 35%,transparent)}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-names .r7-amp{margin:0 auto;font-size:.5em;color:var(--r7-gold)}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-divider{margin:9px auto 3px;width:110px}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-date{margin:8px auto 3px;font-size:11px;letter-spacing:.10em;color:var(--r7-text);font-weight:700}
.invitation .inv-cover.r7-cover.r14-photo-first .r14-cover-location{max-width:330px;margin:5px auto 0;text-align:center;color:var(--r7-text);font:600 11px/1.5 'DM Sans',sans-serif;letter-spacing:.03em;overflow-wrap:anywhere}
.r14-cover-location span{font-size:17px;color:var(--r7-gold);padding-right:5px}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-caption{font-size:17px;margin:16px auto 0;max-width:310px;line-height:1.3;color:var(--r7-text)}
.invitation .inv-cover.r7-cover.r14-photo-first .r7-invitee{margin-top:11px}
.invitation .inv-story{background:linear-gradient(145deg,color-mix(in srgb,var(--inv-bg) 86%,white),var(--inv-bg));color:var(--inv-ink)}
.invitation .inv-story h2{margin-bottom:34px}
.r14-story-line{position:relative;margin:20px auto 0;max-width:365px;padding:4px 0}
.r14-story-line:before{content:"";position:absolute;top:23px;bottom:0;left:22px;width:1px;background:color-mix(in srgb,var(--inv-accent) 35%,transparent)}
.r14-story-chapter{position:relative;padding:2px 0 23px 62px;text-align:left}
.r14-story-chapter:last-child{padding-bottom:0}
.r14-story-dot{position:absolute;left:5px;top:0;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:var(--inv-accent);color:white;font:700 12px 'DM Sans',sans-serif;box-shadow:0 4px 12px #0002}
.r14-story-chapter small{display:block;font:700 11px 'DM Sans',sans-serif;letter-spacing:.1em;color:var(--inv-accent);margin:1px 0 8px}
.invitation .r14-story-chapter h3{font:600 27px/1.2 'Cormorant Garamond',Georgia,serif;margin:5px 0 7px}
.invitation .r14-story-chapter p{font-size:13px;line-height:1.9;text-align:left;margin:3px 0;opacity:.9}
.r14-editor-heading{margin:18px 0 5px;padding:18px;border-radius:12px;background:#f4e9e0;border:1px solid #e5d5c5}
.r14-editor-heading h3{margin:0 0 7px;font-size:18px}.r14-editor-heading p{font-size:12px;color:#705749;margin:0;line-height:1.6}
.invitation .r14-gallery-lead{font-family:'Cormorant Garamond',Georgia,serif;font-size:19px;line-height:1.3;margin:0 auto}
.invitation .r14-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:440px;margin:27px auto 0}
.invitation .r14-gallery-grid .r14-gallery-item{display:block;position:relative;padding:0;border:0;background:color-mix(in srgb,var(--inv-accent) 12%,#eee);aspect-ratio:4/5;min-width:0;overflow:hidden;border-radius:12px;box-shadow:0 4px 15px #00000013;cursor:zoom-in;transition:transform .2s,box-shadow .2s}
.invitation .r14-gallery-grid .r14-gallery-item:nth-child(5n+3){grid-column:1/-1;aspect-ratio:1.65}
.invitation .r14-gallery-grid .r14-gallery-item:hover{transform:translateY(-3px);box-shadow:0 10px 25px #00000023}
.invitation .r14-gallery-grid .gallery-photo,
.invitation .r14-gallery-grid .gallery-photo:nth-child(3n){width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0}
.r14-gallery-count{position:absolute;left:10px;bottom:10px;background:#191515b8;color:white;font:700 10px 'DM Sans',sans-serif;border-radius:20px;padding:5px 9px}
.invitation .r14-gallery-hint{margin:18px auto 0;font-size:11px;opacity:.67}
body.r14-lightbox-active{overflow:hidden}
.r14-lightbox{position:fixed;z-index:200;inset:0;background:#101015f4;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(8px)}
.r14-lightbox-top{position:absolute;top:0;left:0;right:0;height:64px;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;font-size:13px;letter-spacing:.13em;font-weight:600}
.r14-lightbox-close{border:0;background:#ffffff25;color:white;border-radius:50%;width:42px;height:42px;font-size:29px;cursor:pointer}
.r14-lightbox-controls{width:min(980px,100%);height:min(75vh,740px);display:flex;align-items:center;justify-content:center;gap:12px}
.r14-lightbox-stage{flex:1;min-width:0;min-height:0;height:100%;display:grid;place-items:center}
.r14-lightbox-main{height:100%;max-width:100%;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center}
.r14-lightbox-main img{max-height:calc(100% - 40px);max-width:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 12px 45px #0008;border-radius:5px}
.r14-lightbox-caption{font:700 13px 'DM Sans',sans-serif;color:#e7e1de;letter-spacing:.12em}
.r14-lightbox-arrow{flex:0 0 46px;width:46px;height:46px;border-radius:50%;border:1px solid #ffffff5a;background:#ffffff24;color:#fff;font-size:35px;line-height:1;cursor:pointer}
.r14-lightbox-help{font-size:11px;opacity:.7;margin:9px auto;letter-spacing:.04em;text-align:center}
@media(max-width:600px){
 .invitation .inv-cover.r7-cover.r14-photo-first{min-height:max(675px,100svh)}
 .invitation .inv-cover.r7-cover.r14-photo-first .r7-lockup,
 .invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-modern .r7-lockup,
 .invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-klasik .r7-lockup,
 .invitation .inv-cover.r7-cover.r14-photo-first.heritage-variant-elegan .r7-lockup{padding:58px 9% 52px;min-height:max(675px,100svh)}
 .invitation .inv-cover.r7-cover.r14-photo-first .r7-photo-frame{width:min(81%,280px)}
 .invitation .inv-cover.r7-cover.r14-photo-first .r7-names{font-size:clamp(31px,8.4vw,48px);line-height:.97}
 .r14-lightbox{padding:8px}.r14-lightbox-top{padding:8px 16px}
 .r14-lightbox-controls{width:100%;height:min(76vh,680px);gap:4px}
 .r14-lightbox-arrow{width:35px;height:48px;flex-basis:35px;border-radius:9px;font-size:30px}
 .r14-lightbox-help{font-size:10px;padding:0 22px}
}
@media(prefers-reduced-motion:reduce){.r14-gallery-item{transition:none!important}}
