.essence-card-hover {
    transition: transform 0.3s ease;
}

.essence-card-hover:hover {
    transform: scale(1.05);
}

.pixel-retro-timeline__pixel-bg {
    background-image: repeating-linear-gradient(
            0deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            currentColor 15px,
            currentColor 16px
        );
}

.pixel-retro-timeline__pixel-card {
    box-shadow:
        4px 0 0 0 currentColor,
        -4px 0 0 0 currentColor,
        0 4px 0 0 currentColor,
        0 -4px 0 0 currentColor;
    outline: 2px solid;
    outline-offset: 4px;
}

.pixel-retro-timeline__pixel-badge {
    clip-path: polygon(
        0 4px, 4px 4px, 4px 0,
        calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
        4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
    );
}

@keyframes pixel-retro-timeline__scan {
    from { width: 0; }
    to { width: 100%; }
}

.pixel-retro-timeline__progress-bar {
    animation: pixel-retro-timeline__scan 1s steps(20) forwards;
}

.pixel-retro-timeline__mono-font {
    font-family: monospace, 'Courier New';
}

.pixel-retro-timeline__grid-width {
    max-width: 48rem;
}

.pixel-retro-timeline__badge-size {
    width: 4rem;
    height: 4rem;
}

.pixel-retro-timeline__progress-height {
    height: 0.5rem;
}

.pixel-retro-timeline__progress-fill {
    width: var(--pixel-retro-timeline__progress, 0%);
}

.pixel-retro-timeline__spacer {
    width: 0.5rem;
    height: 1rem;
}

.pixel-retro-timeline__min-shrink {
  min-width: 0;
}

/* Сетка карточек + 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); }
}

/* team v20 — vertical timeline + animated background decor */
.team-timeline__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.team-timeline__line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--tw-primary-500), transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.team-timeline__blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: team-timeline-blob-morph 9s ease-in-out infinite;
  transform-origin: center;
}

.team-timeline__blob--tl {
  top: -4rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
}

.team-timeline__blob--br {
  bottom: -5rem;
  right: -4rem;
  width: 24rem;
  height: 24rem;
  animation-duration: 11s;
  animation-delay: 2s;
}

.team-timeline__glow--center {
  top: 50%;
  left: 50%;
  width: 24rem;
  height: 24rem;
  animation: team-timeline-glow-pulse 7s ease-in-out infinite;
  transform-origin: center;
}

.team-timeline__ring--1 {
  top: 6rem;
  right: 1.5rem;
  animation: team-timeline-spin 28s linear infinite;
  transform-origin: center;
}

.team-timeline__ring--2 {
  bottom: 8rem;
  left: 1rem;
  animation: team-timeline-pulse-ring 5.5s ease-in-out infinite;
  transform-origin: center;
}

.team-timeline__ring--3 {
  top: 33%;
  left: 2rem;
  animation: team-timeline-spin-reverse 22s linear infinite;
  transform-origin: center;
}

.team-timeline__spark {
  animation: team-timeline-spark-float 4.5s ease-in-out infinite;
}

.team-timeline__spark--1 {
  animation-delay: 0s;
}

.team-timeline__spark--2 {
  animation-delay: 0.7s;
}

.team-timeline__spark--3 {
  animation-delay: 1.4s;
}

.team-timeline__spark--4 {
  animation-delay: 2.1s;
}

.team-timeline__spark--1 {
  top: 18%;
  left: 46%;
  width: 0.5rem;
  height: 0.5rem;
}

.team-timeline__spark--2 {
  top: 42%;
  left: 52%;
  width: 0.75rem;
  height: 0.75rem;
}

.team-timeline__spark--3 {
  top: 68%;
  left: 48%;
  width: 0.5rem;
  height: 0.5rem;
}

.team-timeline__spark--4 {
  bottom: 22%;
  right: 18%;
  width: 0.5rem;
  height: 0.5rem;
}

.team-timeline__diamond--1 {
  top: 4rem;
  left: 12%;
  width: 2.5rem;
  height: 2.5rem;
  animation: team-timeline-diamond-turn-1 16s linear infinite;
  transform-origin: center;
}

