.gp-projects .gp-contact-hero{background-image:linear-gradient(#0009,#0009),url('assets/gp-review-projects-banner.png');background-position:center 55%}
.gp-projects .project-wrap{width:84%;max-width:1610px;margin-inline:auto}
.gp-projects .project-intro{display:grid;grid-template-columns:minmax(0,1fr) 41%;gap:12%;align-items:center;padding-block:clamp(48px,6.5vw,125px)}
.gp-projects .project-intro img,.gp-projects .project-clients img{width:100%;height:auto;display:block}
.gp-projects h2{margin:0;font-size:clamp(28px,2.9vw,56px);line-height:1.22}
.gp-projects h2 span{color:var(--gp-yellow)}
.gp-projects .project-intro p{font-size:clamp(16px,1.47vw,28px);line-height:1.8;margin:1.7em 0 0}
.gp-projects .project-clients{background:linear-gradient(#361258cf,#361258cf),url('assets/gpp-float.jpg') center 54%/cover;color:#fff}
.gp-projects .project-clients .project-wrap{display:grid;grid-template-columns:32% 1fr;gap:5.5%;align-items:center;padding-block:clamp(46px,4.8vw,92px)}
.gp-projects .project-clients img{width:76%;justify-self:center}
.gp-projects .project-clients ul{list-style:none;margin:1.2em 0 0 auto;padding:0;width:89%;font-size:clamp(16px,1.48vw,28px)}
.gp-projects .project-clients li{padding:.72em 0;border-bottom:1px solid #c49536}
.gp-projects .project-clients li:last-child{border:0}
.gp-projects .project-gallery{padding-block:clamp(50px,5vw,96px) clamp(70px,11vw,210px)}
.gp-projects .project-gallery h2{text-align:center;font-size:clamp(26px,2.3vw,44px)}
.gp-projects .project-tabs{display:flex;flex-wrap:wrap;justify-content:space-around;gap:.45em .8em;margin:clamp(30px,4.6vw,88px) 0 clamp(32px,5.8vw,110px)}
.gp-projects .project-tabs button{border:0;background:white;color:#151515;padding:.55em .65em;cursor:pointer;font-size:clamp(15px,1.38vw,26px);line-height:1.15}
.gp-projects .project-tabs button span{font-family:"Archivo Black",sans-serif}
.gp-projects .project-tabs [aria-selected=true]{background:var(--gp-yellow);color:#251133}
.gp-projects :focus-visible{outline:3px solid #69338c;outline-offset:4px}
.gp-projects .project-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,42px);min-height:3rem}
.gp-projects .project-panel[hidden]{display:none}
.gp-projects .project-card{position:relative;aspect-ratio:508/492;isolation:isolate;clip-path:polygon(0 0,100% 0,100% 86%,90% 100%,0 100%);color:white;background:#3c1365}
.gp-projects .project-card img{display:block;width:100%;height:100%;object-fit:cover}
.gp-projects .project-card-copy{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none}
.gp-projects .project-card-copy h3{position:relative;margin:0;padding:.75em 1em;background:#3c1365;color:white;font-size:clamp(16px,1.18vw,23px);line-height:1.2}
.gp-projects .project-card-copy p{display:none;position:relative;margin:.4em 0 0;white-space:pre-line;font-size:clamp(15px,1.38vw,26px);line-height:1.45}
.gp-projects .project-card-copy::before{content:"";position:absolute;inset:0;background:rgba(60,19,101,.88);transform:scaleY(0);transform-origin:bottom;transition:transform .65s ease-in-out}
.gp-projects .project-card.is-open .project-card-copy{justify-content:flex-end}
.gp-projects .project-card.is-open .project-card-copy::before{transform:scaleY(1)}
.gp-projects .project-card.is-open h3{background:transparent}
.gp-projects .project-card.is-open p{display:block}
.gp-projects .project-toggle{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:pointer}
.gp-projects .project-toggle:focus-visible{outline:4px solid var(--gp-yellow);outline-offset:-5px}
@media(max-width:920px){.gp-projects .project-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-projects .project-wrap{width:89%}.gp-projects .project-intro{gap:6%}}
@media(max-width:640px){.gp-projects .project-intro,.gp-projects .project-clients .project-wrap{grid-template-columns:1fr;gap:26px}.gp-projects .project-intro img{max-width:440px;justify-self:center}.gp-projects .project-intro p{margin-top:1em}.gp-projects .project-clients img{width:min(34%,150px)}.gp-projects .project-clients ul{width:100%}.gp-projects .project-tabs{justify-content:flex-start;gap:.45em}.gp-projects .project-tabs button{text-align:left}.gp-projects .project-panel{grid-template-columns:1fr}.gp-projects .project-card-copy p{font-size:clamp(15px,4.2vw,20px)}}
@media(prefers-reduced-motion:reduce){.gp-projects .project-card-copy::before{transition:none}}
.gp-projects .project-clients h2{font-size:clamp(27px,2.65vw,51px)}

.gp-projects .project-card-copy h3{transition:background-color .65s ease-in-out;padding-bottom:1.6em}
#project-lightbox{width:min(1100px,94vw);max-width:94vw;max-height:calc(100dvh - 24px);box-sizing:border-box;border:0;padding:64px 18px 16px;background:#21112d;color:#fff;overflow:auto}
#project-lightbox::backdrop{background:#000d}
#project-lightbox h2{font-size:clamp(16px,2vw,24px);line-height:1.35;margin:0 35px 18px}
#project-lightbox button{background:#3c1365;color:white;border:1px solid #fff8;cursor:pointer;font-size:32px;padding:0;line-height:1;min-width:44px;min-height:44px}
#project-lightbox button:focus-visible{outline:3px solid #f5ba29;outline-offset:3px}
#project-lightbox .gallery-close{position:absolute;right:12px;top:8px}
.gallery-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center}
.gallery-stage img{width:100%;height:65dvh;object-fit:contain}.gallery-count{text-align:center;margin:12px 0 0}
@media(max-width:640px){.gallery-stage{gap:3px}.gallery-stage img{height:50dvh}#project-lightbox{padding-inline:6px}}

/* Align Projects typography with Services; retain existing gallery interactions. */
.gp-projects h2,.gp-projects .project-gallery h2,.gp-projects .project-clients h2{font-size:clamp(28px,2.5vw,48px);line-height:1.25}
.gp-projects .project-intro p,.gp-projects .project-clients ul,.gp-projects .project-tabs button,.gp-projects .project-card-copy p{font-size:clamp(15px,1.04vw,20px)}
.gp-projects .project-card-copy h3{font-size:clamp(18px,1.46vw,28px);line-height:1.25}
@media(max-width:700px){.gp-projects h2,.gp-projects .project-gallery h2,.gp-projects .project-clients h2{font-size:28px}.gp-projects .project-intro p,.gp-projects .project-clients ul,.gp-projects .project-tabs button,.gp-projects .project-card-copy p{font-size:16px}.gp-projects .project-card-copy h3{font-size:20px}}

/* Consistent project captions, including the All view. */
@font-face{font-family:GPInterMedium;src:url('assets/inter-500.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
.gp-projects .project-card{min-width:0;width:100%;min-height:calc(var(--project-caption-height,240px) + 150px)}
.gp-projects .project-card-copy h3{font-family:GPInterMedium,GPInter,Arial,sans-serif!important;font-weight:500!important;font-size:25px;line-height:1.25;padding:20px 20px 36px;box-sizing:border-box;min-height:var(--project-caption-height,240px);background:rgba(60,19,101,.6);display:flex;align-items:center}
.gp-projects .project-card-copy::before{display:none}
.gp-projects .project-card.is-open h3{background:rgba(60,19,101,.6)}

/* Keep project images clear until hover or keyboard interaction. */
.gp-projects .project-card .project-card-copy{opacity:0;transition:opacity .25s ease}
.gp-projects .project-card:hover .project-card-copy,
.gp-projects .project-card:focus-within .project-card-copy{opacity:1}
@media(prefers-reduced-motion:reduce){.gp-projects .project-card .project-card-copy{transition:none}}
