/* PRIME NEST V1 — separate Our Projects page. No global styles changed. */
.pnp-hero{min-height:510px;background:#ebe0d3;display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);overflow:hidden}
.pnp-hero-content{padding:clamp(48px,7vw,115px) clamp(26px,6vw,105px);display:flex;align-items:flex-start;justify-content:center;flex-direction:column}
.pnp-hero h1{font-family:var(--head-font);font-weight:400;font-size:clamp(3.1rem,5.8vw,6rem);line-height:1.05;letter-spacing:-.055em;margin:0 0 22px;color:#342920}
.pnp-hero h1 em{color:#966044;font-style:italic}
.pnp-hero-content>p:not(.eyebrow){max-width:610px;font-size:clamp(15px,1.25vw,19px);line-height:1.72;color:#59483a;margin:0 0 28px}
.pnp-hero-visual{background:#dac9b7;display:flex;align-items:center;justify-content:center;min-height:350px;overflow:hidden;padding:clamp(15px,2vw,35px)}
.pnp-hero-visual img{display:block;width:100%;max-width:900px;height:auto;max-height:570px;object-fit:contain;border-radius:3px;box-shadow:0 24px 45px #3b2c2220}
.pnp-gallery-wrap{width:min(calc(100% - 8vw),1450px);margin:0 auto;padding:clamp(56px,7vw,108px) 0}
.pnp-gallery-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.pnp-gallery-intro h2{font:400 clamp(2.2rem,3.7vw,4.2rem)/1.1 var(--head-font);letter-spacing:-.045em;margin:0 0 12px}
.pnp-gallery-intro p:not(.eyebrow){color:var(--muted);font-size:15px;line-height:1.65;margin:0;max-width:620px}
.pnp-archive-count{font-size:12px;font-weight:800;color:#805f4b;border-bottom:1px solid #cdb69e;padding-bottom:10px;white-space:nowrap}
.pnp-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:42px}
.pnp-tab{appearance:none;cursor:pointer;display:flex;align-items:center;text-align:left;gap:12px;min-width:0;background:#f9f5ef;border:1px solid #d4c5b5;border-radius:7px;padding:9px 11px;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s;color:#382e26}
.pnp-tab:hover{transform:translateY(-3px);border-color:#987058;box-shadow:0 8px 20px #3d2f241a}
.pnp-tab[aria-selected="true"]{background:#ecd9c5;border-color:#8b5035;box-shadow:inset 0 0 0 1px #8b5035}
.pnp-tab:focus-visible,.pnp-photo:focus-visible,.pnp-lightbox button:focus-visible{outline:3px solid #ba8259;outline-offset:3px}
.pnp-tab img{display:block;width:66px;height:65px;object-fit:contain;background:#e9d9c8;border-radius:4px;flex:none}
.pnp-tab-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.pnp-tab-text small{color:#8c6650;font-size:10px;letter-spacing:.085em;text-transform:uppercase}
.pnp-tab-text strong{font-size:13px;line-height:1.35;white-space:normal;font-weight:800}
.pnp-panel[hidden]{display:none!important}
.pnp-panel-head{display:flex;justify-content:space-between;align-items:end;gap:22px;border-bottom:1px solid #dac8b9;padding-bottom:24px;margin-bottom:26px}
.pnp-panel-head .eyebrow{margin-bottom:10px}
.pnp-panel-head h3{font:400 clamp(2rem,3.4vw,3.4rem)/1.1 var(--head-font);letter-spacing:-.04em;margin:0 0 10px;color:#342920}
.pnp-panel-head p:not(.eyebrow){font-size:15px;color:#746358;line-height:1.65;max-width:680px;margin:0}
.pnp-photo-count{color:#8b5035;border:1px solid #cfbdaa;padding:10px 14px;font-size:12px;white-space:nowrap;border-radius:40px;flex:none}
.pnp-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.8vw,24px)}
.pnp-photo{display:flex;flex-direction:column;border:1px solid #dfd0bf;background:#f9f3eb;padding:0;overflow:hidden;border-radius:6px;text-align:left;cursor:pointer;transition:transform .24s ease,box-shadow .24s ease}
.pnp-photo:hover{transform:translateY(-4px);box-shadow:0 17px 34px #33231819}
.pnp-photo-visual{height:clamp(190px,20vw,300px);display:flex;align-items:center;justify-content:center;background:#eaded2;padding:8px;overflow:hidden}
.pnp-photo-visual img{width:100%;height:100%;max-width:100%;object-fit:contain;image-rendering:auto}
.pnp-photo-caption{padding:12px 15px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#59493c;font-size:12px;font-weight:700}
.pnp-photo-caption>span:last-child{color:#955f42;font-size:19px;line-height:1}
.pnp-project-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:clamp(46px,5vw,72px) max(4vw,calc((100vw - 1450px)/2));background:#30251e;color:#fff6eb}
.pnp-project-cta .eyebrow{color:#d9b18e}
.pnp-project-cta h2{font:400 clamp(2rem,3.8vw,3.8rem)/1.1 var(--head-font);margin:0 0 15px}
.pnp-project-cta p:not(.eyebrow){margin:0;font-size:15px;color:#f0dbca}
.pnp-project-cta .button{flex:none}
.pnp-lock{overflow:hidden}
.pnp-lightbox[hidden]{display:none!important}
.pnp-lightbox{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:clamp(8px,3vw,30px)}
.pnp-lightbox-backdrop{position:absolute;inset:0;background:#1d1613e8;cursor:pointer}
.pnp-lightbox-window{position:relative;z-index:1;background:#fff9f3;border:1px solid #d7c1ad;border-radius:12px;width:min(1100px,100%);height:min(92dvh,1000px);display:flex;flex-direction:column;box-shadow:0 30px 100px #0009;overflow:hidden;color:#33271f}
.pnp-lightbox-window header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px clamp(16px,3vw,29px);border-bottom:1px solid #e9d9c9}
.pnp-modal-kicker{color:#945c3e;text-transform:uppercase;letter-spacing:.18em;font-size:10px;font-weight:800}
.pnp-lightbox-window h2{font:400 clamp(1.35rem,3vw,2rem)/1.2 var(--head-font);margin:3px 0 0}
.pnp-modal-counter{font-size:12px;color:#715d4e;margin:6px 0 0}
.pnp-lightbox button{cursor:pointer}
.pnp-modal-close{border:1px solid #d7c1ad;background:#f4e9dc;color:#35261c;border-radius:50%;font-size:29px;width:42px;height:42px;line-height:1;flex:none}
.pnp-modal-stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;background:#e9dfd2;padding:12px clamp(14px,5vw,56px)}
.pnp-modal-stage img{width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;box-shadow:0 4px 25px #3524141c}
.pnp-modal-prev,.pnp-modal-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:43px;height:43px;background:#fffaf2f2;border-radius:50%;border:1px solid #c5ab91;color:#5f3a25;font-size:30px;line-height:1}
.pnp-modal-prev{left:6px}.pnp-modal-next{right:6px}
.pnp-modal-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 16px;background:#fff8ef;max-height:104px}
.pnp-thumb{flex:0 0 70px;height:64px;background:#e8dbcb;border:2px solid transparent;border-radius:4px;padding:2px;overflow:hidden}
.pnp-thumb img{width:100%;height:100%;object-fit:contain}
.pnp-thumb.is-active{border-color:#9e6343}
@media(max-width:1200px) and (min-width:1001px){.theme-editorial .header-inner{padding-inline:18px;gap:9px}.theme-editorial .desktop-nav{gap:9px}.theme-editorial .desktop-nav>a,.theme-editorial .services-trigger{font-size:10px;letter-spacing:0}.theme-editorial .brand img{width:150px}.theme-editorial .header-cta{padding:9px}}
@media(max-width:900px){.pnp-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.pnp-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pnp-hero{grid-template-columns:1fr}.pnp-hero-content{padding:50px 28px}.pnp-hero-visual{min-height:230px}.pnp-hero-visual img{max-height:360px}}
@media(max-width:600px){.pnp-gallery-wrap{width:calc(100% - 28px);padding:54px 0}.pnp-tabs{gap:8px;margin-bottom:30px}.pnp-tab{padding:7px;gap:7px}.pnp-tab img{width:48px;height:53px}.pnp-tab-text strong{font-size:11px;line-height:1.25}.pnp-tab-text small{font-size:8px}.pnp-gallery-intro{align-items:start;flex-direction:column}.pnp-gallery-intro h2{font-size:2.3rem}.pnp-panel-head{flex-direction:column;align-items:start}.pnp-photo-grid{grid-template-columns:1fr}.pnp-photo-visual{height:270px}.pnp-project-cta{flex-direction:column;align-items:start}.pnp-lightbox{padding:7px}.pnp-lightbox-window{height:auto;max-height:96dvh}.pnp-modal-stage{height:min(57dvh,480px);min-height:280px;flex:0 1 auto}.pnp-modal-thumbs{max-height:83px}.pnp-thumb{flex-basis:58px;height:54px}}
@media(prefers-reduced-motion:reduce){.pnp-photo,.pnp-tab{transition:none!important}}
