.construction-page{--construction-gap:36px}
.construction-page [id]{scroll-margin-top:64px}
.construction-nav{display:flex;justify-content:center;gap:36px;border-top:1px solid #d1dce3;border-bottom:1px solid #d1dce3;padding-block:22px;flex-wrap:wrap}
.construction-nav a{font-size:18px;color:var(--blue);font-weight:500;text-decoration:none}
.construction-nav a:hover{text-decoration:underline;text-underline-offset:6px;color:var(--red)}
.construction-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-block:45px;gap:36px;border-bottom:1px solid #d1dce3;text-align:center}
.construction-facts>div{display:flex;flex-direction:column;gap:6px}
.construction-facts .icon{font-size:36px;color:var(--blue);margin-bottom:9px}
.construction-facts span:not(.icon){font-size:16px}
.construction-facts strong{font-weight:500;font-size:18px}
.construction-intro{max-width:920px;margin:0 auto 45px;text-align:center}
.construction-intro p{margin-bottom:18px}
.construction-capabilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}
.construction-capabilities article{background:#ecf1f4;min-width:0}
.construction-capabilities img{width:100%;height:auto;aspect-ratio:1.5;object-fit:cover}
.construction-capabilities article>div{padding:27px}
.construction-capabilities h3{font-size:28.125px;line-height:36px;margin:0 0 18px}
.construction-capabilities p{margin:0}
.construction-deadline{padding-block:54px}
.construction-deadline>.wrap{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.construction-deadline h2{font-size:28.125px;line-height:36px;margin-bottom:18px}
.construction-deadline p{margin:0}
.construction-countdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;text-align:center}
.construction-countdown strong{font-family:Outfit,"Outfit Fallback",Roboto,"Roboto Fallback",sans-serif;font-weight:500;font-size:54.9316px;line-height:72px;color:var(--blue);display:block;font-variant-numeric:tabular-nums}
.construction-countdown span{font-size:16px}
.construction-timeline{display:grid;grid-template-columns:180px minmax(0,1fr);gap:54px;align-items:start}
.construction-months{position:sticky;top:169px;display:grid;border-left:2px solid #d1dce3;padding-block:9px;max-height:calc(100dvh - 190px);overflow-y:auto}
.construction-months a{display:flex;gap:18px;padding:9px 18px;color:#333;text-decoration:none;font-size:16px;line-height:27px;border-left:3px solid transparent;margin-left:-2px}
.construction-months a span{color:var(--blue);font-variant-numeric:tabular-nums}
.construction-months a:hover,.construction-months a[aria-current]{color:var(--red);border-color:var(--red);font-weight:500}
.construction-chapters{min-width:0}
.construction-chapter{margin-bottom:72px;border-bottom:1px solid #d1dce3;padding-bottom:45px}
.construction-chapter:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.construction-chapter figure{position:relative;margin:0 0 27px}
.construction-chapter figure>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.construction-chapter figcaption{position:absolute;bottom:0;left:0;background:#30557d;color:#fff;padding:9px 24px;font-size:16px}
.construction-chapter-copy{max-width:800px}
.construction-chapter h3{font-size:28.125px;line-height:36px;margin:0 0 18px}
.construction-chapter p{margin:0 0 27px}
.construction-filmstrip{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;padding:0 0 12px;scrollbar-color:#30557d #ecf1f4;scrollbar-width:thin}
.construction-photo{display:block;position:relative;color:#fff;background:#34393b;overflow:hidden;text-decoration:none;min-width:0}
.construction-photo:hover img{filter:brightness(.85)}
.construction-photo:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.construction-photo img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;transition:filter .15s}
.construction-photo>span{display:block;font-size:14px;line-height:22px;background:var(--blue);padding:8px 12px;color:#fff}
.construction-filmstrip .construction-photo{flex:0 0 120px}
.construction-filmstrip .construction-photo>span{font-size:12px;line-height:18px;padding:6px 8px}
.construction-contractor,.construction-closing{padding-block:72px}
.construction-page .text-media figure{margin:0;min-width:0}
.construction-page .text-media figure img{display:block;width:100%;height:auto;max-height:none;object-fit:cover}
.construction-page .text-media h2{margin-bottom:27px}
.construction-page .text-media p{margin-bottom:27px}
.construction-page .button{white-space:normal;max-width:100%}
.construction-compare{position:relative;aspect-ratio:16/9;overflow:hidden;background:#ecf1f4;--compare-position:50%;--compare-grip:64px;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.construction-compare img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;-webkit-user-drag:none}
.compare-before{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--compare-position)) 0 0)}
.compare-label{position:absolute;bottom:18px;background:var(--blue);color:#fff;padding:9px 18px;font-size:16px}
.compare-label.before{left:18px}.compare-label.after{right:18px}
.compare-control{position:absolute;z-index:2;top:0;left:calc(var(--compare-grip) / -2);width:calc(100% + var(--compare-grip));height:100%;margin:0;padding:0;border:0;opacity:0;cursor:ew-resize;touch-action:pan-y;appearance:none;-webkit-appearance:none;background:transparent}
.compare-control::-webkit-slider-runnable-track{height:44px;background:transparent;border:0}
.compare-control::-webkit-slider-thumb{width:var(--compare-grip);height:44px;margin:0;border:0;appearance:none;-webkit-appearance:none;background:transparent}
.compare-control::-moz-range-track{height:44px;background:transparent;border:0}
.compare-control::-moz-range-thumb{width:var(--compare-grip);height:44px;border:0;border-radius:0;background:transparent}
.compare-handle{position:absolute;z-index:3;top:0;bottom:0;left:var(--compare-position);width:2px;background:#fff;box-shadow:0 0 3px #0005;transform:translateX(-50%);pointer-events:none}
.compare-handle>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;background:#fff;color:var(--blue);width:var(--compare-grip);height:44px;border:1px solid #d1dce3;border-radius:4px;box-shadow:0 2px 10px #0003}
.compare-control:hover+.compare-handle>span,.compare-control:active+.compare-handle>span{border-color:var(--blue);color:var(--red)}
.compare-control:focus-visible+.compare-handle>span{outline:3px solid var(--blue);outline-offset:3px}
.construction-range{display:block;margin-top:18px;font-size:14px;line-height:24px;color:var(--blue);text-align:center}
.construction-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}
.construction-gallery-status{font-size:16px;margin:18px 0 0}
.construction-lightbox{width:min(1400px,calc(100% - 40px));max-width:calc(100% - 40px);max-height:calc(100dvh - 40px);padding:18px 27px;background:#fff;border:0;color:#333}
.construction-lightbox::backdrop{background:#000d}
.construction-lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;color:var(--blue)}
.construction-lightbox-image{position:relative;min-height:120px;display:grid;place-items:center}
.construction-lightbox-image img{width:100%;height:calc(100dvh - 210px);object-fit:contain;background:#ecf1f4}
.construction-lightbox-image .icon-button{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;color:#fff;background:var(--blue);padding:0;font-size:24px}
.construction-lightbox-image .photo-previous{left:12px}.construction-lightbox-image .photo-previous .icon{transform:rotate(180deg)}
.construction-lightbox-image .photo-next{right:12px}
.construction-lightbox>p{margin:12px 0 0;font-size:16px;line-height:24px;text-align:center}
@media(max-width:1100px){.construction-timeline{grid-template-columns:155px minmax(0,1fr);gap:27px}.construction-capabilities article>div{padding:24px}.construction-capabilities h3{font-size:25px;line-height:34px}.construction-deadline>.wrap{gap:27px}.construction-countdown{gap:12px}}
@media(max-width:900px){.construction-timeline{display:block}.construction-months{position:static;display:flex;overflow-x:auto;border:0;border-bottom:1px solid #d1dce3;padding-bottom:12px;margin-bottom:36px}.construction-months a{white-space:nowrap;border-left:0;border-bottom:3px solid transparent;padding:9px 12px;margin:0;gap:9px}.construction-capabilities{gap:18px}.construction-capabilities article>div{padding:18px}.construction-capabilities h3{font-size:22.5px;line-height:31.5px}.construction-deadline>.wrap{grid-template-columns:1fr;text-align:center}.construction-countdown{max-width:580px;width:100%;margin:auto}.construction-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.construction-nav{gap:18px 27px}}
@media(max-width:600px){.construction-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding-block:18px;text-align:center}.construction-nav a{font-size:16px;line-height:24px}.construction-facts{grid-template-columns:1fr;gap:27px;padding-block:36px}.construction-facts .icon{font-size:30px;margin-bottom:3px}.construction-capabilities{grid-template-columns:1fr;gap:27px}.construction-capabilities article>div{padding:27px}.construction-capabilities h3{font-size:25px;line-height:34px}.construction-intro{margin-bottom:27px;text-align:left}.construction-deadline{padding-block:36px}.construction-deadline h2{font-size:25px;line-height:34px}.construction-countdown strong{font-size:39px;line-height:52px}.construction-countdown span{font-size:14px}.construction-countdown{gap:6px}.construction-chapter{margin-bottom:45px;padding-bottom:27px}.construction-chapter h3{font-size:25px;line-height:34px}.construction-chapter figure{margin-bottom:24px}.construction-chapter figcaption{font-size:14px;line-height:22px;padding:6px 12px}.construction-contractor,.construction-closing{padding-block:45px}.construction-gallery{gap:12px}.construction-gallery .construction-photo>span{font-size:12px;line-height:20px;padding:6px 8px}.compare-label{font-size:12px;padding:4px 8px;bottom:9px}.compare-label.before{left:9px}.compare-label.after{right:9px}.construction-lightbox{width:calc(100% - 16px);max-width:calc(100% - 16px);padding:12px;max-height:calc(100dvh - 16px)}.construction-lightbox-image .icon-button{width:44px;height:44px}.construction-lightbox-image .photo-previous{left:0}.construction-lightbox-image .photo-next{right:0}.construction-lightbox-image img{height:calc(100dvh - 190px)}.construction-page .text-media h2{font-size:28.125px;line-height:36px}}
@media(prefers-reduced-motion:reduce){.construction-photo img{transition:none}}

/* Keep the project building above the text panel at wide and narrow viewports. */
.content-stage:has(+.construction-page) .content-stage-body{margin-top:-54px}
@media(min-width:901px){
 .content-stage:has(+.construction-page) .content-stage-image{height:max(420px,28vw)}
 .content-stage:has(+.construction-page) .content-stage-image img{object-position:center 70%}
}
@media(min-width:601px) and (max-width:900px){
 .content-stage:has(+.construction-page) .content-stage-image{height:480px}
 .content-stage:has(+.construction-page) .content-stage-body{margin-top:-36px}
}
@media(max-width:600px){
 .content-stage:has(+.construction-page) .content-stage-image{height:250px}
 .content-stage:has(+.construction-page) .content-stage-image img{object-position:52% 70%}
 .content-stage:has(+.construction-page) .content-stage-body{margin-top:-24px}
}
