/* intro v23 — BAPE grunge wizard: film strip, giant numbers, clip-path wipe hover, height-expand step */

/* Full-width step photo — cinematic banner, object-fit has no BS utility */
.intro-grit__photo {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

/* Progress track height (no BS h-N utility) */
.intro-grit__track { height: 0.25rem; }

/* Clip-path reveal on hover: primary wipe grows from the corner */
.intro-grit__wipe {
    clip-path: circle(0% at 90% 10%);
    opacity: 0.12;
    transition: clip-path 420ms ease;
}
.intro-grit__card:hover .intro-grit__wipe {
    clip-path: circle(150% at 90% 10%);
}

/* Height-expand accordion-style step entrance */
.intro-grit__step {
    animation: intro-grit-expand 420ms ease;
    transform-origin: top;
}
@keyframes intro-grit-expand {
    from { opacity: 0; transform: scaleY(0.96) translateY(-0.5rem); }
    to   { opacity: 1; transform: scaleY(1) translateY(0); }
}

/* Progress bar transition */
.intro-grit__bar { transition: width 360ms ease; width: 0; }

/* Stepper dots — state via opacity, colour stays a Tailwind class */
.intro-grit__dot {
    width: 0.625rem;
    height: 0.625rem;
    opacity: 0.35;
    transition: opacity 200ms ease, transform 200ms ease;
}
.intro-grit__dot.is-active {
    opacity: 1;
    transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
    .intro-grit__step { animation: none; }
    .intro-grit__wipe { transition: none; }
}

/* Card hover: scale */
.portfolio-item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-item-hover:hover {
    transform: scale(1.05);
}

/* Image: zoom on card hover */
.portfolio-item-hover .portfolio-img-hover {
    transition: transform 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-img-hover {
    transform: scale(1.05);
}

/* Overlay: fade in on card hover */
.portfolio-overlay-hover {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item-hover:hover .portfolio-overlay-hover {
    opacity: 1;
}

/* features ticker — middot separator between inline items (layout only, no colors) */
.features-strip__item:not(:first-child)::before {
    content: "\2022";
    padding-inline-end: 0.5rem;
    opacity: 0.4;
}


.ranked-row-agenda__record--rise:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Лише layout / рух; кольори теми — у Blade */
.socialproof-card-hover {
    transition:
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialproof__stat-value,
.socialproof__stat-label {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (hover: hover) {
    .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
    }

    .dark .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
    }

    .socialproof-card-hover:hover .socialproof__stat-value {
        transform: scale(1.08);
    }
}

@media (hover: hover) and (min-width: 640px) {
    .socialproof-card-hover--lift:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .socialproof-card-hover,
    .socialproof__stat-value,
    .socialproof__stat-label {
        transition: none;
    }

    .socialproof-card-hover:hover,
    .socialproof-card-hover:hover .socialproof__stat-value,
    .socialproof-card-hover--lift:hover {
        transform: none;
    }
}

.socialproof__strip {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
    overflow: hidden;
}

.socialproof__strip.visible {
    opacity: 1;
    transform: translateX(0);
}

.socialproof__strip:nth-child(even) {
    transform: translateX(40px);
}

.socialproof__strip.visible:nth-child(even) {
    transform: translateX(0);
}

.socialproof__inner {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
    padding: 2rem 3rem;
    margin-bottom: -0.5rem;
}

.socialproof__strip:nth-child(even) .socialproof__inner {
    clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%);
}

.socialproof__value {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.socialproof__accent-block {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.15;
    right: -20px;
    top: -20px;
}

.socialproof__strip:nth-child(even) .socialproof__accent-block {
    left: -20px;
    right: auto;
}

.socialproof__strip-content {
    min-width: 12rem;
}

.cta-creative-hero__strings {
  position: absolute;
  inset: 0;
  bottom: 4.5rem;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.cta-creative-hero__string {
  position: absolute;
  top: -8%;
  width: 0;
  border-left-width: 1px;
  border-left-style: solid;
  transform-origin: top center;
  animation: cta-creative-hero__string-sway 4s ease-in-out infinite;
}

.cta-creative-hero__string--0 {
  left: 4%;
  height: 88%;
  animation-duration: 3.6s;
  animation-delay: 0s;
}

.cta-creative-hero__string--1 {
  left: 14%;
  height: 96%;
  animation-duration: 4.2s;
  animation-delay: -0.4s;
}

.cta-creative-hero__string--2 {
  left: 26%;
  height: 78%;
  animation-duration: 3.8s;
  animation-delay: -1.1s;
}

.cta-creative-hero__string--3 {
  left: 38%;
  height: 92%;
  animation-duration: 4.6s;
  animation-delay: -0.8s;
}

.cta-creative-hero__string--4 {
  left: 50%;
  height: 100%;
  animation-duration: 3.4s;
  animation-delay: -1.6s;
}

.cta-creative-hero__string--5 {
  left: 62%;
  height: 82%;
  animation-duration: 4.4s;
  animation-delay: -0.2s;
}

.cta-creative-hero__string--6 {
  left: 74%;
  height: 94%;
  animation-duration: 3.9s;
  animation-delay: -1.3s;
}

.cta-creative-hero__string--7 {
  left: 86%;
  height: 76%;
  animation-duration: 4.8s;
  animation-delay: -0.6s;
}

.cta-creative-hero__string--8 {
  left: 94%;
  height: 90%;
  animation-duration: 3.5s;
  animation-delay: -1.9s;
}

@keyframes cta-creative-hero__string-sway {
  0%,
  100% {
    transform: rotate(-2deg) translateX(0);
  }
  25% {
    transform: rotate(1.5deg) translateX(3px);
  }
  50% {
    transform: rotate(-1deg) translateX(-2px);
  }
  75% {
    transform: rotate(2deg) translateX(2px);
  }
}

.cta-creative-hero__wrap {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.cta-creative-hero__subtitle-track {
  letter-spacing: 0.2em;
}

.cta-creative-hero__ring {
  inset: -0.35rem -0.5rem;
  border-radius: 9999px;
}

.cta-creative-hero__marquee-track {
  overflow: hidden;
}

.cta-creative-hero__marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: cta-creative-hero__marquee 24s linear infinite;
}

@keyframes cta-creative-hero__marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cta-creative-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-creative-hero__cta:hover,
.cta-creative-hero__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-creative-hero__cta.btn:hover,
.cta-creative-hero__cta.btn:focus-visible {
  color: var(--bs-white);
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

@media (min-width: 768px) {
  .cta-creative-hero__wrap {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767px) {
  .cta-creative-hero__strings {
    bottom: 3.5rem;
  }

  .cta-creative-hero__string--0,
  .cta-creative-hero__string--8 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-creative-hero__string {
    animation: none;
    transform: none;
  }

  .cta-creative-hero__marquee-inner {
    animation: none;
  }

  .cta-creative-hero__cta:hover,
  .cta-creative-hero__cta:focus-visible {
    transform: none;
  }
}

