.construction{padding:80px 4.45% 72px;background:var(--pearl);color:var(--graphite);scroll-margin-top:32px}
.construction-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:36px}
.construction h2{font:400 clamp(48px,5.3vw,80px)/1.06 Морее,serif;letter-spacing:-.025em;margin:0;font-synthesis:none}
.construction-more{font-size:12px;white-space:nowrap;padding:14px 0;text-decoration:none;border-bottom:1px solid var(--graphite)}.construction-more span{margin-left:30px;font-size:20px}
.construction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.construction-card{position:relative;min-width:0;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:var(--graphite);color:var(--pearl);isolation:isolate}
.construction--preview .construction-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,clamp(150px,16vw,230px))}
.construction--preview .construction-card{aspect-ratio:auto}
.construction--preview .construction-card:nth-of-type(1){grid-column:1/4;grid-row:1/3}
.construction--preview .construction-card:nth-of-type(2){grid-column:4/6;grid-row:1}
.construction--preview .construction-card:nth-of-type(3){grid-column:5/7;grid-row:2}
.construction-object{display:grid;place-items:center;min-width:0;align-self:center;aspect-ratio:1;overflow:hidden;background:transparent}
.construction-object img{display:block;width:82%;height:auto;pointer-events:none}
.construction-object--shell{grid-column:6;grid-row:1}
.construction-object--shell img{transform:rotate(-8deg)}
.construction-object--pebble{grid-column:4;grid-row:2}.construction-object--pebble img{width:76%;transform:rotate(12deg)}
.construction-slides{display:flex;overflow-x:auto;height:100%;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.construction-slides::-webkit-scrollbar{display:none}
.construction-slide{position:relative;flex:0 0 100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:block}
.construction-slide:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(62,69,73,.8));pointer-events:none}
.construction-slide img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.65,.3,1)}
.construction-card h3{position:absolute;left:20px;bottom:22px;z-index:1;margin:0;font:400 11px/1.4 Manrope,sans-serif;letter-spacing:.04em;pointer-events:none}
.construction-arrows{position:absolute;right:12px;bottom:12px;display:flex;gap:6px}.construction-arrows[hidden]{display:none}
.construction-arrows button,.viewer-controls button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:var(--pearl);color:var(--graphite);font:400 26px/1 Manrope,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.construction-arrows button{width:44px;height:44px;font-size:23px}
.construction-card:has(.construction-arrows) h3{bottom:68px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.construction-viewer{box-sizing:border-box;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:24px max(24px,4vw);border:0;background:rgba(62,69,73,.94);color:var(--pearl);overflow:hidden}
.construction-viewer::backdrop{background:rgba(62,69,73,.6);backdrop-filter:blur(10px)}
.construction-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;animation:viewer-in .3s ease both}
.viewer-open{overflow:hidden}
.viewer-header,.viewer-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;position:relative;z-index:2;pointer-events:none}
.viewer-header h2{font:400 12px/1.4 Manrope,sans-serif;letter-spacing:.05em;margin:0}
.viewer-header select{max-width:calc(100% - 68px);min-height:44px;padding:8px 28px 8px 0;border:0;border-radius:0;background:transparent;color:var(--pearl);font:400 12px/1.4 Manrope,sans-serif;letter-spacing:.04em;pointer-events:auto;cursor:pointer;color-scheme:dark}
.viewer-header option{background:var(--graphite);color:var(--pearl)}
.viewer-header button{width:48px;height:48px;border:0;background:transparent;color:var(--pearl);font:300 32px/1 Manrope,sans-serif;cursor:pointer;pointer-events:auto}
.viewer-stage{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;overflow:hidden;touch-action:none;user-select:none}
.viewer-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;cursor:zoom-in;will-change:transform}
.viewer-stage.is-zoomed img{cursor:grab}.viewer-stage.is-dragging img{cursor:grabbing}
.viewer-controls{display:flex;gap:12px;pointer-events:auto}.viewer-controls button[hidden]{display:none}
[data-viewer-count]{font-size:12px;letter-spacing:.08em;margin:0}
.construction-viewer button:focus-visible,.construction a:focus-visible,.construction button:focus-visible{outline:2px solid var(--mist);outline-offset:4px}
@keyframes viewer-in{from{opacity:0}to{opacity:1}}
@media(hover:hover){.construction-slide:hover img{transform:scale(1.025)}.construction-arrows button:hover,.viewer-controls button:hover{background:var(--mist)}.viewer-header button:hover{color:var(--mist)}}
@media(max-width:767px){
 .construction{padding:56px 18px}.construction-heading{display:block;margin:0 6px 28px}.construction h2{font-size:clamp(36px,10.5vw,64px)}.construction-more{display:inline-block;margin-top:16px}
 .construction-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.construction-card{aspect-ratio:1}.construction-card:nth-of-type(3n+1){grid-column:span 2;aspect-ratio:1.3}
 .construction--preview .construction-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:6px}
 .construction--preview .construction-card:nth-of-type(1){grid-column:1/4;grid-row:1;aspect-ratio:1.25}
 .construction--preview .construction-card:nth-of-type(2){grid-column:1/3;grid-row:2;aspect-ratio:1.25}
 .construction--preview .construction-card:nth-of-type(3){grid-column:2/4;grid-row:3;aspect-ratio:1.25}
 .construction-object--shell{grid-column:3;grid-row:2}.construction-object--pebble{grid-column:1;grid-row:3}
 .construction-object img,.construction-object--pebble img{width:100%}
 .construction-object--shell{justify-self:start}.construction-object--pebble{justify-self:end}
 .construction-card h3,.construction-card:has(.construction-arrows) h3{left:12px;top:12px;bottom:auto;font-size:10px}
 .construction-slide:after{inset:0;background:linear-gradient(rgba(62,69,73,.45),transparent 38%,transparent 65%,rgba(62,69,73,.35))}
 .construction-arrows{right:4px;bottom:4px;gap:0}
 .construction-arrows button{width:44px;height:44px;font-size:20px;background:radial-gradient(circle at center,var(--pearl) 16px,transparent 16.5px)}
 .construction-viewer{padding:max(12px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom))}
 .construction-viewer[open]{gap:12px}.viewer-header h2{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.construction-slide img,.construction button{transition:none}.construction-viewer[open]{animation:none}}

[data-lot-zoom] { cursor: zoom-in; }
.lot-drawing > button { display: block; width: 100%; padding: 0; }
.viewer-stage img[hidden] { display: none; }
.shows-lot-drawing .viewer-stage img { background: white; }

.construction--archive { padding-block: clamp(32px,4vw,64px); }
.construction--archive .construction-heading { margin-bottom: 20px; }
.construction--archive .construction-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.construction--archive .construction-card { grid-column: auto; aspect-ratio: auto; height: clamp(145px,17vw,250px); }
.construction--archive .construction-card[hidden], .construction-expand[hidden] { display: none; }
.construction--archive .construction-card:has(time[datetime="2026-09"]) .construction-arrows {
  left: 12px;
  right: auto;
}
.construction--archive .construction-card:has(time[datetime="2026-09"]) [data-next] { display: none; }
.construction-expand { display: block; min-height: 44px; margin: 20px auto 0; padding: 9px 22px; border: 1px solid var(--steel); border-radius: 999px; font: 400 14px/1.5 Manrope,sans-serif; }
@media(max-width:600px){
 .construction--archive .construction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: clamp(98px,25vw,150px); gap: 8px; }
 .construction--archive .construction-card { height: auto; }
 .construction--archive .construction-card:nth-of-type(3n+1) { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
}
