.project-reviews{padding:64px 0 56px;background:#fff;border-top:1px solid var(--line);min-height:calc(100svh - var(--header-height))}
.reviews-heading{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:28px}
.reviews-heading h2{margin:0;font-size:clamp(30px,2.7vw,40px);letter-spacing:-.035em;line-height:1.1}
.reviews-heading p,.map-caption{color:var(--muted);font-size:16px}
.reviews-heading p{margin:0}
.project-map{position:relative;max-width:940px;margin:auto;background:#eef7fb;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.europe-map{display:block;width:100%;height:auto}
.project-pins{position:absolute;inset:0;pointer-events:none}
.project-pin{position:absolute;transform:translate(-50%,-100%);width:44px;height:48px;border:0;background:transparent;padding:6px;cursor:pointer;pointer-events:auto;color:var(--red)}
.project-pin svg{width:100%;height:100%;filter:drop-shadow(0 2px 3px #0c172230)}
.project-pin:hover,.project-pin:focus-visible{color:#ad1017;z-index:2}
.map-caption{display:flex;justify-content:space-between;gap:20px;max-width:940px;margin:20px auto 0;flex-wrap:wrap;font-size:14px;line-height:1.5}
.map-caption p{margin:0}
.map-markets::before{content:'';display:inline-block;width:10px;height:10px;background:#d4e6f0;border:1px solid #91aabb;margin-right:8px}
.project-list{display:flex;flex-wrap:wrap;gap:10px;max-width:940px;margin:20px auto 0}
.project-list:empty{display:none}
.project-list button{font:inherit;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:6px;padding:10px 16px;cursor:pointer}
.preview-dialog{position:fixed;inset:0;margin:auto;width:min(1120px,calc(100% - 40px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:12px;color:var(--ink);background:#fff;box-shadow:0 30px 100px #0005;overflow:auto}
.preview-dialog[open]{animation:preview-in .24s ease-out}
.preview-dialog::backdrop{background:#0c1722bd;backdrop-filter:blur(5px)}
@keyframes preview-in{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
.preview-toolbar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:16px;padding:14px 20px;background:#fff;border-bottom:1px solid var(--line)}
.preview-title{margin:0;font-size:18px;font-weight:500;line-height:1.3;flex:1;min-width:0}
.preview-close,.preview-zoom{flex-shrink:0;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.preview-close{font-size:28px;line-height:1}
.preview-content{padding:24px;background:#f5f9fc}
.document-image{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 175px);margin:auto;object-fit:contain;cursor:zoom-in}
.preview-content.is-zoomed .document-image{width:100%;max-height:none;cursor:zoom-out}
.project-detail p{margin:0 0 20px;line-height:1.6;white-space:pre-line}
.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-gallery img{display:block;width:100%;height:auto;border-radius:6px}
@media(max-width:600px){.project-reviews{padding:44px 0}.reviews-heading{display:block}.reviews-heading p{margin-top:16px}.map-caption{gap:12px}.preview-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.preview-toolbar{padding:10px;gap:8px}.preview-title{font-size:15px}.preview-content{padding:12px}.project-gallery{grid-template-columns:1fr}.preview-zoom{font-size:14px}}
@media(prefers-reduced-motion:reduce){.preview-dialog[open]{animation:none}}
@media(min-width:1051px){.project-map{max-width:clamp(420px,calc((100svh - var(--header-height) - 230px)*1.25),940px)}}
/* Edge-to-edge map with only the section heading above it. */
.project-reviews{padding-bottom:0;min-height:0}
.project-reviews>.wrap{width:100%;max-width:none}
.reviews-heading{width:min(calc(100% - var(--gutter)*2),var(--max));margin:0 auto 28px}
.project-map{width:100%;max-width:none;border-left:0;border-right:0;border-radius:0;margin:0}
.project-list{display:none}
.preview-dialog.is-document{width:max-content;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);border-radius:0;background:transparent;overflow:hidden;outline:none}
.preview-dialog.is-document .preview-toolbar{display:none}
.preview-dialog.is-document .preview-content{padding:0;background:transparent}
.preview-dialog.is-document .document-image{display:block;width:auto;height:auto;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);margin:0;cursor:default}
/* The map is the complete reviews viewport, with no visible heading or captions. */
.project-reviews{padding:0;border:0;min-height:0}
.project-map{height:calc(100svh - var(--header-height));border:0;background:#fff}
.map-geography{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%}
.map-geography .europe-map{display:block;width:100%;height:100%;max-width:none}

/* Keep the map and its white ending together within the visible section. */
.project-reviews .project-map{height:calc(100svh - 2 * var(--header-height))}
.project-reviews::after{content:"";display:block;width:100%;height:var(--header-height);background:#fff}
