.intro-split-icon {
    width: 3rem;
    height: 3rem;
}

/* Як TW: w-64 → sm:w-80 → lg:w-96 (одна шкала для обох фреймворків) */
.intro-split-thumb {
    width: 16rem;
    height: 16rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .intro-split-thumb {
        width: 20rem;
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .intro-split-thumb {
        width: 24rem;
        height: 24rem;
    }
}

/* Bootstrap: flex + gap (no .row negative margins; works with section overflow). Tailwind grid ignores flex on items. */
@media (min-width: 576px) {
    .intro-split-benefits__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }
}

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

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

.compact-gradient-timeline__badge {
    width: 4rem;
    height: 4rem;
}

.compact-gradient-timeline__icon {
    width: 2rem;
    height: 2rem;
}

.compact-gradient-timeline__arrow {
    width: 1.5rem;
    height: 1.5rem;
}

.compact-gradient-timeline__summary-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.compact-gradient-timeline__min-shrink {
  min-width: 0;
}

.values-card-strip__item {
    max-width: 24rem;
}

.values-card-strip__thumb {
    width: 5rem;
    height: 5rem;
}

.values-card-strip__panel {
    max-width: 48rem;
}

/* team v24 — sidebar navigation */
.team-sidebar__nav-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 150ms ease;
}

.team-sidebar__nav-btn.is-active {
  background-color: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  font-weight: 600;
}

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

.team-sidebar__panel {
  animation: fade-in 300ms ease;
}

.team-sidebar__panel.hidden {
  display: none !important;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* awards — animated SVG mesh card backgrounds */
.awards-mesh__canvas {
  isolation: isolate;
}

/* BS-only canvas gradient (TW uses @sem gradient layer) */
.awards-mesh__canvas-bg {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--bs-primary) 55%, black),
    color-mix(in srgb, var(--bs-primary) 42%, black),
    var(--bs-primary)
  );
}

.dark .awards-mesh__canvas-bg,
[data-bs-theme="dark"] .awards-mesh__canvas-bg {
  background: linear-gradient(
    to bottom right,
    color-mix(in srgb, var(--bs-primary) 10%, black),
    color-mix(in srgb, var(--bs-primary) 22%, black),
    color-mix(in srgb, var(--bs-primary) 38%, black)
  );
}

.awards-mesh__svg {
  display: block;
}

.awards-mesh__orb {
  transform-origin: center;
  transform-box: fill-box;
}

.awards-mesh__orb--a {
  animation: awards-mesh-orb-drift-a 9s ease-in-out infinite;
}

.awards-mesh__orb--b {
  animation: awards-mesh-orb-drift-b 11s ease-in-out infinite;
  animation-delay: 1.5s;
}

.awards-mesh__orb--c {
  animation: awards-mesh-orb-pulse 6s ease-in-out infinite;
  animation-delay: 0.8s;
}

.awards-mesh__wave {
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: center;
}

.awards-mesh__wave--a {
  animation: awards-mesh-wave-slide 14s linear infinite;
}

.awards-mesh__wave--b {
  animation: awards-mesh-wave-slide 18s linear infinite reverse;
  animation-delay: 2s;
}

.awards-mesh__svg--1 .awards-mesh__orb--a {
  animation-delay: 0.5s;
}

.awards-mesh__svg--1 .awards-mesh__wave--a {
  animation-duration: 16s;
}

.awards-mesh__svg--2 .awards-mesh__orb--b {
  animation-delay: 2.5s;
}

.awards-mesh__svg--2 .awards-mesh__wave--b {
  animation-duration: 12s;
}

.awards-mesh__svg--3 .awards-mesh__orb--c {
  animation-delay: 1.2s;
}

@keyframes awards-mesh-orb-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -10px) scale(1.08);
  }
}

@keyframes awards-mesh-orb-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-14px, 8px) scale(1.06);
  }
}

@keyframes awards-mesh-orb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
  }
}

@keyframes awards-mesh-wave-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-40px);
  }
}

/* quote v27 — BAPE flow-chart: snow drift, script heading, connectors, ripples, drag */

.quote-flow__script-heading {
    font-family: "Segoe Script", "Brush Script MT", cursive;
}

.quote-flow__snow {
    position: absolute;
    width: 0.35rem;
    height: 0.35rem;
    animation: quoteFlowSnow 12s linear infinite;
}
.quote-flow__snow--1 { left: 8%; top: -5%; animation-delay: 0s; }
.quote-flow__snow--2 { left: 18%; top: -8%; animation-delay: 1.5s; }
.quote-flow__snow--3 { left: 32%; top: -4%; animation-delay: 3s; }
.quote-flow__snow--4 { left: 48%; top: -7%; animation-delay: 0.8s; }
.quote-flow__snow--5 { left: 62%; top: -6%; animation-delay: 2.2s; }
.quote-flow__snow--6 { left: 74%; top: -9%; animation-delay: 4s; }
.quote-flow__snow--7 { left: 84%; top: -5%; animation-delay: 1.1s; }
.quote-flow__snow--8 { left: 92%; top: -7%; animation-delay: 2.8s; }
@keyframes quoteFlowSnow {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.6; }
    100% { transform: translate(-3rem, 110vh); opacity: 0; }
}

.quote-flow__connector {
    height: 3rem;
}

.quote-flow__ripple-wrap {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
}
.quote-flow__ripple {
    animation: quoteFlowRipple 2.4s ease-out infinite;
}
.quote-flow__ripple--delay {
    animation-delay: 1.2s;
}
@keyframes quoteFlowRipple {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.quote-flow__step-badge {
    width: 2rem;
    height: 2rem;
}

.quote-flow__card {
    border-radius: 0.25rem;
    box-shadow: 3px 3px 0 0 currentColor;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.quote-flow__card.is-dragging {
    opacity: 0.65;
    transform: rotate(-1deg) scale(1.02);
}
[data-quote-flow-item].is-drop-target .quote-flow__card {
    box-shadow: 0 0 0 2px var(--bs-primary);
}

.quote-flow__thumb {
    aspect-ratio: 1 / 1;
    min-height: 4rem;
}
/* hover + focus affordances (layout/outline via theme token) */
@media (hover: hover) {
    .quote-flow-root [role="listitem"]:hover,
    .quote-flow-root article:hover,
    .quote-flow-root [class*="quote-flow__card"]:hover,
    .quote-flow-root .quote-flow__book:hover,
    .quote-flow-root .quote-flow__step:hover,
    .quote-flow-root .quote-flow__index-card:hover,
    .quote-flow-root .quote-flow__pill:hover,
    .quote-flow-root .quote-flow__item:hover {
        transform: translateY(-0.125rem);
    }
}

.quote-flow-root [role="listitem"],
.quote-flow-root article,
.quote-flow-root [class*="quote-flow__card"],
.quote-flow-root .quote-flow__book,
.quote-flow-root .quote-flow__step,
.quote-flow-root .quote-flow__index-card,
.quote-flow-root .quote-flow__pill {
    transition: transform 200ms ease;
}

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

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

