/* Projects overview extends the approved homepage master system. */
.projects-overview .projects-hero{height:clamp(460px,42vw,620px);min-height:460px;padding:84px 0 62px}
.projects-hero .hero-content{max-width:1040px}
.projects-hero .section-label{justify-content:center;color:#f7f4ee;margin-bottom:22px}
.projects-hero .hero-summary{max-width:55ch;margin:24px auto 30px}
.projects-hero .hero-image{object-position:50% 64%}
.projects-collection-heading{align-items:end}
.projects-overview .projects-collection-heading{margin-bottom:28px}
.projects-collection-heading h2{max-width:none;margin:0}
.projects-collection-heading>p{margin:0;display:flex;flex-direction:column;gap:10px}
.projects-count{font-weight:600;font-size:13px;color:var(--brand)}
.project-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 32px}
.project-filter{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 18px;border:1px solid #10101040;border-radius:999px;color:var(--text);background:transparent;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease}
.project-filter:hover{color:var(--text);background:#e7e2d9;border-color:#10101080}
.project-filter[aria-current="true"]{color:#fff;background:var(--brand);border-color:var(--brand)}
.project-filter:focus-visible{outline:2px solid var(--text);outline-offset:3px}
.project-filter-count{font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}
.projects-overview .project-card[hidden],.project-filter-empty[hidden]{display:none}
.project-filter-empty{max-width:58ch;margin:24px 0;line-height:1.75;color:var(--text)}
.projects-overview .project-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.projects-overview .project-media{aspect-ratio:1.5}
.projects-overview .project-title{font-size:clamp(23px,1.85vw,28px)}
.projects-overview .project-title a{color:inherit;text-decoration:none}
.project-preview-track{display:flex;position:relative;width:100%;height:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom;cursor:grab;user-select:none}
.project-preview-track.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.project-preview-track::-webkit-scrollbar{display:none}
.project-preview-track:focus-visible{outline:3px solid var(--brand);outline-offset:-4px;border-radius:inherit}
.project-photo-link{display:block;flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:start;scroll-snap-stop:always;background:var(--surface)}
.projects-overview .project-photo-link img{display:block;width:100%;height:100%;object-fit:cover}
.projects-overview .project-card:hover img{transform:none}
.project-preview-controls{position:absolute;z-index:2;bottom:12px;right:12px;display:flex;align-items:center;gap:2px;background:#101010ee;color:#fff;border-radius:999px;padding:2px;box-shadow:0 4px 12px #10101020}
.project-preview-controls[hidden]{display:none}
.project-preview-controls button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;border:0;border-radius:50%;padding:0;background:transparent;color:#fff;cursor:pointer;transition:background-color .2s ease}
.project-preview-controls button:hover{background:#ffffff26}
.project-preview-controls button:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.project-preview-controls svg{width:20px;height:20px}
.project-preview-count{font-size:12px;font-weight:500;min-width:40px;text-align:center;font-variant-numeric:tabular-nums}
.project-card .project-action{color:#fff;text-decoration:none}
.projects-overview .project-description{font-size:15px;line-height:1.65;color:var(--muted);margin:12px 0 22px;min-height:calc(3 * 1.65em)}
.projects-enquiry{background:var(--surface-deep);color:#f7f4ee;margin:0 var(--frame);border-radius:24px}
.projects-enquiry-grid{max-width:900px;text-align:center}
.projects-enquiry .section-label{justify-content:center;color:#d6d6d3}
.projects-enquiry h2{margin:0 auto 24px;max-width:17ch}
.projects-enquiry-grid>div>p:not(.section-label){color:#d6d6d3;max-width:55ch;margin:0 auto 28px;line-height:1.75}
.projects-enquiry .actions{justify-content:center;flex-wrap:wrap}
.projects-enquiry .button-secondary{color:#f7f4ee;border-color:#ffffff90;background:transparent}
.projects-enquiry .button-secondary:hover{color:#101010;background:#f7f4ee;border-color:#f7f4ee}
.projects-enquiry .button:focus-visible{outline-color:#f7f4ee}
.floating-projects .site-footer{margin-top:var(--frame)}
@media(min-width:1100px){.projects-overview .project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){
 .projects-overview .projects-hero{min-height:500px;height:auto;padding:94px 0 64px}
 .projects-overview .project-media{aspect-ratio:1.25}
 .projects-enquiry{border-radius:20px}
}
@media(max-width:599px){
 .project-filters{flex-wrap:nowrap;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:4px;scrollbar-width:none;margin:0 -4px 24px;padding:5px 4px 10px}
 .project-filters::-webkit-scrollbar{display:none}
 .project-filter{flex-shrink:0;min-height:44px;padding:10px 18px;font-size:12px;gap:8px}
 .projects-overview .projects-hero{min-height:540px;padding:82px 0 48px}
 .projects-hero .hero-summary{font-size:14px;line-height:1.75;margin:22px auto 28px}
 .projects-hero .section-label{margin-bottom:20px}
 .projects-overview .project-grid{grid-template-columns:1fr}
 .projects-overview .project-media{aspect-ratio:1.2}
 .projects-overview .project-title{font-size:25px}
 .projects-overview .project-description{min-height:0;font-size:14px;line-height:1.7;margin:12px 0 20px}
 .projects-enquiry{border-radius:20px}
 .projects-enquiry .actions{flex-direction:column;align-items:stretch}
}
@media(max-width:360px){.projects-overview .project-title{font-size:20px}}
@media(prefers-reduced-motion:reduce){.project-preview-track{scroll-behavior:auto}.project-filter{transition:none}}
