.stack {
    position: relative;
    z-index: 2;
    display: grid;
    overflow: hidden;
    border-radius: var(--surface-radius-large);
    background: var(--color-page);
    align-items: center;
}

.stack__inner {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.stack__description {
    max-width: var(--section-copy-wide-max);
    margin-inline: auto;
    text-wrap: balance;
}

.stack .stack-marquee {
    margin-top: var(--stack-row-offset);
}

.stack-tech {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: var(--stack-marquee-item-width);
    height: var(--stack-marquee-item-height);
    gap: var(--stack-item-gap);
    padding-inline: var(--space-sm);
}

.stack-tech__icon {
    width: var(--stack-icon-size);
    height: var(--stack-icon-size);
    object-fit: contain;
}

.stack-tech__name {
    color: var(--color-heading);
    font-weight: 520;
    line-height: 1.2;
    white-space: nowrap;
}
