/* Native scroll chapters progressively enhance an otherwise readable document. */
.work-frame{display:none}
.chapter-count{direction:ltr;font:12px/1.5 var(--site-font),sans-serif;letter-spacing:.12em;color:var(--muted)}
.work-progress{font:14px/1.5 var(--site-font);direction:ltr;text-align:right;color:var(--muted);margin-bottom:25px}.work-progress span{color:var(--accent);font-size:23px}
.work-scroll-hint,.detail-scroll-hint{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:25px;margin-top:32px}
.angle-controls button{display:flex;flex-direction:column;align-items:center;gap:10px}.angle-controls img{height:72px;width:54px;object-fit:contain;opacity:.45;transition:opacity .2s}.angle-controls button[aria-pressed=true] img{opacity:1}
html[data-motion=enhanced] .hero-chapter{height:170svh;position:relative}
html[data-motion=enhanced] .hero{position:sticky;top:0;height:100svh;min-height:0;max-height:none;will-change:clip-path}
html[data-motion=enhanced] .hero-image,html[data-motion=enhanced] .hero-wordmark{will-change:transform,opacity}
html[data-motion=enhanced] .build-story{height:260svh;min-height:0;position:relative;background:#171c18}
html[data-motion=enhanced] .build-sticky{position:sticky;top:0;height:100svh;min-height:0;max-height:none;display:flex;align-items:center}
html[data-motion=enhanced] .build-view{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:18px;width:100%;height:100%;padding:28px 0 22px;background:none}
html[data-motion=enhanced] .build-view::after{display:none}
html[data-motion=enhanced] .build-heading{position:relative;inset:auto;padding:0;order:0;opacity:1!important;display:grid;grid-template-columns:1fr auto;align-items:end;gap:0 24px}
html[data-motion=enhanced] .build-heading .eyebrow{grid-column:1/-1;display:flex;justify-content:space-between;margin-bottom:4px;font-size:11px}
html[data-motion=enhanced] .build-heading h2{font-size:clamp(26px,3.1vw,46px);line-height:1.35}
html[data-motion=enhanced] .build-heading h2 span{color:var(--muted)}
html[data-motion=enhanced] .build-hint{font-size:11px;margin:0 0 8px;gap:16px}
html[data-motion=enhanced] .build-scene{position:relative;inset:auto;width:min(88vw,calc(65svh * 1672 / 941));height:100%;max-height:65svh;aspect-ratio:1672/941;place-self:center;order:1;z-index:0;margin:0;overflow:hidden;will-change:transform}
html[data-motion=enhanced] .build-scene img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;clip-path:none!important;will-change:opacity}
html[data-motion=enhanced] .build-footer{position:relative;inset:auto;bottom:auto;order:2;display:grid;grid-template-columns:.9fr 1.2fr;align-items:center;gap:0 7%;margin:0 auto;padding:14px 0 0;border-top:1px solid var(--line)}
html[data-motion=enhanced] .build-current h3{font-size:27px;line-height:1.35}
html[data-motion=enhanced] .build-current p{font-size:12px;margin-top:5px;min-height:1.8em}
html[data-motion=enhanced] .build-controls{gap:18px;order:0}
html[data-motion=enhanced] .build-controls button{padding-top:7px;min-height:48px;font-size:13px;gap:11px}
html[data-motion=enhanced] .build-scrub{grid-column:1/-1;margin-top:4px;order:3}
html[data-motion=enhanced] .build-scrub input{height:22px;min-height:22px}
html[data-motion=enhanced] .project{height:260svh;max-width:none;width:100%;padding:0;position:relative;background:#1e251e}
html[data-motion=enhanced] .project-pin{position:sticky;top:0;height:100svh;width:min(88%,1400px);margin:auto;padding:26px 0;display:flex;flex-direction:column;overflow:hidden}
html[data-motion=enhanced] .section-heading{margin:0 0 15px;flex-shrink:0}
html[data-motion=enhanced] .section-heading .eyebrow{font-size:11px;margin-bottom:4px}
html[data-motion=enhanced] .section-heading h2{font-size:clamp(32px,4.4vw,65px);line-height:1.2}
html[data-motion=enhanced] .project-spread{grid-template-columns:1.15fr .85fr;gap:9%;flex:1;min-height:0;align-items:center}
html[data-motion=enhanced] .project-main{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;position:relative;perspective:1200px}
html[data-motion=enhanced] .featured-image{height:calc(100% - 30px);max-height:74svh;width:100%;position:relative;overflow:visible;background:none}
html[data-motion=enhanced] #featuredPhoto{visibility:hidden;width:100%;height:100%;object-fit:contain}
html[data-motion=enhanced] .work-frame{display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;transform-origin:50% 70%;will-change:transform,opacity;pointer-events:none}
html[data-motion=enhanced] .image-open{z-index:5;font-size:11px;bottom:20px;inset-inline-start:calc(50% - 76px)}
html[data-motion=enhanced] .project-main figcaption{font-size:11px;position:relative;z-index:6;margin-top:10px}
html[data-motion=enhanced] .project-aside{padding:0;display:block;position:relative;z-index:6}
html[data-motion=enhanced] .project-heading h3{font-size:clamp(40px,4.5vw,70px);line-height:1.2}
html[data-motion=enhanced] .project-heading p:not(.work-progress){font-size:14px;line-height:1.9;max-width:270px;margin-top:20px}
html[data-motion=enhanced] .project-actions{margin-top:25px}
html[data-motion=enhanced] .angle-controls{gap:25px}
html[data-motion=enhanced] .project-cta{margin-top:20px;font-size:13px}
html[data-motion=enhanced] .project-pin::after{content:"";position:absolute;bottom:0;right:0;height:2px;width:100%;background:var(--accent);transform:scaleX(var(--work-progress,0));transform-origin:right}
html[data-motion=enhanced] .material-folio{height:245svh;min-height:0;padding:0;width:100%;max-width:none;background:#22271f;position:relative}
html[data-motion=enhanced] .material-pin{position:sticky;top:0;height:100svh;width:min(88%,1400px);margin:auto;padding:28px 0;display:flex;flex-direction:column;overflow:hidden}
html[data-motion=enhanced] .material-heading{margin:0 0 18px;grid-template-columns:1fr 1.2fr .8fr;align-items:center}
html[data-motion=enhanced] .material-heading h2{font-size:clamp(30px,3.5vw,52px);line-height:1.3}
html[data-motion=enhanced] .material-heading p{font-size:12px}
html[data-motion=enhanced] .material-layout{flex:1;min-height:0;grid-template-columns:1.1fr 1fr;gap:11%;align-items:center}
html[data-motion=enhanced] .material-visual{height:100%;max-height:74svh;width:100%;padding:0}
html[data-motion=enhanced] .material-images{height:100%;aspect-ratio:auto;overflow:hidden}
html[data-motion=enhanced] .material-images img{background:none;object-fit:contain;will-change:transform,opacity;pointer-events:none}
html[data-motion=enhanced] .material-edge{display:none}
html[data-motion=enhanced] .material-info{padding:0}
html[data-motion=enhanced] .detail-current{margin-top:40px;min-height:140px}
html[data-motion=enhanced] .detail-current h3{font-size:40px}
html[data-motion=enhanced] .material-pin::after{content:"";position:absolute;bottom:0;right:0;height:2px;width:100%;background:var(--accent);transform:scaleX(var(--detail-progress,0));transform-origin:right}
/* Mobile retains the native scroll story, with a complete full-room view. */
@media(max-width:767px){
 html[data-motion=enhanced] .hero-chapter{height:155svh}
 html[data-motion=enhanced] .hero{min-height:0}
 html[data-motion=enhanced] .hero-wordmark{top:20svh}
 html[data-motion=enhanced] .hero h1{font-size:clamp(27px,7vw,38px)}
 html[data-motion=enhanced] .hero-bottom{padding-bottom:25px;gap:18px}
 html[data-motion=enhanced] .project,html[data-motion=enhanced] .build-story{height:245svh}
 html[data-motion=enhanced] .build-view{padding:22px 0 15px;gap:12px;grid-template-rows:auto minmax(0,1fr) auto}
 html[data-motion=enhanced] .build-heading{display:block;width:90%}
 html[data-motion=enhanced] .build-heading h2{font-size:28px;line-height:1.4}
 html[data-motion=enhanced] .build-hint{margin-top:9px;font-size:10px}
 html[data-motion=enhanced] .build-scene{width:100%;height:auto;max-height:49svh;aspect-ratio:1672/941}
 html[data-motion=enhanced] .build-footer{width:90%;grid-template-columns:1fr;gap:10px;padding-top:12px}
 html[data-motion=enhanced] .build-current h3{font-size:25px}
 html[data-motion=enhanced] .build-current p{font-size:11px}
 html[data-motion=enhanced] .build-controls{order:2;gap:16px}
 html[data-motion=enhanced] .build-controls button{min-height:40px;font-size:12px;gap:7px}
 html[data-motion=enhanced] .build-scrub{margin:0}
 html[data-motion=enhanced] .project-pin{width:90%;padding:22px 0 18px}
 html[data-motion=enhanced] .section-heading h2{font-size:42px}
 html[data-motion=enhanced] .section-heading .text-link{font-size:10px}
 html[data-motion=enhanced] .project-spread{display:flex;flex-direction:column;gap:14px;align-items:stretch}
 html[data-motion=enhanced] .project-main{height:auto;flex:1;min-height:0}
 html[data-motion=enhanced] .featured-image{flex:1;min-height:0;height:100%;max-height:none}
 html[data-motion=enhanced] .project-main figcaption{margin-top:6px;font-size:10px}
 html[data-motion=enhanced] .project-aside{flex:none;display:grid;grid-template-columns:1fr 1.4fr;gap:12px;align-items:center}
 html[data-motion=enhanced] .work-progress{font-size:10px;margin:0 0 4px}
 html[data-motion=enhanced] .work-progress span{font-size:17px}
 html[data-motion=enhanced] .project-heading h3{font-size:27px;line-height:1.15}
 html[data-motion=enhanced] .project-heading p:not(.work-progress){display:none}
 html[data-motion=enhanced] .work-scroll-hint{display:none}
 html[data-motion=enhanced] .project-actions{margin:0;grid-column:auto}
 html[data-motion=enhanced] .angle-controls{gap:13px;justify-content:space-between}
 html[data-motion=enhanced] .angle-controls button{font-size:10px;gap:5px;padding:0 0 6px}
 html[data-motion=enhanced] .angle-controls img{height:40px;width:30px}
 html[data-motion=enhanced] .project-cta{margin-top:8px;font-size:10px;min-height:30px;gap:10px}
 html[data-motion=enhanced] .material-folio{height:235svh}
 html[data-motion=enhanced] .material-pin{width:90%;padding:22px 0 18px}
 html[data-motion=enhanced] .material-heading{display:grid;grid-template-columns:1fr;margin-bottom:12px}
 html[data-motion=enhanced] .material-heading .eyebrow{margin-bottom:5px;font-size:10px}
 html[data-motion=enhanced] .material-heading h2{font-size:33px}
 html[data-motion=enhanced] .material-heading>p:last-child{display:none}
 html[data-motion=enhanced] .material-layout{display:flex;flex-direction:column;gap:16px;align-items:stretch}
 html[data-motion=enhanced] .material-visual{flex:1;height:auto;min-height:0;max-height:none}
 html[data-motion=enhanced] .material-images{height:100%;min-height:0}
 html[data-motion=enhanced] .material-info{display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:center;flex:none}
 html[data-motion=enhanced] .detail-tabs{grid-column:1/-1;justify-content:space-between;gap:15px}
 html[data-motion=enhanced] .detail-tabs button{flex-direction:row;min-height:35px;padding:0 0 8px;font-size:11px;gap:8px}
 html[data-motion=enhanced] .swatch{width:20px;height:20px}
 html[data-motion=enhanced] .detail-current{grid-column:1/-1;margin:2px 0;min-height:64px}
 html[data-motion=enhanced] .detail-current h3{font-size:26px}
 html[data-motion=enhanced] .detail-current p{font-size:11px;margin-top:3px}
 html[data-motion=enhanced] .material-info>.button{min-width:0;font-size:11px;padding:10px 15px;min-height:40px}
 html[data-motion=enhanced] .detail-quote{font-size:11px;width:auto;margin:0;min-height:40px}
 html[data-motion=enhanced] .preferred-summary{grid-column:1/-1;font-size:10px;margin:0}
 html[data-motion=enhanced] .detail-scroll-hint{display:none}
}
@media(max-height:600px) and (min-width:768px){
 html[data-motion=enhanced] .build-view{padding-block:12px;gap:8px}
 html[data-motion=enhanced] .build-heading h2{font-size:27px}
 html[data-motion=enhanced] .build-current h3{font-size:20px}
 html[data-motion=enhanced] .project-heading h3{font-size:35px}
 html[data-motion=enhanced] .project-heading p:not(.work-progress),html[data-motion=enhanced] .work-scroll-hint{display:none}
 html[data-motion=enhanced] .detail-current{margin:18px 0;min-height:70px}
 html[data-motion=enhanced] .detail-current h3{font-size:28px}
}
html[data-motion=reduced] .hero-chapter{height:auto}
html[data-motion=reduced] .work-frame{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
html[data-motion=reduced] #featuredPhoto{visibility:hidden}
html[data-motion=reduced] .material-images img{display:block}
html[data-motion=reduced] .build-scene img{clip-path:none!important}
