/* Desktop refinements only: retain the established phone layouts and image crops. */
@media(min-width:761px){
 #portfolio>.shell{max-width:1180px}
 #portfolio .fp-grid-four{gap:32px!important}
 #portfolio .fp-grid-four .fp-visual{aspect-ratio:3/2!important}
 #portfolio .fp-scene-2{background-image:url('images/project-smart-sharp.png');background-size:cover;background-position:50% 50%}
 #portfolio .fp-grid-four .fp-card-copy{min-height:160px!important;padding-top:18px!important}
 .fc-depth-reference-heading,.fc-project-pagination{max-width:1180px}
 .fc-project-rail{max-width:1180px;margin-inline:auto;gap:24px;padding-inline:32px;scroll-padding-left:32px}
 .fc-project-slide{flex:0 0 min(55vw,580px)}
 .fc-project-photo{--desktop-photo-height:clamp(270px,28vw,360px);height:var(--desktop-photo-height);aspect-ratio:auto}
 .fc-project-crop{width:min(100%,calc(var(--desktop-photo-height) * var(--photo-ratio)))}
 .fc-project-slide figcaption{grid-template-columns:76px minmax(0,1fr);gap:16px;padding-top:17px}
 .fc-project-slide figcaption h3{font-size:26px}
 .fc-project-slide figcaption p{font-size:14px;line-height:1.65;max-width:440px}
 .fc-reference-grid{max-width:1180px;gap:32px!important}
 .fc-reference-grid:has(>.fc-reference-card[hidden]){grid-template-columns:minmax(0,620px)!important}
 .ref-inline-gallery{--desktop-gallery-height:clamp(250px,26vw,340px)}
 .ref-inline-slide{height:var(--desktop-gallery-height);aspect-ratio:auto}
 .ref-inline-crop{width:min(100%,calc(var(--desktop-gallery-height) * var(--photo-ratio)))}
 .fc-reference-card figcaption h2{font-size:34px!important;line-height:1.15!important;margin-bottom:10px}
 .fc-reference-card .ref-category-copy{font-size:15px;line-height:1.65}
}
