/* 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-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-col-grow {
    flex: 1 1 0%;
    min-width: 0;
}

.content-grid-gap {
    gap: 2rem;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-img-fullheight {
    display: block;
    width: 100%;
    height: 16rem;
    min-height: 16rem;
    flex-shrink: 0;
    object-fit: cover;
}
@media (min-width: 992px) {
    .content-img-fullheight {
        height: 100%;
        min-height: 16rem;
    }
}

/* Сетка карточек + gap (grid/gap в @sem могут обфусцироваться) */
.alternating-story-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
    .alternating-story-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Иначе фото с большим intrinsic width раздувает ячейку шире текстовых карточек */
.alternating-story-grid > * {
    min-width: 0;
}

/* max-width + центрирование блока вне @sem (tw/bs одинаково, без обфускации mx-auto/max-w) */
.philosophy-v10-subtitle {
    width: 100%;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-v10-wrap {
    position: relative;
    z-index: 10;
}

.philosophy-v10-thumb {
    width: 100%;
    max-width: 100%;
}

.philosophy-v10-thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.philosophy-alternating__blob-xl {
    width: 24rem;
    height: 24rem;
}

.philosophy-alternating__blob-lg {
    width: 20rem;
    height: 20rem;
}

.philosophy-alternating__blob-md {
    width: 16rem;
    height: 16rem;
}

.philosophy-alternating__dot-xl {
    width: 5rem;
    height: 5rem;
}

.philosophy-alternating__dot-lg {
    width: 4rem;
    height: 4rem;
}

.philosophy-alternating__dot-md {
    width: 3.5rem;
    height: 3.5rem;
}

.philosophy-alternating__dot-sm {
    width: 3rem;
    height: 3rem;
}

.philosophy-alternating__line {
    height: 1px;
}

.philosophy-alternating__line-xl {
    width: 24rem;
    height: 1px;
}

.philosophy-alternating__line-lg {
    width: 20rem;
    height: 1px;
}

.philosophy-alternating__line-md {
    width: 16rem;
    height: 1px;
}

.philosophy-alternating__line-sm {
    width: 14rem;
    height: 1px;
}

.philosophy-alternating__anim-delay-1 {
    animation-delay: 1s;
}

.philosophy-alternating__anim-delay-half {
    animation-delay: 0.5s;
}

.philosophy-alternating__anim-delay-1half {
    animation-delay: 1.5s;
}

.philosophy-alternating__anim-bounce-1 {
    animation-delay: 0s;
    animation-duration: 3s;
}

.philosophy-alternating__anim-bounce-2 {
    animation-delay: 1s;
    animation-duration: 4s;
}

.philosophy-alternating__anim-bounce-3 {
    animation-delay: 0.5s;
    animation-duration: 3.5s;
}

.philosophy-alternating__anim-bounce-4 {
    animation-delay: 1.5s;
    animation-duration: 4.5s;
}

.philosophy-alternating__anim-spin-slow {
    animation-duration: 20s;
}

.philosophy-alternating__anim-spin-reverse {
    animation-duration: 25s;
    animation-direction: reverse;
}

.philosophy-v10-thumb__img {
    object-fit: cover;
}

.philosophy-v10-abstract {
    min-height: 17.5rem;
}

.philosophy-v10-brand {
    min-height: 17.5rem;
}

.philosophy-v10-brand__inner {
    min-height: 17.5rem;
}

.philosophy-v10-brand__logo {
    width: 5rem;
    height: 5rem;
    padding: 0.75rem;
}

.philosophy-v10-brand__hatch {
    z-index: 1;
    background-image: repeating-linear-gradient(
        -38deg,
        transparent,
        transparent 8px,
        rgba(var(--bs-primary-rgb), 0.07) 8px,
        rgba(var(--bs-primary-rgb), 0.07) 9px
    );
}

.philosophy-v10-abstract__bg {
    z-index: 0;
}

.philosophy-v10-abstract__orb--a {
    animation: philosophy-v10-abstract-float 7s ease-in-out infinite;
}

.philosophy-v10-abstract__orb--b {
    animation: philosophy-v10-abstract-float 9s ease-in-out infinite reverse;
}

.philosophy-v10-abstract__arc--a {
    animation: philosophy-v10-abstract-dash 10s ease-in-out infinite;
}

.philosophy-v10-abstract__arc--b {
    animation: philosophy-v10-abstract-dash 12s ease-in-out infinite reverse;
}

@keyframes philosophy-v10-abstract-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes philosophy-v10-abstract-dash {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .philosophy-v10-abstract__orb--a,
    .philosophy-v10-abstract__orb--b,
    .philosophy-v10-abstract__arc--a,
    .philosophy-v10-abstract__arc--b {
        animation: none;
    }
}

.philosophy-alternating__blob-xl,
.philosophy-alternating__blob-lg,
.philosophy-alternating__blob-md,
.philosophy-alternating__line:not(.philosophy-alternating__line-xl):not(.philosophy-alternating__line-lg),
.philosophy-alternating__line-md,
.philosophy-alternating__line-sm {
    animation-name: philosophy-alternating__pulse;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.philosophy-alternating__anim-bounce-1,
.philosophy-alternating__anim-bounce-2,
.philosophy-alternating__anim-bounce-3,
.philosophy-alternating__anim-bounce-4 {
    animation-name: philosophy-alternating__bounce;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.philosophy-alternating__anim-spin-slow,
.philosophy-alternating__anim-spin-reverse {
    animation-name: philosophy-alternating__spin;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes philosophy-alternating__pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes philosophy-alternating__bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25%); }
}

@keyframes philosophy-alternating__spin {
    to { transform: rotate(360deg); }
}

.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-tabs-note__tab {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    outline-offset: 0.2rem;
    transition: transform 180ms ease;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .content-tabs-note [role="tablist"] {
        overflow: visible;
    }

    .content-tabs-note__tab {
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }
}

.content-tabs-note__tab:hover {
    transform: translateY(-0.125rem);
}

.content-tabs-note__tab.is-active {
    transform: translateY(-0.125rem);
}

/* values-terminal — terminal window chrome, grid-line background, blinking cursor */
/* Layout/animation only — no colors here, theme colors are applied via tw: */

.values-terminal__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, currentColor 1px, transparent 1px),
        linear-gradient(to bottom, currentColor 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    pointer-events: none;
}

.values-terminal__chrome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom-width: 1px;
}

.values-terminal__dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 9999px;
    display: inline-block;
    opacity: 0.5;
}

.values-terminal__body {
    line-height: 1.6;
}

.values-terminal__line {
    animation: values-terminal-fade-in 0.4s ease both;
}

.values-terminal__cursor {
    display: inline-block;
    opacity: 0;
}

[data-values-terminal].is-ready .values-terminal__cursor {
    animation: values-terminal-blink 1s steps(1, end) infinite;
}

@keyframes values-terminal-blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

@keyframes values-terminal-fade-in {
    from { opacity: 0; transform: translateY(0.25rem); }
    to { opacity: 1; transform: translateY(0); }
}

