/* intro v16 — Metropolis reel: film-perforation strips, image cover, load stagger, radius morph */

/* Film-perforation edge strips: colour comes from Tailwind bg-* on the element; mask punches holes */
.intro-reel__perf {
    -webkit-mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    mask: radial-gradient(circle at center, transparent 0 0.28rem, black 0.3rem) center / 1.5rem 2.2rem;
    z-index: 1;
}

/* Background image fills the band, keeps aspect via object-fit (no BS utility) */
.intro-reel__row {
    min-height: 18rem;
    transition: border-radius 320ms ease;
    opacity: 0;
    animation: intro-reel-rise 520ms ease forwards;
}
.intro-reel__img {
    object-fit: cover;
    object-position: center;
}

/* Border-radius morph on hover */
.intro-reel__row:hover {
    border-radius: 2.25rem 0.5rem 2.25rem 0.5rem;
}

/* Stagger children — 80ms delay each on load */
.intro-reel__row:nth-child(1) { animation-delay: 0ms; }
.intro-reel__row:nth-child(2) { animation-delay: 80ms; }
.intro-reel__row:nth-child(3) { animation-delay: 160ms; }
.intro-reel__row:nth-child(4) { animation-delay: 240ms; }
.intro-reel__row:nth-child(5) { animation-delay: 320ms; }
.intro-reel__row:nth-child(6) { animation-delay: 400ms; }

@keyframes intro-reel-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-reel__row { animation: none; opacity: 1; }
}

/* Hover — поза @sem */
.services__tile--lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift {
  transition: filter 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .services__cta--lift:hover {
    transform: scale(1.05);
  }
}

.services__cta--lift:hover {
  filter: brightness(0.92);
}

/* Values v22 - Bauhaus asymmetric grid geometric accents (layout/shape only, no colors) */

/* Shared shape sizing/position; hover scale+rotate is triggered by the parent card via
   the arbitrary-variant selector hover:[&_.values-bauhaus__shape]:scale-125 / :rotate-12
   authored in component.html tw:. Renaming this class requires updating that selector too. */
.values-bauhaus__shape {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    opacity: 0.16;
    pointer-events: none;
    transition: transform 300ms ease;
}

/* featured card - large ring */
.values-bauhaus__shape--00 {
    top: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 9999px;
    border: 0.75rem solid currentColor;
    background: transparent;
    opacity: 0.12;
}

/* circle */
.values-bauhaus__shape--01 {
    border-radius: 9999px;
    background: currentColor;
}

/* triangle */
.values-bauhaus__shape--02 {
    background: currentColor;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* square rotated */
.values-bauhaus__shape--03 {
    background: currentColor;
    transform: rotate(15deg);
}

/* half circle */
.values-bauhaus__shape--04 {
    border-radius: 9999px 9999px 0 0;
    background: currentColor;
}

/* diamond */
.values-bauhaus__shape--05 {
    background: currentColor;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.rail-three-quote-split__portrait {
    width: 4rem;
    height: 4rem;
}

.rail-three-quote-split__col {
    padding-bottom: 1.5rem;
}

.rail-three-quote-split__col:last-child {
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .rail-three-quote-split__col {
        padding-bottom: 0;
    }
}

