
.rp-projects-wrap{--rp-project-gap:100px;--rp-project-radius:24px}
.rp-projects-wrap *{box-sizing:border-box}
.rp-projects-wrap .rp-project-item{position:relative}
.rp-projects-wrap .rp-project-image{overflow:hidden;border-radius:var(--rp-project-radius);background:#e8e8e8}
.rp-projects-wrap .rp-project-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s ease}
.rp-projects-wrap .rp-project-item:hover .rp-project-image img{transform:scale(1.035);filter:saturate(1.04)}
.rp-projects-wrap .rp-project-eyebrow{font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:2.2px;text-transform:uppercase;color:#ad3333;margin-bottom:14px}
.rp-projects-wrap .rp-project-title{font-family:Georgia,"Times New Roman",serif;font-size:64px;font-weight:400;line-height:.98;margin:0 0 18px;color:#321313;letter-spacing:-1.8px}
.rp-projects-wrap .rp-project-location{font-family:Inter,Arial,sans-serif;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#321313}
.rp-projects-wrap .rp-project-rule{height:1px;background:#d8d0c8;margin:30px 0}
.rp-projects-wrap .rp-project-description{font-family:"DM Sans",Arial,sans-serif;font-size:18px;line-height:1.75;color:#574d49}
.rp-projects-wrap .rp-project-description p{margin:0}
.rp-projects-wrap .rp-project-partner-label{font-family:Inter,Arial,sans-serif;margin-top:30px;font-size:11px;font-weight:800;letter-spacing:2.5px;text-transform:uppercase;color:#ad3333}
.rp-projects-wrap .rp-project-partner{font-family:Georgia,"Times New Roman",serif;font-size:19px;color:#321313;margin-top:7px}
.rp-projects-wrap .rp-project-image-placeholder{height:100%;min-height:320px;display:grid;place-items:center;color:#777;font:600 14px Inter,Arial,sans-serif}

/* Residential editorial */
.rp-layout-editorial .rp-project-item{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:75px;align-items:center;margin-bottom:var(--rp-project-gap)}
.rp-layout-editorial .rp-project-item:last-child{margin-bottom:0}
.rp-layout-editorial .rp-project-image{height:620px;box-shadow:0 25px 55px rgba(0,0,0,.12);transition:transform .45s ease,box-shadow .45s ease}
.rp-layout-editorial .rp-project-item:hover .rp-project-image{transform:translateY(-6px);box-shadow:0 35px 75px rgba(0,0,0,.16)}
.rp-layout-editorial .rp-project-copy{padding:18px 16px}
.rp-layout-editorial .rp-project-reverse{grid-template-columns:minmax(340px,.85fr) minmax(0,1.15fr)}
.rp-layout-editorial .rp-project-reverse .rp-project-image{order:2}

/* Commercial grid */
.rp-layout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--rp-project-gap)}
.rp-layout-grid .rp-project-item{background:#fff;border-radius:var(--rp-project-radius);overflow:hidden;box-shadow:0 13px 35px rgba(0,0,0,.09);transition:transform .42s cubic-bezier(.2,.7,.2,1),box-shadow .42s ease}
.rp-layout-grid .rp-project-item:hover{transform:translateY(-10px);box-shadow:0 28px 60px rgba(0,0,0,.16)}
.rp-layout-grid .rp-project-image{height:310px;border-radius:0}
.rp-layout-grid .rp-project-copy{padding:30px 30px 34px}
.rp-layout-grid .rp-project-title{font-family:Inter,Arial,sans-serif;font-size:30px;font-weight:700;line-height:1.12;letter-spacing:-.6px;margin-bottom:14px}
.rp-layout-grid .rp-project-rule{margin:22px 0}
.rp-layout-grid .rp-project-description{font-size:15.5px;line-height:1.65}
.rp-layout-grid .rp-project-partner-label{margin-top:22px}

@media(max-width:1100px){
  .rp-layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rp-layout-editorial .rp-project-title{font-size:54px}
}
@media(max-width:767px){
  .rp-layout-editorial .rp-project-item,.rp-layout-editorial .rp-project-reverse{grid-template-columns:1fr;gap:28px;margin-bottom:70px}
  .rp-layout-editorial .rp-project-reverse .rp-project-image{order:0}
  .rp-layout-editorial .rp-project-image{height:390px}
  .rp-layout-editorial .rp-project-copy{padding:8px 3px}
  .rp-projects-wrap .rp-project-title{font-size:44px}
  .rp-layout-grid{grid-template-columns:1fr;gap:28px}
  .rp-layout-grid .rp-project-image{height:280px}
}


/* v1.5.3 image treatment */
.rp-projects-wrap .rp-project-image.rp-project-image-contain{
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(24px,4vw,64px);
}
.rp-projects-wrap .rp-project-image.rp-project-image-contain img{
  width:auto;
  height:auto;
  max-width:88%;
  max-height:88%;
  object-fit:contain;
  transform:none!important;
  filter:none!important;
}
.rp-projects-wrap .rp-project-item:hover .rp-project-image.rp-project-image-contain img{
  transform:scale(1.015)!important;
}
.rp-projects-wrap .rp-project-image.rp-project-image-cover img{
  object-fit:cover;
}
.rp-type-commercial.rp-layout-editorial .rp-project-image{
  height:560px;
}
.rp-type-commercial.rp-layout-editorial .rp-project-image.rp-project-image-contain{
  height:520px;
}
@media(max-width:767px){
  .rp-type-commercial.rp-layout-editorial .rp-project-image,
  .rp-type-commercial.rp-layout-editorial .rp-project-image.rp-project-image-contain{
    height:380px;
  }
}
