.category-main{background:#fff;color:#111}
.category-shell{max-width:1440px;margin:0 auto;padding:0 clamp(20px,6vw,96px) 80px}
.category-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;padding-top:32px;font-size:12px;line-height:1.7;color:#666}
.category-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
.category-heading{padding:64px 0 52px;max-width:1050px}
.category-eyebrow{font-size:11px;letter-spacing:.15em;text-transform:uppercase;margin:0 0 20px}
.category-heading h1{font-family:'Cormorant Garamond',serif;font-size:clamp(44px,5.8vw,84px);font-weight:500;line-height:1.08;letter-spacing:-.025em;margin:0 0 24px;text-wrap:balance}
.category-message{font-size:16px;line-height:1.85;color:#555;max-width:65ch;margin:0}
.category-list-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-top:1px solid #dcdcdc;padding:20px 0 28px;font-size:12px;color:#666}
.category-list-heading p{margin:0}
.category-project-list{display:grid;grid-template-columns:minmax(0,1fr);gap:52px}
.category-project>a{display:block;color:inherit}
.category-project-banner{aspect-ratio:21/9;overflow:hidden;background:#eee}
.category-project-banner img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s ease}
.category-project-info{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0 24px;border-bottom:1px solid #ddd}
.category-project-info h2{font-family:'Cormorant Garamond',serif;font-size:clamp(28px,3vw,42px);font-weight:500;line-height:1.2;color:#111;margin:0 0 8px}
.category-project-info p{font-size:14px;line-height:1.7;color:#555;margin:0}
.category-demo{font-size:12px;color:#777}
.category-project-arrow{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #bbb;border-radius:50%;font-size:22px}
.category-project>a:focus-visible{outline:2px solid #111;outline-offset:6px}
.category-back{display:inline-flex;align-items:center;min-height:44px;margin-top:40px;font-size:14px;text-decoration:underline;text-underline-offset:5px}
@media(hover:hover){.category-project>a:hover .category-project-banner img{transform:scale(1.025)}.category-project>a:hover .category-project-arrow{background:#111;color:#fff}}
@media(max-width:767px){.category-heading{padding:40px 0 32px}.category-project-banner{aspect-ratio:16/10}.category-project-list{gap:32px}.category-list-heading{flex-direction:column;gap:8px}.category-project-info{padding:18px 0}.category-shell{padding-bottom:48px}.category-breadcrumb{padding-top:24px}}
@media(prefers-reduced-motion:reduce){.category-project-banner img{transition:none!important;transform:none!important}}

/* Three projects per row; metadata remains readable at smaller widths. */
.category-project-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px}
.category-project-banner{aspect-ratio:4 / 3}
.category-project-info{align-items:flex-start;gap:10px;padding:18px 0 22px}
.category-project-info>div{min-width:0;flex:1}
.category-project-info h2{font-size:clamp(25px,2.2vw,32px);line-height:1.2}
.category-project-arrow{width:34px;height:34px;flex-basis:34px;font-size:18px}
.category-project-facts{margin:16px 0 0;display:grid;gap:8px;font-size:13px;line-height:1.6}
.category-project-facts>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px}
.category-project-facts dt{color:#777}
.category-project-facts dd{margin:0;color:#222;overflow-wrap:anywhere}
@media(min-width:768px) and (max-width:1050px){.category-project-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.category-project-list{grid-template-columns:minmax(0,1fr);gap:30px}.category-project-info h2{font-size:30px}}
