/* Scoped Judah Group portfolio — no impact on existing CRM or global navigation. */
.jg-showcase{background:#fff;color:#1b2530;font-family:inherit;min-height:60vh}
.jg-showcase *, .jg-showcase *::before,.jg-showcase *::after{box-sizing:border-box}
.ps-shell{width:min(100% - 36px,940px);margin-inline:auto}
.ps-top{background:#11283e;color:#fff;padding:42px 0 45px}
.ps-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#dbb86e;margin:0 0 9px}
.ps-top h1{font-family:inherit;font-size:clamp(30px,4.2vw,48px);letter-spacing:-.025em;line-height:1.2;margin:0 0 12px;color:#fff}
.ps-top p:last-child{color:#e4eaf0;font-size:15px;margin:0;max-width:590px}
.ps-list-page{padding-top:28px;padding-bottom:85px}
.ps-tabs{display:flex;justify-content:center;gap:clamp(6px,2vw,22px);overflow-x:auto;border-bottom:1px solid #e5e7eb;margin:0 auto 24px;max-width:620px}
.ps-tabs button{position:relative;background:none;border:none;border-bottom:3px solid transparent;color:#414b5e;font-size:15px;font-weight:650;padding:15px 10px 16px;white-space:nowrap;cursor:pointer;transition:color .2s}
.ps-tabs button span{font-size:12px;color:#718096;margin-left:3px}
.ps-tabs button.is-active{border-bottom-color:#c6a26a;color:#122a3c;font-weight:850}
.ps-tabs button:focus-visible,.ps-range:focus-visible,.ps-card-link:focus-visible,.ps-back:focus-visible{outline:3px solid #b98b44;outline-offset:4px}
.ps-projects{max-width:480px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:27px}
.ps-card{border:1px solid #e5e9ee;background:#fff;border-radius:21px;overflow:hidden;box-shadow:0 10px 30px rgba(24,39,53,.06)}
.ps-card[hidden]{display:none}
.ps-comparison{--split:50%;position:relative;display:block;aspect-ratio:24 / 17;overflow:hidden;isolation:isolate;background:#dce4e9;touch-action:pan-y}
/* Side-by-side comparison retains the entire design and built elevations, without image distortion. */
/* Both images occupy the same full frame; slider clips rather than squeezing either photograph. */
.ps-side{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;background:#eff2f2}
.ps-side-render{clip-path:inset(0 calc(100% - var(--split)) 0 0)}
.ps-side-site{clip-path:inset(0 0 0 var(--split))}
.ps-side img{display:block;width:100%;height:100%;object-fit:contain;object-position:center center}
.ps-photo-label{position:absolute;z-index:2;top:13px;left:13px;max-width:46%;border-radius:8px;padding:10px 13px;color:#fff;background:rgba(21,36,50,.75);font-size:13px;font-weight:750;line-height:1.15;pointer-events:none}
.ps-photo-label-right{left:auto;right:13px}.ps-photo-label.ps-green{background:#148863}.ps-photo-label.ps-blue{background:#088fe0}.ps-photo-label.ps-orange{background:#e65c2d}
.ps-divider{position:absolute;top:0;bottom:0;left:var(--split);width:3px;background:#fff;z-index:3;pointer-events:none;box-shadow:0 0 6px rgba(0,0,0,.15);transform:translateX(-50%)}
.ps-knob{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff;border:2px solid #e6ecf0;box-shadow:0 3px 12px #0005;color:#263c4f;font-weight:900;font-size:18px;letter-spacing:-2px}
.ps-range{position:absolute;z-index:4;inset:0;display:block;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;touch-action:pan-y}
.ps-card-link{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#1a2630;text-decoration:none;padding:16px 20px 18px;background:#fff}
.ps-card-link strong{display:block;font-size:20px;font-weight:850;line-height:1.3}
.ps-card-link small{display:block;color:#697788;font-size:13px;margin-top:3px}
.ps-open-link{white-space:nowrap;color:#a67b3e;font-weight:760;font-size:13px}
.ps-card-link:hover .ps-open-link{text-decoration:underline}
.ps-missing{display:grid;place-items:center;min-height:230px;background:#f3f5f6}
.ps-detail-page{background:#fff}
.ps-detail-shell{max-width:790px;padding-top:25px;padding-bottom:85px}
.ps-back{color:#26384b;font-size:15px;text-decoration:none;font-weight:700}
.ps-detail-title{text-align:center;font-size:clamp(26px,3vw,32px);margin:22px 0 36px;color:#151e25}
.ps-project-heading{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:23px}
.ps-reference{font-size:17px;font-weight:800;color:#1a1c21;margin:0 0 9px}
.ps-project-heading h2{font-size:clamp(18px,3vw,24px);font-weight:750;line-height:1.3;margin:0 0 5px}
.ps-locality{font-size:15px;color:#747a84;margin:0}
.ps-detail-status{font-size:13px;border-radius:8px;padding:9px 13px;white-space:nowrap;flex-shrink:0}
.ps-detail-status.is-completed{color:#18855a;background:#e3f5ed}
.ps-detail-status.is-near{color:#078bdc;background:#e9f6ff}
.ps-detail-status.is-active{color:#e35429;background:#fef1ed}
.ps-cover{margin:0 0 25px}.ps-cover img{display:block;width:100%;height:auto;border-radius:12px;object-fit:contain}
.ps-details{border-top:1px solid #e5e6eb;margin-top:25px;color:#222}
.ps-details>div:first-child{padding:17px 0 20px;border-bottom:1px solid #e5e6eb}
.ps-details span{display:block;font-size:15px;color:#5e6670}.ps-details strong{display:block;margin-top:8px;font-size:16px;font-weight:500}
.ps-details h2,.ps-stages h2{font-size:19px;margin:25px 0 14px;font-weight:750}
.ps-detail-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px dashed #e5e7eb}
.ps-detail-row strong{font-weight:650;margin:0}
.ps-stages{margin-top:30px}.ps-timeline{border-left:3px solid #16875d;margin:20px 0 0 15px;padding-left:28px}
.ps-stage{position:relative;margin:0 0 24px;padding:0 0 1px}
.ps-stage:before{content:"";position:absolute;top:3px;left:-42px;width:29px;height:29px;background:#16875d;border-radius:50%}
.ps-stage h3{font-size:17px;font-weight:500;line-height:1.35;margin:0 0 22px;padding-top:4px;color:#1a1e21}
.ps-stage figure{margin:0 0 16px}
.ps-stage figure img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:13px;background:#f2f4f7}
.ps-bottom-back{display:inline-block;margin:24px 0 15px;padding:12px 0}
@media(max-width:760px){.ps-shell{width:calc(100% - 28px)}.ps-top{padding:28px 0 34px}.ps-list-page{padding-top:14px}.ps-tabs button{font-size:14px;padding:14px 5px 15px}.ps-card{border-radius:17px}.ps-comparison{aspect-ratio:auto;height:clamp(220px,68vw,295px)}.ps-photo-label{font-size:12px;padding:9px 10px;top:12px}.ps-card-link{padding:14px 13px 16px}.ps-card-link strong{font-size:17px}.ps-open-link{font-size:12px}.ps-detail-shell{padding-top:16px}.ps-detail-title{margin:18px 0 28px}.ps-cover img{border-radius:9px}.ps-timeline{margin-left:14px;padding-left:27px}.ps-stage:before{left:-41px}}
@media(max-width:390px){.ps-tabs button{font-size:12px;padding-inline:2px}.ps-tabs button span{font-size:11px}.ps-open-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ps-tabs button{transition:none}}
