/* Tema Sutra (Profesional): kertas krem dan putih, satu aksen pasir, foto berbingkai lengkung putih. Cormorant + Cinzel Decorative. */
:root { --aksen: #c7b095; --teks: #7f7f7f; --krem: #f2eee3; --abu: #f3f3f3; --abu2: #f7f7f7; --garis: #7f7f7f;
	--cor: 'Cormorant', Georgia, serif; --sc: 'Cormorant SC', 'Cormorant', Georgia, serif; --gar: 'Cormorant Garamond', Georgia, serif;
	--cin: 'Cinzel Decorative', 'Cormorant SC', serif; --tin: 'Tinos', 'Times New Roman', serif; --abh: 'Abhaya Libre', Georgia, serif;
	--w: min(1120px, calc(100% - 20px)); --card: min(1140px, calc(100% - 20px)); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; max-width: 100%; }
body { margin: 0; max-width: 100%; position: relative; background: #fff; color: var(--teks); font: 400 16px/1.2 var(--cor); -webkit-font-smoothing: antialiased; }
body.sj-lock { overflow: hidden; height: 100vh; height: 100lvh; }
#atas { overflow-x: clip; }   /* efek muncul (geser, putar, zoom) tidak boleh melebarkan halaman: HP akan memperkecil tampilan */
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--aksen); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }

