/* Compact featured cases: shared rows keep all captions aligned. */
#casos .section-heading{margin-bottom:22px;padding-bottom:0}
#casos .home-work-grid{column-gap:20px;row-gap:0}
#casos .home-work-card{grid-row:span 5;grid-template-rows:subgrid}
#casos .home-work-image{aspect-ratio:16/9;margin-bottom:10px}
#casos .home-work-meta{font-size:9px;line-height:1.45;padding-bottom:6px}
#casos .home-work-card h3{font-size:clamp(20px,1.65vw,27px);line-height:1.15;padding-bottom:7px;text-wrap:pretty}
#casos .home-work-summary{display:block;margin:0;padding:0 0 10px;color:var(--muted,#66675e);font:400 12px/1.5 var(--sans,Arial,sans-serif);max-width:48ch}
#casos .home-work-link{font-size:9px;margin:0 0 22px;padding-bottom:10px}
#casos .home-work-all{margin-top:0}
@media(max-width:600px){#casos .home-work-grid{column-gap:14px}#casos .home-work-card h3{font-size:19px}#casos .home-work-meta{font-size:8px}#casos .home-work-summary{font-size:12px;line-height:1.45}#casos .home-work-image{margin-bottom:8px}}
@supports not (grid-template-rows:subgrid){#casos .home-work-card{grid-row:auto;grid-template-rows:auto auto auto 1fr auto}}

/* Brand signatures on every featured case, with clear space over the photo. */
#casos .home-work-image{position:relative}
#casos .home-work-brand{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;justify-content:center;height:38px;min-width:38px;padding:0 13px;border-radius:999px;background:rgba(255,253,249,.9);-webkit-backdrop-filter:blur(12px) saturate(1.3);backdrop-filter:blur(12px) saturate(1.3);box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 8px 22px rgba(10,10,12,.16);pointer-events:none;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
#casos .home-work-brand img{display:block;width:auto;height:19px;max-width:100px;object-fit:contain;transform:none;transition:none;filter:none}
#casos .home-work-brand--square img{height:25px}
#casos .home-work-brand--wordmark img{height:14px;max-width:112px}
#casos .home-work-brand img[src*="lancome"]{height:17px}
#casos a:hover .home-work-brand{transform:translateY(-2px)}
@media(max-width:600px){
 #casos .home-work-brand{top:8px;left:8px;height:27px;min-width:27px;padding:0 9px}
 #casos .home-work-brand img{height:13px;max-width:66px}
 #casos .home-work-brand--square img{height:18px}
 #casos .home-work-brand--wordmark img{height:10px;max-width:72px}
 #casos .home-work-brand img[src*="lancome"]{height:12px}
}
