/* v9: home hero on the Milano photograph (Pexels 13046519, Mathias Reding, colour original, see v8/SOURCES.md); home partner photos capped at Team page size. */
.hero.hero-photo { background: #0C1A2E !important; }
.hero.hero-photo > .hero-img { position: absolute; inset: 0; z-index: 0; display: block; }
.hero.hero-photo > .hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; }
.hero.hero-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(12, 26, 46, var(--scrim, 0.60)); pointer-events: none; }
.hero.hero-photo > .container { position: relative; z-index: 2; }
.hero.hero-photo .hero-sub, .hero.hero-photo .eyebrow { color: #F2EBD8 !important; }
@media (min-width: 768px) { .hero.hero-photo { padding: 152px 0 140px !important; } }
@media (max-width: 767px) { .hero.hero-photo { padding: 96px 0 88px !important; } .hero.hero-photo > .hero-img img { object-position: 42% 30%; } }

/* Partners on home: never larger than the portraits on the Team page (263px at 1440). */
/* Same three columns, each capped at 263px; spread so the trio spans the same width as the firm logos row below. */
.pt-grid { grid-template-columns: repeat(3, minmax(0, 263px)); gap: 28px; justify-content: space-between; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: repeat(2, minmax(0, 159px)); gap: 24px; } }
/* v9b: no large epsilon over the photo (tried at 0.16: it read as a pale blob on the Galleria). */
