/* Horizontal, continuous playback with synchronized stages in normal document flow at every size. */
.project-journey{--journey-accent:#e1bfe6;--current-stage:0;background:var(--paper);padding:0}
/* A deeper lavender surface separates the engineering introduction and benefits. */
.engineering-journey{background:#e2d5e7}
.journey-intro{display:flex;justify-content:space-between;align-items:end;gap:70px;padding-top:100px;padding-bottom:48px}
.journey-intro h2{max-width:670px}.journey-intro>p{max-width:470px;color:var(--muted);margin:0;font-size:19px}
.journey-scene{position:relative;isolation:isolate;background:radial-gradient(ellipse at 32% 40%,#4b3852 0%,#3a2d42 52%,#302438 95%);color:#fff;overflow:hidden}
.journey-stage{position:relative;min-height:580px;touch-action:pan-y pinch-zoom}
.journey-visual{position:absolute;inset:0;pointer-events:none}
.journey-canvas{position:absolute;inset:0;z-index:0}.journey-canvas canvas{display:block;width:100%;height:100%}
.journey-fallback{position:absolute;left:0;top:17%;width:62%;height:66%;opacity:.8;pointer-events:none}.has-journey-model .journey-fallback{visibility:hidden;opacity:0}.bim-model{display:block;width:100%;height:100%}
.journey-meta{position:absolute;inset:30px var(--gutter) auto;display:flex;justify-content:space-between;gap:24px;z-index:2;font-size:14px;line-height:1.5;color:#ddd0e2}.journey-meta strong{font-weight:600;color:var(--journey-accent)}
.journey-overlay{position:relative;z-index:1;margin-left:63%;padding:100px var(--gutter) 40px 0;overflow:hidden}
.journey-chapter{margin:0 0 50px}
.journey-enhanced .journey-overlay{display:grid;align-items:center;min-height:580px}
.journey-enhanced .journey-chapter{grid-area:1/1;margin:0;min-width:0;align-self:center;transform:translateX(calc((var(--chapter-index) - var(--current-stage))*115%));opacity:0;transition:transform 1.1s cubic-bezier(.22,.68,.18,1),opacity .65s ease}
.journey-enhanced .journey-chapter[aria-hidden=false]{opacity:1}.journey-enhanced .journey-chapter[aria-hidden=true]{pointer-events:none}
.journey-chapter-kicker{display:block;font-size:15px;line-height:1.4;color:var(--journey-accent);margin-bottom:16px}
.journey-chapter h3{font:400 clamp(32px,3.3vw,50px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.03em;color:#fff;margin:0 0 20px;overflow-wrap:break-word}
.journey-chapter>p{font-size:18px;line-height:1.55;color:#eee3f1;margin:0}
.bim-legend{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:7px 18px}.bim-legend li{display:flex;gap:8px;align-items:center;font-size:14px;line-height:1.4;color:#eadced}.bim-legend li:before{content:'';width:5px;height:5px;flex-shrink:0;border-radius:50%;background:var(--journey-accent)}
.journey-deliverable{margin-top:24px;padding-top:20px;border-top:1px solid #ffffff30}.journey-deliverable>span{display:block;font-size:14px;color:#dbc4e1;margin-bottom:8px}.journey-deliverable>p{font-size:16px;line-height:1.5;color:#f2eaf5;margin:0}
.journey-slider-controls{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:20px var(--gutter) 26px;position:relative;z-index:2}.journey-slider-controls[hidden]{display:none}
.journey-slider-controls>p{margin:0;color:#e1d3e5;font-size:16px;max-width:620px}.journey-slider-controls>div{display:flex;align-items:center;gap:12px;flex:none}
.journey-slider-controls button{width:50px;height:50px;display:grid;place-items:center;border:1px solid #cbb3d1;background:transparent;color:#fff;border-radius:50%;transition:background .2s ease}
.journey-slider-controls button:hover:not(:disabled){background:#ffffff18}.journey-slider-controls button:disabled{opacity:.3;cursor:default}.journey-slider-controls button:focus-visible{outline-color:#efd0f2}
[data-journey-prev] svg{transform:rotate(180deg)}
.journey-counter{font-size:14px;color:#d9c6df;margin-right:14px;font-variant-numeric:tabular-nums}.journey-counter strong{color:#fff;font-size:22px;font-weight:500}
.journey-navigation{display:none;position:relative;z-index:3;gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#ac8db4 transparent;margin:0 var(--gutter);padding:4px 0 28px}.journey-enhanced .journey-navigation{display:flex}
.journey-navigation button{flex:1 0 118px;position:relative;min-height:83px;padding:14px 0 5px;border:0;border-top:1px solid #ffffff44;border-radius:0;background:none;color:#dfd0e4;text-align:left;line-height:1.3}
.journey-navigation button:before{position:absolute;top:-1px;left:0;right:0;content:'';height:3px;background:var(--journey-accent);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.journey-navigation button[aria-pressed=true],.journey-navigation button:hover{color:#fff}.journey-navigation button[aria-pressed=true]:before{transform:scaleX(1)}.journey-navigation button:focus-visible{outline:2px solid #eed5f2;outline-offset:-3px}
.journey-navigation .phase-number{display:block;color:#cdb6d6;font-size:13px;margin-bottom:8px}.journey-navigation .phase-name{font-size:16px}.journey-navigation button[aria-pressed=true] .phase-number{color:var(--journey-accent)}
.journey-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.bim-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px;padding-top:52px;padding-bottom:90px}.bim-benefits article{padding-top:24px}.bim-benefits h3{font-size:23px;color:var(--plum);line-height:1.3;margin-bottom:15px}.bim-benefits p{font-size:18px;color:var(--muted);margin:0}
.engineering-journey[data-stage="4"] .bim-key-0:before{background:#77bce8}.engineering-journey[data-stage="4"] .bim-key-1:before{background:#ea9692}.engineering-journey[data-stage="4"] .bim-key-2:before{background:#b8a4d9}.engineering-journey[data-stage="8"] .bim-key-0:before{background:#77bce8}.engineering-journey[data-stage="8"] .bim-key-1:before{background:#edc276}.engineering-journey[data-stage="8"] .bim-key-2:before{background:#8dcebd}
@media(max-width:1100px) and (min-width:1001px){.journey-overlay{margin-left:61%;padding-right:36px}.journey-chapter h3{font-size:38px}}
@media(max-width:1000px){
 .journey-intro{display:block;padding-top:72px;padding-bottom:34px}.journey-intro>p{max-width:660px;margin-top:25px}.journey-intro h2{max-width:none}
 .journey-stage{min-height:0}.journey-visual{position:relative;inset:auto;height:400px}.journey-fallback{top:50px;left:0;width:100%;height:340px}
 .journey-meta{inset:24px var(--gutter) auto;font-size:13px}.journey-meta>span{max-width:150px;text-align:right}
 .journey-overlay,.journey-enhanced .journey-overlay{margin:0 auto;padding:0 var(--gutter) 24px;max-width:760px;min-height:0}
 .journey-chapter h3{font-size:38px}.journey-enhanced .journey-chapter{align-self:start}
 .journey-navigation{gap:22px}.journey-navigation button{flex:0 0 138px}
 .bim-benefits{gap:26px;padding-top:40px;padding-bottom:70px}.bim-benefits h3{font-size:21px}.bim-benefits p{font-size:17px}
}
@media(max-width:600px){
 .journey-intro{padding-top:64px}.journey-intro>p{font-size:18px}.journey-visual{height:350px}.journey-fallback{height:290px}
 .journey-meta{font-size:12px;gap:18px}.journey-meta>span{max-width:120px}.journey-meta strong{max-width:170px}
 .journey-chapter h3{font-size:35px}.bim-legend{gap:9px 14px}
 .journey-slider-controls{align-items:start;flex-direction:column;gap:18px;padding-top:8px}.journey-slider-controls>div{align-self:flex-end}.journey-slider-controls>p{font-size:15px}
 .bim-benefits{grid-template-columns:1fr;gap:28px;padding-bottom:64px}.bim-benefits h3{font-size:23px}.bim-benefits p{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.journey-enhanced .journey-chapter,.journey-navigation button:before,.journey-slider-controls button{transition:none}}

/* Static fallback when WebGL is unavailable. */
/* The three disciplines are drawn in the same coordinate system. */
.bim-layer { transition: opacity .65s var(--ease); }
.bim-model polygon, .bim-model polyline { stroke-linejoin: round; stroke-linecap: round; }
.bim-grid-line { fill: none; stroke: #ffffff09; stroke-width: 1; }
.bim-foundation { fill: #24262d; stroke: #6e7886; stroke-width: .8; }
.bim-foundation.top { fill: #262831; }
.bim-column, .bim-slab { fill: #718396; stroke: #c3d8e8; stroke-width: .75; }
.bim-column.top, .bim-slab.top { fill: #a8becf; }
.bim-column.front, .bim-slab.front { fill: #8da3b8; }
.bim-glass { fill: #a787b84a; stroke: #dfc8e8; stroke-width: .85; }
.bim-glass.side { fill: #866a9b40; }
.bim-mullion { fill: none; stroke: #c7b3d1; stroke-width: .65; }
.bim-facade-band { fill: #a08fae; stroke: #d5c9dd; stroke-width: .6; }
.bim-roof { fill: #b29bc525; stroke: #d7c5e2; stroke-width: .8; }
.bim-duct { fill: none; stroke: #e6b681; stroke-width: 5; }
.bim-duct.branch { stroke-width: 3; }
.bim-pipe { fill: none; stroke: #bd91b8; stroke-width: 2.8; }
.bim-terminal { fill: #ecc8a2; stroke: #f1d0af; stroke-width: .8; }

/* A short dissolve joins complete cycles, with no stops between phases. */
.journey-canvas{opacity:var(--journey-model-opacity,1)}
.journey-fallback{opacity:calc(var(--journey-model-opacity,1)*.8)}
.has-journey-model .journey-fallback{opacity:0}
.journey-play-icon{display:none}
[data-journey-playback][data-paused=true] .journey-play-icon{display:block}
[data-journey-playback][data-paused=true] .journey-pause-icon{display:none}
