/* blog-custom-software: hero drawing, five rented apps folding into one job screen in the owner's own stages */
.bps { position: relative; display: grid; gap: 18px; width: min(100%, 460px); padding: 4px 0 8px; }
.bps__old { position: relative; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-radius: var(--r); background: color-mix(in srgb, var(--paper-2) 80%, transparent); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); }
.bps__app { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 9px; background: var(--white); color: var(--ink-3); font-size: .78rem; box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1); rotate: calc((var(--k) - 2) * 1.6deg); }
.bps__app .ic { width: 14px; height: 14px; }
.bps__app b { font-weight: 500; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--red) 70%, transparent); }
.bps__x { position: absolute; right: 12px; top: -12px; padding: 4px 8px; border-radius: 6px; background: var(--red-ink); color: #ffffff; font: 500 .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.bps__new { padding: 16px 18px 18px; }
.bps__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bps__top b { font-weight: 500; }
.bps__dots { display: flex; gap: 4px; } .bps__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(11, 27, 51, .16); }
.bps__stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 14px; }
.bps__stages li { position: relative; padding: 22px 0 0; font: 500 .6875rem/1.2 var(--mono); color: var(--ink-3); text-align: center; }
.bps__stages li::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 6px; border-radius: 3px; background: rgba(11, 27, 51, .1); }
.bps__stages li.is-done::before { background: var(--violet); }
.bps__stages li.is-done { color: var(--ink); }
.bps__stages li.is-now::before { background: linear-gradient(90deg, var(--violet) 55%, rgba(11, 27, 51, .1) 55%); }
.bps__stages li.is-now { color: var(--violet-ink); }
.bps__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.bps__photos span { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 8px; color: #ffffff; background: linear-gradient(160deg, #8fb3d9, #5d7e5a 70%); }
.bps__photos span:nth-child(2) { background: linear-gradient(170deg, #c9b79c, #8a6f50); }
.bps__photos span:nth-child(3) { background: linear-gradient(150deg, #a7c4dd, #9b8d7a 65%); }
.bps__photos .ic { width: 18px; height: 18px; }
.bps__more { background: var(--ink) !important; font: 500 .75rem/1 var(--mono); }
.bps__row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid rgba(11, 27, 51, .08); font-size: .8125rem; color: var(--ink); }
.bps__row .ic { width: 16px; height: 16px; color: var(--violet-ink); flex: none; }
.bps__sw { margin-left: auto; width: 30px; height: 18px; border-radius: 9px; background: var(--violet); position: relative; flex: none; }
.bps__sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #ffffff; }
@media (prefers-reduced-motion: no-preference) {
  .bps__app { animation: bps-fold 4.8s var(--ease-io) infinite; animation-delay: calc(var(--k) * 120ms); }
  @keyframes bps-fold { 0%, 55%, 100% { transform: none; opacity: 1; } 75% { transform: translateY(14px) scale(.94); opacity: .55; } }
}

/* 11/20 final gates: the photo tiles were blank gradient squares — now three drawn site photos (framing, roof, slab) beside the camera tile */
.bps__photos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bps__photos .bps__ph { background: center / cover no-repeat; }
.bps__ph--framing { background-image: url(bps-framing.svg) !important; }
.bps__ph--roof { background-image: url(bps-roof.svg) !important; }
.bps__ph--slab { background-image: url(bps-slab.svg) !important; }
.bps__photos .bps__cam { background: var(--ink); }
