/* Retains the published identity and editorial project grid. */
.project-location-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:30px;color:#62665f;font-size:12px}
.project-location-filter select{font:inherit;color:#141414;background:var(--paper);border:1px solid var(--line);padding:10px 15px;border-radius:8px;min-height:44px}
#projects .project-card[hidden]{display:none!important}
#projects .project-status{display:inline-flex;align-items:center;margin-inline-start:12px;padding:3px 10px;border:1px solid #62665f44;border-radius:20px;font-size:10px;color:#555b53}
#projects .project-status[data-status=ongoing]{color:#9d4900;border-color:#e56f0555;background:#e56f050a}
#projects .project-client{font-size:12px;color:#62665f;margin:0 0 12px}
#projects .project-photo-placeholder{aspect-ratio:16/9;border-radius:13px 13px 0 0;background:linear-gradient(155deg,#252524,#141414 70%,#31251b);position:relative;overflow:hidden}
#projects .project-photo-placeholder:after{content:"";position:absolute;inset:24% -10%;border:1px solid #e56f052c;transform:rotate(-18deg)}
.hero-image[data-hero-scene="4"]{object-position:50% 52%}
.hero-image[data-hero-scene="5"]{object-position:50% 48%}
.hero-image[data-hero-scene="6"]{object-position:50% 50%}
@media(max-width:700px){.hero-image[data-hero-scene="4"]{object-position:18% 50%}.hero-image[data-hero-scene="5"]{object-position:28% 50%}.hero-image[data-hero-scene="6"]{object-position:48% 50%}.project-location-filter{gap:10px}.project-location-filter>span{flex-basis:100%}}

/* Screenshot-derived JAX service images retain their actual pixel dimensions. */
#services img[data-jax-crop="13"]{object-position:center 65%}
#services img[data-jax-crop="15"],#services img[data-jax-crop="17"]{object-position:center}

.project-detail-open{margin-top:22px;padding:10px 14px;display:inline-flex;gap:20px;align-items:center;font:inherit;font-size:12px;cursor:pointer}
html.project-dialog-open{overflow:hidden}
.project-detail-dialog{width:min(1150px,94vw);max-width:none;max-height:90dvh;padding:0;border:1px solid #e56f0555;border-radius:18px;background:var(--paper);color:#141414;overflow:auto;overscroll-behavior:contain}
.project-detail-dialog::backdrop{background:#101010c4;backdrop-filter:blur(12px)}
.project-detail-dialog:not([open]){display:none}
.project-detail-toolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 28px;background:var(--paper);border-bottom:1px solid #14141422}
#projects .project-detail-toolbar h2{font-size:26px;line-height:1.6;margin:0}
.project-detail-toolbar form{margin:0}
.project-detail-close{width:44px;height:44px;font-size:26px;cursor:pointer}
.project-detail-body{padding:30px 34px 50px}
.project-detail-intro>p,.project-detail-section>p,.consultant-card p{font-size:14px;line-height:2.1}
.project-detail-client{display:flex;align-items:center;gap:18px;margin-block:18px}
.project-detail-client img{width:110px;height:auto;object-fit:contain}
.project-detail-section{padding-block:28px;border-top:1px solid #14141422;margin-top:26px}
#projects .project-detail-section h3{font-size:30px;line-height:1.7;margin:0 0 22px}
#projects .project-detail-section h4{font-size:20px;line-height:1.7;margin:20px 0 12px}
.project-comparison,.project-detail-photos,.project-consultants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.project-detail-body figure{margin:0;min-width:0}
.project-detail-body figure img{display:block;width:100%;height:auto;max-height:540px;object-fit:contain;border-radius:10px;background:#e9e6de}
.project-detail-body figcaption{font-size:12px;line-height:1.9;padding-block:10px;color:#555b53}
.project-comparison figure{display:flex;flex-direction:column-reverse;justify-content:flex-end}
.project-comparison .project-comparison-label{display:block;padding-block:10px;color:#9d4900;font-size:14px}
.consultant-card{min-width:0;padding:22px;background:#ebe8e1;border-radius:12px}
.consultant-logo{height:130px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.consultant-logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
@media(max-width:700px){.project-detail-dialog{width:96vw;max-height:94dvh;border-radius:12px}.project-detail-toolbar{padding:14px 16px;gap:12px}#projects .project-detail-toolbar h2{font-size:20px}.project-detail-body{padding:20px 16px 35px}.project-detail-photos,.project-consultants{grid-template-columns:1fr}.project-comparison{gap:10px}.project-detail-intro>p,.project-detail-section>p,.consultant-card p{font-size:13px}#projects .project-detail-section h3{font-size:25px}.project-detail-body figcaption{font-size:11px}}

@media(max-width:700px){.project-comparison{grid-template-columns:1fr;gap:20px}}
