/* HDCM flow layer: wider text panels, shorter scroll, one consistent corner radius.
   Loaded last on every page. It only adjusts layout and shape; no copy is changed here. */
:root{--r-card:10px;--r-ctl:6px}

/* ---------- Corners: subtle and consistent ---------- */
.button,.button.small,.button.primary,.button.secondary,
main button:not(.round-arrow):not(.close):not([data-waypoint]):not(.iv-x),
input,select,textarea,
.tabs button,.toolbar button,.iv-pdf,.iv-unlock button,.iv-dlg button{border-radius:var(--r-ctl)!important}
.walkthrough .content-glass,
.walkthrough .finale-copy,
.land-plan,.workspace,.original-model-frame,.masterplan-display,.interior-image-button,.vision-photo,
.expanded-card,.expanded-image,.lc-center,.lc-deck,.lc-fig,.ulx-board,.gw-card,.iv-card,.iv-fig,.iv-gate,
.concept-connection,.ule-economics,.interior-investment,.project-image,form.package-request,
#brief-form,details,.project-card,.package-card,.iv-dlg,dialog,.land-steps article,.iv-cards2 article,.iv-cards3 article{border-radius:var(--r-card)!important}
.expanded-image,.lc-center,.lc-fig,.iv-fig,.vision-photo,.interior-image-button,.masterplan-display,.project-image,.ulx-board,.original-model-frame{overflow:hidden}
.expanded-image img,.lc-center img,.lc-fig img,.iv-fig img,.vision-photo img,.interior-image-button img,.masterplan-display img,.ulx-board img,.project-image img,.content-glass figure img{border-radius:inherit}
.walkthrough .content-glass img:not(.brand-wordmark-logo){border-radius:var(--r-card)}
.walkthrough .content-glass :is(figure,button,a,.lc-center,.expanded-image,.ulx-board) img{border-radius:inherit}

/* ---------- Images: let the picture's own proportions set its height ----------
   Many images carry a fixed height attribute, which stretched small tiles to 500px tall.
   :where() keeps this at zero specificity, so any image with a deliberate CSS height keeps it. */