/* ---------- teks bersama ---------- */
.sj-h { font: 600 38px/1.2 var(--sc); color: var(--aksen); text-shadow: 0 0 10px rgba(144, 144, 144, .76); text-align: center; }
.sj-it { font: italic 300 16px/1.2 var(--cor); text-align: center; color: var(--teks); }
.sj-it.sj-src { margin-top: 0; }
.sj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 218px; min-height: 42px; padding: 0 22px; border: 0; background: var(--krem); color: var(--teks); font: 500 15px/1 var(--cor); letter-spacing: 0; text-decoration: none; transition: background .3s, color .3s, transform .3s; }
.sj-btn:hover { background: var(--aksen); color: #fff; transform: translateY(-2px); }
.sj-btn.ghost { min-width: 111px; min-height: 47px; padding: 0 16px; background: transparent; color: #fff; border: 1px solid #fff; text-transform: capitalize; }
.sj-btn.ghost:hover { background: #fff; color: #333; }
.sj-ghost { font: 600 59px/1.2 var(--sc); color: #f6f6f6; text-align: center; }

/* ---------- sampul ---------- */
.sj-gate { position: fixed; inset: 0; z-index: 300; color: #fff; background: #2a2724; transition: opacity .9s ease, transform 1.1s cubic-bezier(.7, 0, .2, 1); }
.sj-gate.out { opacity: 0; transform: translateY(-6%); pointer-events: none; }
.sj-gate-bg { position: absolute; inset: 0; background: center / cover no-repeat; animation: sj-gk 22s ease-in-out infinite alternate; }
.sj-gate::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(60, 56, 52, .55); }
@keyframes sj-gk { from { transform: scale(1); } to { transform: scale(1.1); } }
.sj-gate-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: 18svh 20px 14svh; }
.sj-gate-of { font: 600 16px/24px var(--cor); }
.sj-gate-names { margin: 12px 0 8px; font: 400 clamp(30px, 8vw, 46px)/1.1 var(--cin); letter-spacing: 0; text-transform: uppercase; }
.sj-gate-date { font: 600 15px/24px var(--cor); }
.sj-gate-to { font: 400 18px/27px var(--cor); }
.sj-gate-guest { margin-top: 4px; font: 600 25px/37px 'Roboto', system-ui, sans-serif; word-break: break-word; }
.sj-gate-addr { font: 400 14px/20px var(--cor); opacity: .9; }
.sj-open { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 142px; min-height: 45px; margin-top: 8px; padding: 0 20px; background: transparent; border: solid #fff; border-width: 1px 0; color: #fff; font: 600 15px/1 var(--cor); transition: background .3s, color .3s; }
.sj-open:hover { background: #fff; color: #333; }
.sj-open i { font-size: 16px; }

/* ---------- musik ---------- */
.sj-music { position: fixed; z-index: 90; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(33, 33, 33, .85); color: #fff; display: grid; place-items: center; font-size: 14px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: opacity .6s ease .8s, transform .3s; }
.sj-music .fa-pause, .sj-music.play .fa-music { display: none; }
.sj-music.play .fa-pause { display: block; }
.sj-music:hover { transform: scale(1.08); }
.sj-music { width: 26px; height: 26px; font-size: 10px; background: rgba(20, 20, 20, .2); color: rgba(255, 255, 255, .85); opacity: .8; box-shadow: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sj-vstop { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 34px); }
.sj-vstop .fa-video-slash, .sj-vstop.off .fa-video { display: none; }
.sj-vstop.off .fa-video-slash { display: block; }
body.sj-lock .sj-music { opacity: 0; pointer-events: none; }

/* ---------- slideshow latar (foto bergantian + gerak pelan) ---------- */
.sj-slides { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.sj-slides .sl { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.sj-slides .sl.on { opacity: 1; }
.sj-slides img { width: 100%; height: 100%; object-fit: cover; }
.sj-slides .sl.on img { animation: sj-ken 9s ease-out forwards; }
@keyframes sj-ken { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.2%, -1%); } }

/* ---------- video latar (hero dan Live Streaming): menutupi foto setelah benar-benar main ---------- */
.sj-vid { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.sj-vid.on { opacity: 1; }
.sj-vid video { width: 100%; height: 100%; object-fit: cover; }
.sj-vid iframe { position: absolute; top: 50%; left: 50%; width: 248vh; height: 140vh; min-width: 140vw; min-height: 78.75vw; transform: translate(-50%, -50%); border: 0; }
.sj-live .sj-vid iframe { width: 100vw; height: 56.25vw; min-width: 177.78%; min-height: 100%; }

/* ---------- hero ---------- */
.sj-hero { position: relative; height: 100vh; height: 100lvh; min-height: 520px; color: #fff; overflow: hidden; background: #8f9a9e; }
.sj-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(4, 2, 2, .12), rgba(4, 2, 2, 0) 40%, rgba(40, 36, 36, .35) 70%, rgb(109, 105, 105) 100%); pointer-events: none; }
.sj-hero-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 10px 72px; text-align: center; }
.sj-hero-names { font: 600 38px/1 var(--tin); }
.sj-count { display: flex; justify-content: center; gap: 28px; margin-top: 22px; }
.sj-count div { min-width: 34px; display: grid; justify-items: center; }
.sj-count b { font: 400 25px/1 var(--abh); display: inline-block; }
.sj-count span { margin-top: 4px; font: 400 10px/19px var(--abh); }

/* ---------- salam + karusel ---------- */
.sj-intro { background: var(--abu); padding: 100px 10px 110px; text-align: center; overflow: hidden; }
.sj-mono { display: inline-flex; align-items: stretch; gap: 14px; color: var(--aksen); font: 700 55px/1 var(--cin); }
.sj-mono i { width: 1px; background: #8a8a8a; margin: -2px 0 -34px; }
.sj-arab { margin-top: 36px; font: 400 26px/1.6 'Amiri', 'Scheherazade New', serif; color: var(--aksen); }
.sj-intro .sj-it { margin: 36px auto 0; max-width: 700px; }
.sj-intro .sj-arab + .sj-it { margin-top: 14px; }
.sj-rail { margin-top: 20px; overflow: hidden; --sz: 108px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sj-rail-track { display: flex; gap: 5px; width: max-content; animation: sj-rail 60s linear infinite; }
.sj-rail img { flex: none; width: var(--sz); height: var(--sz); object-fit: cover; border-radius: 5px; }
@keyframes sj-rail { to { transform: translateX(calc(-50% - 2.5px)); } }

/* ---------- kutipan ---------- */
.sj-quote { text-align: center; padding: 10px 15px 0; }
.sj-quote > i { display: block; font-size: 50px; line-height: 50px; height: 50px; color: #e4e4e4; margin-bottom: 26px; }
.sj-quote > i:last-child { margin: 23px 0 11px; }
.sj-quote .sj-it { max-width: 920px; margin-inline: auto; }

/* ---------- save the date ---------- */
.sj-save { padding: 0 0 9px; text-align: center; }
.sj-sd { position: relative; width: var(--w); margin: 40px auto 0; min-height: 365px; }
.sj-sd-a { width: 60%; aspect-ratio: 3 / 4; overflow: hidden; }
.sj-sd-b { position: absolute; right: 0; top: 54.5%; width: 58%; aspect-ratio: 206 / 158; border: 6px solid #fff; border-radius: 3px; overflow: hidden; box-shadow: 0 0 12px rgba(0, 0, 0, .12); background: #fff; }
.sj-sd img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.1); }
.sj-sd-h { position: absolute; right: 0; top: 15px; text-align: right; z-index: 2; }
.sj-sd-date { margin-top: 21px; font: 300 26px/1.2 var(--sc); color: var(--aksen); }
.sj-save .sj-btn { margin-top: 20px; min-width: 260px; min-height: 43px; }

/* ---------- mempelai ---------- */
.sj-couple { background: var(--krem); padding: 10px 0; }
.sj-card { width: var(--card); margin: 0 auto; background: #fff; box-shadow: 0 0 15px rgba(0, 0, 0, .12); padding: 10px; }
.sj-person { display: grid; gap: 10px; margin-bottom: 14px; }
.sj-person:last-child { margin-bottom: 0; }
.sj-frame { position: relative; aspect-ratio: 355 / 550; overflow: hidden; background: #d9d4cb; }
.sj-person-txt { position: relative; text-align: center; padding: 8px 10px 22px; display: flex; flex-direction: column; align-items: center; }
.sj-ghost { position: absolute; top: 4px; left: 0; right: 0; font-size: clamp(59px, 9vw, 86px); letter-spacing: 0; }
.sj-sapa { position: relative; margin-top: 26px; font-size: 45px; }
.sj-full { margin-top: 5px; font: 600 21px/1.2 var(--gar); color: var(--teks); }
.sj-par { margin-top: 6px; font: italic 300 16px/1 var(--gar); }
.sj-person-txt .sj-btn { margin-top: 5px; min-width: 260px; }

/* ---------- acara ---------- */
.sj-event { padding: 47px 0 10px; text-align: center; }
.sj-event .sj-quote { padding-top: 0; }
.sj-event > .sj-h { margin-top: 0; }
.sj-ev { width: var(--w); margin: 0 auto; }
.sj-arch { width: min(266px, 72%); margin: 23px auto 0; aspect-ratio: 266 / 349; border: 9px solid #fff; border-radius: 200px 200px 10px 10px; box-shadow: 0 0 10px rgba(0, 0, 0, .5); overflow: hidden; }
.sj-arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateY(var(--py, 0)); }
.sj-div { display: flex; align-items: center; gap: 12px; margin: 5px auto 0; padding: 15px 0; font: 400 30px/1 var(--sc); color: var(--teks); }
.sj-div i { flex: 1; height: 1px; background: var(--garis); }
.sj-div span { flex: none; max-width: 78%; }
.sj-ev-date { margin-top: 5px; font: 600 20px/1.2 var(--cor); }
.sj-ev-time { margin-top: 5px; }
.sj-ev-loc { margin: 5px auto 0; max-width: 520px; line-height: 1.2; }
.sj-ev .sj-btn { margin-top: 5px; min-width: 251px; min-height: 45px; }
.sj-ev + .sj-ev { margin-top: 5px; }
.sj-map { width: var(--w); margin: 28px auto 0; }
.sj-map iframe { width: 100% !important; height: 300px !important; border: 0; }

/* ---------- live streaming ---------- */
.sj-live { position: relative; min-height: 312px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; background: #3a332f; }
.sj-live::after { content: ''; position: absolute; inset: 0; background: rgba(34, 26, 26, .45); }
.sj-live-bg { position: absolute; inset: -10% 0; z-index: 0; }
.sj-live-bg img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)); }
.sj-live-in { position: relative; z-index: 2; padding: 71px 13px 41px; display: grid; justify-items: center; gap: 10px; }
.sj-live-h + .sj-live-p { margin-top: 30px; }
.sj-live-h { font: 300 31px/1 var(--sc); }
.sj-live-p { font: italic 300 14px/1.3 var(--cor); }
.sj-live .sj-btn { margin-top: 0; }

/* ---------- RSVP ---------- */
.sj-rsvp { position: relative; padding: 36px 10px; overflow: hidden; background: #e5e9ea; }
.sj-rsvp::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(255, 255, 255, .5); }
.sj-rsvp-card { position: relative; z-index: 2; width: var(--w); margin: 0 auto; padding: 36px 26px 34px; background: rgba(255, 255, 255, .86); border-radius: 20px; box-shadow: 0 0 15px rgba(0, 0, 0, .25); backdrop-filter: blur(2px); }
.sj-rsvp-card > .sj-it { margin-top: 22px; }
.sj-form { max-width: 672px; margin: 18px auto 0; display: grid; gap: 22px; }
.sj-form label { display: grid; gap: 5px; font: 400 16px/24px var(--cor); color: #434343; }
.sj-form label > span { display: block; }
.sj-form label b { color: #e66; font-weight: 400; }
.sj-form input, .sj-form select, .sj-form textarea { width: 100%; min-height: 45px; padding: 0 16px; background: #fff; border: 0; border-bottom: 1px solid #999; border-radius: 0; font: 400 16px/1.2 var(--cor); outline-offset: 2px; }
.sj-form input::placeholder { color: #aaa; }
.sj-submit { justify-self: center; min-height: 42px; padding: 0 22px; border: 0; border-radius: 8px; background: #ababab; color: #fff; font: 600 15px/1 var(--cor); transition: background .3s, transform .3s; }
.sj-submit:hover { background: var(--aksen); transform: translateY(-2px); }
.sj-submit:disabled { opacity: .6; }
.sj-msg { text-align: center; min-height: 1em; font: italic 400 15px/1.3 var(--cor); }
.sj-form [data-jml-wrap].off { opacity: .4; pointer-events: none; }
.sj-qr { margin-top: 28px; text-align: center; }
.sj-qr #qrcode { display: inline-block; margin-top: 12px; padding: 10px; background: #fff; }

/* ---------- love story ---------- */
.sj-story-top { position: relative; width: var(--w); margin: 0 auto; padding: 28px 0 0; }
.sj-story-top::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 25%; background: #e2dcd6; }
.sj-story-h { position: relative; z-index: 2; text-align: right; font-size: 48px; }
.sj-story-arch { position: relative; z-index: 2; width: 68%; margin: 22px 7% 0 auto; aspect-ratio: 243 / 320; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: -4px 0 12px rgba(0, 0, 0, .28); }
.sj-story-arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateY(var(--py, 0)); }
.sj-knot { position: relative; z-index: 3; margin-top: -2px; padding: 14px 0 16px; background: #fcfcfc; text-align: left; font-size: 48px; color: #eee; box-shadow: 0 6px 12px rgba(0, 0, 0, .05); }
.sj-tl { background: var(--abu2); padding: 24px 0 18px; overflow: hidden; }
.sj-tl-i { width: var(--w); margin: 0 auto; padding: 22px 5px 24px; }
.sj-tl-i .sj-div { margin: 0; }
.sj-tl-i .sj-div span { max-width: none; }
.sj-tl-i .sj-div i { flex: 1 1 40px; max-width: 147px; }
.sj-tl-i .sj-div { justify-content: flex-start; }
.sj-tl-i.r .sj-div { flex-direction: row-reverse; }
.sj-tl-i.r { text-align: right; }
.sj-tl-d { margin-top: 10px; font: italic 300 15px/1.2 var(--cor); color: var(--aksen); }
.sj-tl-i > p:last-child { margin-top: 28px; font: 400 16px/1.2 var(--cor); }
.sj-mini { width: 120px; aspect-ratio: 3 / 4; margin: 16px 0 0; border-radius: 999px 999px 4px 4px; overflow: hidden; box-shadow: 0 0 8px rgba(0, 0, 0, .25); }
.sj-tl-i.r .sj-mini { margin-left: auto; }
.sj-mini img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- wedding gift ---------- */
.sj-gift { padding: 36px 0 70px; text-align: center; }
.sj-gift-h { position: relative; margin-top: 30px; height: 120px; }
.sj-gift-h .sj-ghost { position: absolute; left: 0; right: 0; top: 0; font-size: 50px; color: #f0f0f0; }
.sj-gift-h .sj-h { position: absolute; left: 0; right: 0; top: 26px; font-size: 50px; }
.sj-gift-p { width: var(--w); margin: 12px auto 0; }
.sj-acct { width: min(334px, calc(100% - 20px)); margin: 34px auto 0; font: 300 15px/1.3 var(--cor); color: #666; }
.sj-acct .sj-btn { margin-top: 22px; min-width: 218px; min-height: 41px; }
.sj-qris { width: 190px; margin: 18px auto 0; border: 6px solid #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .15); }
.sj-note { margin-top: 36px; font: italic 400 13px/1.2 'Alegreya', serif; color: #666; }
.sj-note + .sj-btn { margin-top: 14px; }

/* ---------- wish ---------- */
.sj-wish { background: var(--krem); padding: 10px; }
.sj-wish-card { width: var(--w); margin: 0 auto; background: #fff; padding: 36px 10px 10px; text-align: center; }
.sj-wish-card .sj-h { font-size: 50px; }
.sj-wish-card > .sj-it { margin-top: 30px; font-size: 14px; line-height: 1.5; color: #6c6c6c; }
.sj-gb { margin-top: 22px; border: 1px solid #ddd5bc; border-radius: 20px; overflow: hidden; text-align: left; background: #fff; }
.sj-gb-form { padding: 16px 16px 14px; display: grid; gap: 14px; }
.sj-gb-form input, .sj-gb-form textarea { width: 100%; padding: 8px 14px; border: 1px solid #ddd5bc; border-radius: 20px; background: #fff; font: 400 14px/1.4 var(--cor); }
.sj-gb-form textarea { resize: vertical; border-radius: 14px; min-height: 76px; }
.sj-send { justify-self: start; padding: 7px 20px; border: 0; border-radius: 5px; background: #8e8e8e; color: #fff; font: 600 13px/1 var(--cor); transition: background .3s; }
.sj-send:hover { background: var(--aksen); }
.sj-gb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e6e1d0; max-height: 390px; overflow-y: auto; }
.sj-gb-list li { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #e6e1d0; font: 400 12px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #625b4f; }
.sj-gb-list li[hidden] { display: none; }
.sj-gb-list b { color: #5f4c25; font-weight: 700; }
.sj-gb-list em { margin-left: 8px; padding: 1px 7px; border-radius: 9px; background: var(--krem); color: #8a7650; font-style: normal; font-size: 11px; }
.sj-gb-list p { margin: 2px 0 8px; white-space: pre-line; overflow-wrap: anywhere; }
.sj-gb-list small { color: #444; font-size: 11px; }
.sj-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #f0506e; color: #f0506e; display: grid; place-items: center; font-size: 13px; }
.sj-pg { display: flex; justify-content: center; gap: 14px; padding: 10px; background: #f4f2ec; font: 400 13px/1 system-ui, sans-serif; color: #888; }
.sj-pg button { border: 0; background: transparent; color: #8a7650; padding: 2px 3px; }
.sj-pg button.on { font-weight: 700; text-decoration: underline; color: #5f4c25; }
.sj-pg button:disabled { opacity: .4; cursor: default; }
.sj-pg:empty { display: none; }

/* ---------- gallery ---------- */
.sj-gal { background: var(--abu); padding: 36px 0 20px; text-align: center; }
.sj-gal .sj-h { font-size: 50px; }
.sj-gal-q { width: var(--w); margin: 26px auto 0; font: 400 14px/1.5 'Alegreya', serif; color: #6c6c6c; }
.sj-grid { width: var(--w); margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sj-grid button { flex: 1 1 calc(50% - 5px); padding: 0; border: 0; background: #e8e6e1; overflow: hidden; aspect-ratio: 1; }
.sj-grid button:nth-child(3n+1) { flex-basis: 100%; aspect-ratio: 16 / 10; }
.sj-grid button img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.sj-grid button:hover img { transform: scale(1.06); }
.sj-grid.ok { gap: 10px; }
.sj-grid.ok button { flex: none; aspect-ratio: auto; }

/* ---------- thank you ---------- */
.sj-thanks { position: relative; min-height: 100vh; min-height: 100lvh; display: grid; align-items: end; text-align: center; color: #fff; overflow: hidden; background: #777; }
.sj-thanks::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .4); }
.sj-thanks-in { position: relative; z-index: 2; padding: 0 10px 56px; }
.sj-thanks-t { font: 400 20px/1 var(--cor); text-transform: uppercase; }
.sj-thanks-n { margin-top: 12px; font: 700 38px/1 var(--tin); }
.sj-thanks-p { margin-top: 18px; font: italic 300 15px/1.3 var(--cor); opacity: .9; }

/* ---------- penutup ---------- */
.sj-foot { background: #fff; padding: 36px 13px 60px; text-align: center; }
.sj-foot-logo { display: inline-flex; align-items: center; gap: 8px; width: 74px; height: 74px; justify-content: center; border-radius: 50%; background: #fdf1cc; color: #b89a52; font: 700 22px/1 var(--cin); }
.sj-foot-logo i { width: 1px; height: 32px; background: #b89a52; opacity: .6; }
.sj-foot p { margin-top: 22px; font: 400 10px/1.5 var(--abh); color: #999; }

/* ---------- toast ---------- */
.nh-toast { font-family: var(--cor); }

/* ---------- efek muncul (JS menambah .in; tanpa JS semuanya tampak) ---------- */
.sj-js [data-rv] { opacity: 0; transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .8, .2, 1), filter .9s ease, clip-path 1.2s cubic-bezier(.65, 0, .2, 1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.sj-js [data-rv="up"] { transform: translateY(34px); }
.sj-js [data-rv="left"] { transform: translateX(-54px); }
.sj-js [data-rv="right"] { transform: translateX(54px); }
.sj-js [data-rv="blur"] { transform: translateY(22px) scale(.97); filter: blur(10px); }
.sj-js [data-rv="pop"] { transform: scale(.82); }
.sj-js [data-rv="zoom"] { transform: scale(1.12); }
.sj-js [data-rv="flip"] { transform: perspective(700px) rotateX(-38deg) translateY(20px); transform-origin: 50% 100%; }
.sj-js [data-rv="rise"] { transform: translateY(60px) scale(.94); }
.sj-js [data-rv="clip"] { opacity: 1; transform: none; }
.sj-js [data-rv="clip"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.65, 0, .2, 1) var(--d, 0ms); }
.sj-js [data-rv="clip"].in > * { clip-path: inset(0); }
.sj-js [data-rv="spin"] { transform: rotate(-200deg) scale(.4); }
.sj-js [data-rv].in { opacity: 1; transform: none; filter: none; clip-path: inset(0); }
.sj-js [data-rv="fade"] { transform: none; }
.sj-js [data-rv="fade"].in { opacity: 1; }
.sj-js .sj-hero-names[data-rv] { filter: none; transform: none; }
.sj-js .sj-hero-names.in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.sj-js [data-rv] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
	.sj-gate-bg, .sj-slides .sl.on img { animation: none; }
	.sj-rail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.sj-rail-track { animation: none; }
}

/* ---------- layar lebar: HP < 768, tablet 768-1024, desktop > 1024 (titik pecah Elementor, diukur dari referensi) ---------- */
@media (min-width: 768px) {
	.sj-h { font-size: 98px; line-height: 1.8; }
	.sj-it { font-size: 21px; line-height: 1.8; }
	.sj-it.sj-src { margin-top: 37.8px; }
	.sj-btn { font-size: 15px; min-width: 0; min-height: 39px; padding: 0 26px; }
	.sj-gate-in { padding: 16svh 20px 12svh; }
	.sj-gate-of { font-size: 18px; }
	.sj-gate-date { font-size: 17px; }
	.sj-gate-to { font-size: 22px; }
	.sj-gate-guest { font-size: 28px; }
	.sj-open { border-width: 1px; padding: 0 22px; }
	.sj-hero { height: 1440px; }
	.sj-hero-names { font-size: 90px; }
	.sj-hero-in { padding: 0 10px 80px; }
	.sj-count { width: var(--w); margin: 20px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
	.sj-count div { min-width: 0; padding-top: 20px; height: 128px; align-content: start; }
	.sj-count b { font-size: 69px; line-height: 1; }
	.sj-count span { margin-top: 0; font-size: 19px; line-height: 19px; }
	.sj-intro { padding: 10px 10px; }
	.sj-mono { font-size: 90px; gap: 4px; }
	.sj-mono i { margin: 8px 0 -4px; }
	.sj-arab { margin-top: 20px; }
	.sj-intro .sj-it { margin: 0 auto; max-width: 1070px; }
	.sj-intro .sj-arab + .sj-it { margin-top: 0; }
	.sj-rail { --sz: 226px; margin-top: 50px; max-width: 920px; margin-inline: auto; }
	.sj-quote { padding: 10px 25px 0; }
	.sj-quote .sj-it { max-width: 1070px; }
	.sj-quote > i:last-child { margin: 61px 0 11px; }
	.sj-sd { margin: 40px auto 0; min-height: 0; aspect-ratio: 1120 / 950; }
	.sj-sd-a { width: 50%; aspect-ratio: 3 / 4; }
	.sj-sd-b { width: 45%; aspect-ratio: 504 / 384; right: auto; left: 27.5%; top: 59.6%; border-width: 12px; border-radius: 0; box-shadow: none; }
	.sj-sd-h { left: 0; right: auto; width: 110%; top: 3.8%; text-align: center; font-size: 109px; line-height: 1.8; }
	.sj-sd-date { margin-top: 20px; font: 300 40px/1.8 var(--sc); }
	.sj-save .sj-btn { margin-top: 20px; min-width: 0; min-height: 39px; }
	.sj-save { padding-bottom: 9px; }
	.sj-couple { padding: 0; }
	.sj-card { padding: 10px; }
	.sj-person { grid-template-columns: 560px 1fr; gap: 0; align-items: stretch; margin-bottom: 0; }
	.sj-frame { aspect-ratio: auto; min-height: 952px; }
	.sj-person-txt { justify-content: center; padding: 40px 20px 0; }
	.sj-hd { position: relative; width: 100%; }
	.sj-ghost { font-size: 82px; line-height: 1.8; white-space: nowrap; }
	.sj-person-txt .sj-ghost { top: 50%; margin-top: -73.8px; bottom: auto; }
	.sj-sapa { margin-top: 0; font-size: 40px; line-height: 1.8; }
	.sj-full { font-size: 37px; line-height: 1.8; margin-top: 38px; }
	.sj-par { font-size: 21px; line-height: 1.1; margin-top: 2px; }
	.sj-person-txt .sj-btn { margin-top: 2px; min-width: 0; min-height: 41px; padding: 0 30px; }
	.sj-arch { width: min(560px, 50%); margin-top: 5px; aspect-ratio: 560 / 736; border-width: 16px; border-radius: 300px 300px 10px 10px; }
	.sj-event { padding: 10px 0 10px; }
	.sj-div { font-size: 56px; max-width: 840px; }
	.sj-ev-date { font-size: 40px; line-height: 1.8; }
	.sj-ev-time { font-size: 24px; line-height: 1.8; }
	.sj-ev-loc { font-size: 25px; line-height: 1.3; max-width: 1070px; }
	.sj-ev .sj-btn { font-size: 20px; min-width: 0; min-height: 44px; padding: 0 24px; }
	.sj-live { height: 100vh; min-height: 600px; }
	.sj-live-in { padding: 0 25px; gap: 20px; }
	.sj-live-h { font-size: 50px; }
	.sj-live-h + .sj-live-p { margin-top: 0; }
	.sj-live-p { font-size: 21px; line-height: 1.8; }
	.sj-live .sj-btn { min-height: 41px; padding: 0 19px; }
	.sj-rsvp { padding: 10px 0; }
	.sj-rsvp-card { border-radius: 0; padding: 0 30px 10px; width: var(--card); }
	.sj-rsvp-card > .sj-it { margin-top: 5px; }
	.sj-form { max-width: 672px; margin-top: 5px; gap: 20px; }
	.sj-form label { font-weight: 500; }
	.sj-form input, .sj-form select { border: 1px solid #b2b2b2; min-height: 44px; }
	.sj-submit { min-height: 42px; border-radius: 4px; font-weight: 500; font-size: 16px; }
	.sj-story-top { padding-top: 10px; }
	.sj-story-top::before { width: 25%; }
	.sj-story-h { font-size: 98px; line-height: 1.8; padding-right: 4%; }
	.sj-story-arch { width: 45.4%; margin: 20px 12% 0 auto; aspect-ratio: 509 / 764; }
	.sj-knot { font-size: 98px; line-height: 1.8; padding: 0; margin-top: -105px; }
	.sj-tl { padding: 40px 0; }
	.sj-tl-i { width: min(1070px, calc(100% - 20px)); padding: 30px 0; }
	.sj-tl-i .sj-div { font-size: 55px; line-height: 1.1; padding: 0; max-width: 929px; font-weight: 300; gap: 100px; }
	.sj-tl-i .sj-div i { max-width: none; flex: 1; }
	.sj-tl-i > p:last-child { font-size: 25px; line-height: 1.1; margin-top: 20px; }
	.sj-gift { padding-top: 5px; }
	.sj-gift-h { height: 176px; margin-top: 5px; }
	.sj-gift-h .sj-ghost { top: 0; font-size: 98px; line-height: 1.8; }
	.sj-gift-h .sj-h { top: 25px; font-size: 98px; }
	.sj-gift-p { margin-top: 5px; }
	.sj-acct { font-size: 17px; line-height: 1; width: min(1094px, calc(100% - 20px)); margin-top: 20px; }
	.sj-acct .sj-btn { min-width: 116px; min-height: 39px; margin-top: 20px; }
	.sj-note { font-size: 17px; }
	.sj-wish-card .sj-h, .sj-gal .sj-h { font-size: 98px; line-height: 1.8; }
	.sj-wish { padding: 0; }
	.sj-wish-card { width: 100%; padding: 0; }
	.sj-wish-card > .sj-it { margin-top: 5px; font-size: 21px; line-height: 1.8; }
	.sj-gal { padding-top: 10px; }
	.sj-gal-q { font-size: 21px; line-height: 1.8; margin-top: 5px; }
	.sj-grid { gap: 10px; }
	.sj-thanks { height: 1440px; }
	.sj-thanks-in { padding: 0; width: 100%; }
	.sj-thanks-t { font-size: 29px; }
	.sj-thanks-n { margin-top: 5px; font-size: 90px; line-height: 1; }
	.sj-thanks-p { display: none; }
	.sj-foot { padding: 20px 25px 20px; min-height: 324px; }
	.sj-foot-logo { width: 158px; height: 158px; font-size: 40px; }
	.sj-foot-logo i { height: 60px; }
	.sj-foot p { margin-top: 20px; font-size: 21px; line-height: 1.8; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.sj-rail { --sz: 272px; max-width: none; }
	.sj-person { grid-template-columns: 1fr 1fr; }
	.sj-frame { min-height: 1076px; }
	.sj-ghost { white-space: normal; }
}
