#scrolly.side-by-side {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Left side: SVG chart (65%) */
#scrolly .graphic {
    flex: 0 0 65%;
    max-width: 65%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

/* Ensure SVG stretches to container */
#scrolly svg {
    width: 100%;
    height: 80%;
}

/* Right side: scrolling steps (30%) */
#scrolly .text {
    flex: 0 0 30%;
    max-width: 30%;
}

/* Step container */
article {
    position: relative;
    padding: 0;
    margin: 0 auto;
}

/* Sticky positioning for SVG fallback */
svg {
    position: sticky;
    left: 0;
    width: 100%;
    margin: 0;
    transform: translate3d(0, 0, 0);
    background-color: white;
    z-index: 0;
}

/* Step appearance */
.step {
    margin: 0 auto 2rem auto;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.1);
}

.step:last-child {
    margin-bottom: 0;
}

.step.is-active h5 {
    background-color: goldenrod;
    color: #3b3b3b;
}

.step h5 {
    text-align: center;
    padding: 1rem;
    font-size: 1.5rem;
    background-color: #3b3b3b;
}

.step p {
    padding: 1rem;
    font-size: 1rem;
    color: #3b3b3b;
}

body { margin: 0; padding: 12px; background: #1e1e1e; color: #e0e0e0; font-family: system-ui, sans-serif; }
#scrolly { background: #1e1e1e; padding: 8px; }
#scrolly.side-by-side { display: flex; align-items: flex-start; gap: 12px; padding: 8px; }
#scrolly.side-by-side .text { flex: 0 0 32%; max-width: 32%; min-width: 0; }
#scrolly.side-by-side .graphic { flex: 1; min-width: 0; max-width: none; height: 100vh; position: sticky; top: 0; background: #1e1e1e; }
#scrolly.side-by-side .graphic svg { background: #1e1e1e; }
#scrolly article { min-width: 0; padding: 0; }
#scrolly .step { min-height: 75vh; height: auto !important; margin: 0 0 18vh; }
#scrolly .step h5 { margin: 0; padding: 12px; font-size: 16px; }
#scrolly .step p { padding: 12px; font-size: 14px; color: #ddd; overflow-wrap: break-word; }
#scrolly svg { min-width: 0; background: #1e1e1e; }
#outro { height: 0; }
