/* Image-led service gallery, with an inline selector over the centre. */
.pgh-services-inner{padding:clamp(115px,14vh,155px) 4.7vw 6vh}
.pgh-service-gallery{position:relative;width:100%;height:100%;isolation:isolate;background:#11151b;overflow:hidden}
.pgh-gallery-images{position:absolute;inset:0;z-index:-2}
.pgh-gallery-images img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:#11151b;opacity:1}
#service-image-next{opacity:0;transition:opacity 500ms ease}
#service-image-next.is-visible{opacity:1}
.pgh-service-gallery::after{content:'';position:absolute;inset:50% 0 0;z-index:-1;background:linear-gradient(transparent 20%,rgba(0,0,0,.72));pointer-events:none}
.pgh-service-sentence{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;max-width:94%;width:max-content;margin:0;padding:11px 14px;background:rgba(248,248,245,.92);color:#151719;font-family:Arial,Helvetica,sans-serif;font-size:clamp(11px,1.05vw,16px);font-weight:400;letter-spacing:-.02em;line-height:1.5;box-shadow:0 2px 18px rgba(0,0,0,.12);backdrop-filter:blur(12px)}
.pgh-inline-choice{position:relative;display:inline-flex;align-items:center;gap:3px;max-width:100%;cursor:pointer}
.pgh-inline-choice>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pgh-choice-arrow{font-size:12px;padding:0 2px}
.pgh-inline-choice select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;appearance:auto;font:14px Arial,sans-serif;color:#17191c;background:#fff}
.pgh-inline-choice:hover{box-shadow:0 1px 0 #555}
.pgh-inline-choice:focus-within{outline:2px solid #284b75;outline-offset:3px}
.pgh-gallery-caption{position:absolute;bottom:26px;left:26px;max-width:min(56%,620px);color:#fff;text-shadow:0 1px 6px #0008}
.pgh-gallery-caption h3{font-size:12px;line-height:1.4;margin:0 0 3px;font-weight:500}
.pgh-gallery-caption p{font-size:11px;line-height:1.45;margin:0 0 5px}
.pgh-gallery-caption>span{font-size:10px;line-height:1.4;display:block}
.pgh-gallery-caption small{display:block;font-size:8px;margin-top:6px;opacity:.65;letter-spacing:.05em}
.pgh-gallery-controls{position:absolute;bottom:24px;right:23px;display:flex;gap:8px;align-items:center}
#service-dots{display:flex;gap:0}
#service-dots button{position:relative;width:19px;height:30px;padding:0;border:0;background:transparent;cursor:pointer}
#service-dots button::before{content:'';position:absolute;width:9px;height:9px;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:rgba(255,255,255,.38);transition:background .2s}
#service-dots button[aria-current="true"]::before,#service-dots button:hover::before{background:#fff}
#service-play{width:30px;height:30px;color:#fff;background:transparent;border:0;cursor:pointer;font-size:14px}
.pgh-gallery-controls button:focus-visible{outline:2px solid white;outline-offset:1px}
.pgh-panel:not(.is-active) .pgh-service-gallery{opacity:0;transform:translateY(26px)}
.pgh-service-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:650px){.pgh-services-inner{padding:100px 18px 32px}.pgh-services-inner .pgh-section-index{top:65px;left:18px}.pgh-service-sentence{font-size:12px;padding:10px;gap:3px;max-width:94%}.pgh-gallery-caption{left:16px;bottom:66px;max-width:calc(100% - 32px)}.pgh-gallery-caption h3{font-size:11px}.pgh-gallery-caption p{font-size:10px}.pgh-gallery-caption>span{font-size:9px}.pgh-gallery-controls{bottom:16px;right:12px}#service-dots button{width:25px;height:35px}.pgh-gallery-images img{object-fit:contain}.pgh-service-gallery::after{inset:45% 0 0}}
@media(prefers-reduced-motion:reduce){#service-image-next,.pgh-service-gallery{transition:none!important}}
/* Independent text reels and custom, touch-friendly choice menus. */
.pgh-service-sentence{z-index:3;gap:4px 6px;max-width:calc(100% - 24px)}
.pgh-inline-choice{appearance:none;border:0;border-radius:2px;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;line-height:24px;min-height:32px;padding:0 2px;gap:6px;min-width:0;max-width:100%}
.pgh-reel-window{display:block;position:relative;height:24px;max-width:100%;overflow:hidden!important;transition:width 760ms cubic-bezier(.16,.65,.22,1);text-align:left}
.pgh-reel-track{display:block;will-change:transform}
.pgh-reel-track>span{display:block;height:24px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pgh-reel-measure{position:absolute;visibility:hidden;white-space:nowrap;pointer-events:none}
.pgh-choice-arrow{display:block;width:12px;height:12px;flex:0 0 12px;padding:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.pgh-inline-choice[aria-expanded="true"] .pgh-choice-arrow{transform:rotate(180deg)}
.pgh-inline-choice:hover{box-shadow:none;background:#00000008}
.pgh-inline-choice:focus-within{outline:none}
.pgh-inline-choice:focus-visible{outline:2px solid #526b71;outline-offset:2px}
.pgh-choice-menu{position:absolute;z-index:5;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:7px;background:rgba(249,249,246,.98);color:#17191b;border:1px solid #ffffff80;border-radius:9px;box-shadow:0 14px 45px #0005;backdrop-filter:blur(18px);scrollbar-width:thin;scrollbar-color:#b1b5b3 transparent}
.pgh-choice-menu[hidden]{display:none}
.pgh-choice-menu button{position:relative;display:block;width:100%;min-height:44px;text-align:left;padding:11px 32px 11px 12px;border:0;border-radius:5px;background:transparent;color:inherit;font:13px/1.4 Arial,Helvetica,sans-serif;cursor:pointer;white-space:normal}
.pgh-choice-menu button:hover,.pgh-choice-menu button:focus{background:#e5e9e6;outline:none}
.pgh-choice-menu button[aria-selected="true"]{background:#dce4df;color:#173c33}
.pgh-choice-menu button[aria-selected="true"]::after{content:'✓';position:absolute;right:12px;top:50%;transform:translateY(-50%)}
@media(pointer:coarse){.pgh-inline-choice{min-height:44px}#service-play{width:44px;height:44px}#service-dots button{height:44px;min-width:26px}}
@media(max-width:650px){.pgh-service-sentence{display:grid;grid-template-columns:auto minmax(0,1fr);width:max-content;max-width:calc(100% - 28px);gap:0 7px;padding:8px 12px;font-size:12px}.pgh-service-sentence>span{text-align:right}.pgh-inline-choice{min-height:44px}.pgh-reel-window{max-width:calc(100vw - 150px)}.pgh-gallery-caption p{display:none}.pgh-gallery-controls{bottom:12px}.pgh-gallery-caption{bottom:70px}}
@media(max-height:620px) and (min-width:651px){.pgh-services-inner{padding-top:85px;padding-bottom:20px}.pgh-gallery-caption{bottom:12px}.pgh-gallery-caption p{display:none}.pgh-gallery-controls{bottom:10px}}
@media(prefers-reduced-motion:reduce){.pgh-reel-window,.pgh-choice-arrow{transition:none!important}}
/* Fit the frame itself to the artwork; page background surrounds the frame. */
.pgh-service-gallery{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:transparent;overflow:visible}
.pgh-service-gallery::after{display:none}
.pgh-gallery-frame{position:relative;isolation:isolate;flex:0 0 auto;width:min(100%,1000px);aspect-ratio:16/9;max-width:100%;transition:width 700ms cubic-bezier(.22,.61,.36,1),height 700ms cubic-bezier(.22,.61,.36,1)}
.pgh-gallery-images{overflow:hidden}
.pgh-gallery-images img{background:transparent;object-fit:contain}
.pgh-gallery-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex:0 0 auto;max-width:100%;transition:width 700ms cubic-bezier(.22,.61,.36,1)}
.pgh-gallery-caption{position:static;max-width:calc(100% - 205px);text-shadow:none}
.pgh-gallery-caption h3{font-size:12px}.pgh-gallery-caption p{display:none}
.pgh-gallery-caption>span{font-size:10px;color:#c4c6c8}.pgh-gallery-caption small{font-size:8px;margin-top:4px}
.pgh-gallery-controls{position:static;flex:0 0 auto;margin-top:-7px}
@media(max-width:650px){.pgh-gallery-footer{flex-direction:column;gap:9px;align-items:center;min-height:105px}.pgh-gallery-caption{max-width:100%;text-align:center}.pgh-gallery-controls{margin:0}.pgh-service-sentence{max-width:calc(100% - 16px);padding:4px 8px;font-size:11px;gap:0 4px}.pgh-reel-window{max-width:calc(100vw - 145px)}.pgh-gallery-caption h3{font-size:11px}.pgh-gallery-caption>span{font-size:9px}}
@media(max-height:500px) and (min-width:651px){.pgh-gallery-caption small{display:none}.pgh-service-gallery{gap:10px}.pgh-services-inner{padding-top:80px;padding-bottom:12px}.pgh-gallery-controls{margin-top:-5px}}
@media(prefers-reduced-motion:reduce){.pgh-gallery-frame,.pgh-gallery-footer{transition:none!important}}
/* Give the artwork almost the full viewport height. */
.pgh-services-inner{padding:42px 24px 12px}
.pgh-services-inner .pgh-section-index{top:17px;left:24px}
.pgh-service-gallery{gap:8px}
.pgh-gallery-footer{align-items:center;min-height:30px}
.pgh-gallery-caption{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 10px;max-width:calc(100% - 205px)}
.pgh-gallery-caption h3{margin:0}.pgh-gallery-caption small{margin:0}
.pgh-gallery-controls{margin:0}
@media(max-width:650px){.pgh-services-inner{padding:46px 10px 12px}.pgh-services-inner .pgh-section-index{top:20px;left:14px}.pgh-gallery-footer{min-height:78px;gap:4px}.pgh-gallery-caption{max-width:100%;justify-content:center;gap:2px 7px}.pgh-gallery-caption small{flex-basis:100%}}
@media(max-height:500px) and (min-width:651px){.pgh-services-inner{padding:36px 18px 8px}.pgh-gallery-caption small{display:none}.pgh-gallery-footer{min-height:24px}.pgh-gallery-controls button{height:28px}}
