/* Visual ribbon aligned with the process-page design system */
.process-photo-ribbon{padding:20px 0 8px;background:var(--bg)}
.process-photo-frame{position:relative;display:grid;grid-template-columns:1.15fr .85fr .85fr 1.15fr;height:208px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 22px 58px rgba(0,0,0,.10)}
.process-photo-frame:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 38%,rgba(5,10,18,.32));z-index:2}
.process-photo-cell{position:relative;overflow:hidden;min-width:0;border-right:1px solid color-mix(in srgb,var(--line) 72%,transparent)}
.process-photo-cell:last-of-type{border-right:0}
.process-photo-cell img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.01);transition:transform .7s cubic-bezier(.2,.75,.2,1),filter .4s ease;filter:saturate(.92) contrast(1.03)}
.process-photo-cell:hover img{transform:scale(1.055)}
.process-photo-label{position:absolute;left:14px;bottom:13px;z-index:3;padding:5px 7px;border:1px solid rgba(255,255,255,.22);background:rgba(7,12,20,.50);backdrop-filter:blur(10px);color:#fff;font-size:8px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;border-radius:999px}
.process-photo-caption{position:absolute;right:15px;top:14px;z-index:4;padding:7px 9px;background:rgba(7,12,20,.56);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-radius:999px}
html[data-theme="light"] .process-photo-frame{box-shadow:0 18px 42px rgba(20,31,48,.09)}
@media(max-width:900px){.process-photo-frame{grid-template-columns:1.1fr .9fr .9fr;height:184px}.process-photo-cell:nth-of-type(4){display:none}}
@media(max-width:620px){.process-photo-ribbon{padding-top:10px}.process-photo-frame{grid-template-columns:1fr 1fr;height:156px;border-radius:10px}.process-photo-cell:nth-of-type(3),.process-photo-cell:nth-of-type(4){display:none}.process-photo-caption{display:none}.process-photo-label{left:9px;bottom:9px;font-size:7px;padding:4px 6px}}
