/* CASE STUDIES centred preview (Boss Oct 18 2026 PHT). Hover (desktop, 250 ms intent) or click/tap a tile:
   the full, uncropped image floats in the centre over a dim backdrop. Top-layer popover, so it sits above the modal slot dialog.
   The overlay is click-through (pointer-events: none) so it never blocks scrolling; only the image (desktop) and the close button take input. */
.pf-slotdlg[data-slot-id="case-studies"] .pf-slotdlg__fig--sm { cursor: zoom-in; }
.pcz { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(4, 8, 16, .72); display: none; align-items: center; justify-content: center; pointer-events: none; overflow: hidden; color: #fff; }
.pcz:popover-open { display: flex; }
.pcz::backdrop { background: transparent; pointer-events: none; }
.pcz__fig { position: relative; margin: 0; max-width: min(92vw, 900px); pointer-events: none; }
.pcz__img { display: block; width: auto; height: auto; max-width: min(92vw, 900px); max-height: 85vh; object-fit: contain; border-radius: 14px;
  border: 1.5px solid rgba(1, 137, 247, .65); box-shadow: 0 0 0 1px rgba(236, 9, 17, .25), 0 0 40px -6px rgba(1, 137, 247, .55), 0 30px 60px -20px rgba(0, 0, 0, .9); background: #0A0D13; }
.pcz.is-fine .pcz__img { pointer-events: auto; cursor: zoom-out; }
.pcz__x { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(10, 14, 24, .92);
  color: #fff; font: 700 22px/1 Montserrat, system-ui, sans-serif; display: none; align-items: center; justify-content: center; cursor: pointer; pointer-events: auto; }
.pcz.is-pinned .pcz__x { display: flex; }
.pcz__x:focus-visible { outline: 3px solid #38E1FF; outline-offset: 2px; }
@media (max-width: 600px) { .pcz__x { top: 8px; right: 8px; } }
@media (prefers-reduced-motion: no-preference) {
  .pcz:popover-open { animation: pcz-fade .22s ease-out; }
  .pcz:popover-open .pcz__fig { animation: pcz-pop .32s cubic-bezier(.2, .8, .25, 1.05); }
}
@keyframes pcz-fade { from { background-color: rgba(4, 8, 16, 0); } }
@keyframes pcz-pop { from { opacity: 0; transform: scale(.82); } }
