/* KC Built v0.19 – editorial deck work and gallery portrait tile */
.section--deck-projects{background:#f7f5ef;border-top:1px solid #e9e6dd;border-bottom:1px solid #e2dfd6;padding:105px 0 112px}
.deck-projects-heading{display:flex;align-items:end;justify-content:space-between;gap:48px;margin-bottom:40px}
.deck-projects-heading .section-heading{margin:0;max-width:790px}
.deck-projects-heading .section-heading h2{font-size:clamp(46px,4.8vw,70px);margin:21px 0 15px}
.deck-projects-heading h2 em{color:#7b806f}
.deck-projects-heading .section-heading p{max-width:650px}
.deck-projects-more{flex:none;white-space:nowrap;margin:0 0 5px;align-self:end}
.deck-projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;row-gap:37px}
.deck-project{margin:0;min-width:0}
.deck-project--wide{grid-column:1/-1}
.deck-project-image{background:#d8d9cf;overflow:hidden;aspect-ratio:1.72}
.deck-project--wide .deck-project-image{aspect-ratio:2.22}
.deck-project-image img{display:block;width:100%;height:100%;object-fit:cover}
.deck-project--wide .deck-project-image img{object-position:center center}
.deck-project figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px 27px;padding:17px 1px 0;color:#405046;font-family:var(--serif);font-size:21px;letter-spacing:-.025em;line-height:1.35}
.deck-project figcaption .deck-project-count{font-family:var(--sans);font-size:9px;letter-spacing:.16em;font-weight:750;color:#8c785b;white-space:nowrap}
.gallery-grid .gallery-card--portrait{grid-column:span 1;grid-row:span 2}
@media(max-width:900px){
 .section--deck-projects{padding:83px 0 88px}
 .deck-projects-heading{align-items:flex-start;flex-direction:column;gap:12px}
 .deck-projects-heading .section-heading h2{font-size:clamp(44px,7vw,64px)}
 .deck-projects-more{align-self:flex-start;margin:0}
 .deck-projects-grid{gap:25px 15px}
 .deck-project figcaption{font-size:18px;padding-top:12px}
}
@media(max-width:600px){
 .section--deck-projects{padding:69px 0 73px}
 .deck-projects-heading{margin-bottom:29px}
 .deck-projects-heading .section-heading h2{font-size:clamp(42px,11vw,53px)}
 .deck-projects-grid{grid-template-columns:1fr;gap:27px}
 .deck-project--wide{grid-column:auto}
 .deck-project--wide .deck-project-image{aspect-ratio:1.85}
 .deck-project-image{aspect-ratio:1.55}
 .deck-project figcaption{display:block;font-size:19px;padding-top:10px}
 .deck-project figcaption .deck-project-count{display:block;margin-bottom:5px}
}
