.portrait-journey{position:relative;background:var(--paper);isolation:isolate}
.journey-stage{position:relative}
.journey-active .journey-stage{position:sticky;top:0;height:var(--journey-stage-height,var(--journey-height))}
.journey-active .hero-editorial{min-height:0;height:var(--journey-stage-height,var(--journey-height));max-height:none}
.journey-active .journey-ui{filter:opacity(var(--journey-ui-opacity,1));will-change:filter}
.journey-active .editorial-portrait-window{inset:auto;left:var(--frame-left);top:var(--frame-top);width:var(--frame-width);height:var(--frame-height);background:rgba(226,229,233,var(--frame-tint,0));will-change:width,height,left,top;overflow:hidden}
.journey-active .hero-editorial.editorial-centered .portrait{left:var(--photo-left)!important;top:var(--photo-top)!important;height:var(--photo-height)!important;width:auto;translate:0 0!important;transition:none;will-change:auto}
.journey-backdrop{position:absolute;inset:0;overflow:hidden;z-index:1;opacity:0;pointer-events:none}
.journey-active .journey-backdrop{opacity:var(--journey-type-opacity,0)}
.journey-words{position:absolute;left:50%;width:max-content;font-family:'Barlow Condensed','DM Sans',sans-serif;font-weight:500;font-size:clamp(105px,14vw,250px);line-height:1;letter-spacing:-.025em;white-space:nowrap;color:#c9d3e4}
.journey-words-one{top:39%;transform:translate(calc(-50% + var(--type-shift,0px)),-50%)}
.journey-words-two{top:65%;transform:translate(calc(-50% - var(--type-shift,0px)),-50%);color:transparent;-webkit-text-stroke:1px #c9d3e4}
.journey-signoff{position:absolute;inset:0;pointer-events:none;z-index:5;opacity:0}
.journey-active .journey-signoff{opacity:var(--signature-opacity,0)}
.journey-caption{position:absolute;top:var(--caption-top);left:50%;transform:translateX(-50%);font-family:'DM Sans',sans-serif;font-size:13px;line-height:1.4;font-weight:500;letter-spacing:-.3px;white-space:nowrap;color:#22241f}
.journey-signature{position:absolute;left:50%;top:var(--signature-top);width:var(--signature-width);height:auto;transform:translate(-50%,-50%) rotate(-7deg);color:#0f52ba;overflow:visible}
.signature-stroke{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--signature-draw,0));vector-effect:non-scaling-stroke}
.signature-flourish{stroke-width:4}
.journey-afterword{position:absolute;top:var(--afterword-top);left:50%;transform:translateX(-50%);font-size:12px;letter-spacing:-.25px;color:#646b75;white-space:nowrap}
.journey-has-scrolled .hero-review{display:none!important}
@media(max-width:650px){.journey-words{font-size:clamp(100px,24vw,160px)}.journey-words-one{top:32%}.journey-words-two{top:58%}.journey-caption{font-size:12px}.journey-afterword{font-size:11px}.signature-stroke{stroke-width:4.5}.signature-flourish{stroke-width:3.2}}
@media(prefers-reduced-motion:reduce){.journey-backdrop,.journey-signoff{display:none}.journey-active .journey-stage{position:relative}}

.journey-words-mobile{display:none}
@media(max-width:650px){
.journey-active .journey-backdrop{inset:auto 0 auto;top:var(--mobile-words-top);height:var(--mobile-words-height);z-index:3}
.journey-words-desktop{display:none}.journey-words-mobile{display:block}
.journey-words{font-size:clamp(34px,10.6vw,48px);line-height:1;letter-spacing:-.025em;color:#0f52ba}
.journey-words-one{top:0;transform:translateX(calc(-50% + var(--mobile-type-shift,0px)))}
.journey-words-two{top:calc(clamp(34px,10.6vw,48px) + 6px);transform:translateX(calc(-50% - var(--mobile-type-shift,0px)));color:#22241f;-webkit-text-stroke:0}
}

/* Repeated groups keep the motion seamless at every loop. */
.journey-words{left:0;width:100%;transform:none}
.journey-words-one,.journey-words-two{transform:translateY(-50%)}
.journey-marquee{display:flex;width:max-content;animation:journey-marquee-loop 40s linear infinite;animation-play-state:paused;will-change:transform}
.journey-words-two .journey-marquee{animation-duration:46s;animation-direction:reverse}
.journey-words-group{display:flex;flex-shrink:0;padding-right:.45em}
.journey-active .journey-marquee{animation-play-state:running}
@keyframes journey-marquee-loop{from{transform:translateX(0)}to{transform:translateX(-25%)}}
@media(max-width:650px){
 .journey-words-one,.journey-words-two{transform:none}
 .journey-marquee{animation-duration:18s}
 .journey-words-two .journey-marquee{animation-duration:22s}
}
.motion-paused .journey-marquee{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.journey-marquee{animation:none!important;will-change:auto}}
