/* Section motion uses the extracted HPS styles; only responsive and runtime fallbacks live here. */
:root{--pc-motion-ease:cubic-bezier(.19,1,.22,1)}
body{overflow-x:clip;overflow-y:visible}

/* 1. Hero: original Onepage slide keyframes are retained in extracted.css. */
/* 2. Challenge: original continuous --open values, rather than discrete toggles. */
.hps-system.pc-system-flow .hps-system__scroll-area{height:auto}
.hps-system.pc-system-flow .hps-system__sticky{position:relative;top:auto;display:grid;grid-template-columns:1fr;gap:36px}
.hps-system.pc-system-flow .hps-system__media{max-width:740px}
.hps-system.pc-system-flow .hps-system__item{opacity:1}
.hps-system.pc-system-flow .hps-system__panel{opacity:var(--open);max-height:calc(var(--panel-height,180px)*var(--open))}
.hps-system.pc-system-flow .hps-system__arrow{transform:rotate(calc(var(--open)*90deg))}

/* 3 + 6. Benefits and collaboration: source geometry and timing on desktop. */
.pc-number-pinned :is(.hps-solution__cards,.pc-approach__cards){height:min(640px,calc(100svh - 148px))}
@media(min-width:1181px) and (max-height:800px){
 .pc-number-pinned :is(.hps-solution__number,.pc-approach__number){font-size:clamp(125px,21svh,170px)}
 .pc-number-pinned :is(.hps-solution__content,.pc-approach__content){bottom:32px;left:26px;right:26px}
 .pc-number-pinned :is(.hps-solution__content,.pc-approach__content) p{font-size:14px}
}
.pc-number-flow :is(.hps-solution__scroll,.pc-approach__scroll){height:auto}
.pc-number-flow :is(.hps-solution__sticky,.pc-approach__sticky){position:relative;top:auto;min-height:0}
.pc-number-flow :is(.hps-solution__cards,.pc-approach__cards){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;gap:12px;border:0;background:none;overflow:visible}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card){height:auto;min-height:0;padding:28px;display:flex;flex-direction:column;border:1px solid #202020;border-radius:8px}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card)::before{display:block;inset:100% 0 0;background:#f7f7f5}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card).is-active::before{inset:0}
.pc-number-flow :is(.hps-solution__number,.pc-approach__number){position:relative;top:auto;left:auto;width:auto;align-self:center;font-size:110px;line-height:1;margin:22px 0;color:#bdbdbd;transform:none}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card).is-active :is(.hps-solution__number,.pc-approach__number){top:auto;left:auto;font-size:110px;line-height:1;color:#000;transform:translateY(-5px) scale(1.04)}
.pc-number-flow :is(.hps-solution__content,.pc-approach__content){position:relative;left:auto;right:auto;bottom:auto;margin-top:auto;transform:translateY(8px)}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card).is-active :is(.hps-solution__content,.pc-approach__content){transform:none}
.pc-number-flow :is(.hps-solution__step,.pc-approach__step){height:auto;max-width:100%;line-height:1.3;padding:8px 12px;background:#171717;color:#d8d8d8}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card).is-active :is(.hps-solution__step,.pc-approach__step){background:#e7e7e3;color:#111}
.pc-number-flow :is(.hps-solution__content,.pc-approach__content) h3{color:#fff;font-size:25px;line-height:1.15;transform:none}
.pc-number-flow :is(.hps-solution__content,.pc-approach__content) p{opacity:1;max-height:none;transform:none;color:#aeb7bd}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card).is-active :is(.hps-solution__content,.pc-approach__content) h3{color:#000}
.pc-number-flow :is(.hps-solution__card,.pc-approach__card).is-active :is(.hps-solution__content,.pc-approach__content) p{color:#555b60}
@media(max-width:767px){
 .pc-number-flow :is(.hps-solution__cards,.pc-approach__cards){grid-template-columns:1fr}
 .pc-number-flow :is(.hps-solution__card,.pc-approach__card){padding:24px}
 .pc-number-flow :is(.hps-solution__number,.pc-approach__number),.pc-number-flow :is(.hps-solution__card,.pc-approach__card).is-active :is(.hps-solution__number,.pc-approach__number){position:absolute;top:22px;left:auto;right:24px;font-size:44px;margin:0}
 .pc-number-flow :is(.hps-solution__content,.pc-approach__content){margin-top:42px}
 .pc-approach__wrap{width:calc(100% - 40px)}
}

/* 4. Services: source scale .86→1, opacity .18→1 and late handover at 68%. */
.homepage_stack{overflow:visible;--pc-stack-top:108px;height:auto}
.homepage_stack__stage{display:flow-root;padding-bottom:0}
.pc-stack-marker{height:0;margin-top:9svh;pointer-events:none}
.homepage_stack .homepage_stack__pane{position:relative;top:auto;margin:0;--pc-pane-entry:1;opacity:calc((.18 + .82 * var(--homepage_stack_progress)) * (.25 + .75 * var(--pc-pane-entry)))!important;transform:translateY(calc((1 - var(--pc-pane-entry)) * 40px + (1 - var(--homepage_stack_progress)) * 18px)) scale(calc(.86 + .14 * var(--homepage_stack_progress)))!important;filter:saturate(calc(.55 + .45 * var(--homepage_stack_progress)))!important;transform-origin:50% 18%;will-change:transform,opacity}
.homepage_stack.pc-stack-enabled .homepage_stack__pane{position:sticky;top:var(--pc-stack-top)}
@media(max-width:900px){.homepage_stack{--pc-stack-top:96px}}
@media(max-width:768px){.pc-stack-marker{margin-top:24px}}

/* 5. Projects: original two directions; native horizontal scrolling on small screens. */
.hps-storywall{width:100vw;margin-inline:calc(50% - 50vw)}
.hps-storywall__row{--tileW:calc((100vw - (var(--visible) - 1) * var(--gap)) / var(--visible))}
.hps-storywall__track{width:max-content}
.hps-storywall__tile{flex:0 0 var(--tileW)}
@media(min-width:701px) and (max-width:1100px){.hps-storywall{--visible:3.2}}
@media(max-width:700px){
 .hps-storywall__wrap{width:calc(100% - 48px)}
 .hps-storywall__row{--tileW:calc(100vw - 72px);--tileH:clamp(390px,60svh,480px);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:24px;scrollbar-width:none;padding:0 24px;touch-action:pan-x pan-y}
 .hps-storywall__track{transform:none!important}
 .hps-storywall__tile{scroll-snap-align:start}
}

/* 7 + 8. Footer CTA: same chip proportions, using the Panik mark. */
.pc-ending-scene.is-visible .pc-ending-chip{animation:pc-chip-turn 7s ease-in-out infinite}
@keyframes pc-chip-turn{0%,100%{transform:translateY(8px) rotateX(12deg) rotateY(-16deg) rotateZ(3deg)}50%{transform:translateY(-8px) rotateX(5deg) rotateY(13deg) rotateZ(-3deg)}}

/* Reduced motion keeps every content block accessible, without pinned scroll distances. */
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
 .hps-system__scroll-area,.hps-solution__scroll,.pc-approach__scroll{height:auto!important}
 .hps-system__sticky,.hps-solution__sticky,.pc-approach__sticky,.homepage_stack .homepage_stack__pane{position:relative!important;top:auto!important}
 .homepage_stack .homepage_stack__pane{transform:none!important;opacity:1!important;filter:none!important;will-change:auto}
 .hps-storywall__row{overflow-x:auto;scrollbar-width:thin}
 .hps-storywall__track{transform:none!important}
 .pc-ending-chip{animation:none!important}
}
