.customer-portfolio { scroll-margin-top: 28px; }
.portfolio-intro { max-width: 680px; margin: -5px 0 28px; color: var(--muted); line-height: 1.75; }
.recent-customer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.customer-project { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e2e3dc; border-radius: 12px; background: #fff; }
.customer-project-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: #f3f2ef; }
.customer-project-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.customer-project-photo.portrait-project img { object-fit: cover; object-position: center 36%; }
.project-photo-hint { position: absolute; right: 10px; bottom: 10px; padding: 5px 9px; border-radius: 20px; color: #fff; background: #153c3bef; font-size: .68rem; line-height: 1.4; }
.customer-project-photo:hover .project-photo-hint { background: #215b50; }
.customer-project figcaption { padding: 19px 17px 20px; }
.project-status { display: inline-block; margin-bottom: 11px; padding: 4px 7px; color: #21574a; background: #edf4ec; border-radius: 4px; font-size: .61rem; font-weight: 700; line-height: 1.5; }
.project-status.preview-label { color: #775c26; background: #fbf1db; }
.customer-project h3 { margin: 0 0 9px; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.customer-project p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.portfolio-note { margin: 16px 0 27px; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.portfolio-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 0 48px; padding: 25px 28px; border: 1px solid #d9e2d9; border-radius: 10px; background: #f0f5ed; }
.portfolio-cta h3 { margin: 0 0 6px; font-size: 1.15rem; }
.portfolio-cta p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.portfolio-cta .button { flex-shrink: 0; }
.more-work-heading { margin: 0 0 20px; font-size: 1.3rem; }
#more-customer-orders, .customer-order-story { scroll-margin-top: 28px; }
.customer-order-stories { display: grid; gap: 28px; margin-bottom: 48px; }
.customer-order-story { min-width: 0; padding: 24px; border: 1px solid #e2e3dc; border-radius: 12px; background: #fff; }
.order-story-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.order-story-header .eyebrow { margin: 0 0 9px; font-size: .65rem; }
.order-story-header h4 { margin: 0; color: var(--ink); font-size: 1.4rem; line-height: 1.3; }
.order-quantity { flex-shrink: 0; padding: 8px 13px; border-radius: 5px; color: #fff; background: #153c3b; font-size: .8rem; font-weight: 700; }
.order-story-description { max-width: 740px; margin: 14px 0 22px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.order-story-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.order-story-gallery.two-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.order-story-gallery figure { min-width: 0; margin: 0; }
.order-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 7px; background: #f0efec; }
.order-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.order-photo-dark { aspect-ratio: 4 / 5; }
.order-photo-dark img { object-fit: cover; object-position: center bottom; filter: brightness(1.35); }
.order-photo-packed img { object-fit: cover; object-position: center 60%; }
.order-photo-rotated img { position: absolute; top: 50%; left: 50%; width: 75%; height: 133.333333%; max-width: none; transform: translate(-50%, -50%) rotate(-90deg); }
.order-story-gallery figcaption { padding: 11px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
@media (max-width: 1050px) {
  .recent-customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .customer-portfolio .section-heading h2 { font-size: 2.1rem; }
  .recent-customer-grid { gap: 16px; }
  .customer-project figcaption { padding: 14px 12px 16px; }
  .customer-project h3 { font-size: .95rem; }
  .portfolio-cta { align-items: flex-start; flex-direction: column; gap: 18px; padding: 22px; }
  .customer-order-story { padding: 18px; }
  .order-story-header { align-items: flex-start; flex-direction: column; gap: 14px; }
  .order-story-header h4 { font-size: 1.25rem; }
  .order-story-gallery, .order-story-gallery.two-photos { grid-template-columns: 1fr; gap: 23px; }
}
@media (max-width: 430px) {
  .recent-customer-grid { grid-template-columns: 1fr; }
  .customer-project h3 { font-size: 1.1rem; }
  .customer-project figcaption { padding: 18px; }
  .project-status { font-size: .65rem; }
}
