.build-journey{--bj-accent:#bad2e5;--bj-rgb:143,190,215;--bj-bg:#102a40;--bj-soft:#1b3b52;--bj-muted:#b8cbd7;padding:54px 0 36px;background:linear-gradient(140deg,var(--bj-soft),var(--bj-bg) 65%);border-block:1px solid rgba(var(--bj-rgb),.16)}
.build-journey .section-head{margin-bottom:25px}.build-journey #bj-title{color:#f6f8f7}.build-journey .eyebrow{color:var(--bj-accent)}.build-journey .section-intro{color:var(--bj-muted)}
.bj-card{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);border:1px solid rgba(var(--bj-rgb),.25);background:linear-gradient(110deg,#ffffff06,#00000014);border-radius:8px;overflow:hidden;box-shadow:0 20px 60px #0002}
.bj-viewport{position:relative;min-width:0;align-self:center;isolation:isolate;background:radial-gradient(ellipse at 50% 42%,rgba(var(--bj-rgb),.16),transparent 68%)}
.bj-viewport:before{content:'';position:absolute;inset:35% 4% 8%;z-index:-1;background-image:linear-gradient(rgba(var(--bj-rgb),.06) 1px,transparent 1px),linear-gradient(90deg,rgba(var(--bj-rgb),.06) 1px,transparent 1px);background-size:36px 36px;transform:perspective(400px) rotateX(55deg);mask-image:radial-gradient(ellipse,#000,transparent 70%)}
.bj-view-label{position:absolute;top:20px;left:23px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--bj-muted);z-index:2}.bj-view-label:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--bj-accent);margin-right:9px;box-shadow:0 0 12px rgba(var(--bj-rgb),.6)}
.bj-model{display:block;width:100%;height:auto;aspect-ratio:1000/650;overflow:visible;padding-top:20px}
.bj-house,.bj-room{transform-box:view-box;transform-origin:60% 50%;transition:opacity .85s ease,transform 1.1s cubic-bezier(.2,.7,.2,1)}.bj-room{opacity:0;transform:translateY(22px) scale(.94)}.bj-inside .bj-house{opacity:0;transform:scale(1.25) translateY(10px)}.bj-inside .bj-room{opacity:1;transform:none}
.bj-member{--appear:clamp(0,calc(var(--frame-phase)*5 - var(--order)/var(--member-total)*4),1);opacity:var(--appear);transform:translateY(calc((1 - var(--appear))*-22px))}
.bj-panel{--appear:clamp(0,calc(var(--shell-phase)*3 - var(--order)/var(--panel-total)*2),1);opacity:var(--appear);transform:translateY(calc((1 - var(--appear))*18px))}
.bj-house-finish{opacity:var(--finished)}.bj-services{opacity:clamp(0,calc(var(--services-phase)*4),1)}.bj-service-path{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--services-phase))}
.bj-lower{opacity:var(--lining-phase)}.bj-gypsum-one{--sheet:clamp(0,calc(var(--lining-phase)*2),1);opacity:var(--sheet)}.bj-gypsum-two{--sheet:clamp(0,calc(var(--lining-phase)*2 - .75),1);opacity:var(--sheet)}
.bj-lining{transform:translateY(calc((1 - var(--lining-phase))*14px));transition:opacity .4s}.bj-upper-one{opacity:var(--upper-one)}.bj-upper-two{opacity:var(--upper-two)}
.bj-has-fill .bj-lining polygon{fill-opacity:.37;stroke:#f2eee0;stroke-width:.65}.bj-fill-rise{transform:scaleY(var(--fill));transform-origin:0 0}.bj-foam-cap{transform:translateY(calc(var(--fill)*-336px));opacity:clamp(0,calc(var(--fill)*10),1)}
.bj-hose{opacity:0;transition:opacity .4s}.bj-pouring .bj-hose{opacity:1}.bj-pour-stream{stroke-dashoffset:calc(var(--fill)*-240);transform:scaleY(calc(1 - .955414*var(--fill)));transform-origin:0 0}.bj-dimension{opacity:0}.build-journey[data-stage="3"] .bj-dimension,.build-journey[data-stage="4"] .bj-dimension{opacity:1}
.bj-material-key{display:flex;flex-wrap:wrap;gap:8px 17px;padding:0 23px 19px;font-size:10px;color:var(--bj-muted)}.bj-material-key span{display:flex;align-items:center;gap:6px}.bj-material-key i{width:7px;height:7px;border-radius:1px;background:#ccdae0}.bj-material-key .bj-material-1{background:#8da4aa}.bj-material-key .bj-material-2{background:#e5bd6a}.bj-material-key .bj-material-3{background:#e6d9cc}.bj-material-key .bj-material-4{background:#9dbdaf}
.bj-copy{padding:28px 27px 24px;border-left:1px solid rgba(var(--bj-rgb),.15);align-self:stretch;display:flex;flex-direction:column;justify-content:center}.bj-step-number{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.bj-step-number>span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--bj-muted)}.bj-step-number strong{font-size:36px;line-height:1;font-weight:500;letter-spacing:-.04em;color:var(--bj-accent)}.bj-step-number small{font-size:13px;letter-spacing:0;color:var(--bj-muted)}
.bj-description{min-height:155px}.bj-description h3{font-size:23px;line-height:1.25;color:#f5f8f7;margin:0 0 13px}.bj-description p{font-size:13px;line-height:1.75;color:var(--bj-muted);margin:0}
.bj-controls{display:flex;gap:6px;align-items:stretch;margin-top:21px}.bj-controls button{min-height:44px;border:1px solid rgba(var(--bj-rgb),.28);background:transparent;color:var(--bj-accent);border-radius:4px;cursor:pointer;min-width:43px;font:inherit;font-size:23px}.bj-controls button:disabled{opacity:.3;cursor:default}.bj-controls .bj-play{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-width:0;background:var(--bj-accent);color:var(--bj-bg);font-size:12px;font-weight:700;padding:9px 10px}.bj-play svg{flex:0 0 17px}
.bj-progress{appearance:none;width:100%;height:3px;border:0;background:rgba(var(--bj-rgb),.17);margin:14px 0 15px;border-radius:0}.bj-progress::-webkit-progress-bar{background:rgba(var(--bj-rgb),.17)}.bj-progress::-webkit-progress-value{background:var(--bj-accent)}.bj-progress::-moz-progress-bar{background:var(--bj-accent)}.bj-more{font-size:11px!important;color:var(--bj-accent)!important;width:fit-content}
.bj-timeline{grid-column:1/-1;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid rgba(var(--bj-rgb),.2);background:#00000014}.bj-timeline button{display:flex;gap:10px;align-items:center;text-align:left;min-height:74px;padding:13px 12px;background:transparent;border:0;border-right:1px solid rgba(var(--bj-rgb),.12);border-top:2px solid transparent;color:var(--bj-muted);font:inherit;cursor:pointer}.bj-timeline button:last-child{border-right:0}.bj-timeline button>span{font-size:10px;color:var(--bj-accent)}.bj-timeline strong{font-weight:600;font-size:11px;line-height:1.45}.bj-timeline button[aria-current]{border-top-color:var(--bj-accent);background:rgba(var(--bj-rgb),.12);color:#fff}.bj-timeline .bj-complete>span{opacity:.6}.bj-timeline button:hover{background:rgba(var(--bj-rgb),.08)}.build-journey button:focus-visible{outline:2px solid var(--bj-accent);outline-offset:-4px}
.bj-note{margin:15px 0 0;font-size:11px;line-height:1.7;color:var(--bj-muted);max-width:1000px}
@media(max-width:950px){.bj-copy{padding:22px 19px}.bj-description h3{font-size:21px}.bj-timeline button{flex-direction:column;align-items:flex-start;gap:5px;padding:12px 10px}.bj-step-number{margin-bottom:18px}}
@media(max-width:700px){.build-journey{padding:35px 0 28px}.bj-card{grid-template-columns:1fr}.bj-model{max-height:350px}.bj-copy{border-left:0;border-top:1px solid rgba(var(--bj-rgb),.15);padding:19px 18px}.bj-step-number{margin-bottom:13px}.bj-step-number strong{font-size:28px}.bj-description{min-height:112px}.bj-description h3{font-size:21px;margin-bottom:9px}.bj-controls{margin-top:16px}.bj-timeline{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--bj-accent) transparent}.bj-timeline button{flex:0 0 126px;min-height:67px}.bj-material-key{padding:0 17px 16px;gap:7px 13px;font-size:9px}.bj-view-label{top:15px;left:17px;font-size:9px}.bj-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.bj-house,.bj-room,.bj-lining,.bj-hose{transition:none}}

.build-journey{--bj-accent:#d5e4a9;--bj-rgb:184,207,142;--bj-bg:#202c27;--bj-soft:#33442e;--bj-muted:#c2ccbe}

/* Within the steel technology section, use its existing width and heading hierarchy. */
.build-journey.bj-embedded{margin:32px 0 30px;padding:0;border:0;background:none}
.bj-embedded #bj-title{font-size:clamp(23px,2.5vw,30px);line-height:1.2;margin:0}
.bj-embedded .section-head{margin-bottom:22px}
@media(max-width:700px){.build-journey.bj-embedded{margin:27px 0 24px}.bj-embedded #bj-title{font-size:23px}}

/* A short laptop window must contain the model, playback and all seven stages.
   SVG meet scaling preserves the complete illustration instead of cropping it. */
@media(min-width:701px){
 .build-journey{--bj-main-height:clamp(80px,calc(100svh - var(--header-height,156px) - var(--section-nav-height,0px) - 220px),560px)}
 .bj-card{grid-template-rows:minmax(0,var(--bj-main-height)) auto;scroll-margin-top:calc(var(--header-height,156px) + var(--section-nav-height,0px) + 14px)}
 .bj-viewport{height:100%;min-height:0;align-self:stretch;display:flex;flex-direction:column}
 .bj-model{flex:1 1 0;min-height:0;height:0;max-height:none;aspect-ratio:auto;padding:28px 10px 0}
 .bj-material-key{flex:0 0 auto;padding-bottom:14px}
 .bj-copy{height:100%;min-height:0;justify-content:flex-start;padding:clamp(12px,calc(var(--bj-main-height)*.055),28px) clamp(18px,2vw,27px)}
 .bj-step-number{flex:0 0 auto;margin-bottom:clamp(8px,calc(var(--bj-main-height)*.045),24px)}
 .bj-description{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:var(--bj-accent) transparent;scroll-padding:4px}
 .bj-description:focus-visible{outline:2px solid var(--bj-accent);outline-offset:3px}
 .bj-controls{flex:0 0 auto;margin-top:clamp(10px,calc(var(--bj-main-height)*.04),21px)}
 .bj-progress{flex:0 0 3px;min-height:3px;margin:10px 0}
 .bj-more{flex:0 0 auto;margin-top:0}
 .build-journey[data-bj-fit="compact"] .bj-step-number strong{font-size:28px}
 .build-journey[data-bj-fit="compact"] .bj-description h3{font-size:21px;margin-bottom:9px}
 .build-journey[data-bj-fit="compact"] .bj-description p{line-height:1.6}
 /* With very little height (for example OS scaling plus browser zoom), keep
    every control and the technology link; the active stage is numbered below. */
 .build-journey[data-bj-fit="tight"] .bj-copy{display:grid;grid-template-columns:minmax(0,1fr) 60px;grid-template-rows:minmax(0,1fr) 44px 3px;gap:6px;padding:8px 12px}
 .build-journey[data-bj-fit="tight"] .bj-step-number{display:none}
 .build-journey[data-bj-fit="tight"] .bj-description{grid-column:1/-1;grid-row:1}
 .build-journey[data-bj-fit="tight"] .bj-description h3{font-size:19px;margin-bottom:8px}
 .build-journey[data-bj-fit="tight"] .bj-description p{line-height:1.6}
 .build-journey[data-bj-fit="tight"] .bj-controls{grid-column:1;grid-row:2;margin:0;gap:4px}
 .build-journey[data-bj-fit="tight"] .bj-controls .bj-play{font-size:11px;line-height:1.1;padding:4px 6px;gap:5px}
 .build-journey[data-bj-fit="tight"] .bj-progress{grid-column:1/-1;grid-row:3;margin:0}
 .build-journey[data-bj-fit="tight"] .bj-more{grid-column:2;grid-row:2;align-self:center;width:60px;font-size:10px!important;line-height:1.2;letter-spacing:0;gap:0;padding-bottom:2px}
 .build-journey[data-bj-fit="tight"] .bj-material-key{font-size:9px;gap:6px 12px;padding-bottom:8px}
}
