/* home-gallery */
.pf-home-gallery { position: relative; height: 380vh; background: color-mix(in srgb, var(--wp--preset--color--base) 40%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 40%, transparent); padding-inline: var(--pf-gutter); }
.pf-home-gallery .pf-gallery__viewport { position: sticky; top: 6rem; height: calc(100vh - 8rem); max-height: 650px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.pf-home-gallery .pf-gallery__head { max-width: 42rem; margin: 0 auto 1.5rem; text-align: center; }
.pf-home-gallery .pf-gallery__head > * { margin: 0; }
.pf-home-gallery .pf-pill-sky-soft { display: inline-block; margin-bottom: 0.5rem; padding: 0.25rem 0.875rem; border-radius: 9999px; background: var(--wp--preset--color--sky-100); color: var(--wp--preset--color--sky-700); font-size: 0.75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.pf-home-gallery .pf-gallery__head h2 { font-size: 1.5rem; line-height: 2rem; font-weight: 800; 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-gallery__deck { position: relative; width: 100%; max-width: 48rem; height: 380px; margin-inline: auto; }
.pf-home-gallery .pf-deck-card { position: absolute; width: 100%; max-width: 820px; padding: 0 1rem; margin: 0; will-change: transform, opacity; transition: none; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.pf-home-gallery .pf-gallery__deck > .pf-deck-card:not(:first-child) { opacity: 1; }
.pf-home-gallery.is-ready .pf-gallery__deck > .pf-deck-card:not(:first-child) { opacity: 0; }
.pf-home-gallery .pf-deck-frame { padding: 0.75rem; border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 80%, transparent); border-radius: 2rem; background: color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 25px 50px -15px rgba(12, 74, 110, 0.08); }
.pf-home-gallery .pf-deck-photo { position: relative; margin: 0; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 16 / 10; background: var(--wp--preset--color--contrast); cursor: pointer; }
.pf-home-gallery .pf-deck-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.pf-home-gallery .pf-deck-photo:hover img { transform: scale(1.05); }
.pf-home-gallery .pf-deck-photo figcaption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-size: 0; background: rgba(2, 6, 23, 0.2); opacity: 0; transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.pf-home-gallery .pf-deck-photo figcaption::after { content: "Click to Zoom"; padding: 0.5rem 1rem; border-radius: 0.75rem; background: color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--wp--preset--color--contrast); font-size: 0.75rem; line-height: 1rem; font-weight: 700; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.pf-home-gallery .pf-deck-photo:hover figcaption, .pf-home-gallery .pf-deck-photo:focus-visible figcaption { opacity: 1; }
.pf-home-gallery .pf-gallery__note { margin: 1.5rem 0 0; text-align: center; font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wp--preset--color--muted); animation: pf-gallery-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pf-gallery-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: 2.25rem; 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-gallery__deck { height: 450px; }
	.pf-home-gallery .pf-deck-frame { padding: 1rem; }
}
