/* Give department photographs the space; keep labels against the card base. */
.updated-reference #team .department-grid .card:not(.team-connect){display:flex;flex-direction:column;background-color:#fffdf8;background-image:url('assets/architecture-plan.svg');background-size:250px auto;background-position:right bottom}
.updated-reference #team .department-grid .card>img,
.updated-reference #team .department-grid .card:first-child img{display:block;width:100%;height:160px;min-height:0;aspect-ratio:auto;object-fit:cover;flex:0 0 160px}
.updated-reference #team .department-grid .card-body,
.updated-reference #team .department-grid .card:first-child .card-body{padding:5px 10px 7px!important;min-height:43px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:2px}
.updated-reference #team .department-grid .card strong{font-size:13px;line-height:1.25}
.updated-reference #team .department-grid .card small{font-size:10px;line-height:1.25;margin:0}
.updated-reference #team .department-grid .card:first-child small{font-size:11px;line-height:1.25;margin:0}
.department-grid .department-art{height:160px;min-height:160px;aspect-ratio:auto;background-image:url('assets/architecture-plan.svg'),linear-gradient(135deg,#e8e0ca,#f9f6ed);background-size:280px auto,auto;background-position:center}
.department-illustrated:nth-last-child(2) .department-art{background-image:url('assets/architecture-plan.svg'),linear-gradient(135deg,#e0e9e3,#f3f7f0);background-size:280px auto,auto}
/* One restrained feature tile; text stays below the photographs. */
.culture-mosaic{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.culture-tile:first-child,.culture-tile:last-child{grid-column:span 2}
.culture-tile:first-child{border-color:#c8a45f;background:#fff7e7;box-shadow:0 4px 15px #97783a15}
.culture-tile:first-child .culture-caption{border-left:3px solid #bb903b;padding-left:12px}
.culture-tile:first-child .culture-caption small{display:block;font-size:9px;letter-spacing:1.3px;color:#856328;margin:0 0 5px}
.culture-tile:first-child .culture-caption strong{font-size:16px}
.culture-tile img{height:125px}
.culture-caption{flex:1;padding:10px 11px}
.culture-caption strong{font-size:12px}.culture-caption>span{font-size:10px}
/* Sketches are drawn inside the page spread as well as in the gutters. */
.spread{background-color:#faf8f2;background-image:url('assets/architecture-sketch.svg'),url('assets/architecture-plan.svg');background-size:340px auto,620px auto;background-repeat:repeat-y,repeat-y;background-position:left 100px,right 460px}
.updated-reference,#equipment,#team,#partners,#culture{background:transparent}
.video-caption{padding-bottom:16px}
@media(max-width:900px){
 .updated-reference #team .department-grid .card>img,.updated-reference #team .department-grid .card:first-child img{height:125px;flex-basis:125px}
 .department-grid .department-art{height:125px;min-height:125px}
 .updated-reference #team .department-grid .card strong{font-size:11px}
 .updated-reference #team .department-grid .card small{font-size:9px}
 .culture-mosaic{grid-template-columns:repeat(4,minmax(0,1fr))}
 .culture-tile:first-child{grid-column:span 2}.culture-tile:last-child{grid-column:span 1}
}
@media(max-width:600px){
 .updated-reference #team .department-grid .card>img,.updated-reference #team .department-grid .card:first-child img{height:115px;flex-basis:115px}
 .department-grid .department-illustrated .department-art{height:115px;min-height:115px;aspect-ratio:auto}
 .updated-reference #team .department-grid .card-body,.updated-reference #team .department-grid .card:first-child .card-body{min-height:41px;padding:5px 8px 6px!important}
 .culture-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .culture-tile:first-child{grid-column:span 2}.culture-tile:last-child{grid-column:span 1}
 .culture-tile img{height:105px}.culture-tile:first-child img{height:125px}
 .culture-tile:first-child .culture-caption strong{font-size:15px}
 .spread{background-size:220px auto,370px auto;background-position:left 120px,right 460px}
}
