/* Home: honeycomb photo gallery */
.pf-home-gallery { position: relative; overflow: hidden; background: #fff; isolation: isolate; padding-block: var(--section-space); }
.pf-home-gallery .bg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 42px; }
.pf-home-gallery .bg-head h2 { max-width: 1050px; }
.pf-home-gallery .bg-head h2 em { color: var(--blue); font-weight: 400; }
.wp-site-blocks .pf-home-gallery .bg-head p:not(.eyebrow) { margin-top: 16px; }
.pf-home-gallery .bg-head .wp-block-buttons { flex: none; }
.pf-home-gallery .bg-window { --tile: clamp(190px, 18vw, 300px); --hex-h: calc(var(--tile) * .866); --rise: calc(var(--hex-h) * .5); --pitch: calc(var(--tile) * .75 + 8px); position: relative; overflow: hidden; padding: 8px 0 12px; }
.pf-home-gallery .bg-track { display: flex; width: max-content; animation: bgTravel 78s linear infinite; will-change: transform; }
.pf-home-gallery .bg-set { display: flex; flex: none; height: calc(var(--hex-h) + 2 * var(--rise)); }
.pf-home-gallery .bg-cell { flex: 0 0 var(--pitch); width: var(--pitch); position: relative; height: 100%; }
.pf-home-gallery .step-0 { --step: 0; } .pf-home-gallery .step-1 { --step: 1; } .pf-home-gallery .step-2 { --step: 2; }
.pf-home-gallery .bg-photo { position: absolute; top: calc(var(--step) * var(--rise)); left: 0; width: var(--tile); height: var(--hex-h); background: var(--paper); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); overflow: hidden; cursor: pointer; }
.pf-home-gallery .bg-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.pf-home-gallery .bg-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: #101d4c99; opacity: 0; transition: opacity .35s; pointer-events: none; }
.pf-home-gallery .bg-view { background: var(--navy); color: #fff; padding: 12px 17px; border-radius: 40px; font-size: 14px; font-weight: 700; letter-spacing: .035em; line-height: 1.3; transform: translateY(8px); transition: transform .35s; }
.pf-home-gallery .bg-photo:hover img, .pf-home-gallery .bg-photo:focus-visible img { transform: scale(1.09); }
.pf-home-gallery .bg-photo:hover .bg-overlay, .pf-home-gallery .bg-photo:focus-visible .bg-overlay { opacity: 1; }
.pf-home-gallery .bg-photo:hover .bg-view, .pf-home-gallery .bg-photo:focus-visible .bg-view { transform: none; }
.pf-home-gallery .bg-photo:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.pf-home-gallery .bg-window:hover .bg-track, .pf-home-gallery .bg-window:focus-within .bg-track, .pf-home-gallery.bg-paused .bg-track, .pf-home-gallery.bg-away .bg-track { animation-play-state: paused; }
.wp-site-blocks .pf-home-gallery .bg-hint p { text-align: center; font-size: 14px; color: var(--navy); margin-top: 22px; }
@keyframes bgTravel { to { transform: translateX(-50%); } }
@media (max-width: 767px) {
	.pf-home-gallery .bg-head { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
	.pf-home-gallery .bg-window { --tile: 190px; }
	.pf-home-gallery .bg-overlay { opacity: 1; background: transparent; align-items: end; padding-bottom: 12px; }
	.pf-home-gallery .bg-view { transform: none; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.pf-home-gallery .bg-track { animation: none !important; transform: none !important; }
	.pf-home-gallery .bg-window { overflow-x: auto; }
	.pf-home-gallery .bg-set[aria-hidden="true"], .pf-home-gallery .bg-toggle { display: none !important; }
}
