.pf-home-gallery { position: relative; height: 380vh; background: var(--pf-w40); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--pf-w40); }
.pf-home-gallery .pf-gallery-sticky { position: sticky; top: calc(6rem + var(--wp-admin--admin-bar--height, 0px)); height: calc(100vh - 8rem); max-height: 650px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pf-home-gallery .pf-gallery-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.pf-home-gallery .pf-gallery-head { text-align: center; max-width: 42rem; margin: 0 auto 1.5rem; }
.pf-home-gallery .pf-gallery-head .pf-pill { margin-bottom: 0.5rem; }
.pf-home-gallery .pf-gallery-head h2 { font-size: var(--wp--preset--font-size--xxl); line-height: 2rem; color: var(--wp--preset--color--contrast); }
.pf-home-gallery .pf-gallery-head p:last-child { margin-top: 0.5rem; font-size: 0.75rem; line-height: 1rem; color: var(--wp--preset--color--slate-600); }
.pf-home-gallery .pf-deck { position: relative; width: 100%; max-width: 48rem; height: 380px; margin: 0 auto; }
.pf-home-gallery .pf-deck-card { position: absolute; width: 100%; max-width: 820px; padding: 0 1rem; will-change: transform, opacity; transition: none; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pf-home-gallery .pf-deck-card:not(:first-child) { opacity: 0; }
.pf-home-gallery .pf-deck-frame { padding: 0.75rem; border-radius: 2rem; background: var(--pf-w90); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--wp--preset--shadow--card); border: 1px solid var(--pf-w80); }
.pf-home-gallery .pf-deck-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 1.5rem; background: var(--wp--preset--color--contrast); cursor: pointer; }
.pf-home-gallery .pf-deck-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.pf-home-gallery .pf-deck-photo:hover img { transform: scale(1.05); }
.pf-home-gallery .pf-deck-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, #020617 20%, transparent); opacity: 0; transition: opacity 0.15s; }
.pf-home-gallery .pf-deck-photo::after { content: "Click to Zoom"; position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 0.5rem 1rem; border-radius: 0.75rem; background: var(--pf-w90);
	color: var(--wp--preset--color--contrast); font-size: 0.75rem; line-height: 1rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.pf-home-gallery .pf-deck-photo:hover::before, .pf-home-gallery .pf-deck-photo:hover::after, .pf-home-gallery .pf-deck-photo:focus-visible::before, .pf-home-gallery .pf-deck-photo:focus-visible::after { opacity: 1; }
.pf-home-gallery .pf-deck-photo:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.pf-home-gallery .pf-deck-note { text-align: center; margin-top: 1.5rem; font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--wp--preset--color--muted); animation: pf-note-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pf-note-pulse { 50% { opacity: 0.5; } }
@media (min-width: 640px) {
	.pf-home-gallery .pf-gallery-head { margin-bottom: 2rem; }
	.pf-home-gallery .pf-gallery-head h2 { font-size: var(--wp--preset--font-size--display); line-height: 2.5rem; }
	.pf-home-gallery .pf-gallery-head p:last-child { font-size: 0.875rem; line-height: 1.25rem; }
	.pf-home-gallery .pf-deck { height: 450px; }
	.pf-home-gallery .pf-deck-frame { padding: 1rem; }
}
