.process-story{--process-bg:#272b31;--process-border:#53555c;background:var(--process-bg);color:#f2f0ea;min-width:0}
.process-mobile-progress{display:none}
.process-mobile-progress[hidden]{display:none}
.process-viewport-probe{position:absolute;top:0;left:0;width:0;height:100vh;height:100svh;visibility:hidden;pointer-events:none}
.process-scroll-track{position:relative;min-width:0}
.process-snap-marker{display:none;position:absolute;top:calc(var(--process-step,0px) * var(--process-snap-index));left:0;width:100%;height:1px;pointer-events:none}
/* Static markers belong to the page scroller, never to the moving sticky frame. */
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
  html[data-process-native-snap="true"]{scroll-snap-type:y proximity;scroll-padding-top:0}
  .process-scroll-track[data-pinned="true"][data-native-snap="true"]>.process-snap-marker{display:block;scroll-snap-align:start;scroll-snap-stop:always;scroll-margin-top:var(--process-pin-top,12px)}
}
.process-scroll-track[data-pinned]>.process-story{position:sticky;top:var(--process-pin-top,24px)}
.process-story[data-mobile-scroll]{min-height:var(--process-available-height,calc(var(--process-viewport-height) - 24px));display:flex;flex-direction:column}
.process-story[data-measuring] .process-story-panels{display:grid;grid-template-columns:minmax(0,1fr)}
.process-story[data-measuring] .process-story-panel{grid-area:1/1;visibility:hidden;display:grid}
.process-story[data-scroll-layout] .process-story-image img{height:clamp(260px,calc(100svh - 370px),520px);aspect-ratio:auto;object-fit:contain}
.process-story[data-scroll-layout] .process-story-notes{padding:22px 28px}
.process-story[data-scroll-layout] .process-story-notes h4{font-size:clamp(1.5rem,2vw,1.85rem);margin-block:14px 12px}
.process-story[data-scroll-layout] .process-story-fact{margin-block:12px}
.process-story[data-scroll-layout] .process-story-detail{padding-top:12px;max-width:230px}
.process-story[data-scroll-mode] .process-stage-sequence{display:none}
.process-story-foot .process-scroll-hint{display:flex;align-items:center;gap:25px;color:#e3d6f0}
.process-story-foot .process-scroll-hint[hidden]{display:none}
.process-scroll-hint b{font-weight:500;margin-inline-start:10px;font-variant-numeric:tabular-nums}
.process-scroll-hint a{text-decoration:underline;text-underline-offset:4px}
.process-story[data-scroll-mode] .process-story-tabs button::after{content:"";position:absolute;inset-inline:0;bottom:0;height:3px;background:#bba0e5;transform:scaleX(var(--stage-progress,0));transform-origin:left}
.process-story[data-scroll-mode] .process-story-tabs button[aria-selected="true"]::after{background:#5e407e}
@media(prefers-reduced-motion:no-preference){.process-story-tabs button{transition:background-color .18s ease,color .18s ease,border-color .18s ease}}
@media(prefers-reduced-motion:reduce){.process-scroll-track[data-pinned]{height:auto!important}.process-scroll-track[data-pinned]>.process-story{position:static}.process-story *{scroll-behavior:auto!important}}
.process-story a:focus-visible,.process-story button:focus-visible{outline:3px solid #cfb7f2;outline-offset:5px;z-index:2}
.process-story-head{padding:18px 28px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:35px;align-items:end;border-bottom:1px solid var(--process-border)}
.process-story-label{font-size:.625rem;line-height:1.5;letter-spacing:.09em;color:#c7b8d9}
.process-story-head h3{font-size:1.8rem;letter-spacing:.015em;margin-top:4px;font-weight:550}
.process-story-head p{font-size:.8125rem;line-height:1.6;color:#cbcbd0}
.process-story-head a{display:flex;gap:35px;align-items:center;font-size:.8125rem;border-bottom:1px solid #87828e;padding-block:9px}
.process-story-head a span{font-size:1.5rem}
.process-story-panel{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(250px,1fr);align-items:stretch}
.process-story-panel[hidden]{display:none}
.process-boot .process-story:not([data-enhanced]) .process-story-panel:not(:first-child){display:none}
.process-boot .process-story:not([data-enhanced]) .process-story-tabs[hidden]{display:grid!important}
.process-story[data-enhanced] .process-story-panels{display:grid;grid-template-columns:minmax(0,1fr);isolation:isolate}
.process-story[data-enhanced] .process-story-panel{grid-area:1/1;z-index:1}
.process-story[data-enhanced] .process-story-panel[hidden]{display:grid!important;visibility:hidden;pointer-events:none}
.process-story[data-enhanced] .process-story-panel[data-outgoing]{z-index:2;pointer-events:none}
.process-story[data-enhanced] .process-story-panel[data-outgoing] .process-story-notes{background:transparent}
.process-story:not([data-enhanced]) .process-story-panel+.process-story-panel{border-top:1px solid var(--process-border)}
.process-story-media{display:flex;flex-direction:column;min-width:0}
.process-story-media-label{display:flex;justify-content:space-between;gap:15px;padding:12px 28px 0;font-size:.6875rem;line-height:1.5;color:#c8c9cd}
.process-story-media-label span:first-child{color:#eee7f5}
.process-story-image{position:relative;display:flex;align-items:center;min-height:0;flex:1}
.process-story-image img{width:100%;height:auto;display:block;object-fit:contain;aspect-ratio:16/10;outline:1px solid #ffffff0f;outline-offset:-1px}
.process-image-open{position:absolute;inset:auto 22px 18px auto;display:grid;place-items:center;background:#f1efe9;color:#242329;width:38px;height:38px;font-size:1.25rem}
.process-story-caption{display:flex;justify-content:space-between;gap:16px;font-size:.6875rem;line-height:1.5;padding:0 28px 24px;color:#bcbcc4}
.process-story-notes{background:#ded5e8;color:#242329;padding:28px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.process-story-notes .process-story-label{color:#60506e}
.process-story-notes h4{font-size:clamp(1.5rem,2.25vw,2.1rem);line-height:1.15;letter-spacing:-.035em;font-weight:550;margin:22px 0 18px}
.process-story-notes>p{font-size:.875rem;line-height:1.75;color:#4c4654;max-width:38ch}
.process-story-fact{display:flex;align-items:center;gap:18px;margin-block:20px}
.process-story-fact strong{font-size:2.5rem;font-weight:450;letter-spacing:-.055em;line-height:1}
.process-story-fact span{font-size:.6875rem;max-width:12ch;line-height:1.5;color:#60506e}
.process-story-detail{margin-top:auto;padding-top:20px;width:100%;max-width:260px}
.process-story-detail img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#272b31;outline:1px solid #0000001a;outline-offset:-1px}
.process-story-detail>span{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:10px;font-size:.625rem;line-height:1.5;color:#5f5369}
.process-story-detail b{font-size:1rem;font-weight:400}
.process-story-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 22px;gap:10px;border-top:1px solid var(--process-border)}
.process-story-tabs[hidden]{display:none}
.process-story-tabs button{font:inherit;color:#e7e4e9;background:transparent;border:1px solid #66626d;cursor:pointer;text-align:start;padding:8px;min-width:0;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;position:relative}
.process-story-tabs button[aria-selected="true"]{color:#25232a;background:#ded5e8;border-color:#ded5e8}
.process-story-tabs img{width:100%;height:auto;aspect-ratio:16/11;object-fit:cover}
.process-tab-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.process-tab-number{font-size:.625rem;line-height:1.3;opacity:.7}
.process-tab-copy strong{font-size:.875rem;font-weight:550;letter-spacing:-.025em;line-height:1.3}
.process-tab-copy small{display:none}
.process-tab-arrow{display:none}
.process-story-foot{display:flex;justify-content:space-between;gap:20px;padding:0 28px 22px;font-size:.625rem;line-height:1.6;color:#bcbcc4}
@media(hover:hover){.process-story-tabs button:not([aria-selected="true"]):hover{background:#3c3d46}.process-story-head a:hover{border-color:#d4bdef}.process-story-detail:hover>span{color:#2e173e}}
@media(min-width:1450px){.process-story-tabs button{grid-template-columns:110px minmax(0,1fr)}.process-tab-copy small{display:block;font-size:.625rem;line-height:1.4;opacity:.7}}
@media(max-width:1050px){.process-story-panel{grid-template-columns:minmax(0,1.7fr) minmax(225px,1fr)}.process-story-notes{padding:24px}.process-story-tabs{padding:18px;gap:9px}.process-story-tabs button{grid-template-columns:1fr;gap:9px}.process-story-tabs img{aspect-ratio:2.3}.process-tab-copy{flex-direction:row;gap:8px;align-items:baseline}.process-story-foot>span{display:none}}
@media(max-width:760px){.process-story-head{grid-template-columns:1fr auto;padding:23px;gap:20px}.process-story-head p{display:none}.process-story-head h3{font-size:1.75rem}.process-story-panel{grid-template-columns:1fr}.process-story-notes{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.8fr);gap:0 25px;padding:24px}.process-story-notes>.process-story-label{grid-column:1/-1}.process-story-notes h4{grid-column:1/-1;font-size:1.875rem;margin-block:16px}.process-story-notes h4 br{display:none}.process-story-notes>p{grid-column:1;grid-row:3/5}.process-story-fact{grid-column:2;grid-row:3;align-self:start;margin-top:0}.process-story-detail{grid-column:2;grid-row:4}.process-story-media-label{padding:20px 23px 0}.process-story-caption{padding:0 23px 20px}.process-story-image img{aspect-ratio:16/9}.process-story-tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px}.process-story-tabs button{grid-template-columns:65px minmax(0,1fr)}.process-story-tabs img{aspect-ratio:1.4}.process-tab-copy{flex-direction:column;gap:2px}.process-story-foot{padding-inline:23px}}
@media(max-width:440px){.process-story-head{padding:20px;gap:15px}.process-story-head a{gap:15px;font-size:.75rem}.process-story-head h3{font-size:1.5rem}.process-story-label{font-size:.5625rem}.process-story-notes{grid-template-columns:minmax(0,1fr);padding:22px}.process-story-notes>p,.process-story-fact,.process-story-detail{grid-column:1;grid-row:auto}.process-story-notes h4{font-size:1.75rem}.process-story-fact{margin-block:18px}.process-story-detail{max-width:none;display:grid;grid-template-columns:110px minmax(0,1fr);gap:15px;align-items:center}.process-story-detail>span{padding:0}.process-story-tabs{padding:12px;gap:8px}.process-story-tabs button{grid-template-columns:1fr;padding:8px}.process-story-tabs img{aspect-ratio:2.1}.process-tab-copy{flex-direction:row;align-items:baseline;gap:8px}.process-tab-copy strong{font-size:.75rem}.process-story-media-label{font-size:.625rem;padding-inline:20px}.process-story-caption{font-size:.5625rem;padding-inline:20px}.process-image-open{width:30px;height:30px;inset-inline-end:12px;inset-block-end:10px}.process-story-foot{padding:3px 20px 20px}}
/* A single phone-sized project frame; native page scroll advances the four stages. */
@media(max-width:760px){
  .process-story[data-mobile-scroll] .process-story-head{padding:8px 14px;gap:12px;align-items:center}
  .process-story[data-mobile-scroll] .process-story-head .process-story-label{display:none}
  .process-story[data-mobile-scroll] .process-story-head h3{font-size:1.25rem;line-height:1.25;margin:0}
  .process-story[data-mobile-scroll] .process-story-head a{font-size:.75rem;gap:12px;padding-block:5px;min-height:36px}
  .process-story[data-mobile-scroll] .process-story-head a span{font-size:1rem;line-height:1}
  .process-story[data-mobile-scroll] .process-mobile-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0;padding:10px 12px 12px;gap:8px;border-bottom:1px solid var(--process-border)}
  .process-mobile-progress li{position:relative;min-width:0;padding-bottom:9px;color:#c1bec7;border-bottom:2px solid #56515f}
  .process-mobile-progress li::before{content:attr(data-step);display:block;font:400 .625rem/1.3 Consolas,monospace;color:#aaa1b5;margin-bottom:5px}
  .process-mobile-progress li::after{content:attr(data-label);display:block;font-size:.75rem;line-height:1.4;font-weight:600;letter-spacing:-.025em}
  .process-mobile-progress li[aria-current="step"]{color:#f4e9ff;border-color:#b9a1e5}
  .process-mobile-progress li[aria-current="step"]::before{color:#d4b7fb}
  .process-story[data-mobile-scroll] .process-story-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
  .process-story[data-mobile-scroll] .process-story-panels{flex:1}
  .process-story[data-mobile-scroll] .process-story-media{min-width:0}
  .process-story[data-mobile-scroll] .process-story-media-label{display:none}
  .process-story[data-mobile-scroll] .process-story-image{flex:0 0 auto}
  .process-story[data-mobile-scroll] .process-story-image img{height:clamp(120px,calc(var(--process-available-height,calc(var(--process-viewport-height) - 24px)) - 486px),350px);aspect-ratio:auto;object-fit:contain}
  .process-story[data-mobile-scroll] .process-story-caption{padding:0 14px 10px;font-size:.625rem;gap:12px;line-height:1.4}
  .process-story[data-mobile-scroll] .process-story-notes{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:0 12px;padding:14px 16px;align-content:start}
  .process-story[data-mobile-scroll] .process-story-notes>.process-story-label{grid-column:1/-1;font-size:.625rem;line-height:1.4}
  .process-story[data-mobile-scroll] .process-story-notes h4{grid-column:1/-1;font-size:1.5rem;line-height:1.15;margin:8px 0 9px}
  .process-story[data-mobile-scroll] .process-story-notes h4 br{display:none}
  .process-story[data-mobile-scroll] .process-story-notes>p{grid-column:1/-1;grid-row:auto;max-width:none;font-size:.875rem;line-height:1.6}
  .process-story[data-mobile-scroll] .process-story-fact{grid-column:1;grid-row:4;align-self:center;gap:8px;margin:12px 0 0}
  .process-story[data-mobile-scroll] .process-story-fact strong{font-size:1.75rem}
  .process-story[data-mobile-scroll] .process-story-fact span{font-size:.625rem;max-width:8ch}
  .process-story[data-mobile-scroll] .process-story-detail{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:center;margin-top:14px;padding:0;max-width:none}
  .process-story[data-mobile-scroll] .process-story-fact+.process-story-detail{grid-column:2;grid-template-columns:96px minmax(0,1fr)}
  .process-story[data-mobile-scroll] .process-story-detail>span{font-size:.6875rem;line-height:1.4;padding:0}
  .process-story[data-mobile-scroll] .process-story-foot{margin-top:auto;padding:10px 14px 12px}
  .process-story[data-mobile-scroll] .process-story-foot>p{display:none}
  .process-story[data-mobile-scroll] .process-scroll-hint{display:flex;width:100%;justify-content:space-between;gap:12px;font-size:.75rem;line-height:1.4}
  .process-story[data-mobile-scroll] .process-scroll-hint a{display:inline-flex;align-items:center;min-height:32px}
  .process-story[data-mobile-scroll] .process-scroll-hint b{margin-inline-start:5px}
  .process-story[data-mobile-scroll] .process-image-open{width:44px;height:44px;right:10px;bottom:8px;font-size:1.125rem}
}
@media(max-width:360px){
  .process-story[data-mobile-scroll] .process-story-notes{padding:12px 14px;column-gap:12px}
  .process-story[data-mobile-scroll] .process-story-notes h4{font-size:1.25rem}
  .process-story[data-mobile-scroll] .process-story-notes>p{font-size:.78125rem;line-height:1.45}
  .process-story[data-mobile-scroll] .process-mobile-progress{gap:6px;padding-inline:10px}
  .process-mobile-progress li::after{font-size:.6875rem}
}
@media(max-width:760px){
  .process-story[data-mobile-scroll][data-compact-mobile] .process-mobile-progress{padding-block:8px}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-mobile-progress li{padding-bottom:6px}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-mobile-progress li::before{margin-bottom:3px}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-foot{padding-bottom:8px}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-detail{grid-template-columns:minmax(0,1fr);margin-top:10px}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-detail img{display:none}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-fact+.process-story-detail{grid-template-columns:minmax(0,1fr)}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-notes{padding-block:10px}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-notes h4{font-size:1.25rem;margin-block:6px 7px}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-notes>p{font-size:.78125rem;line-height:1.45}
}
@media(max-width:760px) and (min-height:640px){
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-notes>p{font-size:.875rem;line-height:1.6}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-detail{grid-template-columns:110px minmax(0,1fr)}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-fact+.process-story-detail{grid-template-columns:84px minmax(0,1fr)}
  .process-story[data-mobile-scroll][data-compact-mobile] .process-story-detail img{display:block}
}
/* Keep the scroll sequence usable on narrow, short phones without clipping copy. */
@media(max-width:360px) and (max-height:639px){
  .process-story[data-mobile-scroll] .process-story-head{padding:6px 12px}
  .process-story[data-mobile-scroll] .process-story-head a{min-height:32px}
  .process-story[data-mobile-scroll] .process-mobile-progress li::before{display:none}
  .process-story[data-mobile-scroll] .process-mobile-progress li:first-child::after{content:"План"}
  .process-story[data-mobile-scroll] .process-mobile-progress li:last-child::after{content:"Стенд"}
  .process-story[data-mobile-scroll] .process-story-image img{height:100px}
  .process-story[data-mobile-scroll] .process-story-caption,
  .process-story[data-mobile-scroll] .process-story-notes>.process-story-label{display:none}
  .process-story[data-mobile-scroll] .process-story-notes{grid-template-rows:auto auto auto}
  .process-story[data-mobile-scroll] .process-story-notes h4{font-size:1.125rem;margin:0 0 7px}
  .process-story[data-mobile-scroll] .process-story-notes>p{grid-row:2}
  .process-story[data-mobile-scroll] .process-story-fact,
  .process-story[data-mobile-scroll] .process-story-detail{grid-row:3}
  .process-story[data-mobile-scroll] .process-story-foot{padding:6px 12px}
  .process-story[data-mobile-scroll] .process-scroll-hint{font-size:.6875rem;gap:8px}
}
