/* A native-scroll workshop chapter: real photographs, no simulated CAD. */
.ubx-journey{--journey-navy:#112d3c;--journey-red:#b62f47;--journey-light:#f2f5f6;position:relative;background:#fff;color:#172c3b;isolation:isolate}
.ubx-journey__intro{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(40px,8vw,130px);align-items:end;padding-block:95px 80px}
.ubx-site .ubx-journey__intro h2{font-size:clamp(3rem,5.6vw,5.7rem);line-height:.99;letter-spacing:-.055em;max-width:760px;margin:0}
.ubx-journey__intro-copy p{font-size:16px;line-height:1.9;max-width:580px;margin-bottom:22px}
.ubx-journey__track{position:relative;background:var(--journey-light)}
.ubx-journey__visual{display:none}
.ubx-journey__copy{width:min(980px,calc(100% - 48px));margin-inline:auto;padding-block:45px}
.ubx-journey__step{position:relative;padding-block:38px 50px;border-bottom:1px solid #cfd9df;scroll-margin-top:24px}
.ubx-journey__step:last-child{border-bottom:0}
.ubx-journey__step-index{display:block;font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.12em;color:var(--journey-red);margin-bottom:18px}
.ubx-site .ubx-journey__step h3{font-size:clamp(1.9rem,3.4vw,3.3rem);line-height:1.05;letter-spacing:-.04em;max-width:680px;margin-bottom:24px}
.ubx-journey__inline-image{display:block!important;width:100%;max-height:580px;object-fit:cover;border-radius:3px;margin:26px 0;background:#e6ecef}
.ubx-journey__step[data-fit=contain] .ubx-journey__inline-image{object-fit:contain}
.ubx-journey__step p{font-size:17px;line-height:1.85;max-width:660px}
.ubx-journey__detail{display:inline-flex;gap:24px;align-items:center;min-height:46px;border-bottom:1px solid #a6b7c1;padding-block:8px;font-size:14px;font-weight:750;color:#172c3b!important}
.ubx-journey__detail>span{font-size:24px;color:var(--journey-red)}
.ubx-journey.is-enhanced .ubx-journey__track{display:grid;grid-template-columns:minmax(0,58fr) minmax(0,42fr);align-items:start}
.ubx-journey.is-enhanced .ubx-journey__visual{display:flex;position:sticky;top:0;height:100vh;height:100svh;min-height:540px;background:var(--journey-navy);overflow:hidden;flex-direction:column;justify-content:center;padding:clamp(24px,3.4vw,58px);perspective:1450px}
.ubx-journey.is-enhanced .ubx-journey__visual:before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,transparent 32%,#ffffff06 32.1%,#ffffff06 32.25%,transparent 32.35%),linear-gradient(35deg,#06172133,transparent 70%);pointer-events:none}
.ubx-journey__watermark{position:absolute;inset-inline-start:28px;top:30px;font-size:clamp(35px,5.5vw,88px);line-height:1;font-weight:850;letter-spacing:-.06em;color:#ffffff08;white-space:nowrap;pointer-events:none}
.ubx-journey__apparatus{position:relative;width:100%;max-width:960px;margin-inline:auto;padding:25px 8px 0;transform-style:preserve-3d}
.ubx-journey__edge{position:absolute;pointer-events:none;border:1px solid #5e8194;border-radius:3px}
.ubx-journey__edge--back{inset:9px -8px 100px 20px;transform:translateZ(-60px) rotateY(-5deg);opacity:.6}
.ubx-journey__edge--front{inset:45px 15px 70px -13px;border-color:#b62f4780;transform:translateZ(-40px) rotateY(3deg)}
.ubx-journey__viewport{position:relative;width:100%;height:clamp(330px,58vh,660px);height:clamp(330px,58svh,660px);overflow:hidden;isolation:isolate;perspective:1250px;background:#e6ecef;border:1px solid #ffffff22;border-radius:3px;box-shadow:0 28px 55px #020a103b}
.ubx-journey__plane{position:absolute;inset:0;margin:0;background:#eaf0f2;will-change:transform,clip-path;transform-origin:center;backface-visibility:hidden}
.ubx-journey__plane--front{z-index:2}.ubx-journey__plane--back{z-index:1}
.ubx-journey__plane>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.ubx-journey__plane[data-fit=contain]>img{object-fit:contain;mix-blend-mode:multiply;padding:clamp(14px,2.7vw,40px)}
.ubx-journey__shade{position:absolute;inset:0;background:linear-gradient(180deg,#0a1e2900 28%,#0a1e291a 55%,#0a1e29db);pointer-events:none}
.ubx-journey__plane[data-fit=contain] .ubx-journey__shade{background:linear-gradient(180deg,transparent 40%,#112d3c10 62%,#112d3c8c)}
.ubx-journey__cut{position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:#e1465e;box-shadow:0 0 25px #df3857aa;z-index:5;opacity:0;pointer-events:none;will-change:inset-inline-start}
.ubx-journey__chapter{position:absolute;top:-15px;inset-inline-start:16px;z-index:3;font-size:clamp(100px,12vw,190px);line-height:1;font-weight:850;letter-spacing:-.07em;color:#ffffff12;-webkit-text-stroke:1px #ffffff80;pointer-events:none}
.ubx-journey__caption{position:absolute;inset-inline:25px;bottom:25px;z-index:4;display:flex;flex-direction:column;gap:9px;color:#fff;pointer-events:none;max-width:90%}
.ubx-journey__caption>span{font-size:clamp(22px,2.9vw,43px);line-height:1.05;font-weight:750;letter-spacing:-.035em}
.ubx-journey__caption>small{font-size:8px;letter-spacing:.2em;color:#e1e9ee}
.ubx-journey__progress{position:relative;display:flex;align-items:center;gap:17px;padding:24px 0;color:#a9bfcc;font-size:10px;font-weight:600}
.ubx-journey__progress>span:first-child{white-space:nowrap}.ubx-journey__progress b{font-size:18px;color:#fff;margin-inline-end:5px}
.ubx-journey__progress>i{display:block;position:relative;flex:1;height:2px;background:#57738180;overflow:hidden}
.ubx-journey__progress em{display:block;width:100%;height:100%;background:#d23f57;transform:scaleX(0);transform-origin:left;will-change:transform}
.ubx-journey__progress-word{font-size:9px;text-transform:uppercase;letter-spacing:.12em;max-width:105px;text-align:end}
.ubx-journey__chapters{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:5px}
.ubx-journey__chapters>a{display:block;border-top:2px solid #58748370;color:#91aab9!important;padding-top:12px;min-height:63px;transition:border-color .2s,color .2s;text-align:start}
.ubx-journey__chapters span{font-size:9px;letter-spacing:.05em;display:block;margin-bottom:7px;direction:ltr}
.ubx-journey__chapters b{display:block;font-size:9px;line-height:1.5;font-weight:500;overflow-wrap:break-word}
.ubx-journey__chapters>a[aria-current=step],.ubx-journey__chapters>a:hover{border-color:#d23f57;color:#fff!important}
.ubx-journey.is-enhanced .ubx-journey__copy{width:100%;margin:0;padding:6vh clamp(30px,4.5vw,78px) 10vh}
.ubx-journey.is-enhanced .ubx-journey__step{display:flex;min-height:65vh;min-height:65svh;flex-direction:column;justify-content:center;padding-block:55px;border:0;scroll-margin-top:20vh}
.ubx-journey.is-enhanced .ubx-journey__step:not(.is-current) h3{color:#617785}
.ubx-journey.is-enhanced .ubx-journey__step-index{font-size:12px;margin-bottom:22px}
.ubx-site .ubx-journey.is-enhanced .ubx-journey__step h3{font-size:clamp(2.4rem,3.7vw,4rem);line-height:1.03;margin-bottom:26px}
.ubx-journey.is-enhanced .ubx-journey__step p{font-size:16px;line-height:1.9}
.ubx-journey.is-enhanced .ubx-journey__inline-image{display:none!important}
.ubx-journey.is-enhanced .ubx-journey__detail{align-self:flex-start}
.ubx-journey[dir=rtl] .ubx-journey__progress em{transform-origin:right}
.ubx-journey[dir=rtl] :is(h2,h3){letter-spacing:0;line-height:1.25}
@media(min-width:1600px){.ubx-journey.is-enhanced .ubx-journey__visual{padding-inline:5vw}.ubx-journey.is-enhanced .ubx-journey__copy{padding-inline:6vw}}
@media(max-width:1023px){.ubx-journey__intro{grid-template-columns:1fr;gap:28px;padding-block:65px 42px}.ubx-site .ubx-journey__intro h2{font-size:clamp(2.7rem,7.7vw,4.7rem);max-width:750px}.ubx-journey__intro-copy p{max-width:850px}.ubx-journey__copy{padding-block:18px}.ubx-journey__inline-image{max-height:560px}.ubx-journey__step{padding-block:32px 44px}}
@media(max-width:700px){.ubx-journey__intro{padding-block:46px 35px;gap:24px}.ubx-site .ubx-journey__intro h2{font-size:clamp(2.6rem,10vw,3.8rem)}.ubx-journey__intro-copy p{font-size:15px;line-height:1.85}.ubx-journey__copy{width:calc(100% - 36px)}.ubx-site .ubx-journey__step h3{font-size:30px}.ubx-journey__step p{font-size:16px;line-height:1.85}.ubx-journey__inline-image{max-height:440px;margin-block:22px}.ubx-journey__detail{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ubx-journey *{transition:none!important;animation:none!important;scroll-behavior:auto!important}.ubx-journey__visual{display:none!important}.ubx-journey__inline-image{display:block!important}}

/* Clear horizontal progression; all layout changes require the JS mode class. */
.ubx-journey.is-enhanced .ubx-journey__track{height:var(--journey-runway,410svh);min-height:0;grid-template-columns:minmax(0,58fr) minmax(0,42fr)}
.ubx-journey.is-enhanced .ubx-journey__visual{top:var(--journey-top,0px);height:var(--journey-scene-height,100svh);min-height:0;padding:20px clamp(22px,3vw,44px)}
.ubx-journey.is-enhanced .ubx-journey__viewport{height:clamp(240px,48vh,560px);height:clamp(240px,48svh,560px)}
.ubx-journey.is-enhanced .ubx-journey__copy{position:sticky;top:var(--journey-top,0px);height:var(--journey-scene-height,100svh);padding:0;overflow:hidden;min-width:0;isolation:isolate}
.ubx-journey.is-enhanced .ubx-journey__step{position:absolute;inset:0;display:flex;width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:28px clamp(26px,3.6vw,64px);border:0;justify-content:center;will-change:transform,opacity;transform:translate3d(112%,0,0);opacity:0;backface-visibility:hidden}
.ubx-journey.is-enhanced .ubx-journey__step:first-child{transform:translate3d(0,0,0);opacity:1}
.ubx-site .ubx-journey.is-enhanced .ubx-journey__step h3{font-size:clamp(2rem,3.5vw,3.8rem);line-height:1.06;color:#172c3b!important}
.ubx-journey.is-enhanced .ubx-journey__step-index{font-size:13px;letter-spacing:.12em}
.ubx-journey__step-index[data-total]:after{content:" / " attr(data-total);color:#617785;font-weight:500;letter-spacing:.04em}
.ubx-journey__swipe-hint{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;margin:0!important;padding:12px max(18px,calc((100vw - 1320px)/2));font-size:12px!important;line-height:1.5!important;color:#53616c;background:#e8eff2}
.ubx-journey__swipe-hint>span:first-child{color:#a6273c;font-weight:800;white-space:nowrap}
.ubx-journey__swipe-hint>span:last-child{text-align:end}
/* Real overflow, not transformed mock cards: touch scrolling stays native. */
.ubx-journey.is-swipe .ubx-journey__track{display:block;height:auto;min-height:0;padding-block:0 22px}
.ubx-journey.is-swipe .ubx-journey__visual{display:block;position:static;height:auto;min-height:0;padding:0;background:transparent;overflow:visible}
.ubx-journey.is-swipe .ubx-journey__apparatus,.ubx-journey.is-swipe .ubx-journey__watermark{display:none}
.ubx-journey.is-swipe .ubx-journey__chapters{display:flex;grid-template-columns:none;gap:10px;overflow-x:auto;padding:20px 18px 12px;margin:0;scrollbar-width:thin;scrollbar-color:#9cabb5 transparent;overscroll-behavior-x:contain}
.ubx-journey.is-swipe .ubx-journey__chapters>a{flex:0 0 144px;min-width:0;min-height:74px;padding:12px 13px;border:1px solid #c4d1d9;border-top:3px solid #aabdc8;border-radius:5px;background:#fff;color:#314d5e!important}
.ubx-journey.is-swipe .ubx-journey__chapters span{font-size:11px;margin-bottom:6px;color:#9e243a}
.ubx-journey.is-swipe .ubx-journey__chapters b{font-size:12px;line-height:1.45;font-weight:650}
.ubx-journey.is-swipe .ubx-journey__chapters>a[aria-current=step]{border-color:#a6273c;background:#112d3c;color:#fff!important}
.ubx-journey.is-swipe .ubx-journey__chapters>a[aria-current=step] span{color:#ffadbd}
.ubx-journey.is-swipe .ubx-journey__copy{display:flex;align-items:stretch;gap:16px;position:relative;width:100%;max-width:none;height:auto;margin:0;padding:18px max(18px,calc((100vw - 1320px)/2)) 24px;overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;scroll-padding-inline:18px;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a6273c #dce5eb;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
.ubx-journey.is-swipe .ubx-journey__copy::-webkit-scrollbar{height:6px}
.ubx-journey.is-swipe .ubx-journey__copy::-webkit-scrollbar-track{background:#dce5eb}
.ubx-journey.is-swipe .ubx-journey__copy::-webkit-scrollbar-thumb{background:#a6273c;border-radius:10px}
.ubx-journey.is-swipe .ubx-journey__step{display:flex;flex-direction:column;flex:0 0 min(520px,calc(100% - 26px));align-self:stretch;position:relative;inset:auto;width:auto;min-width:0;min-height:0;height:auto;padding:24px 22px 25px;border:1px solid #cad7de;border-top:4px solid #a6b8c3;border-radius:8px;background:#fff;scroll-snap-align:start;scroll-snap-stop:normal;scroll-margin-inline:18px;opacity:1;transform:none}
.ubx-journey.is-swipe .ubx-journey__step.is-current{border-top-color:#a6273c}
.ubx-journey.is-swipe .ubx-journey__step-index{font-size:14px;margin-bottom:18px}
.ubx-site .ubx-journey.is-swipe .ubx-journey__step h3{font-size:clamp(26px,5.5vw,34px);line-height:1.15;margin-bottom:0}
.ubx-journey.is-swipe .ubx-journey__inline-image{display:block!important;width:100%;height:clamp(170px,49vw,290px);max-height:none;margin:21px 0;object-fit:cover;border-radius:3px}
.ubx-journey.is-swipe .ubx-journey__step[data-fit=contain] .ubx-journey__inline-image{object-fit:contain;padding:12px;background:#f2f5f6}
.ubx-journey.is-swipe .ubx-journey__step p{font-size:16px;line-height:1.8;margin-bottom:20px}
.ubx-journey.is-swipe .ubx-journey__detail{margin-top:auto;align-self:flex-start;font-size:14px}
.ubx-journey[dir=rtl].is-swipe .ubx-journey__step-index{direction:ltr;align-self:flex-end}
@media(min-width:1024px){.ubx-journey.is-swipe .ubx-journey__step{flex-basis:480px}.ubx-journey.is-swipe .ubx-journey__chapters{justify-content:center}}
@media(max-width:380px){.ubx-journey.is-swipe .ubx-journey__step{padding-inline:18px}.ubx-site .ubx-journey.is-swipe .ubx-journey__step h3{font-size:26px}.ubx-journey__swipe-hint{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.ubx-journey__swipe-hint{display:none!important}.ubx-journey__track{height:auto!important;min-height:0!important}.ubx-journey__copy{position:static!important;height:auto!important;display:block!important;overflow:visible!important;scroll-snap-type:none!important}.ubx-journey__step{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important;transform:none!important;opacity:1!important;pointer-events:auto!important}}

