.narrative-rot-neg-3 { transform: rotate(-3deg); }
.narrative-rot-neg-2 { transform: rotate(-2deg); }
.narrative-rot-neg-1 { transform: rotate(-1deg); }
.narrative-rot-0 { transform: rotate(0deg); }
.narrative-rot-1 { transform: rotate(1deg); }
.narrative-rot-2 { transform: rotate(2deg); }
.narrative-rot-3 { transform: rotate(3deg); }

.narrative-paper {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0.25rem 0.45rem 1rem rgba(15, 23, 42, 0.16);
}

.narrative-board-pin {
    width: 0.75rem;
    height: 0.75rem;
}

.narrative-board-pin--top-start {
    top: 0.75rem;
    left: 0.75rem;
}

.narrative-board-pin--top-end {
    top: 0.75rem;
    right: 0.75rem;
}

.narrative-board-pin--bottom-start {
    bottom: 0.75rem;
    left: 0.75rem;
}

.narrative-board-pin--bottom-end {
    bottom: 0.75rem;
    right: 0.75rem;
}

.narrative-note-hover {
    transition: transform 0.3s ease, z-index 0.3s ease;
    z-index: 1;
}

.narrative-note-hover:hover {
    transform: rotate(0deg) translateY(-0.25rem) scale(1.03);
    z-index: 10;
}

.narrative-dot {
    width: 0.25rem;
    height: 0.25rem;
}

.narrative-pin-label {
    font-size: 0.55rem;
    letter-spacing: 0.15em;

}

.narrative-pin-offset {
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .narrative-pin-offset {
        top: -0.75rem;
        width: 1.75rem;
        height: 1.75rem;
    }
}

.narrative-cta-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-orb-card__thumb {
    width: 5rem;
    height: 5rem;
    z-index: 10;
}

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

/* Hover — поза @sem; TW і BS */
.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-card-hover:hover {
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}


.cta-staircase__step-num {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  flex-shrink: 0;
}

.cta-staircase__stairs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cta-staircase__step {
  transform: translateX(calc(var(--step, 0) * 20px));
  animation: cta-staircase__fade 600ms ease both;
  animation-delay: calc(var(--step, 0) * 100ms);
}

@keyframes cta-staircase__fade {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(calc(var(--step, 0) * 20px)); }
}

@media (max-width: 768px) {
  .cta-staircase__step {
    transform: translateX(0);
  }
}

