/* "Tô điểm" for the Vowry cards (vowry-tint.js). Only opacity / transform move (plus the one written line). */
.vwt { --vt-y: 14px; --vt-s: 1.04; }
.vwt-thanhlich { --vt-y: 10px; --vt-s: 1.03; }
.vwt-banhbeo { --vt-y: 14px; --vt-s: 1.05; }
.vwt-truyenthong { --vt-y: 12px; --vt-s: 1.04; }
.vwt-sangtrong { --vt-y: 8px; --vt-s: 1.05; }
.vwt [data-aos="vwt-rise"] { opacity: 0; transform: translate3d(0, var(--vt-y), 0); transition-property: opacity, transform; }
.vwt [data-aos="vwt-unveil"] { opacity: 0; transform: scale(var(--vt-s)); transition-property: opacity, transform; }
.vwt [data-aos="vwt-rise"].aos-animate, .vwt [data-aos="vwt-unveil"].aos-animate { opacity: 1; transform: none; }
.vwt [data-aos^="vwt-"][data-aos-easing="ease-out-cubic"] { transition-timing-function: cubic-bezier(.215, .61, .355, 1); }
/* The accent: the seal is pressed once, or the names rise gently. */
.vwt [data-aos="vwt-stamp"] { opacity: 0; transform: scale(1.3); transition-property: opacity, transform; transition-timing-function: cubic-bezier(.3, 1.35, .5, 1) !important; }
.vwt [data-aos="vwt-stamp"].aos-animate { opacity: 1; transform: none; }
.vwt [data-aos="vwt-write"] {
	clip-path: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	opacity: 0;
	transform: translate3d(0, 10px, 0);
	transition-property: opacity, transform !important;
	transition-duration: 0.8s !important;
	transition-timing-function: cubic-bezier(.215, .61, .355, 1) !important;
}
.vwt [data-aos="vwt-write"].aos-animate {
	clip-path: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	opacity: 1 !important;
	transform: none !important;
}
/* The demo bar button that switches the scroll effects off / on (inc/invitation-vowry.php dtc_iv_demobar_fx). */
.iv-demobar a.iv-demobar__fx { flex: none; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #c0392b; }
.iv-demobar a.iv-demobar__fx.is-off { color: #8a8f98; }

/* "Nhịp thơ" (vowry-tint.js THO, trial ?motion=tho): each kind of block has its own gentle gesture, on the
   family's curve. Opacity, transform, clip-path and a light blur on print headings only. */
.vwt-tho { --vt-e: cubic-bezier(.33, 0, .15, 1); --vt-c0: inset(0 0 100% 0); --vt-blur: 3px; }
.vwt-tho.vwt-banhbeo { --vt-e: cubic-bezier(.39, .575, .565, 1); --vt-c0: inset(6% 5% 6% 5%); --vt-blur: 0px; }
.vwt-tho.vwt-truyenthong { --vt-e: cubic-bezier(.45, 0, .25, 1); --vt-c0: inset(0 0 100% 0); --vt-blur: 0px; }
.vwt-tho.vwt-sangtrong { --vt-e: cubic-bezier(.33, 0, .15, 1); --vt-c0: inset(8% 5% 8% 5%); --vt-blur: 4px; }
.vwt-tho [data-aos^="vwt-"][data-aos-easing="ease-out-cubic"] { transition-timing-function: var(--vt-e); }
.vwt-tho [data-aos="vwt-focus"] { opacity: 0; filter: blur(var(--vt-blur)); transform: translate3d(0, 6px, 0) scale(1.02); transition-property: opacity, transform, filter; }
.vwt-tho [data-aos="vwt-open"] { opacity: 0; clip-path: var(--vt-c0); transform: scale(var(--vt-s)); transition-property: opacity, transform, clip-path; }
.vwt-tho [data-aos="vwt-shot"] { opacity: 0; transform: translate3d(0, 12px, 0) scale(.97); transition-property: opacity, transform; }
.vwt-tho [data-aos="vwt-bloom"] { opacity: 0; transform: scale(.9) rotate(-4deg); transform-origin: 50% 70%; transition-property: opacity, transform; }
.vwt-tho [data-aos="vwt-focus"].aos-animate, .vwt-tho [data-aos="vwt-open"].aos-animate, .vwt-tho [data-aos="vwt-shot"].aos-animate, .vwt-tho [data-aos="vwt-bloom"].aos-animate { opacity: 1; transform: none; filter: none; clip-path: none !important; }

/* "Nhịp thơ" v2 (vowry-tint.js thoV2; same language as motion.css v2): soft edges instead of hard wipes. */
@property --mo-ink { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
/* Names in a script face: rise smoothly with 100% full strokes, no mask slicing. */
.vwt-tho [data-aos="vwt-write"] {
	clip-path: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	opacity: 0;
	transform: translate3d(0, 10px, 0);
	transition-property: opacity, transform !important;
	transition-duration: 0.8s !important;
	transition-timing-function: cubic-bezier(.215, .61, .355, 1) !important;
}
.vwt-tho [data-aos="vwt-write"].aos-animate {
	clip-path: none !important;
	-webkit-mask-image: none !important;
	mask-image: none !important;
	opacity: 1 !important;
	transform: none !important;
}
/* Print headings, word by word: each word comes into focus, 0.1s after the one before. */
.vwt-tho.vwt-truyenthong { --vt-wb: 2px; }
.vwt-tho.vwt-sangtrong { --vt-wb: 4px; }
.vwt-tho [data-aos="vwt-focus"].vwt-words { opacity: 1; filter: none; }
.vwt-tho [data-aos="vwt-focus"].vwt-words:not(.aos-animate) { transform: translate3d(0, 4px, 0); }
.vwt-tho .vwt-words mo-w {
	opacity: 0; filter: blur(var(--vt-wb, 3px));
	transition: opacity .9s var(--vt-e) calc(var(--vw-d, 0ms) + var(--wi, 0) * .1s), filter 1.2s var(--vt-e) calc(var(--vw-d, 0ms) + var(--wi, 0) * .1s);
}
.vwt-tho .vwt-words.aos-animate mo-w { opacity: 1; filter: blur(0px); }
/* Large photos: uncovered through a soft edge in the family's way, while the print develops to true colour. */
.vwt-tho [data-aos="vwt-open"] {
	clip-path: none;
	-webkit-mask-image: linear-gradient(180deg, #000 calc(var(--mo-ink) - 22%), transparent var(--mo-ink));
	mask-image: linear-gradient(180deg, #000 calc(var(--mo-ink) - 22%), transparent var(--mo-ink));
	-webkit-mask-size: 100% 100%; mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	--mo-ink: 0%;
	transition-property: opacity, transform, --mo-ink;
}
.vwt-tho [data-aos="vwt-open"].aos-animate { clip-path: none; --mo-ink: var(--vt-i1, 124%); }
.vwt-tho.vwt-truyenthong { --vt-i1: 114%; }
.vwt-tho.vwt-truyenthong [data-aos="vwt-open"] {
	-webkit-mask-image: linear-gradient(180deg, #000 calc(var(--mo-ink) - 12%), transparent var(--mo-ink));
	mask-image: linear-gradient(180deg, #000 calc(var(--mo-ink) - 12%), transparent var(--mo-ink));
}
.vwt-tho.vwt-banhbeo { --vt-i1: 132%; }
.vwt-tho.vwt-banhbeo [data-aos="vwt-open"] {
	-webkit-mask-image: radial-gradient(circle farthest-corner at 50% 50%, #000 calc(var(--mo-ink) - 30%), transparent var(--mo-ink));
	mask-image: radial-gradient(circle farthest-corner at 50% 50%, #000 calc(var(--mo-ink) - 30%), transparent var(--mo-ink));
}
.vwt-tho.vwt-sangtrong { --vt-i1: 138%; }
.vwt-tho.vwt-sangtrong [data-aos="vwt-open"] {
	-webkit-mask-image: radial-gradient(ellipse farthest-corner at 50% 50%, #000 calc(var(--mo-ink) - 36%), transparent var(--mo-ink));
	mask-image: radial-gradient(ellipse farthest-corner at 50% 50%, #000 calc(var(--mo-ink) - 36%), transparent var(--mo-ink));
}
.vwt-tho .vwt-dev[data-aos="vwt-open"] img {
	filter: sepia(.22) saturate(.7) brightness(1.07) contrast(.94);
	transition: filter calc(var(--vw-t, 1800ms) * 1.5) cubic-bezier(.4, 0, .2, 1) calc(var(--vw-d, 0ms) + 200ms);
}
.vwt-tho .vwt-dev[data-aos="vwt-open"].aos-animate img { filter: none; }
/* Ornaments and icons: painted outwards from their base. */
.vwt-tho [data-aos="vwt-bloom"] {
	-webkit-mask-image: radial-gradient(circle farthest-corner at 50% 70%, #000 calc(var(--mo-ink) - 30%), transparent var(--mo-ink));
	mask-image: radial-gradient(circle farthest-corner at 50% 70%, #000 calc(var(--mo-ink) - 30%), transparent var(--mo-ink));
	-webkit-mask-size: 100% 100%; mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	--mo-ink: 0%;
	transition-property: opacity, transform, --mo-ink;
}
.vwt-tho [data-aos="vwt-bloom"].aos-animate { --mo-ink: 132%; }
/* Nothing stays masked once the move is over; the names catch the light once. */
.vwt-tho .vwt-done { -webkit-mask-image: none !important; mask-image: none !important; }
@keyframes vwtGlint {
	0%, 100% { filter: drop-shadow(0 0 0 transparent); }
	45% { filter: drop-shadow(0 0 7px var(--vw-gc, transparent)); }
}
.vwt-tho .vwt-glint { animation: vwtGlint 1.8s cubic-bezier(.45, 0, .55, 1) both; }

/* "lặng" (owner 20/11 04:53; vowry-tint.js LANG): ornaments only fade in; photos after the first one of their
   section simply fade in while settling, without the soft unveil. */
.vwt-tho.vwt-lang [data-aos="vwt-bloom"] { -webkit-mask-image: none; mask-image: none; transform: none; transition-property: opacity; }
.vwt-tho.vwt-lang [data-aos="vwt-open"].vwt-plain { -webkit-mask-image: none; mask-image: none; transition-property: opacity, transform; }
