.model-project{padding-block:clamp(28px,4.5vw,74px)}
.project-heading,.model-bar,.viewer-tools,.dimensions,.controls,.switcher{display:flex;align-items:center}
.project-heading,.model-bar,.viewer-tools{justify-content:space-between;gap:16px}
.project-heading{align-items:flex-end;padding-bottom:clamp(24px,3.2vw,48px);border-bottom:1px solid var(--line)}
.project-heading p,.viewer-tools p,.dimensions dt{color:var(--sub);font-size:14px}
.project-heading h1{margin-top:10px;font-size:clamp(32px,4.4vw,66px);line-height:1.17;letter-spacing:-.045em;font-weight:540}
.dimensions{gap:clamp(18px,3vw,42px);margin:0}
.dimensions dd{font-size:clamp(20px,2vw,32px);margin:2px 0 0}
.model-bar{padding:18px 0}
.model-bar h2{font-weight:500;font-size:clamp(20px,2vw,30px)}
.switcher{gap:4px;background:#e9e7de;padding:3px}
.switcher button,.controls button{min-height:44px;background:transparent;padding:8px 17px;font:inherit}
.switcher button[aria-pressed=true]{background:#20342e;color:white}
#stage{position:relative;height:clamp(330px,54svh,650px);overflow:hidden;background:radial-gradient(ellipse at 50% 38%,#f5f4ec,#e3e2d8);border:1px solid #c7cabe}
#stage canvas,#stage img{display:block;position:absolute;inset:0;width:100%;height:100%}
#stage canvas{touch-action:none;cursor:grab}
#stage canvas:active{cursor:grabbing}
#stage img{object-fit:contain;background:#e8e7df}
.viewer-tools{padding:12px 0;border-bottom:1px solid var(--line)}
.controls{gap:4px;flex-wrap:wrap}
.controls button{border:1px solid var(--line);min-width:44px;padding:4px 12px;font-size:17px}
.controls button:hover,.switcher button:not([aria-pressed=true]):hover{background:#e0e5db}
#layers{margin:20px 0 0;padding:8px 14px 11px;border:1px solid var(--line);display:flex;flex-wrap:wrap;gap:2px 15px}
#layers legend{font-weight:550;padding:0 6px}
#layers label{display:inline-flex;align-items:center;gap:5px;min-height:44px;cursor:pointer}
#layers input{width:18px;height:18px;accent-color:#254635}
.model-notes{padding:14px 0 0;max-width:80ch}
.model-notes summary{width:fit-content;cursor:pointer;text-decoration:underline;text-underline-offset:4px;padding:8px 0}
.model-notes p{margin:6px 0 0;color:var(--sub)}
@media(max-width:760px){
 .project-heading,.viewer-tools{align-items:flex-start;flex-direction:column}
 .model-bar{align-items:flex-start;flex-direction:column;gap:8px}
 .dimensions dt{font-size:13px}
 #stage{height:clamp(230px,72vw,380px)}
 .viewer-tools{gap:8px}
 .model-project{padding-top:23px}
}
.entrance-feature{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);align-items:start;gap:clamp(24px,5vw,80px);margin-top:clamp(36px,7vw,100px);padding-top:clamp(26px,4vw,55px);border-top:1px solid var(--line)}
.entrance-feature h2{font-size:clamp(25px,2.8vw,42px);line-height:1.25;font-weight:520}
.entrance-copy p{margin:18px 0;color:var(--sub);line-height:1.75}
.entrance-link{display:inline-flex;align-items:center;gap:.5em;padding:10px 14px;min-height:44px;border:1px solid var(--line)}
.entrance-link:is(:hover,:focus-visible){background:#e0e5db}
.entrance-feature figure{margin:0}
.entrance-feature figure a,.entrance-feature img{display:block;width:100%}
.entrance-feature img{aspect-ratio:4/3;height:auto}
.entrance-feature figcaption{margin-top:8px;color:var(--sub);font-size:14px}
@media(max-width:760px){.entrance-feature{grid-template-columns:1fr;gap:20px}}
