.frame-scroll-container { -webkit-overflow-scrolling: touch; }

/* BS (прев’ю + експорт): картки ~вдвічі вужчі за w-72; TW без змін */
.about-frame-strip--bs .frame-scroll-container > li:not([aria-hidden="true"]),
#section-preview-root.section-preview--bootstrap .frame-scroll-container > li:not([aria-hidden="true"]),
[data-preview-framework="bootstrap"] .frame-scroll-container > li:not([aria-hidden="true"]) {
    flex: 0 0 16rem !important;
    width: 16rem !important;
    max-width: min(16rem, 85vw) !important;
}

.frame-sq-12 { width: 3rem; height: 3rem; flex-shrink: 0; }

.frame-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frame-card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
}

.frame-icon-hover {
    transition: transform 0.2s ease;
}

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

.frame-title-hover {
    transition: color 0.2s ease;
}

.frame-card-hover:hover .frame-title-hover {
    color: var(--bs-primary);
}

/* values v14 — bento grid tile sizing, no colors */
.values-nike-bento__grid {
    grid-auto-rows: minmax(9rem, auto);
}

.values-nike-bento__tile--large {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

.values-nike-bento__tile--small {
    grid-column: span 1 / span 1;
}

@media (max-width: 640px) {
    .values-nike-bento__tile--large {
        grid-column: span 2 / span 2;
        grid-row: span 1 / span 1;
    }
}

.values-nike-bento__decor-circle,
.values-nike-bento__decor-blob,
.values-nike-bento__decor-ring {
    z-index: 0;
}

.values-nike-bento__decor-line,
.values-nike-bento__decor-square,
.values-nike-bento__decor-dot {
    z-index: 0;
}

/* BS has no w-14/h-14 — without a fixed size, rounded-circle stretches in a flex column */
.values-nike-bento__icon-badge {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    align-self: flex-start;
    transition: transform 200ms ease;
}

.values-nike-bento__icon-badge:hover {
    transform: scale(1.05);
}

/* team v26 — bento glass grid + animated mesh */
.team-glass ol,
.team-glass ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.team-glass__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.team-glass__blob {
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  animation: team-glass-blob-morph 11s ease-in-out infinite;
  transform-origin: center;
}

.team-glass__blob--tl {
  top: -6rem;
  left: -5rem;
  width: 18rem;
  height: 18rem;
}

.team-glass__blob--br {
  bottom: -7rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  animation-duration: 13s;
  animation-delay: 2s;
}

.team-glass__glow {
  top: 45%;
  left: 50%;
  width: 28rem;
  height: 28rem;
  animation: team-glass-glow-pulse 7s ease-in-out infinite;
  transform-origin: center;
}

.team-glass__mesh {
  background-image:
    linear-gradient(125deg, transparent 40%, rgba(var(--bs-primary-rgb), 0.06) 50%, transparent 60%),
    radial-gradient(circle at 20% 30%, rgba(var(--bs-primary-rgb), 0.12), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(var(--bs-primary-rgb), 0.1), transparent 40%);
  animation: team-glass-mesh-shift 14s ease-in-out infinite;
}

/* team-glass — overhead wire network (SVG; color via currentColor in Blade) */
.team-glass__wires {
  z-index: 1;
  pointer-events: none;
}

.team-glass__wires-svg {
  display: block;
}

.team-glass__wire-layer {
  transform-origin: center center;
  animation: team-glass-wire-sway 9s ease-in-out infinite;
}

.team-glass__wire--thin {
  opacity: 0.65;
}

@keyframes team-glass-wire-sway {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(4px) translateX(2px);
  }
}

.team-glass__card {
  transition: transform 220ms ease, box-shadow 220ms ease;
  height: 100%;
}

.team-glass__card:hover {
  transform: translateY(-0.35rem);
}

.team-glass__card-media {
  position: relative;
  width: 100%;
  height: 13.5rem;
  overflow: hidden;
}

.team-glass__card--featured .team-glass__card-media {
  height: 17rem;
}

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

  .team-glass__card--featured .team-glass__card-media {
    height: 18rem;
  }
}

.team-glass__card-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-glass__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 350ms ease;
}

.team-glass__card:hover .team-glass__card-img {
  transform: scale(1.06);
}

.team-glass__card-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.team-glass__card-body {
  z-index: 2;
}

.team-glass__card-accent {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 9999px;
}

@keyframes team-glass-blob-morph {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    transform: scale(1);
  }
  50% {
    border-radius: 60% 40% 50% 50% / 40% 60% 45% 55%;
    transform: scale(1.05);
  }
}

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

@keyframes team-glass-mesh-shift {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-glass__blob,
  .team-glass__glow,
  .team-glass__mesh,
  .team-glass__wire-layer,
  .team-glass__card,
  .team-glass__card-img {
    animation: none;
    transition: none;
  }

  .team-glass__card:hover {
    transform: none;
  }
}

@keyframes floating-organic-timeline__float-a {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-8px) rotate(0.5deg); }
    66% { transform: translateY(-4px) rotate(-0.3deg); }
}

@keyframes floating-organic-timeline__float-b {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-6px) rotate(-0.5deg); }
    66% { transform: translateY(-10px) rotate(0.4deg); }
}

@keyframes floating-organic-timeline__float-c {
    0%, 100% { transform: translateY(-4px) rotate(0deg); }
    50% { transform: translateY(4px) rotate(0.3deg); }
}

.floating-organic-timeline__float-a {
    animation: floating-organic-timeline__float-a 6s ease-in-out infinite;
}

.floating-organic-timeline__float-b {
    animation: floating-organic-timeline__float-b 7s ease-in-out infinite;
}

.floating-organic-timeline__float-c {
    animation: floating-organic-timeline__float-c 5s ease-in-out infinite;
}

.floating-organic-timeline__decor-1 {
    top: -8rem;
    left: -8rem;
    width: 24rem;
    height: 24rem;
}

.floating-organic-timeline__decor-2 {
    bottom: -8rem;
    right: -8rem;
    width: 20rem;
    height: 20rem;
}

.floating-organic-timeline__decor-3 {
    top: 50%;
    left: -4rem;
    width: 16rem;
    height: 16rem;
}

.floating-organic-timeline__decor-4 {
    top: 25%;
    right: 0;
    width: 12rem;
    height: 12rem;
}

.floating-organic-timeline__card-offset {
    margin-top: 2rem;
}

.floating-organic-timeline__media-square {
    aspect-ratio: 1;
    position: relative;
    width: 100%;
}

.floating-organic-timeline__media-square img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bootstrap branch: grid + gap (row gutters often collapse with overflow on section) */
.floating-organic-timeline__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

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

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

.floating-organic-timeline__min-shrink {
  min-width: 0;
}

