/* intro v22 — Lavazza brutalist: blueprint grid, aurora sweep, outlined heading, progressive stagger */

/* Blueprint engineering-paper grid (colour from Tailwind text-*, lines via currentColor) */
.intro-blue__grid {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
    opacity: 0.16;
}

/* Aurora wave sweep horizontal */
.intro-blue__aurora {
    background-size: 200% 100%;
    opacity: 0.3;
    animation: intro-blue-aurora 7s ease-in-out infinite;
}
@keyframes intro-blue-aurora {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 0%; }
}

/* Text-stroke outlined heading (hollow fill, stroke = the element's Tailwind colour) */
.intro-blue__title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px currentColor;
    text-stroke: 2px currentColor;
    letter-spacing: -0.02em;
}

/* Progressive stagger reveal — pure CSS on the reliable [data-lane-item] attribute; always ends visible */
@keyframes intro-blue-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-blue [data-lane-item] { animation: intro-blue-rise 500ms ease both; }
.intro-blue [data-lane-item]:nth-child(2) { animation-delay: 120ms; }
.intro-blue [data-lane-item]:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .intro-blue__aurora { animation: none; }
    .intro-blue [data-lane-item] { animation: none; }
}

/* sticky intro + hover CTA / links */
.services__intro {
  align-self: flex-start;
}

@media (min-width: 992px) {
  .services__intro {
    position: sticky;
    top: 6rem;
    z-index: 2;
  }
}

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

.services__hero-cta--lift:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.services__link--lift {
  transition: filter 0.2s ease;
}

.services__link--lift:hover {
  filter: brightness(1.12);
}

/* v18 - editorial drop-cap paragraph (no BS/TW utility for ::first-letter) */
.steps-editorial-dropcap__desc::first-letter {
    float: left;
    font-family: inherit;
    font-size: 3.25rem;
    line-height: 1;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    font-weight: 700;
}

/* process film — card image fit */
.process-film__img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.process-film__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* process film — full-section animated primary blur */
.process-film__blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.process-film__blur--a {
    width: 75%;
    height: 85%;
    top: -25%;
    left: -20%;
    animation: process-film-blur-drift-a 10s ease-in-out infinite;
}

.process-film__blur--b {
    width: 70%;
    height: 80%;
    top: 0;
    right: -25%;
    animation: process-film-blur-drift-b 12s ease-in-out infinite;
}

.process-film__blur--c {
    width: 80%;
    height: 90%;
    bottom: -30%;
    left: 5%;
    animation: process-film-blur-drift-c 14s ease-in-out infinite;
}

.process-film__blur--d {
    width: 65%;
    height: 75%;
    top: 25%;
    left: 25%;
    animation: process-film-blur-drift-d 11s ease-in-out infinite;
}

.process-film__blur--delay {
    animation-delay: 2.5s;
}

@keyframes process-film-blur-drift-a {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.75;
    }

    50% {
        transform: translate(8%, 6%) scale(1.08);
        opacity: 1;
    }
}

@keyframes process-film-blur-drift-b {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-6%, 8%) scale(1.06);
        opacity: 0.95;
    }
}

@keyframes process-film-blur-drift-c {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    50% {
        transform: translate(5%, -6%) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes process-film-blur-drift-d {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-4%, 5%) scale(1.07);
        opacity: 0.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-film__blur {
        animation: none;
    }
}

.content-img-ratio {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.document-folio__photo--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.document-folio__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.content-heading-gap {
    margin-bottom: 2rem;
}

.staircase-cascade-quote__portrait {
    width: 5rem;
    height: 5rem;
}

.staircase-cascade-quote__step:nth-child(1) .staircase-cascade-quote__shadow {
    transform: translate(0, 0);
}

.staircase-cascade-quote__step:nth-child(2) .staircase-cascade-quote__shadow {
    transform: translate(16px, 16px);
}

.staircase-cascade-quote__step:nth-child(3) .staircase-cascade-quote__shadow {
    transform: translate(32px, 32px);
}

.staircase-cascade-quote__step:nth-child(4) .staircase-cascade-quote__shadow {
    transform: translate(48px, 48px);
}

.staircase-cascade-quote__step:nth-child(5) .staircase-cascade-quote__shadow {
    transform: translate(64px, 64px);
}

.staircase-cascade-quote__step:nth-child(6) .staircase-cascade-quote__shadow {
    transform: translate(80px, 80px);
}

.staircase-cascade-quote__step:nth-child(n + 7) .staircase-cascade-quote__shadow {
    transform: translate(96px, 96px);
}

/* cta waves — SVG wave scroll (colors via currentColor in Blade) */
.cta-waves__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-waves__track {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 46%;
  display: flex;
  flex-direction: row;
  animation: cta-waves-flow 24s linear infinite;
  will-change: transform;
}

.cta-waves__track--front {
  bottom: 6%;
  height: 34%;
  animation-duration: 17s;
  animation-delay: -6s;
}

.cta-waves__svg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}

@keyframes cta-waves-flow {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-waves__track {
    animation: none;
    transform: translateX(-25%);
  }
}

