.home-page .engineering{background:#fff}
.home-page .universities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;max-width:1000px;margin:0 auto}
.home-page .university{width:auto;min-width:0}
.home-page .university small{margin:20px 0 0}
.home-page .university img{width:80px;height:80px;max-width:100%;object-fit:contain}
.home-page .stats>div>span{font-size:clamp(55.2px,6vw,93.6px);width:1.7em;flex-shrink:0;font-variant-numeric:tabular-nums;background:linear-gradient(100deg,#086550 0%,#0b5d75 50%,#0b5c89 100%);background-clip:text;-webkit-background-clip:text;color:transparent}
.home-page .stats p{font-size:14.4px}
.home-page .project-wall+.materials{padding-top:clamp(93.6px,10.4vw,166.4px)}
@media(min-width:761px){
 .home-page .materials{grid-template-columns:6fr 5fr}
 .home-page .material-study{order:-1}
 .home-page .material-architecture{grid-template-columns:5fr 6fr;gap:6.5%}
 .home-page .material-architecture-copy{padding-top:0}
 .home-page .material-architecture-images{height:var(--material-visual-height);grid-template-rows:minmax(0,1fr) auto;justify-self:end}
 .home-page .material-architecture-images figure{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0}
 .home-page .material-architecture-images img{height:100%;aspect-ratio:auto;object-fit:cover;object-position:center}
 .home-page .material-architecture-sample a{height:100%;min-height:0}
 .home-page .material-architecture-building{grid-template-rows:auto auto}
 .home-page .material-architecture-building img{height:auto}
}
.material-architecture{display:grid;grid-template-columns:.9fr 1.4fr;gap:clamp(40px,6vw,100px);align-items:start;background:#f4f6f3}
.material-architecture-copy{padding-top:22px}
.material-architecture-copy>.eyebrow{font-size:13px;letter-spacing:.07em;margin-bottom:42px;color:var(--muted)}
.material-architecture h2{font-family:var(--serif);font-size:clamp(38px,3.4vw,60px);font-weight:400;line-height:1.12;letter-spacing:-.025em;text-wrap:initial}
.material-architecture-description{font-size:18px;line-height:1.9;max-width:390px;margin-top:34px;color:var(--muted)}
.material-architecture-project{margin-top:56px;padding-top:23px;border-top:1px solid var(--line);max-width:390px}
.material-architecture-project>span{display:block;font-size:11px;letter-spacing:.08em;color:var(--muted);margin-bottom:12px}
.material-architecture-project>p{font-size:16px;line-height:1.6}
.material-architecture-copy>.text-link{margin-top:34px;font-size:14px}
.material-architecture-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px}
.material-architecture-images figure{min-width:0;display:flex;flex-direction:column}
.material-architecture-images img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.material-architecture-sample a{display:block;flex:1}
.material-architecture-sample img{width:100%}
.material-architecture-building{grid-column:1/-1}
.material-architecture-building img{aspect-ratio:auto}
.material-architecture-images figcaption{font-size:12px;line-height:1.7;color:var(--muted);padding-top:12px}
.material-architecture-images figcaption>span{display:block;font-size:14px;color:var(--ink);margin-bottom:3px}
@media(min-width:1100px){
 html:has(.home-page){scroll-padding-top:76px}
 .home-page #products,.home-page #material-architecture,.home-page #precast,.home-page #large-panels{--visual-width:calc((100svh - 210px)*.8);min-height:calc(100svh - 76px);padding-top:32px;padding-bottom:32px;align-items:center;scroll-margin-top:0}
 .home-page #products{grid-template-columns:var(--visual-width) minmax(0,1fr)}
 .home-page #material-architecture{grid-template-columns:minmax(0,1fr) var(--visual-width)}
 .home-page .materials-copy,.home-page .material-architecture-copy{width:100%;max-width:620px;justify-self:center}
 .home-page .material-study{width:min(100%,calc((100svh - 210px)*.8));justify-self:start}
 .home-page .material-architecture-images{width:min(100%,calc((100svh - 210px)*.8))}
 .home-page .engineering-image img{width:auto;max-width:100%;max-height:calc(100svh - 170px)}
}
@media(max-width:760px){
 .home-page .universities{grid-template-columns:minmax(0,1fr);max-width:300px;gap:30px}
 .home-page .stats>div>span{font-size:62.4px}
 .home-page .project-wall+.materials{padding-top:83.2px}
 .material-architecture{grid-template-columns:minmax(0,1fr);gap:40px}
 .material-architecture-copy{padding-top:0}
 .material-architecture-copy>.eyebrow{margin-bottom:28px}
 .material-architecture-description{font-size:15px;margin-top:26px}
 .material-architecture-project{margin-top:32px}
 .material-architecture-images{gap:24px 16px}
 .material-architecture-images figcaption,.material-architecture-images figcaption>span{font-size:11px}
}

.home-page .project-wall + #products{margin-top:clamp(120px,16svh,200px)}

/* Center the compact text and process group beside the photo. */
@media(min-width:761px){
 .home-page #precast{align-items:center;align-content:center;row-gap:0}
 .home-page #precast .engineering-image{display:contents}
 .home-page #precast .engineering-image img{grid-column:1;grid-row:1}
 .home-page #precast .detail-caption{grid-column:1;grid-row:2}
 .home-page #precast .engineering-copy{grid-column:2;grid-row:1;align-self:center;justify-self:center;width:100%;max-width:620px}
 .home-page #precast .process{margin-bottom:0}
}


/* Mirror the precast introduction with text left and a panel image right. */
.home-page #large-panels{grid-template-columns:5fr 6fr;align-items:center}
.home-page #large-panels .engineering-copy{width:100%;max-width:620px;justify-self:center}
.large-panels-visual{margin:0;width:100%;align-self:center}
.large-panels-image{position:relative;padding-left:38px}
.large-panels-image>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.panel-height-marker{position:absolute;left:25px;top:34.1%;height:56.2%;border-left:1px solid var(--ink,#27332d);color:var(--ink,#27332d)}
.panel-height-marker::before,.panel-height-marker::after{content:"";position:absolute;left:-5px;width:10px;border-top:1px solid currentColor}
.panel-height-marker::before{top:0}.panel-height-marker::after{bottom:0}
.panel-height-marker>span{position:absolute;top:50%;right:14px;transform:translateY(-50%);width:116px;text-align:center;white-space:nowrap;font-size:11px;line-height:1.6}
.panel-height-marker>span>span{display:block}
.home-page #large-panels .detail-caption{padding-left:38px}
.home-page #large-panels .large-panels-note{font-size:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:36px}
@media(min-width:1100px){
 .large-panels-visual{max-width:calc(100svh - 170px);justify-self:end}
}
@media(max-width:760px){
 .home-page #large-panels{gap:30px}
 .large-panels-visual{max-width:100%}
}

@media(min-width:761px){
 .home-page #large-panels{align-content:center;row-gap:0}
 .home-page #large-panels .large-panels-visual{display:contents}
 .home-page #large-panels .large-panels-image{grid-column:2;grid-row:1;justify-self:end;width:100%}
 .home-page #large-panels .detail-caption{grid-column:2;grid-row:2;justify-self:end;width:100%}
 .home-page #large-panels .engineering-copy{grid-column:1;grid-row:1}
}
@media(min-width:1100px){
 .home-page #large-panels .large-panels-image,.home-page #large-panels .detail-caption{max-width:calc(100svh - 170px)}
}

/* Below the large-desktop breakpoint the marker label is absolutely positioned
   to the left of the line. Reserve space for it inside the image column so it
   is not clipped by the viewport (mobile) or colliding with the copy (tablet). */
@media(max-width:1099px){
 .home-page #large-panels .large-panels-image{padding-left:88px}
 .home-page #large-panels .detail-caption{padding-left:88px}
 .panel-height-marker{left:76px}
 .panel-height-marker>span{right:6px;width:66px;white-space:normal;text-align:right;font-size:10px}
}
