/* Real WordPress cases: compact editorial heading, large two-up images. */
.rp-projects{position:relative;isolation:isolate;overflow:hidden;padding:66px 0 64px;background:#0c141c;color:#f7f9fc}
.rp-home .rp-projects>.rp-projects-backdrop{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 42%;opacity:.38;filter:saturate(.55);pointer-events:none;z-index:-3}
.rp-projects::before{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 86% 8%,#067cd438,transparent 58%),linear-gradient(90deg,#07121af0,#091620b3 65%,#07121acc),linear-gradient(0deg,#07121a,transparent 50%)}
.rp-projects::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#72c7ff0b 1px,transparent 1px),linear-gradient(90deg,#72c7ff0b 1px,transparent 1px);background-size:88px 88px;mask-image:linear-gradient(180deg,#000,transparent 70%);border-top:1px solid #63c5ff26}
.rp-projects>.rp-wrap{position:relative}
.rp-project-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:30px;margin-bottom:32px}
.rp-projects .rp-label{font-size:10px;margin-bottom:22px!important}
.rp-project-top h2{font-size:clamp(43px,4.1vw,59px);line-height:1.04;letter-spacing:-.035em;max-width:720px}
.rp-project-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:40px;padding-bottom:3px}
.rp-projects .rp-project-all{font-size:11px;line-height:1.4;gap:32px;padding:10px 0;border-bottom:1px solid #067cd480;margin:0}
.rp-project-all>span{font-size:19px}
.rp-projects .rp-project-controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:0}
.rp-project-counter{font-size:10px;letter-spacing:.12em;font-variant-numeric:tabular-nums;color:#92a7ba;margin-right:12px;min-width:67px}
.rp-project-controls button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #556575;background:transparent;color:#fff;font:20px/1 Arial,sans-serif;border-radius:0;transition:background .18s,border-color .18s}
.rp-project-controls button:disabled{opacity:.25;cursor:default}
.rp-project-controls button:disabled:hover{background:transparent;border-color:#556575;color:#fff}
.rp-project-track{display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;overscroll-behavior-x:contain;padding:0 0 4px;align-items:stretch}
.rp-project-track::-webkit-scrollbar{display:none}
.rp-project-card{display:flex;flex-direction:column;flex:0 0 calc((100% - 28px)/2);min-width:0;scroll-snap-align:start;border-bottom:1px solid #324353;background:transparent}
.rp-project-photo{position:relative;display:block;aspect-ratio:1.72;overflow:hidden;background:#1a2a39}
.rp-project-photo::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#07111a25,transparent 35%,transparent 70%,#07111a2b)}
.rp-project-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 70%;transition:transform .5s}
.rp-project-photo:hover img{transform:scale(1.025)}
.rp-project-photo-index{position:absolute;z-index:1;left:16px;top:16px;padding:7px 10px;background:#071523d9;backdrop-filter:blur(6px);border:1px solid #ffffff30;color:#e6f3ff;font-size:8px;letter-spacing:.15em}
.rp-project-photo-arrow{position:absolute;z-index:1;right:0;bottom:0;display:grid;place-items:center;width:44px;height:44px;font:25px/1 Arial,sans-serif;background:var(--blue);color:#fff}
.rp-project-card-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:21px 0 23px}
.rp-project-card h3{font:600 23px/1.25 PrimeSans,sans-serif;letter-spacing:-.035em;text-transform:none;margin-bottom:12px;max-width:600px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.rp-project-card h3 a:hover{color:#8acfff}
.rp-project-card p{font-size:12px;line-height:1.7;color:#99adbe;margin-bottom:23px;max-width:570px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.rp-project-card .rp-link{font-size:10px;line-height:1.5;letter-spacing:.025em;gap:28px;color:#69beff!important;margin-top:auto;padding-top:1px}
.rp-project-card .rp-link>span{font-size:17px}
.rp-project-progress{height:2px;background:#243240;margin-top:29px;overflow:hidden}
.rp-project-progress>span{display:block;width:0;height:100%;background:var(--blue)}
@media(max-width:1150px){
 .rp-projects{padding:54px 0}
 .rp-project-top h2{font-size:49px}
 .rp-project-top{gap:24px;margin-bottom:28px}
 .rp-project-card h3{font-size:21px}
 .rp-project-card p{font-size:11px}
 .rp-project-actions{gap:30px}
}
@media(max-width:850px){
 .rp-project-top h2{font-size:43px}
 .rp-project-actions{gap:24px}
 .rp-projects .rp-project-all{font-size:10px;gap:18px}
 .rp-project-counter{margin-right:4px;font-size:9px;min-width:56px}
 .rp-project-controls button{width:36px;height:36px}
 .rp-project-track{gap:22px}
 .rp-project-card{flex-basis:calc((100% - 22px)/2)}
 .rp-project-photo{aspect-ratio:1.35}
 .rp-project-card h3{font-size:19px}
 .rp-project-card-copy{padding-top:18px}
}
@media(max-width:600px){
 .rp-projects{padding:43px 0 40px}
 .rp-project-top{grid-template-columns:minmax(0,1fr);gap:23px;margin-bottom:24px}
 .rp-projects .rp-label{font-size:9px;margin-bottom:19px!important}
 .rp-project-top h2{font-size:clamp(33px,8.8vw,46px);line-height:1.07;max-width:100%}
 .rp-project-actions{flex-direction:row;align-items:center;gap:16px;padding:0;justify-content:space-between}
 .rp-projects .rp-project-all{font-size:10px;gap:21px;padding-block:8px;max-width:none;white-space:nowrap}
 .rp-projects .rp-project-controls{gap:7px}
 .rp-project-counter{font-size:8px;letter-spacing:.07em;min-width:49px;margin-right:3px}
 .rp-project-controls button{width:35px;height:35px;font-size:19px}
 .rp-project-track{gap:16px}
 .rp-project-card{flex-basis:91%}
 .rp-project-photo{aspect-ratio:1.35}
 .rp-project-photo-index{left:11px;top:11px;font-size:7px;padding:6px 8px}
 .rp-project-photo-arrow{width:37px;height:37px;font-size:22px}
 .rp-project-card-copy{padding:18px 0 21px}
 .rp-project-card h3{font-size:20px;line-height:1.3;letter-spacing:-.035em}
 .rp-project-card p{font-size:11px;line-height:1.7;max-width:100%}
 .rp-project-card .rp-link{font-size:10px;max-width:none;gap:24px}
 .rp-project-progress{margin-top:23px}
}
@media(max-width:360px){.rp-project-actions{gap:10px}.rp-projects .rp-project-all{gap:13px;font-size:9px}.rp-project-counter{min-width:43px;font-size:8px}.rp-project-controls button{width:31px;height:33px}.rp-project-card h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.rp-project-photo img,.rp-project-controls button{transition:none}.rp-project-photo:hover img{transform:none}}
