.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-storybook — zigzag alternation, organic blob shapes, hover motion */
/* Layout/transform/animation only — no colors here, theme colors applied via tw: */

@media (min-width: 768px) {
    .values-storybook__item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.values-storybook__blob-wrap {
    width: 8rem;
    height: 8rem;
    transition: transform 250ms ease;
}

@media (min-width: 640px) {
    .values-storybook__blob-wrap {
        width: 10rem;
        height: 10rem;
    }
}

.values-storybook__item:hover .values-storybook__blob-wrap {
    transform: scale(1.06);
}

.values-storybook__blob {
    position: absolute;
    inset: 0;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}

.values-storybook__item:nth-child(even) .values-storybook__blob {
    border-radius: 58% 42% 37% 63% / 59% 56% 44% 41%;
}

.values-storybook__list {
    transition: transform 200ms ease;
}

/* team v22 — grid with click-to-expand detail overlay */
.team-flipcard__card {
  cursor: pointer;
  height: 100%;
  min-height: 24rem;
}

.team-flipcard__card-face {
  position: relative;
  display: block;
  width: 100%;
  min-height: 24rem;
  height: 100%;
  overflow: hidden;
}

.team-flipcard__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms ease;
  z-index: 0;
}

.team-flipcard__card:hover .team-flipcard__card-img {
  transform: scale(1.08);
}

.team-flipcard__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 200ms ease;
}

.team-flipcard__card:hover .team-flipcard__card-overlay {
  opacity: 0.75;
}

.team-flipcard__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.team-flipcard__card:hover .team-flipcard__label {
  opacity: 0;
}

.team-flipcard__detail {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.team-flipcard__detail.show {
  opacity: 1;
  pointer-events: auto;
}

.team-flipcard__detail-panel {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
}

