/* V217: five clearly separated business/personal portfolio categories, originals never cropped. */
.em217-home .em217-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto;gap:17px}
.em217-home .em217-gallery .em214-category-card{grid-row:auto;grid-column:span 2;min-height:0;align-self:stretch}
.em217-home .em217-gallery .em214-category-card:nth-child(4),.em217-home .em217-gallery .em214-category-card:nth-child(5){grid-column:span 3}
.em217-home .em217-gallery .em214-picture,.em217-home .em217-gallery .em214-category-card[data-kind="photo"] .em214-picture,.em217-home .em217-gallery .em214-category-card[data-kind="film"] .em214-picture,.em217-home .em217-gallery .em214-category-card[data-kind="artist"] .em214-picture{height:260px;flex:0 0 260px;background:linear-gradient(130deg,#10234c,#1b396e)}
.em217-home .em217-gallery .em214-picture img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.em217-home .em217-gallery .em214-card-copy{min-height:154px}
.em217-home .em214-card-desc{font-size:.82rem}
.em217-category .em214-cat-hero{padding-bottom:50px}
.em217-category .em214-cat-image img{width:100%;height:100%;object-fit:contain;object-position:center}
.em217-category .em214-tabs a{white-space:normal}
.em217-works .em214-project-card{min-width:0}
.em217-design-content{background:#fbfcff;padding:50px 0 65px}
.em217-design-content .em214-wrap{width:min(1180px,calc(100% - 48px));margin:auto}
.em217-section-intro{margin-bottom:38px;max-width:880px}
.em217-section-intro h2{font-size:clamp(2rem,3vw,2.65rem);letter-spacing:-.035em;line-height:1.15;color:#14367e;margin:10px 0 10px}
.em217-section-intro p,.em217-subsection>p{color:#526783;line-height:1.6}
.em217-subsection{margin:0 0 48px}
.em217-subsection h3{color:#14367e;font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.2;letter-spacing:-.025em;margin:0 0 8px}
.em217-subsection>p{margin:0 0 20px}
.em217-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.em217-work-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dce6ef;border-radius:14px;overflow:hidden;background:white;text-decoration:none!important;box-shadow:0 8px 22px rgba(23,43,82,.045);transition:transform .2s,box-shadow .2s}
.em217-work-card:hover{transform:translateY(-3px);box-shadow:0 18px 32px rgba(23,43,82,.11)}
.em217-work-card:focus-visible{outline:3px solid #1b976a;outline-offset:3px}
.em217-work-img{height:205px;display:flex;justify-content:center;align-items:center;background:#eff4f9;overflow:hidden}
.em217-work-img img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center}
.em217-work-copy{padding:19px;display:flex;flex:1;flex-direction:column;gap:8px}
.em217-work-copy strong{font-size:1.05rem;line-height:1.25;color:#193a7b}
.em217-work-copy>span{font-size:.89rem;line-height:1.45;color:#58677b}
.em217-work-copy small{margin-top:auto;padding-top:12px;color:#127957;font-weight:800;font-size:.8rem}
.em217-work-grid .em214-project-card{min-height:210px}
.em217-category .em214-role-disclaimer{margin-top:20px}
@media(max-width:1000px){.em217-home .em217-gallery .em214-category-card{grid-column:span 3}.em217-home .em217-gallery .em214-category-card:last-child{grid-column:span 6}.em217-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.em217-home .em217-gallery{display:flex;flex-direction:column;gap:14px}.em217-home .em217-gallery .em214-picture{height:250px!important;flex:0 0 250px!important}.em217-home .em217-gallery .em214-card-copy{min-height:auto}.em217-category .em217-design-content{padding:30px 0 45px}.em217-design-content .em214-wrap{width:calc(100% - 30px)}.em217-work-grid{grid-template-columns:1fr}.em217-work-img{height:210px}.em217-category .em214-tabs-inner{display:flex;flex-wrap:wrap}.em217-category .em214-tabs a{flex:1 1 42%;text-align:center}.em217-section-intro{margin-bottom:28px}}
