/* Only portfolio enhancement sections; leave HOME and other menus untouched. */
body.g-showcase .gpg-section{padding:30px 0;background:#f8f9fb}
.gpg-section .eyebrow{margin:0 0 12px}.gpg-section h2{margin:0 0 10px!important}
.gpg-section .gpg-subtitle{margin:0 0 20px;font-size:15px}
.gpg-search{display:flex;align-items:end;gap:14px;margin:0 0 20px}.gpg-search label{font-size:12px}.gpg-search input{display:block;margin-top:5px;width:230px;max-width:55vw;background:#fff;border:1px solid #aeb8c4;border-radius:3px;padding:10px;font:inherit;font-size:14px;height:40px;box-sizing:border-box}.gpg-search button{height:40px;padding:8px 20px}
.gpg-cards{display:grid;gap:20px}.gpg-development-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.gpg-agency-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.gpg-card{min-width:0;border:1px solid #d5dce4;border-radius:4px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}.gpg-card:hover,.gpg-card:focus-within{border-color:#bb9659;box-shadow:0 4px 16px #0a1d3312}.gpg-card>a{display:flex;flex-direction:column;height:100%;color:#0a1d33;text-decoration:none}.gpg-card a:focus-visible{outline:3px solid #a68143;outline-offset:-3px}.gpg-card img{display:block;width:100%;object-fit:cover;height:clamp(140px,20vh,210px)}.gpg-card-copy{padding:12px 14px;flex:1}.gpg-badge{display:inline-block;background:#b69359;color:#fff;padding:3px 7px;border-radius:2px;font-size:10px;line-height:1.4}.gpg-card h3{font-size:18px;line-height:1.45;margin:8px 0 0;overflow-wrap:anywhere}
.gpg-agency-cards .gpg-card img{height:clamp(72px,12.5vh,135px)}.gpg-agency-cards .gpg-card-copy{padding:8px 10px}.gpg-agency-cards .gpg-card h3{font-size:14px;line-height:1.35;margin:6px 0 0;min-height:2.7em}.gpg-missing{display:grid;place-items:center;background:#e7edf2;color:#64778b;min-height:100px;letter-spacing:3px}.gpg-development-cards .gpg-missing{min-height:210px}
.gpg-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin:16px 0 0}.gpg-pagination a{display:grid;place-items:center;min-width:30px;height:30px;border:1px solid #b7c2cf;border-radius:3px;background:#fff;color:#0a1d33;text-decoration:none;font-size:13px;padding:0 5px}.gpg-pagination [aria-current]{background:#b69359;border-color:#b69359;color:#fff}.gpg-pagination a:focus-visible{outline:2px solid #0a1d33;outline-offset:2px}.gpg-empty{padding:30px 0;color:#536b80}.gpg-results[aria-busy=true]{opacity:.55}.gpg-status:not(.screen-reader-text){font-size:13px;color:#9a3825}
body.g-showcase .gpg-closing{background:#fff;color:#0a1d33;isolation:isolate;position:relative;text-align:center;padding:30px 0}
.gpg-closing::before{content:"";position:absolute;inset:0;z-index:-1;background:url('pencil-city.jpg') center bottom/cover no-repeat;opacity:.48;pointer-events:none}.gpg-closing .wrap{width:100%}.gpg-closing h2{font-size:clamp(26px,2.8vw,42px);margin:0 auto 15px;max-width:950px;line-height:1.4}
.gpg-triangle{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto;max-width:780px;gap:0 25px;margin:0 auto 22px;align-items:end}.gpg-brand{grid-column:2;grid-row:1;display:flex;align-items:center;flex-direction:column;gap:5px;padding:10px 0 0}.gpg-brand img{width:88px;height:88px;object-fit:contain}.gpg-brand strong{font-size:32px;line-height:1.1;letter-spacing:1px}.gpg-scene{grid-row:2;min-width:0;margin-top:12px}.gpg-scene-development{grid-column:1}.gpg-scene-sales{grid-column:3}.gpg-scene img{width:160px;height:95px;object-fit:contain;display:block;margin:0 auto 8px}.gpg-scene h3{font-size:19px;margin:0 0 5px}.gpg-scene p{font-size:12px!important;line-height:1.5!important;margin:0;white-space:nowrap}.gpg-closing .gpg-invitation{font-size:18px;font-weight:600;line-height:1.6;margin:14px 0 18px}.gpg-closing .button{padding:12px 25px}
@media(min-width:1000px) and (max-height:850px){body.g-showcase .gpg-section{padding:22px 0}.gpg-section .eyebrow{margin-bottom:7px}.gpg-section h2{font-size:30px!important;line-height:1.3!important}.gpg-section .gpg-subtitle{margin-bottom:12px;font-size:14px}.gpg-search{margin-bottom:14px}.gpg-agency-cards{gap:12px}.gpg-agency-cards .gpg-card img{height:clamp(65px,10.5vh,90px)}.gpg-agency-cards .gpg-card h3{font-size:13px}.gpg-pagination{margin-top:12px}.gpg-closing h2{font-size:32px}.gpg-triangle{margin-bottom:12px}.gpg-closing .gpg-invitation{margin:10px 0 12px}}
@media(max-width:999px){.gpg-agency-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.gpg-triangle{max-width:680px;grid-template-columns:1fr 120px 1fr}.gpg-scene img{width:145px}.gpg-scene p{white-space:normal}}
@media(max-width:600px){body.g-showcase .gpg-section,body.g-showcase .gpg-closing{padding:35px 0}.gpg-development-cards,.gpg-agency-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gpg-card img{height:125px}.gpg-card h3{font-size:15px}.gpg-card-copy{padding:10px}.gpg-agency-cards .gpg-card img{height:105px}.gpg-section .gpg-subtitle{font-size:13px}.gpg-triangle{grid-template-columns:1fr 1fr;gap:20px 10px}.gpg-brand{grid-column:1/-1;grid-row:1}.gpg-scene{grid-row:2;margin:0}.gpg-scene-development{grid-column:1}.gpg-scene-sales{grid-column:2}.gpg-scene img{width:130px;height:90px}.gpg-scene h3{font-size:17px}.gpg-scene p{font-size:11px!important}.gpg-closing .gpg-invitation{font-size:16px}.gpg-pagination{gap:5px}.gpg-search{gap:10px}.gpg-closing::before{background-size:auto 65%;opacity:.35}}
@media(prefers-reduced-motion:reduce){.gpg-card{transition:none}}

.gpg-section,.gpg-results{overflow-anchor:none}

.gpg-agency-cards .gpg-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(min-width:1000px) and (max-height:850px){.gpg-agency-cards .gpg-missing{min-height:0;height:clamp(65px,10.5vh,90px)}}
@media(min-width:1000px) and (max-height:720px){body.g-showcase .gpg-section{padding:16px 0}.gpg-section .eyebrow{font-size:12px;margin-bottom:5px}.gpg-section h2{font-size:28px!important;margin-bottom:6px!important}.gpg-section .gpg-subtitle{margin-bottom:8px;font-size:13px}.gpg-search{margin-bottom:10px}.gpg-search input,.gpg-search button{height:34px}.gpg-agency-cards .gpg-card img,.gpg-agency-cards .gpg-missing{height:clamp(48px,8vh,65px);min-height:0}.gpg-agency-cards .gpg-card-copy{padding:6px 9px}.gpg-pagination{margin-top:10px}}
