.tour-panel-hover {
    transition: box-shadow 0.2s ease;
}

.tour-panel-hover:hover {
    box-shadow: var(--bs-box-shadow);
}

details[open] .tour-open-icon {
    transform: scale(1.05);
}

details[open] .tour-chevron {
    transform: rotate(180deg);
}

.tour-open-icon,
.tour-chevron {
    transition: transform 0.3s ease;
}

/* 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); }
}

/* team v21 — horizontal carousel (layout + motion; colors in Blade) */
.team-carousel__carousel-wrap {
  max-width: 100%;
}

.team-carousel__carousel {
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-carousel__carousel::-webkit-scrollbar {
  display: none;
}

.team-carousel__slide {
  flex: 0 0 17.5rem;
  width: 17.5rem;
  scroll-snap-align: start;
}

.team-carousel__card-media {
  height: 12rem;
}

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

.team-carousel__nav {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background-color 200ms ease;
}

.team-carousel__nav:hover {
  transform: translateY(-50%) scale(1.08);
}

.team-carousel__nav--prev,
.team-carousel__nav--next {
  transform: translateY(-50%);
}

.team-carousel__nav--prev:hover,
.team-carousel__nav--next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* Сетка карточек + gap (fallback для bs; совпадает с tw gap-lg ≈ 1.5rem) */
.orbit-showcase-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

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

.philosophy-icons__circle {
    width: 6rem;
    min-width: 6rem;
    max-width: 6rem;
    height: 6rem;
    min-height: 6rem;
    max-height: 6rem;
    padding: 0.75rem;
    aspect-ratio: 1;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