:where(main img,dialog img){height:auto}
.package-gallery{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
.package-gallery img{aspect-ratio:16/10!important}

/* ---------- Panels: wider boxes, shorter scroll (desktop) ---------- */
@media (min-width:1000px){
 .walkthrough main>.section{min-height:0!important;padding:8svh 2.6%!important}
 .walkthrough main>.section[data-room-side=right]{padding-right:3.4%!important}
 .walkthrough main>.section>.content-glass{width:min(56vw,920px)!important;padding:36px 42px!important}
 .walkthrough .content-glass h2{font-size:clamp(28px,2.6vw,44px)!important}
 .walkthrough .content-glass .large{font-size:18px!important}
 .walkthrough .content-glass p,.walkthrough .content-glass li{font-size:15.5px}
 /* gallery and collection sections get the widest panel so their cards sit in columns, not one long stack */
 .walkthrough main>:is(#project-packages,#expanded-communities,#expanded-landmarks,#stadium-concepts,#visions,#legacy-collection,#legacy-zones,#concept-studies,#structural-beams,#natural-series,#interior-collection,#interior-process,#panel-construction,#living-collection,#interior-materials,#resource-systems,#growing-systems,#building-systems-on-site,#industrial-models)>.content-glass{width:min(74vw,1200px)!important}
 .walkthrough #brief>.content-glass{width:min(50vw,820px)!important}
 /* design project packages: picture beside the brief, thumbnails in one row */
 .project-package{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:32px;align-items:start;padding:36px 0!important;margin-top:28px!important}
 .project-package>*{grid-column:1/-1}
 .project-package>.package-main{grid-column:1;grid-row:3;margin:18px 0 8px!important}
 .project-package>.package-brief{display:block!important;grid-column:2;grid-row:3;margin:0!important;align-self:start}
 .project-package>.package-brief>div{display:block!important}
 .project-package>.package-gallery{grid-row:4}
 .project-package>.package-path{grid-row:5}
}
@media (max-width:999px){
 .walkthrough main>.section{min-height:0!important;padding:6svh 4%!important}
}

/* ---------- Home: signature projects ---------- */
.sp-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin-top:34px}
.sp-card{grid-column:span 2;display:flex;flex-direction:column;border:1px solid #2f4a57;border-radius:var(--r-card);overflow:hidden;background:#0a1a23;color:inherit;transition:border-color .18s,transform .18s}
.sp-card.sp-big{grid-column:span 3}
.sp-card:hover{border-color:#a9d8e9;transform:translateY(-2px)}
.sp-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#102530}
.sp-big .sp-img{aspect-ratio:2/1}
.sp-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0!important}
.sp-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.sp-body .eyebrow{color:var(--gold,#c6a777)}
.sp-body b{font:500 20px/1.25 Manrope,Arial,sans-serif;color:#eef4f6}
.sp-d{font-size:14px;line-height:1.55;color:#c1cfd5}
.sp-cta{margin-top:4px;font-size:12px;color:#a9d8e9}
.walkthrough main>.section>.content-glass div.sp-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media (max-width:999px){.walkthrough main>.section>.content-glass div.sp-grid{grid-template-columns:1fr 1fr!important}.sp-card,.sp-card.sp-big{grid-column:span 1}}
@media (max-width:560px){.walkthrough main>.section>.content-glass div.sp-grid{grid-template-columns:1fr!important}}
@media (min-width:1000px){.walkthrough main>#signature-projects>.content-glass{width:min(76vw,1240px)!important}}

/* ---------- Ultimate Living: chapters read as compact spreads, not long single stacks ---------- */
@media (min-width:1000px){
 .walkthrough main>:is(#ultimate-living,#living-collection,[id^=community-],[id^=living-])>.content-glass{width:min(72vw,1100px)!important}
 .walkthrough main>:where(#ultimate-living,#living-collection,[id^=community-],[id^=living-])>.content-glass{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;align-items:start}
 .walkthrough main>:where(#ultimate-living,#living-collection,[id^=community-],[id^=living-])>.content-glass>*{grid-column:1/-1;min-width:0}
 /* community chapters: the photograph sits beside the heading, amenities and kicker */
 .walkthrough main>:where([id^=community-])>.content-glass>.ule-photo{grid-column:2;grid-row:2/span 3;margin:0}
 .walkthrough main>:where([id^=community-])>.content-glass>:is(.ule-heading,.ule-kicker,.ule-amen){grid-column:1}
 .walkthrough main>:where([id^=community-])>.content-glass>.ule-heading{grid-template-columns:1fr;gap:12px;margin:22px 0 14px}
 /* living chapters: concept board and photograph share one row */
 .walkthrough main>:where(#ultimate-living,#living-collection,[id^=living-])>.content-glass>:is(.ulx-board,.ule-photo){grid-column:auto;margin:0}
 .walkthrough main>:where(#ultimate-living,#living-collection,[id^=living-])>.content-glass:not(:has(>.ule-photo))>.ulx-board{grid-column:1/-1;width:min(100%,560px);justify-self:center}
 /* inside chapters: lists in columns, repeated single images at a sensible size */
 .walkthrough main>.section>.content-glass div.ule-tenant-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:34px;align-items:start}
 .walkthrough main>.section>.content-glass div.ule-more{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important}
 .walkthrough main>.section>.content-glass div.ule-benefits{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px;margin:24px 0}
 .walkthrough main>.section>.content-glass div.ule-notes{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .walkthrough main>.section>.content-glass div.section-visuals{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),500px))!important;justify-content:center;gap:16px}
}

/* ---------- Two-column intros: no empty column under a short heading ----------
   When the text beside a heading has more than one block, the heading goes on top and the text flows in two balanced columns. */
@media (min-width:1000px){
 .walkthrough main>.section>.content-glass div:is(.intro-grid,.interior-introduction):has(>div>:nth-child(2)){grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 .walkthrough main>.section>.content-glass div:is(.intro-grid,.interior-introduction):has(>div>:nth-child(2))>div{display:block!important;columns:2;column-gap:56px}
 .walkthrough main>.section>.content-glass div:is(.intro-grid,.interior-introduction):has(>div>:nth-child(2))>div>*{break-inside:avoid}
 /* picture + text splits: centre the shorter side and keep tall pictures in proportion to the text */
 .walkthrough main>.section>.content-glass div.iv-split{align-items:center!important}
 .walkthrough main>.section>.content-glass div.iv-split .iv-fig img{max-height:440px;width:auto;max-width:100%;margin-inline:auto;object-fit:contain}
 .walkthrough main>.section>.content-glass div.mf-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div#ule-mix-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:1fr auto auto auto 1fr auto;column-gap:36px;align-items:start}
 .walkthrough main>.section>.content-glass div#ule-mix-result>.ule-photo{grid-column:1;grid-row:1/6;margin:0}
 .walkthrough main>.section>.content-glass div#ule-mix-result .ule-mix-copy{display:contents}
 .walkthrough main>.section>.content-glass div#ule-mix-result .ule-mix-copy>:is(.ule-kicker,h3,.large){grid-column:2;margin-top:0}
 .walkthrough main>.section>.content-glass div#ule-mix-result .ule-mix-copy>.ule-kicker{grid-row:2}
 .walkthrough main>.section>.content-glass div#ule-mix-result .ule-mix-copy>h3{grid-row:3}
 .walkthrough main>.section>.content-glass div#ule-mix-result .ule-mix-copy>.large{grid-row:4}
 .walkthrough main>.section>.content-glass div#ule-mix-result .ule-mix-copy>.ule-mix-grid{grid-column:1/-1;grid-row:6;margin-top:22px}
}


/* ---------- Concept collections (Design, Construction): even rows, no half-empty last row ---------- */
@media (min-width:1000px){
 .walkthrough .expanded-projects .expanded-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
 .walkthrough .expanded-projects .expanded-grid:has(>:nth-child(2):last-child),
 .walkthrough .expanded-projects .expanded-grid:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
 .walkthrough .expanded-projects .expanded-grid:has(>:nth-child(1):last-child){grid-template-columns:minmax(0,1fr)}
 .walkthrough .expanded-projects .expanded-card:first-child{grid-column:auto}
 .walkthrough .expanded-projects .expanded-card{display:flex;flex-direction:column}
 .walkthrough .expanded-projects .expanded-card-copy{flex:1;display:flex;flex-direction:column;padding:22px 24px}
 .walkthrough .expanded-projects .expanded-card-copy>details{margin-bottom:12px}
 .walkthrough .expanded-projects .expanded-card-copy>.textlink{margin-top:auto;align-self:flex-start}
 .walkthrough .expanded-projects .expanded-card:first-child .expanded-image img:not(.x){aspect-ratio:16/9}
 .walkthrough .expanded-projects .expanded-card.board:first-child .expanded-image img{aspect-ratio:auto}
 .walkthrough .expanded-projects .expanded-card h3{font-size:clamp(22px,1.9vw,30px);margin:8px 0 12px}
}






/* ---------- Home: land and method share one scene ---------- */
.flow-next{margin-top:54px;padding-top:46px;border-top:1px solid #3a5663}
@media (min-width:1000px){.walkthrough main>#method>.content-glass{width:min(74vw,1200px)!important}}

/* ---------- Small screens: thumbnail galleries two across ---------- */
@media (max-width:999px){
 .walkthrough main>.section>.content-glass div.mf-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
}

/* ---------- Home: the Legacy Centers lead ---------- */
body[data-page=home] #vision :is(.ulx-board,.catalog-references,.section-visuals){display:none!important}
body[data-page=home] main>section.visual-story{display:none!important}
.hp{margin:22px 0 28px;border:1px solid #2f4a57;border-radius:var(--r-card);overflow:hidden;background:#0a1a23}
.hp a{display:block}
.hp img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;border-radius:0!important}
.hp-lead{margin:6px 0 30px}
.hp-includes{list-style:none;padding:0;margin:30px 0}
.walkthrough main>.section>.content-glass ul.hp-includes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px 32px}
.hp-includes h3{font:500 18px/1.3 Manrope,Arial,sans-serif;color:#eef4f6;margin:0 0 6px}
.hp-includes p{font-size:14px;line-height:1.6;margin:0;color:#bfd1db}
.walkthrough main>.section>.content-glass div.hp-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px;margin:32px 0}
.hp-tile{display:block;border:1px solid #2f4a57;border-radius:var(--r-card);overflow:hidden;background:#0a1a23}
.hp-tile img{display:block;width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;border-radius:0!important;transition:transform .5s}
.hp-tile:hover img{transform:scale(1.03)}
.walkthrough main>.section>.content-glass div.hp-living{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;gap:38px;align-items:center;margin:36px 0 10px;padding-top:36px;border-top:1px solid #3a5663}
.hp-living-img{display:block;border:1px solid #2f4a57;border-radius:var(--r-card);overflow:hidden}
.hp-living-img img{display:block;width:100%;height:auto;border-radius:0!important}
.hp-living h3{font:400 clamp(24px,2.3vw,34px)/1.2 Georgia,serif;color:#e8cf9a;margin:10px 0 14px}
.hp-living .eyebrow{color:var(--gold,#c6a777)}
.walkthrough main>.section>.content-glass div.sp-grid.sp-four{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.sp-four .sp-card{grid-column:span 1}
@media (min-width:1000px){.walkthrough main>#legacy-home>.content-glass{width:min(78vw,1240px)!important}}
@media (max-width:999px){
 .walkthrough main>.section>.content-glass ul.hp-includes{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .walkthrough main>.section>.content-glass div.hp-living{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.sp-grid.sp-four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:560px){
 .walkthrough main>.section>.content-glass ul.hp-includes,.walkthrough main>.section>.content-glass div.hp-gallery,.walkthrough main>.section>.content-glass div.sp-grid.sp-four{grid-template-columns:minmax(0,1fr)!important}
}

/* ---------- No half-empty grid rows: every row fills its width, whatever the number of items ---------- */
@media (min-width:1000px){
 .walkthrough main>.section>.content-glass ol.hc-phases{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 :is(#delivery,#investor-briefing,#developer-briefing,#legacy-portfolio,#about-hdcm,#building-systems-on-site,#building-systems-plant) .content-glass ol.iv-steps.hc-phases{grid-template-columns:repeat(6,minmax(0,1fr))!important}
 .walkthrough main>.section>.content-glass ol.hc-phases>li{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass ol.hc-phases>li:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass ol.hc-phases>li:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass ol.hc-phases>li:nth-last-child(2):nth-child(3n+1)+li{grid-column:span 3}
 .walkthrough main>.section>.content-glass ol.hc-phases>li:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass ol.hc-phases>li:first-child:nth-last-child(4)~li{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol>li{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol>li:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol>li:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.visual-sequence>ol>li:nth-last-child(2):nth-child(3n+1)+li{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol>li:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.visual-sequence>ol>li:first-child:nth-last-child(4)~li{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.land-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.land-steps>article{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.land-steps>article:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.land-steps>article:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.land-steps>article:nth-last-child(2):nth-child(3n+1)+article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.land-steps>article:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.land-steps>article:first-child:nth-last-child(4)~article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.concept-features{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.concept-features>article{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.concept-features>article:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.concept-features>article:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.concept-features>article:nth-last-child(2):nth-child(3n+1)+article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.concept-features>article:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.concept-features>article:first-child:nth-last-child(4)~article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.interior-design-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.interior-design-grid>article{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.interior-design-grid>article:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.interior-design-grid>article:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.interior-design-grid>article:nth-last-child(2):nth-child(3n+1)+article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.interior-design-grid>article:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.interior-design-grid>article:first-child:nth-last-child(4)~article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.interior-material-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.interior-material-grid>article{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.interior-material-grid>article:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.interior-material-grid>article:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.interior-material-grid>article:nth-last-child(2):nth-child(3n+1)+article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.interior-material-grid>article:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.interior-material-grid>article:first-child:nth-last-child(4)~article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.lc-zones{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.lc-zones>article{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.lc-zones>article:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.lc-zones>article:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.lc-zones>article:nth-last-child(2):nth-child(3n+1)+article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.lc-zones>article:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.lc-zones>article:first-child:nth-last-child(4)~article{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.reference-thumbnails{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.reference-thumbnails>*{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.reference-thumbnails>*:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.reference-thumbnails>*:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.reference-thumbnails>*:nth-last-child(2):nth-child(3n+1)+*{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.reference-thumbnails>*:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.reference-thumbnails>*:first-child:nth-last-child(4)~*{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.lc-notes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.lc-notes>*{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.lc-notes>*:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.lc-notes>*:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.lc-notes>*:nth-last-child(2):nth-child(3n+1)+*{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.lc-notes>*:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.lc-notes>*:first-child:nth-last-child(4)~*{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.ule-mix-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px}
 .walkthrough main>.section>.content-glass div.ule-mix-grid>*{grid-column:span 2;min-width:0}
 .walkthrough main>.section>.content-glass div.ule-mix-grid>*:last-child:nth-child(3n+1){grid-column:span 6}
 .walkthrough main>.section>.content-glass div.ule-mix-grid>*:nth-last-child(2):nth-child(3n+1),.walkthrough main>.section>.content-glass div.ule-mix-grid>*:nth-last-child(2):nth-child(3n+1)+*{grid-column:span 3}
 .walkthrough main>.section>.content-glass div.ule-mix-grid>*:first-child:nth-last-child(4),.walkthrough main>.section>.content-glass div.ule-mix-grid>*:first-child:nth-last-child(4)~*{grid-column:span 3}
 .walkthrough main>.section>.content-glass article.lc-zone{grid-template-columns:minmax(0,1fr)!important;align-items:start}
 .walkthrough main>.section>.content-glass article.lc-zone:nth-child(even) .lc-fig{order:0}
 .walkthrough main>.section>.content-glass nav.interior-style-nav{display:flex;flex-wrap:wrap;gap:12px}
 .walkthrough main>.section>.content-glass nav.interior-style-nav>a{flex:1 1 auto;min-width:0}
 .walkthrough main>.section>.content-glass div.lc-centers{display:flex;flex-wrap:wrap;gap:12px}
 .walkthrough main>.section>.content-glass div.lc-centers>.lc-center-wrap{flex:1 1 calc((100% - 48px)/5);min-width:150px}
 .walkthrough main>.section>.content-glass div.lc-centers>.lc-center-wrap>.lc-center{width:100%}
}
@media (max-width:999px){
 .walkthrough main>.section>.content-glass ol.hc-phases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass ol.hc-phases>li{min-width:0}
 .walkthrough main>.section>.content-glass ol.hc-phases>li:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol>li{min-width:0}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol>li:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.land-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.land-steps>article{min-width:0}
 .walkthrough main>.section>.content-glass div.land-steps>article:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.concept-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.concept-features>article{min-width:0}
 .walkthrough main>.section>.content-glass div.concept-features>article:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.interior-design-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.interior-design-grid>article{min-width:0}
 .walkthrough main>.section>.content-glass div.interior-design-grid>article:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.interior-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.interior-material-grid>article{min-width:0}
 .walkthrough main>.section>.content-glass div.interior-material-grid>article:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.lc-zones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.lc-zones>article{min-width:0}
 .walkthrough main>.section>.content-glass div.lc-zones>article:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.reference-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.reference-thumbnails>*{min-width:0}
 .walkthrough main>.section>.content-glass div.reference-thumbnails>*:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.lc-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.lc-notes>*{min-width:0}
 .walkthrough main>.section>.content-glass div.lc-notes>*:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass div.ule-mix-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
 .walkthrough main>.section>.content-glass div.ule-mix-grid>*{min-width:0}
 .walkthrough main>.section>.content-glass div.ule-mix-grid>*:last-child:nth-child(odd){grid-column:1/-1}
 .walkthrough main>.section>.content-glass article.lc-zone{grid-template-columns:minmax(0,1fr)!important}
}
@media (max-width:560px){
 .walkthrough main>.section>.content-glass ol.hc-phases{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.visual-sequence>ol{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.land-steps{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.concept-features{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.interior-design-grid{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.interior-material-grid{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.lc-zones{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.reference-thumbnails{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.lc-notes{grid-template-columns:minmax(0,1fr)!important}
 .walkthrough main>.section>.content-glass div.ule-mix-grid{grid-template-columns:minmax(0,1fr)!important}
}
:is(#investor-briefing,#developer-briefing,#legacy-portfolio,#about-hdcm,#building-systems-on-site,#building-systems-plant) .content-glass .iv-split:has(.iv-table){grid-template-columns:minmax(0,1fr)!important;align-items:start!important}
.walkthrough .expanded-projects .expanded-more{flex-wrap:nowrap}
.walkthrough .expanded-projects .expanded-more>*{flex:1 1 0;min-width:0}
@media (min-width:1000px){.walkthrough main>#legacy-tie>.content-glass{width:min(72vw,1100px)!important}}
.legacy-tie .hp-open{margin:18px 0 26px}
@media (min-width:1000px){
 .walkthrough .expanded-projects .expanded-grid{grid-template-columns:repeat(12,minmax(0,1fr))!important}
 .walkthrough .expanded-projects .expanded-grid>.expanded-card{grid-column:span 4!important}
 .walkthrough .expanded-projects .expanded-grid>.expanded-card:last-child:nth-child(3n+1),.walkthrough .expanded-projects .expanded-grid>.expanded-card:nth-last-child(2):nth-child(3n),.walkthrough .expanded-projects .expanded-grid>.expanded-card:nth-last-child(3):nth-child(3n-1),.walkthrough .expanded-projects .expanded-grid>.expanded-card:nth-last-child(4):nth-child(3n-2){grid-column:span 3!important}
 .walkthrough .expanded-projects .expanded-grid>.expanded-card:last-child:nth-child(1){grid-column:span 12!important}
 .walkthrough .expanded-projects .expanded-grid>.expanded-card:nth-last-child(2):nth-child(3n+1),.walkthrough .expanded-projects .expanded-grid>.expanded-card:nth-last-child(2):nth-child(3n+1)+.expanded-card{grid-column:span 6!important}
}

/* ---------- Pictures are never links: they zoom ---------- */
.hp-tile,.hp-living-img{margin:0}
.hp img,.hp-tile img,.hp-living-img img,main a[href]:not(.button):not(.textlink) img{cursor:zoom-in}
.walkthrough main>.section>.content-glass .lc-path-end{justify-content:center}

/* concept cards in one row share a height: the picture of the shorter card grows into the spare room instead of leaving an empty gap in its text */
@media (min-width:1000px){
 .walkthrough .expanded-projects .expanded-grid>.expanded-card:not(:has(>.expanded-more))>.expanded-image{flex:1 1 auto;display:flex;min-height:0}
 .walkthrough .expanded-projects .expanded-grid>.expanded-card:not(:has(>.expanded-more))>.expanded-image img:not(.x){aspect-ratio:auto!important;width:100%;height:auto;min-height:100%;object-fit:cover}
}

/* Full-size picture viewers: every picture opens almost edge to edge, with only a small sliver of backdrop visible around it, so text inside the picture is readable. */
html body dialog:is(.visual-aid-dialog,.expanded-dialog,.interior-image-dialog,.living-dialog,.mf-dialog,.package-dialog,.reference-dialog)[open]{position:fixed!important;inset:0!important;margin:auto!important;width:calc(100vw - 20px)!important;height:calc(100vh - 20px)!important;height:calc(100dvh - 20px)!important;max-width:none!important;max-height:none!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#04090d!important;border:0!important;border-radius:6px!important}
html body dialog:is(.visual-aid-dialog,.expanded-dialog,.interior-image-dialog,.living-dialog,.mf-dialog,.package-dialog,.reference-dialog)[open]>img{display:block!important;flex:1 1 0!important;min-height:0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;object-fit:contain!important;background:#04090d!important}
html body dialog:is(.visual-aid-dialog,.expanded-dialog,.interior-image-dialog,.living-dialog,.mf-dialog,.package-dialog,.reference-dialog)[open]>p{flex:0 0 auto!important;margin:0!important;padding:5px 56px!important;font-size:12px!important;line-height:1.3!important;text-align:center!important;letter-spacing:.2px!important}
html body dialog:is(.visual-aid-dialog,.expanded-dialog,.interior-image-dialog,.living-dialog,.mf-dialog,.package-dialog,.reference-dialog)[open]>button{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;float:none!important;margin:0!important;z-index:5!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;padding:0!important;font-size:26px!important;line-height:1!important;background:#06141be6!important;color:#fff!important;border:1px solid #ffffff55!important;border-radius:6px!important;cursor:pointer}
html body dialog.interior-image-dialog[open] .interior-dialog-caption{flex:0 0 auto!important;padding:5px 56px!important;text-align:center!important}
html body dialog.interior-image-dialog[open] .interior-dialog-caption>h2{font-size:14px!important;margin:0!important;line-height:1.3!important}
html body dialog.interior-image-dialog[open] .interior-dialog-caption>.eyebrow,html body dialog.interior-image-dialog[open] .interior-dialog-description{display:none!important}
.lc-zv-stage{padding:6px!important}

/* End of every page: after the last panel only one browser-window of background is left, with the bottom edge of that panel just visible at the top. */
html body.walkthrough .room-finale,html body .walkthrough .room-finale{height:max(20svh,calc(100svh - 440px))!important;min-height:0!important}
@media(max-width:700px){html body.walkthrough .room-finale,html body .walkthrough .room-finale{height:max(20svh,calc(100svh - 660px))!important}}
@media(min-width:701px) and (max-width:1100px){html body.walkthrough .room-finale,html body .walkthrough .room-finale{height:max(20svh,calc(100svh - 570px))!important}}

/* End-of-page card: one layout at every width. The card never gets narrower than its two buttons need, and the buttons wrap instead of spilling out. */
html body.walkthrough .finale-copy{position:absolute!important;left:max(2.6%,16px)!important;right:auto!important;bottom:20px!important;width:clamp(432px,32vw,480px)!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;margin:0!important;text-align:left!important;padding:14px 18px!important}
html body.walkthrough .finale-copy .finale-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:10px!important}
html body.walkthrough .finale-copy .finale-actions a{flex:1 1 190px!important;min-width:0!important;box-sizing:border-box!important;white-space:normal!important;padding:10px 13px!important;font-size:11px!important}
@media(max-width:700px){html body.walkthrough .finale-copy{left:3%!important;right:3%!important;width:auto!important;max-width:none!important}}
/* Header: twelve links plus the project button fit on one line from 1301 px up. */
@media(min-width:1301px){.walkthrough header{gap:20px;padding-inline:clamp(28px,3.2vw,86px)}.walkthrough header>nav{gap:clamp(13px,1.15vw,25px)}}
@media(min-width:1301px) and (max-width:1500px){.walkthrough header{gap:16px;padding-inline:28px}.walkthrough header>nav{gap:11px}.walkthrough header>nav a{font-size:12px}}
@media(min-width:1301px) and (max-width:1360px){.walkthrough header>nav a{font-size:11px}.walkthrough header>nav{gap:10px}}
@media(min-width:1201px) and (max-width:1300px){.walkthrough header{gap:14px;padding-inline:24px}.walkthrough header>nav{gap:8px}.walkthrough header>nav a{font-size:11px}}
