/* Crostella process drawings, using the existing stack interaction. */
#processus .process-grid{display:block}
#processus .process-grid>.process-card{max-width:760px;margin:0 auto 40px}
#processus .cst-sketch-shell{width:100%;max-width:1120px;margin:0 auto;overflow:hidden;padding:16px 0}
#processus #crostella-sketches{display:grid;grid-template-columns:1fr;gap:24px;position:relative;padding:0;min-width:0;touch-action:pan-y}
#processus #crostella-sketches.is-stacked{display:block;overflow:hidden}
#processus #crostella-sketches.is-stacked>.process-card{position:absolute;top:16px;left:50%;width:60%;max-width:600px;height:auto;min-height:0;margin:0;overflow:hidden;border-radius:22px;background:#fff9ee;transform:translateX(calc(-50% + var(--stack-x,0%))) scale(var(--stack-scale,1));transform-origin:center center;filter:blur(var(--stack-blur,0px));opacity:var(--stack-opacity,1);z-index:var(--stack-z,1);transition:transform .45s ease,filter .45s ease,opacity .45s ease;box-shadow:0 12px 32px rgba(71,43,24,.1)}
#processus #crostella-sketches .cr-image-button{display:block;width:100%;height:auto;padding:0;border:0;background:#f6edda;aspect-ratio:1/1;overflow:hidden}
#processus #crostella-sketches .cr-image-button img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;max-height:none}
#processus #crostella-sketches figcaption{display:flex;flex-direction:column;gap:4px;padding:18px 22px;margin:0;min-height:90px;background:#fff9ee}
#processus .cst-sketch-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4%;margin-top:8px}
#processus .cst-sketch-controls>div{display:flex;gap:12px}
#processus .cst-sketch-controls button{width:48px;height:48px;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font-size:1.6rem;cursor:pointer}
#processus .cst-sketch-dots{display:flex;justify-content:center;gap:8px;margin:16px 0 24px}
#processus .cst-sketch-dots button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
#processus .cst-sketch-dots button::after{content:'';width:9px;height:9px;border:1px solid currentColor;border-radius:50%}
#processus .cst-sketch-dots button[aria-pressed=true]::after{background:currentColor}
#processus .cst-sketch-shell button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:650px){#processus #crostella-sketches.is-stacked>.process-card{width:76%;border-radius:18px}#processus #crostella-sketches figcaption{padding:16px;min-height:84px}#processus .cst-sketch-controls{padding:0 2%}#processus .cst-sketch-controls button{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){#processus #crostella-sketches.is-stacked>.process-card{transition:none}}
