img.aglz-ph {
	background: #161616;
}
.wp-block-gallery figure.wp-block-image img.aglz-ph[data-aglz-src],
.wp-block-gallery.has-nested-images figure.wp-block-image img.aglz-ph,
.wp-block-gallery img.aglz-ph,
.gallery img.aglz-ph {
	width: 100%;
	height: auto;
}
img.aglz-reveal-lift { animation: aglz-lift .5s ease-out var(--aglz-delay, 0ms) both; }
@keyframes aglz-lift {
	from { filter: brightness(.22) contrast(.94); }
	to { filter: brightness(1) contrast(1); }
}
img.aglz-reveal-instant { animation: aglz-instant .95s cubic-bezier(.25,.46,.45,.94) var(--aglz-delay, 0ms) both; }
@keyframes aglz-instant {
	0% { filter: brightness(1.38) saturate(.04) contrast(.5) sepia(.24); }
	55% { filter: brightness(1.12) saturate(.55) contrast(.82) sepia(.1); }
	100% { filter: brightness(1) saturate(1) contrast(1) sepia(0); }
}
img.aglz-reveal-breathe { animation: aglz-breathe .55s cubic-bezier(.22,.61,.36,1) var(--aglz-delay, 0ms) both; }
@keyframes aglz-breathe {
	from { filter: blur(14px) brightness(.9); transform: scale(1.028); }
	to { filter: blur(0) brightness(1); transform: scale(1); }
}
img.aglz-reveal-focus { animation: aglz-focus .55s cubic-bezier(.22,.61,.36,1) var(--aglz-delay, 0ms) both; }
@keyframes aglz-focus {
	from { filter: blur(18px) brightness(.85); }
	to { filter: blur(0) brightness(1); }
}
img.aglz-reveal-iris { animation: aglz-iris .6s cubic-bezier(.33,.66,.35,1) var(--aglz-delay, 0ms) both; }
@keyframes aglz-iris {
	from { clip-path: circle(11% at 50% 50%); filter: blur(6px); }
	to { clip-path: circle(78% at 50% 50%); filter: blur(0); }
}
img.aglz-reveal-angular { animation: aglz-angular .48s cubic-bezier(.7,.03,.48,.99) var(--aglz-delay, 0ms) both; }
@keyframes aglz-angular {
	0% { clip-path: polygon(53.96% 50.56%, 51.5% 53.71%, 47.54% 53.15%, 46.04% 49.44%, 48.5% 46.29%, 52.46% 46.85%); }
	14% { clip-path: polygon(53.96% 50.56%, 51.5% 53.71%, 47.54% 53.15%, 46.04% 49.44%, 48.5% 46.29%, 52.46% 46.85%); }
	46% { clip-path: polygon(67.9% 48.12%, 60.58% 64.56%, 42.68% 66.45%, 32.1% 51.88%, 39.42% 35.44%, 57.32% 33.55%); }
	100% { clip-path: polygon(200.8% -17.2%, 183.5% 147%, 32.7% 214.2%, -100.8% 117.2%, -83.5% -47%, 67.3% -114.2%); }
}
img.aglz-reveal-hexbloom { animation: aglz-hexbloom .6s cubic-bezier(.33,.66,.35,1) var(--aglz-delay, 0ms) both; }
@keyframes aglz-hexbloom {
	from { clip-path: polygon(63% 50%, 56.5% 61.3%, 43.5% 61.3%, 37% 50%, 43.5% 38.7%, 56.5% 38.7%); filter: blur(5px); }
	to { clip-path: polygon(210% 50%, 130% 188%, -30% 188%, -110% 50%, -30% -88%, 130% -88%); filter: blur(0); }
}
img.aglz-reveal-develop { animation: aglz-develop .65s ease-out var(--aglz-delay, 0ms) both; }
@keyframes aglz-develop {
	from { filter: grayscale(1) brightness(.55) contrast(.92); }
	to { filter: none; }
}
a.aglz-reveal-circular img.aglz-img { animation: aglz-circular .52s cubic-bezier(.75,.02,.32,1) var(--aglz-delay, 0ms) both; }
@keyframes aglz-circular {
	0% { clip-path: circle(3.5% at 50% 50%); }
	16% { clip-path: circle(3.5% at 50% 50%); }
	100% { clip-path: circle(79% at 50% 50%); }
}
a.aglz-reveal-circular::after {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
	background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(0,0,0,0) 0deg 27deg, rgba(22,22,22,.85) 27deg 30deg);
	animation: aglz-circular-blades .52s cubic-bezier(.75,.02,.32,1) var(--aglz-delay, 0ms) both;
}
@keyframes aglz-circular-blades {
	0% { opacity: .55; transform: rotate(18deg); }
	16% { opacity: .55; transform: rotate(18deg); }
	70% { opacity: 0; transform: rotate(-14deg); }
	100% { opacity: 0; transform: rotate(-16deg); }
}
a.aglz-reveal-curtain img.aglz-img { animation: aglz-curtain .5s cubic-bezier(.7,.02,.34,1) var(--aglz-delay, 0ms) both; }
@keyframes aglz-curtain {
	0% { clip-path: inset(0 0 100% 0); filter: brightness(.6); }
	18% { clip-path: inset(0 0 100% 0); filter: brightness(.6); }
	100% { clip-path: inset(0 0 0 0); filter: brightness(1); }
}
a.aglz-reveal-curtain::after {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%;
	background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,.85) 45%, rgba(10,10,10,0) 100%);
	z-index: 3; pointer-events: none; opacity: 0; transform: translateY(-110%);
	animation: aglz-curtain-slit .5s cubic-bezier(.7,.02,.34,1) var(--aglz-delay, 0ms) both;
}
@keyframes aglz-curtain-slit {
	0% { transform: translateY(-110%); opacity: 0; }
	18% { transform: translateY(-110%); opacity: .9; }
	96% { opacity: .9; }
	100% { transform: translateY(360%); opacity: 0; }
}
a.aglz-fx { position: relative; display: block; overflow: hidden; }
a.aglz-reveal-plates::before, a.aglz-reveal-plates::after {
	content: ""; position: absolute; left: 0; width: 100%; height: 50.5%; background: #0e0e0e; z-index: 3; pointer-events: none; opacity: 0;
}
a.aglz-reveal-plates::before { top: 0; transform: translateY(-102%); animation: aglz-plate-up .5s cubic-bezier(.55,.06,.68,.19) var(--aglz-delay, 0ms) both; }
a.aglz-reveal-plates::after { bottom: 0; transform: translateY(102%); animation: aglz-plate-down .5s cubic-bezier(.55,.06,.68,.19) var(--aglz-delay, 0ms) both; }
@keyframes aglz-plate-up {
	from { transform: translateY(0); opacity: 1; }
	to { transform: translateY(-102%); opacity: 1; }
}
@keyframes aglz-plate-down {
	from { transform: translateY(0); opacity: 1; }
	to { transform: translateY(102%); opacity: 1; }
}
a.aglz-reveal-grain img.aglz-img { animation: aglz-lift .6s ease-out var(--aglz-delay, 0ms) both; }
a.aglz-reveal-grain::after {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 120px 120px;
	mix-blend-mode: overlay;
	animation: aglz-grain .6s ease-out var(--aglz-delay, 0ms) both;
}
@keyframes aglz-grain { from { opacity: .6; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	img[class*="aglz-reveal-"], a[class*="aglz-reveal-"]::before, a[class*="aglz-reveal-"]::after, a.aglz-reveal-grain img.aglz-img, a.aglz-reveal-circular img.aglz-img, a.aglz-reveal-curtain img.aglz-img { animation: none; }
}
