.project-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:2.5rem 0}.project-categories>a{display:block;padding:1.5rem;border:1px solid #9eb8a4;border-radius:16px;background:#eef5ed;color:#173b2e;text-decoration:none}.project-categories>a[aria-current=page]{background:#173b2e;color:#fff}.project-categories h2{margin:.6rem 0;font-size:1.4rem}.project-categories p{font-weight:400}.project-heading{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.project-card{padding:1.25rem;border:1px solid #cad8cb;border-radius:16px;min-width:0;background:white}.project-card h3{font-size:1.4rem}.project-copy{white-space:pre-wrap}.project-media{display:grid;gap:1rem}.project-media figure{margin:0}.project-media img,.project-media video{display:block;width:100%;max-height:420px;object-fit:contain;background:#e8efea;border-radius:10px}.project-media figcaption{font-size:.94rem;padding:.5rem 0;white-space:pre-wrap}.project-cta{margin-top:3rem;background:#eef5ed;border-radius:16px;padding:2rem}.project-admin-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2.5fr);gap:2rem}.project-admin-list button{display:block;width:100%;text-align:left;margin:.6rem 0;padding:.9rem;background:#eef5ed;color:#173b2e;border:1px solid #91ac97;border-radius:8px;font:inherit}.project-admin-list button[aria-current=true]{border:3px solid #286b42}.project-admin-list small{display:block}.project-checkbox{display:flex;align-items:center;gap:.7rem}.project-checkbox input{width:auto;margin:0}.project-media-editor{border:1px solid #b2c7b5;border-radius:12px;padding:1rem;margin:1rem 0}.project-media-editor img,.project-media-editor video{max-height:230px;max-width:100%;display:block;background:#eef5ed}.project-media-editor button,.project-actions button{font:inherit;padding:.55rem .8rem;margin:.4rem .4rem .4rem 0;border:1px solid #91ac97;border-radius:8px;cursor:pointer}.project-admin-layout fieldset{padding:0;border:0;min-width:0}.project-admin-layout textarea{min-height:130px}.project-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem}.project-state{white-space:pre-wrap;min-height:1.6em}.project-save-row{background:#eef5ed;padding:1rem;border-radius:10px;margin-top:1rem}.project-admin-layout progress{width:100%;height:20px}#project-save-state{font-weight:700}.project-empty{padding:1.5rem;border:1px dashed #91ac97;border-radius:12px}
@media(max-width:1100px){.project-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.project-categories,.project-gallery,.project-admin-layout{grid-template-columns:1fr}.project-categories{gap:.7rem}.project-categories>a{padding:1rem}.project-categories h2{margin:.3rem 0}.project-admin-layout{gap:1rem}.project-media img,.project-media video{max-height:320px}}
.project-kicker{font-size:22px;line-height:1.3}
.project-details{min-width:0}
.project-card .project-cover{display:block;padding:0;list-style:none;cursor:pointer;border-radius:10px;overflow:hidden;background:#f1f5f9}
.project-cover::marker{content:""}.project-cover::-webkit-details-marker{display:none}
.project-cover img{display:block;width:100%;max-height:420px;object-fit:contain;background:#e8efea}
.project-cover-hint{display:block;padding:.7rem .85rem;background:#1e3a8a;color:#fff;font-size:.9rem;font-weight:700;line-height:1.45}
.project-cover:hover .project-cover-hint,.project-cover:focus-visible .project-cover-hint{background:#172554}
.project-cover:focus-visible{outline:3px solid #2563eb;outline-offset:4px}
.project-details:not([open]) .project-show-less,.project-details[open] .project-show-more{display:none}
.project-details-content{padding:.8rem 0 .25rem}
.project-cover-caption{margin:0 0 .7rem;font-size:.94rem;white-space:pre-wrap;overflow-wrap:anywhere}
.project-details-content>a{display:inline-block;margin-top:1rem;color:#1e3a8a;font-weight:700;text-decoration:underline}
.project-cover-placeholder{display:grid;place-items:center;min-height:160px;padding:1.5rem;text-align:center;font-size:1.2rem;font-weight:700;color:#1e3a8a}
@media(max-width:750px){.project-cover img{max-height:320px}}

/* Integrated gallery below the three services. */
.home-projects{border-top:1px solid #e2e8f0;background:#f1f5f9;scroll-margin-top:130px}
.home-projects .intro{max-width:760px}
.home-project-filters{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.65rem;margin:1.8rem 0}
.home-project-filters a{display:inline-flex;align-items:center;min-height:44px;padding:.6rem 1rem;border:1px solid #94a3b8;border-radius:999px;background:#fff;color:#1e3a8a;font-weight:700}
.home-project-filters a:hover,.home-project-filters a:focus-visible{background:#dbeafe;color:#172554}
.home-project-filters a[aria-current=page]{background:#1e3a8a;color:#fff;border-color:#1e3a8a}
.home-projects .project-heading h3{margin:.4rem 0}
.home-projects .project-card{background:#fff;border-color:#cbd5e1}
.home-projects .project-cover img{aspect-ratio:4/3;max-height:420px;object-fit:contain}
@media(max-width:900px){.home-projects{scroll-margin-top:220px}}
