.project-hero{height:470px;background:linear-gradient(90deg,rgba(13,25,38,.68),rgba(13,25,38,.18)),url('assets/hero.jpg') center 52%/cover;display:flex;align-items:center;color:#fff}.hero-copy{padding-left:6%;max-width:650px}.project-hero h1{font-size:clamp(42px,5vw,62px);font-weight:900;line-height:1.05;margin:18px 0}.project-hero p{max-width:530px;font-size:17px;line-height:1.5}.section-eyebrow,.project-tag{color:#bd891e;font-weight:800;font-size:12px;letter-spacing:2px}.project-intro{text-align:center;max-width:790px;margin:0 auto;padding:70px 20px 50px}.project-intro h2{font-size:clamp(27px,3vw,39px);margin:13px 0}.project-intro p{font-size:17px;line-height:1.7;color:#5c6471}.project-list{max-width:1190px;margin:0 auto;padding:0 24px 80px;display:grid;gap:32px}.project-card{display:grid;grid-template-columns:1.1fr 1fr;background:#f7f8f8;border-radius:15px;overflow:hidden;box-shadow:0 4px 25px #17283f12;min-height:360px}.project-card:nth-child(even) .project-cover{order:2}.project-cover{border:0;padding:0;position:relative;cursor:pointer;background:#ddd;overflow:hidden;text-align:left}.project-cover img{width:100%;height:100%;min-height:360px;object-fit:cover;display:block;transition:transform .3s}.project-cover:hover img{transform:scale(1.035)}.cover-cta{position:absolute;bottom:20px;left:20px;background:#222b36e8;color:white;border-radius:8px;padding:12px 17px;font-weight:700;font-size:12px;letter-spacing:1px}.cover-cta b{color:#f3b72e;margin-left:12px}.project-info{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:46px 49px}.project-info h3{font-size:32px;line-height:1.15;margin:14px 0}.project-info p{font-size:16px;line-height:1.75;color:#536072}.view-gallery{background:transparent;border:0;border-bottom:2px solid #e3a820;color:#17283f;font-weight:800;letter-spacing:1px;padding:10px 0;cursor:pointer;margin-top:12px}.view-gallery span{color:#d69d17;margin-left:15px}.gallery-count{font-size:11px;color:#89909b;letter-spacing:1px;margin-top:16px}.project-cta{text-align:center;background:#20252d;color:white;padding:65px 20px 75px}.project-cta h2{font-size:36px;margin:0}.project-cta p{color:#d1d5d8;line-height:1.6;margin:16px 0 25px}.gallery-dialog{width:min(1050px,95vw);max-height:95vh;border:0;border-radius:14px;padding:0;background:#fff;color:#14253e;box-shadow:0 30px 100px #0007}.gallery-dialog::backdrop{background:#101a2cdd}.gallery-top{display:flex;justify-content:space-between;align-items:center;padding:18px 24px}.gallery-top small{color:#b88b26;font-size:11px;letter-spacing:2px;font-weight:bold}.gallery-top h2{font-size:21px;margin:5px 0}.close-gallery{border:0;background:#f1f1f1;border-radius:50%;height:36px;width:36px;cursor:pointer}.gallery-main{display:flex;align-items:center;justify-content:space-between;background:#1c2229;min-height:300px}.gallery-main img{display:block;max-width:calc(100% - 100px);height:min(55vh,630px);object-fit:contain}.gallery-arrow{border:0;background:transparent;color:white;font-size:48px;width:50px;cursor:pointer}.gallery-bottom{padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.gallery-bottom p{margin:0;font-size:14px}.gallery-bottom span{font-size:12px;white-space:nowrap}.gallery-thumbs{display:flex;gap:9px;overflow:auto;padding:0 24px 18px}.gallery-thumbs button{border:3px solid transparent;background:none;padding:0;flex:0 0 65px;height:62px;cursor:pointer;border-radius:5px;overflow:hidden}.gallery-thumbs button.selected{border-color:#dca625}.gallery-thumbs img{width:100%;height:100%;object-fit:cover}@media(max-width:720px){.project-hero{height:420px;background-position:56% 52%}.hero-copy{padding:20px 5%}.project-hero h1{font-size:43px}.project-list{padding:0 15px 50px;gap:22px}.project-card{display:flex;flex-direction:column}.project-card:nth-child(even) .project-cover{order:0}.project-cover img{height:270px;min-height:0}.project-info{padding:30px 25px 35px}.project-info h3{font-size:27px}.project-intro{padding:50px 20px 35px}.gallery-main img{height:45vh}.gallery-top{padding:12px 15px}.gallery-bottom{padding:12px 15px}.gallery-thumbs{padding:0 15px 15px}}
/* Mobile-first, photo-dominant lightbox */
.gallery-dialog{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0;background:#15191e;color:#fff;display:none;flex-direction:column;overflow:hidden}
.gallery-dialog[open]{display:flex}
.gallery-top{flex:0 0 auto;background:#1e2329;color:#fff;padding:12px 18px;min-height:68px}
.gallery-top h2{font-size:clamp(16px,2.5vw,22px);margin:3px 0}.gallery-top small{color:#efb93e}
.close-gallery{background:#363d44;color:white;font-size:20px;flex-shrink:0}
.gallery-main{position:relative;flex:1 1 auto;min-height:0;width:100%;background:#101317;display:flex;align-items:center;justify-content:center}
.gallery-main img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:48px;height:48px;border-radius:50%;background:rgba(12,16,21,.65);border:1px solid rgba(255,255,255,.7);font-size:37px;line-height:1;color:white;display:grid;place-items:center;touch-action:manipulation}
#prev{left:12px}#next{right:12px}
.gallery-bottom{flex:0 0 auto;background:#1e2329;color:#e6e6e6;padding:11px 18px}.gallery-bottom p{font-size:13px}.gallery-bottom span{font-weight:700}
.gallery-thumbs{flex:0 0 auto;justify-content:center;max-height:80px;background:#1e2329;padding:4px 12px 12px}.gallery-thumbs button{flex-basis:52px;height:52px}.gallery-thumbs img{height:100%}
@media(max-width:720px){.gallery-top{padding:10px 14px;min-height:62px}.gallery-main img{height:100%;width:100%;max-width:100%}.gallery-arrow{width:43px;height:43px;font-size:33px}#prev{left:8px}#next{right:8px}.gallery-bottom{padding:9px 14px}.gallery-thumbs{justify-content:flex-start;max-height:69px;padding:4px 10px 9px}.gallery-thumbs button{flex-basis:48px;height:48px}}

.gallery-stages{display:flex;gap:8px;justify-content:center;padding:10px 12px;background:#1e2329;flex-wrap:wrap}.gallery-stages button{background:#353c44;color:#eee;border:1px solid #616975;border-radius:24px;padding:9px 18px;font-weight:700;cursor:pointer}.gallery-stages button.active{background:#d9a532;color:#15191e;border-color:#d9a532}.gallery-stages:empty{display:none}

/* Consistent project-card proportions regardless of source photo aspect ratio */
.project-card{min-height:0;align-items:stretch}.project-cover{display:block;aspect-ratio:4/3;min-height:0}.project-cover img{width:100%;height:100%;min-height:0;position:absolute;inset:0;object-fit:cover}.project-card .project-info{padding:32px 38px}.project-cover.empty-project{background:#f7f6f3;cursor:default}.empty-cover-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;color:#898986;text-align:center;padding:15px}.empty-cover-art svg{width:45px;height:45px}.empty-cover-art strong{font-size:clamp(15px,2vw,23px);font-weight:650;letter-spacing:.03em}.empty-cover-art span{font-size:clamp(12px,1.5vw,17px);color:#a1a19e}.project-cover.empty-project .cover-cta{display:none}
@media(max-width:720px){.project-cover{width:100%;aspect-ratio:4/3}.project-cover img{height:100%;min-height:0}.project-card .project-info{padding:26px 25px}}
/* Keep complete project photographs visible without cropping or zoom on hover. */
.project-cover:not(.empty-project){background:#eeeae5}
.project-cover:not(.empty-project) img{object-fit:contain;object-position:center center;transform:none!important}
.project-cover:not(.empty-project):hover img{transform:none!important}
/* Quiet, consistent empty-project illustration. */
.project-cover.empty-project{background:#f7f6f3}
.empty-cover-art{color:#92918d;gap:12px}
.empty-cover-art svg{width:52px;height:52px;stroke:#93928f;stroke-width:1.9}
.empty-cover-art strong{font-family:Tahoma, Geneva, sans-serif;font-weight:600;letter-spacing:.025em;color:#777671}
.empty-cover-art span{color:#999894}

/* Three-column, image-first project gallery. Full image is always visible. */
@media(min-width:1021px){.project-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project-card{display:flex;flex-direction:column;min-width:0}.project-card:nth-child(even) .project-cover{order:0}.project-cover{width:100%;aspect-ratio:4/3;flex:none}.project-cover img{width:100%;height:100%;object-fit:contain;object-position:center;background:#f3f1ee}.project-card .project-info{padding:24px 24px 28px;flex:1;justify-content:flex-start}.project-info h3{font-size:24px;margin:10px 0}.project-info p{font-size:14px;line-height:1.6}.view-gallery{font-size:12px;margin-top:auto}.gallery-count{margin-top:12px}.cover-cta{bottom:12px;left:12px;padding:9px 12px}}
@media(min-width:721px) and (max-width:1020px){.project-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-card{display:flex;flex-direction:column;min-width:0}.project-card:nth-child(even) .project-cover{order:0}.project-cover{width:100%;aspect-ratio:4/3}.project-card .project-info{padding:24px;flex:1}.project-info h3{font-size:25px}.project-info p{font-size:14px}.view-gallery{margin-top:auto}}
@media(max-width:720px){.project-cover img{object-fit:contain!important;background:#f3f1ee}}

/* Cover the tile exactly once, without additional zoom or hover scaling. */
.project-cover:not(.empty-project) img,
.project-cover:not(.empty-project):hover img{
 object-fit:cover!important;object-position:center center!important;
 transform:none!important;background:transparent!important;
}

/* Category filters — understated, accessible, responsive */
.project-filters{max-width:1190px;margin:0 auto 32px;padding:0 24px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.project-filter{appearance:none;border:1px solid #d6d9dc;border-radius:999px;background:#fff;color:#263342;padding:11px 18px;font:700 12px/1.2 inherit;font-family:inherit;letter-spacing:.035em;cursor:pointer;transition:background .15s,border-color .15s}
.project-filter:hover,.project-filter:focus-visible{border-color:#c69a32;outline-offset:3px}
.project-filter[aria-pressed="true"]{background:#20252d;color:#fff;border-color:#20252d}
.project-empty{grid-column:1/-1;text-align:center;color:#536072;padding:35px 15px 65px;font-size:16px;line-height:1.7}
@media(max-width:720px){.project-filters{padding:0 14px;margin-bottom:24px;gap:8px}.project-filter{font-size:12px;padding:10px 13px}}
