/* content stack rows — animated icon tiles (TW w-20 h-20 has no BS util) */
.content-stack-rows__icon-tile {
    width: 5rem;
    height: 5rem;
}

.content-stack-rows__icon-pulse {
    animation: content-stack-rows-pulse 3.5s ease-in-out infinite;
}

.content-stack-rows__icon-tile {
    animation: content-stack-rows-float 6s ease-in-out infinite;
}

.content-stack-rows__icon-glyph {
    animation: content-stack-rows-tilt 5s ease-in-out infinite;
    transform-origin: center;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-pulse {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-tile {
    animation-delay: 0s;
}

.content-stack-rows__icon-slot--0 .content-stack-rows__icon-glyph {
    animation-delay: 0.2s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-pulse {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-tile {
    animation-delay: 0.8s;
}

.content-stack-rows__icon-slot--1 .content-stack-rows__icon-glyph {
    animation-delay: 1s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-pulse {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-tile {
    animation-delay: 1.6s;
}

.content-stack-rows__icon-slot--2 .content-stack-rows__icon-glyph {
    animation-delay: 1.8s;
}

@keyframes content-stack-rows-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.35rem);
    }
}

@keyframes content-stack-rows-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.55;
    }

    50% {
        transform: scale(1.14);
        opacity: 0.2;
    }
}

@keyframes content-stack-rows-tilt {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(-6deg) scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .content-stack-rows__icon-pulse,
    .content-stack-rows__icon-tile,
    .content-stack-rows__icon-glyph {
        animation: none;
    }
}

.content-column__body {
    column-gap: 2.5rem;
}

.content-column__body p {
    break-inside: avoid;
}

@media (min-width: 768px) {
    .content-column__body {
        column-count: 2;
    }
}

@media (min-width: 1200px) {
    .content-column__body {
        column-count: 3;
    }
}

/* content companion — hairline width for BS decor */
.content-companion__hair {
    width: 3rem;
}

/* numeric index column width on small screens */
.content-companion__index {
    min-width: 0;
}

.content-companion__index-digit {
    font-variant-numeric: tabular-nums;
}

.content-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 16rem;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.narrative-chapter__column-inset {
    padding: 4rem;
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.rotating-badge-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — lift above card (bs had top-0) */
.philosophy-v4-badge-decor {
    top: -2.25rem;
}

.philosophy-rotate-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

.content-brief__float-square {
    width: 4rem;
    height: 4rem;
}

.content-brief__float-square--slow {
    animation: content-brief-float-slow 10s ease-in-out infinite;
}

.content-brief__float-square--fast {
    animation: content-brief-float-fast 7s ease-in-out infinite;
}

@keyframes content-brief-float-slow {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(6deg);
    }
}

@keyframes content-brief-float-fast {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(8px) rotate(-7deg);
    }
}

.content-flex-min {
    min-width: 0;
}

.content-memo-outline__grid {
    width: 6rem;
    height: 6rem;
    pointer-events: none;
}

/* Bootstrap: явный gap между карточками (row + row-cols часто без горизонтального gutter) */
.values-icon-grid__bs-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.values-icon-grid__subtitle {
    max-width: 42rem;
}

.values-icon-grid__thumb {
    width: 4rem;
    height: 4rem;
}

