.project-section.project-carousel{height:calc(100svh - 84px);min-height:420px;padding:24px 40px;scroll-margin-top:84px}
.project-carousel>.project-inner{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px}
.project-carousel .project-heading{max-width:none;margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.project-carousel .project-heading h2{margin:0}
.project-carousel .project-heading>a{white-space:nowrap;color:var(--bronze);min-height:44px;display:flex;align-items:center}
.project-slides{min-height:0;touch-action:pan-y;user-select:none}
.project-slide{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}
.project-slide[hidden],.project-controls[hidden]{display:none}
.project-slide-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.project-slide-heading h3{font:400 19px/1.4 'Didact Gothic',sans-serif;margin:0;color:#ccc}
.project-slide-heading>span{color:var(--muted);font-size:14px}
.project-triptych{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:14px;min-height:0}
.project-triptych .work-card{display:block;overflow:hidden}
.project-triptych .work-card:first-child{grid-row:auto}
.project-triptych .work-image{height:100%;aspect-ratio:auto}
.project-triptych .work-image img{object-fit:contain;transform:none;transition:none}
.project-album{justify-self:start;display:flex;align-items:center;min-height:44px;color:var(--bronze)}
.project-controls{display:flex;align-items:center;justify-content:center;gap:24px}
.project-controls button{min-height:44px;min-width:90px;padding:8px 16px;border:1px solid #b1977759;background:transparent;color:#ddd;font:inherit;cursor:pointer;transition:color .15s,border-color .15s}
.project-count{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums;min-width:44px;text-align:center}
.project-controls button:focus-visible,.project-carousel a:focus-visible{outline:2px solid var(--bronze);outline-offset:3px}
@media(hover:hover) and (pointer:fine){.project-controls button:hover{color:var(--bronze);border-color:var(--bronze)}}
@media(max-width:700px){.project-section.project-carousel{padding:18px 25px;min-height:410px}.project-carousel>.project-inner{gap:10px}.project-slide{gap:8px}.project-slide-heading{display:block}.project-slide-heading h3{font-size:17px}.project-slide-heading>span{font-size:14px}.project-triptych{gap:10px;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1.35fr) minmax(0,1fr)}.project-triptych .work-card:first-child{grid-row:auto;grid-column:1/3}.project-controls{gap:16px}.project-controls button{min-width:82px;padding:8px 12px}}
@media(max-width:360px){.project-section.project-carousel{padding:12px 23px}.project-carousel .project-heading{gap:8px}.project-carousel .project-heading>a{font-size:14px}.project-carousel .project-heading h2{letter-spacing:2px}.project-carousel>.project-inner{gap:8px}}
@media(max-height:560px) and (min-width:701px){.project-section.project-carousel{padding-top:12px;padding-bottom:12px;min-height:340px}.project-carousel .project-heading h2{font-size:28px}.project-carousel>.project-inner{gap:6px}.project-slide{gap:6px}.project-triptych{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}.project-triptych .work-card:first-child{grid-row:auto}}

/* Captions distinguish project images from photographs of the work. */
.project-triptych .work-card:has(.work-caption){display:grid;grid-template-rows:minmax(0,1fr) auto}
.project-triptych .work-caption{font-size:14px;min-height:0;padding:6px 0;line-height:1.35}