.team-timeline__diamond--2 {
  bottom: 5rem;
  right: 10%;
  width: 3.5rem;
  height: 3.5rem;
  animation: team-timeline-diamond-turn-2 20s linear infinite reverse;
  transform-origin: center;
}

.team-timeline__ring--1 {
  width: 9rem;
  height: 9rem;
}

.team-timeline__ring--2 {
  width: 7rem;
  height: 7rem;
}

.team-timeline__ring--3 {
  width: 5rem;
  height: 5rem;
}

@media (min-width: 768px) {
  .team-timeline__ring--1 {
    width: 12rem;
    height: 12rem;
    right: 3rem;
  }

  .team-timeline__ring--2 {
    left: 2.5rem;
  }

  .team-timeline__ring--3 {
    left: 2rem;
  }
}

.team-timeline__item {
  position: relative;
  z-index: 2;
}

.team-timeline__dot {
  width: 1.25rem;
  height: 1.25rem;
}

.team-timeline__avatar {
  width: 11rem;
  height: 11rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .team-timeline__avatar {
    width: 14rem;
    height: 14rem;
  }
}

.team-timeline__panel--end {
  text-align: center;
}

@media (min-width: 768px) {
  .team-timeline__photo--end {
    justify-content: flex-end;
  }

  .team-timeline__photo--start {
    justify-content: flex-start;
  }

  .team-timeline__panel--end {
    text-align: right;
  }

  .team-timeline__panel--end .team-timeline__pill {
    margin-left: auto;
  }

  .team-timeline__panel--end .team-timeline__tags-row {
    justify-content: flex-end;
  }
}

.team-timeline__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-timeline__item [class*='col-md-6'] {
  min-width: 0;
}

.team-timeline__item:hover .team-timeline__dot {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes team-timeline-blob-morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: scale(1);
  }
  33% {
    border-radius: 58% 42% 38% 62% / 52% 48% 52% 48%;
    transform: scale(1.06);
  }
  66% {
    border-radius: 42% 58% 62% 38% / 48% 62% 38% 52%;
    transform: scale(0.97);
  }
}

@keyframes team-timeline-glow-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
  }
}

@keyframes team-timeline-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes team-timeline-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes team-timeline-pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@keyframes team-timeline-spark-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-0.65rem);
    opacity: 1;
  }
}

@keyframes team-timeline-diamond-turn-1 {
  from {
    transform: rotate(45deg);
  }
  to {
    transform: rotate(405deg);
  }
}

@keyframes team-timeline-diamond-turn-2 {
  from {
    transform: rotate(12deg);
  }
  to {
    transform: rotate(372deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-timeline__blob,
  .team-timeline__glow--center,
  .team-timeline__ring--1,
  .team-timeline__ring--2,
  .team-timeline__ring--3,
  .team-timeline__spark,
  .team-timeline__diamond {
    animation: none;
  }
}

.team-timeline__min-shrink {
  min-width: 0;
}

/* quote v9 — catalog grid accents (layout only, no colors) */

.quote-catalog__rule {
    height: 0.25rem;
    width: 4rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-catalog-root [role="listitem"]:hover,
    .quote-catalog-root article:hover,
    .quote-catalog-root [class*="quote-catalog__card"]:hover,
    .quote-catalog-root .quote-catalog__book:hover,
    .quote-catalog-root .quote-catalog__step:hover,
    .quote-catalog-root .quote-catalog__index-card:hover,
    .quote-catalog-root .quote-catalog__pill:hover,
    .quote-catalog-root .quote-catalog__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-catalog-root [role="listitem"],
.quote-catalog-root article,
.quote-catalog-root [class*="quote-catalog__card"],
.quote-catalog-root .quote-catalog__book,
.quote-catalog-root .quote-catalog__step,
.quote-catalog-root .quote-catalog__index-card,
.quote-catalog-root .quote-catalog__pill {
    transition: transform 200ms ease;
}

.quote-catalog-root a:focus-visible,
.quote-catalog-root button:focus-visible,
.quote-catalog-root [tabindex="0"]:focus-visible,
.quote-catalog-root input:focus-visible,
.quote-catalog-root summary:focus-visible,
.quote-catalog-root [role="slider"]:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .quote-catalog-root button:hover,
    .quote-catalog-root a:hover,
    .quote-catalog-root summary:hover {
        opacity: 0.92;
    }
}

