/* Final legibility refinements, retaining the original raster identity. */
.hero .button{background:rgba(15,26,29,.18);border-color:#d3dcd8}
@media(max-width:760px){.header .brand span{font-size:10px}.hero-bottom>span:nth-child(2){font-size:10px;max-width:250px;line-height:1.5}.image-caption span{font-size:10px}}

/* Market scope lists mirror .service-list, retoned for the light background. */
.market-list details p{padding-bottom:13px}
.market-list ul{list-style:none;margin:0;padding:0 30px 22px 0;display:grid;gap:7px;font-size:14px;color:var(--muted);line-height:1.55}
.market-list li:before{content:'—';margin-right:12px;color:#8a9463}

/* Logo capped at the raster master's native 133px; a vector is needed to go larger. */
.brand img{width:133px}
.brand span{font-size:15px;padding-left:22px}
.header .brand span small{display:block;font-size:11px;letter-spacing:.02em;color:var(--olive);margin-top:7px;line-height:1.3;white-space:nowrap}
.header{height:104px}
html{scroll-padding-top:106px}
.market-image-wrap{top:148px}
@media(max-width:760px){.brand img{width:118px}.header .brand span{font-size:12px;padding-left:14px}.header .brand span small{font-size:10px;margin-top:5px}.header{height:88px}html{scroll-padding-top:88px}}

/* Scope is the only column now; capped for a readable line length. */
.detail-grid{grid-template-columns:1fr}
.detail-grid>div{max-width:660px}

/* Project photography: shown only for entries that carry a cleared image. */
.detail-media{margin:32px 0 0;padding:0;display:grid;gap:28px}
.detail-media figure{margin:0}
.detail-media img{display:block;width:100%;height:auto;background:var(--paper)}
.detail-media figcaption{font-size:12px;color:var(--muted);line-height:1.6;margin-top:12px}
/* Figures carrying a maxWidth are capped at the source image's own width so it is never upscaled into softness. */
@media(max-width:760px){.detail-media{margin-top:24px;gap:22px}.detail-media figcaption{font-size:11px}}

.contact-dialog input[type=text],.contact-dialog input[type=email],.contact-dialog input[type=tel]{border:1px solid #a9b09e;border-radius:0;padding:12px;width:100%;background:white;color:var(--ink);font-size:14px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-dialog .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
#turnstile-slot:not(:empty){margin-top:20px}
.contact-dialog form .button:disabled{opacity:.6;cursor:progress}
.form-note{font-size:12px;color:var(--muted);margin-top:14px}
.form-status{font-size:13px;margin-top:10px}
.form-status:empty{display:none}
.form-status.error{color:#9a3b2e}
#inquiry-sent{margin-top:25px}
#inquiry-sent:focus{outline:none}
#inquiry-sent h3{font-size:20px;font-weight:500;margin:0 0 8px}
#inquiry-sent p{font-size:14px;color:var(--muted);margin-bottom:22px}
@media(max-width:520px){.field-row{grid-template-columns:1fr;gap:0}}

.legacy-contact{display:flex;flex-direction:column;gap:16px}
.legacy-contact .contact-name{font-size:16px;color:var(--ink);line-height:1.4;margin-bottom:-6px}
.legacy-contact .contact-name small{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-top:5px}
.legacy-contact .contact-line{font-size:14px;color:var(--ink)}
.office-list{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:6px}
.office strong{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--ink);margin-bottom:8px}
.office span{display:block;font-size:13px;line-height:1.6;color:var(--muted)}
@media(max-width:520px){.office-list{grid-template-columns:1fr;gap:20px}}
