.portrait-grid-min-h { min-height: 37.5rem; }

.portrait-sq-10 { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }

/* Bootstrap: явный gap между карточками (row + row-cols часто без горизонтального gutter) */
.values-icon-grid__bs-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.values-icon-grid__subtitle {
    max-width: 42rem;
}

.values-icon-grid__thumb {
    width: 4rem;
    height: 4rem;
}

/* team v29 — split quote layout + floating marks & sketch-line decor */
.team-quote__scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.team-quote__mark {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 18vw, 13rem);
  line-height: 1;
  font-weight: 700;
  user-select: none;
  pointer-events: none;
}

.team-quote__mark--open {
  top: 6%;
  left: 4%;
  animation: team-quote-mark-drift 14s ease-in-out infinite;
}

.team-quote__mark--close {
  right: 5%;
  bottom: 10%;
  animation: team-quote-mark-drift 16s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.team-quote__sketch {
  position: absolute;
  pointer-events: none;
}

.team-quote__sketch--tl {
  top: 4rem;
  left: 0;
  width: 10rem;
  height: 10rem;
}

.team-quote__sketch--br {
  right: 0;
  bottom: 5rem;
  width: 11rem;
  height: 11rem;
}

.team-quote__dots {
  position: absolute;
  top: 42%;
  right: 12%;
  display: flex;
  gap: 0.5rem;
  pointer-events: none;
}

.team-quote__sketch-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.team-quote__sketch-path {
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
}

.team-quote__sketch-path--a {
  animation: team-quote-sketch-draw 9s ease-in-out infinite alternate;
}

.team-quote__sketch-path--b {
  animation: team-quote-sketch-draw 11s ease-in-out infinite alternate-reverse;
  animation-delay: 1.5s;
}

.team-quote__dot {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: currentColor;
}

.team-quote__dot--a {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
}

.team-quote__dot--b {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
  animation-delay: 0.65s;
}

.team-quote__dot--c {
  animation: team-quote-dot-orbit 4s ease-in-out infinite;
  animation-delay: 1.3s;
}

@keyframes team-quote-mark-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-1.25rem) rotate(5deg) scale(1.06);
    opacity: 0.38;
  }
}

@keyframes team-quote-sketch-draw {
  0% {
    stroke-dashoffset: 280;
    opacity: 0.25;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.75;
  }
}

@keyframes team-quote-dot-orbit {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  33% {
    transform: translate(0.35rem, -0.65rem) scale(1.4);
    opacity: 1;
  }
  66% {
    transform: translate(-0.25rem, 0.45rem) scale(0.85);
    opacity: 0.5;
  }
}

.team-quote__image-wrap {
  position: relative;
  overflow: hidden;
}

.team-quote__image-wrap img {
  transition: transform 300ms ease;
}

.team-quote__image-wrap:hover img {
  transform: translateY(-2%);
}

.team-quote__img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.team-quote__bio {
  text-align: justify;
  text-align-last: left;
}

@media (max-width: 1024px) {
  .team-quote__bio {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-quote__mark,
  .team-quote__sketch-path,
  .team-quote__dot {
    animation: none;
  }

  .team-quote__sketch-path {
    stroke-dashoffset: 0;
    opacity: 0.4;
  }
}

.art-deco-reveal-timeline__panel--hidden {
    display: none !important;
}

.art-deco-reveal-timeline__tab--inactive {
    border-color: var(--bs-secondary, #6c757d);
    color: var(--bs-secondary, #6c757d);
    background-color: transparent;
}

.art-deco-reveal-timeline__tab--active {
    position: relative;
    border-color: var(--bs-primary, #0d6efd);
    background-color: var(--bs-primary, #0d6efd);
    color: #fff;
}

.art-deco-reveal-timeline__tab--active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    outline: 2px solid;
    outline-offset: -2px;
}

@keyframes art-deco-reveal-timeline__reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.art-deco-reveal-timeline__panel:not(.art-deco-reveal-timeline__panel--hidden) {
    animation: art-deco-reveal-timeline__reveal 0.35s ease forwards;
}

.art-deco-reveal-timeline__corner-tl {
    top: 1.5rem;
    left: 1.5rem;
    width: 5rem;
    height: 5rem;
}

.art-deco-reveal-timeline__corner-tr {
    top: 1.5rem;
    right: 1.5rem;
    width: 5rem;
    height: 5rem;
}

.art-deco-reveal-timeline__corner-bl {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 5rem;
    height: 5rem;
}

.art-deco-reveal-timeline__corner-br {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 5rem;
    height: 5rem;
}

.art-deco-reveal-timeline__diamond-mid {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 0.75rem;
    height: 0.75rem;
    left: 0;
}

.art-deco-reveal-timeline__diamond-mid--right {
    left: auto;
    right: 0;
}

.art-deco-reveal-timeline__diamond-sm {
    width: 0.5rem;
    height: 0.5rem;
    transform: rotate(45deg);
}

.art-deco-reveal-timeline__inner-border {
    inset: 0.5rem;
}

.art-deco-reveal-timeline__icon-diamond {
    width: 5rem;
    height: 5rem;
    transform: rotate(45deg);
}

.art-deco-reveal-timeline__icon-inner {
    transform: rotate(-45deg);
}

.art-deco-reveal-timeline__diamond-xs {
    width: 0.375rem;
    height: 0.375rem;
    transform: rotate(45deg);
}

