/* NamaPix phase 141 — editorial portfolio & premium service showcase. Scoped to CMS pages. */
.np-showcase-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(60px,8vw,116px) 0 85px;background:radial-gradient(circle at 12% 14%,rgba(22,107,200,.24),transparent 36%),radial-gradient(circle at 90% 90%,rgba(233,116,37,.19),transparent 34%),linear-gradient(132deg,#08172b,#102d4a 64%,#071528);color:#fff}
.np-showcase-hero:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.2;background-image:linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to left,#000,transparent 78%)}
.np-showcase-hero .np-content-hero-grid{position:relative;z-index:1;align-items:center;gap:clamp(30px,6vw,90px)}
.np-showcase-hero .np-section-kicker{display:inline-flex;border:1px solid rgba(255,255,255,.25);border-radius:30px;padding:7px 14px;background:rgba(255,255,255,.07);color:#f9ba83;letter-spacing:.15em}
.np-showcase-hero h1{max-width:780px;font-size:clamp(2rem,4vw,4.1rem);font-weight:900;line-height:1.38;letter-spacing:-.035em;color:#fff;margin:24px 0 18px;text-wrap:balance}
.np-showcase-hero p{max-width:680px;color:#d2e1f3;line-height:2.1;font-size:clamp(.91rem,1.1vw,1.06rem)}
.np-showcase-hero .np-content-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.np-showcase-hero .np-content-hero-panel{border:1px solid rgba(255,255,255,.20);background:linear-gradient(140deg,rgba(255,255,255,.13),rgba(255,255,255,.035));box-shadow:0 24px 70px rgba(0,0,0,.23);backdrop-filter:blur(14px);border-radius:25px;padding:clamp(25px,3vw,45px)}
.np-showcase-hero .np-content-hero-panel span{color:#e5a974}
.np-showcase-hero .np-content-hero-panel strong{color:#fff;font-size:clamp(.92rem,1.35vw,1.1rem);border-bottom:1px solid rgba(255,255,255,.13);padding-bottom:12px;margin-bottom:20px}
.np-showcase-hero .np-content-hero-panel strong:last-child{border:0;margin-bottom:0;padding-bottom:0}
.np-showcase-hero .np-btn-ghost{color:#fff;border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.06)}
.np-showcase-hero .np-btn-ghost:hover{color:#132640;background:#fff}
.np-showcase-services-grid{gap:24px;align-items:stretch}
.np-showcase-service-card{display:flex;flex-direction:column;border-radius:25px;box-shadow:0 15px 42px rgba(11,44,77,.07);border-color:#dbe6f2;overflow:hidden}
.np-showcase-service-card .np-content-card-media{aspect-ratio:16/9}
.np-showcase-service-card .np-content-card-media:after,.np-showcase-project-card .np-home-content-media:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(0deg,rgba(5,20,37,.42),transparent);pointer-events:none}
.np-showcase-service-card .np-content-card-copy{flex:1;display:flex;flex-direction:column;padding:25px}
.np-showcase-service-card .np-content-card-copy h2{font-size:1.22rem;line-height:1.6}
.np-showcase-service-card .np-content-card-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.np-showcase-service-card .np-content-card-copy strong{margin-top:auto;padding-top:22px}
.np-showcase-filter-section{position:relative;z-index:2;margin-top:-26px;padding:0}
.np-showcase-filter-section .np-filter-chips{padding:14px;border:1px solid #dfe7f0;border-radius:20px;background:#fff;box-shadow:0 15px 48px rgba(10,32,61,.11)}
.np-showcase-filter-section .np-filter-chips a{border-radius:11px;padding:10px 19px}
.np-showcase-portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.np-showcase-project-card{display:block;overflow:hidden;border:1px solid #dfe7f0;border-radius:24px;background:#fff;color:#172f4c;text-decoration:none;box-shadow:0 12px 38px rgba(12,36,65,.06);transition:transform .24s ease,box-shadow .24s ease}
.np-showcase-project-card:hover{transform:translateY(-6px);box-shadow:0 26px 62px rgba(12,36,65,.16)}
.np-showcase-project-card .np-home-content-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:#e6edf5}
.np-showcase-project-card:nth-child(4n + 1) .np-home-content-media{aspect-ratio:16/9}
.np-showcase-project-card .np-home-content-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.np-showcase-project-card:hover img{transform:scale(1.045)}
.np-showcase-project-card .np-home-content-copy{padding:23px 25px 26px}
.np-showcase-project-card .np-showcase-project-category{color:#d66d1d;font-weight:800;font-size:.78rem}
.np-showcase-project-card .np-home-content-copy h2{margin:8px 0;font-size:clamp(1.09rem,1.65vw,1.38rem);line-height:1.55}
.np-showcase-project-card .np-home-content-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.95;color:#64758b}
.np-showcase-project-card .np-home-content-copy strong{display:inline-flex;gap:8px;color:#1d609b;margin-top:15px}
.np-showcase-detail-hero,.np-showcase-project-hero{position:relative;background:linear-gradient(180deg,#eef4fa,#fff);padding-top:clamp(48px,7vw,100px)}
.np-showcase-detail-hero h1,.np-showcase-project-hero h1{font-size:clamp(2rem,3.3vw,3.5rem);line-height:1.45;letter-spacing:-.025em}
.np-showcase-detail-hero .np-detail-cover,.np-showcase-project-hero .np-project-cover{border-radius:30px;box-shadow:0 28px 70px rgba(17,56,92,.17)}
.np-rich-content{overflow-wrap:anywhere}.np-rich-content a{overflow-wrap:anywhere;text-decoration-thickness:1px;text-underline-offset:4px}
@media(max-width:950px){.np-showcase-hero .np-content-hero-grid{grid-template-columns:1fr}.np-showcase-hero .np-content-hero-panel{max-width:none}.np-showcase-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.np-showcase-hero{padding:58px 0 66px}.np-showcase-hero h1{font-size:clamp(1.85rem,7.7vw,2.55rem)}.np-showcase-hero .np-content-hero-panel{padding:23px}.np-showcase-services-grid,.np-showcase-portfolio-grid{grid-template-columns:1fr}.np-showcase-filter-section{margin-top:-15px}.np-showcase-filter-section .np-filter-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x mandatory}.np-showcase-filter-section .np-filter-chips a{white-space:nowrap;scroll-snap-align:start}.np-showcase-project-card:nth-child(4n + 1) .np-home-content-media{aspect-ratio:16/10}.np-showcase-service-card .np-content-card-copy,.np-showcase-project-card .np-home-content-copy{padding:20px}.np-showcase-hero .np-content-hero-actions>*{max-width:100%}}
@media(prefers-reduced-motion:reduce){.np-showcase-service-card,.np-showcase-project-card,.np-showcase-service-card img,.np-showcase-project-card img{transition:none!important;transform:none!important}}
