.hero-diag-panel {
    width: 60%;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.hero-v29-kicker {
    letter-spacing: 0.2em;
}

.hero-v29-meta {
    letter-spacing: 0.08em;
}

.hero-v29-figure {
    max-width: 20rem;
}

/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.steps-bg-timeline__card-col {
    max-width: 28rem;
}

.steps-bg-timeline__badge-circle {
    width: 4rem;
    height: 4rem;
}

.steps-bg-timeline__timeline-line {
    height: 1px;
}

/* Mobile: label stays in flow under the badge (no overlap between adjacent steps).
   From md up it detaches below the timeline line, centered on the badge. */
.steps-bg-timeline__badge-label {
    max-width: 8rem;
}

@media (min-width: 768px) {
    .steps-bg-timeline__badge-label {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 2rem;
        max-width: none;
        white-space: nowrap;
    }
}

/* process studio — services grid, CTA ring, card drift animations */
.process-studio__cta {
    width: 7.5rem;
    height: 7.5rem;
    line-height: 1.25;
    padding: 1rem;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.process-studio__cta:hover {
    transform: scale(1.04);
}

.process-studio__card-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.process-studio__drift {
    animation: process-studio-drift 4.5s ease-in-out infinite;
}

.process-studio__drift--a {
    animation-delay: 0s;
}

.process-studio__drift--b {
    animation-delay: 0.5s;
}

.process-studio__drift--c {
    animation-delay: 1s;
}

.process-studio__card--1 .process-studio__drift {
    animation-duration: 4.5s;
}

.process-studio__card--2 .process-studio__drift {
    animation-duration: 5s;
}

.process-studio__card--3 .process-studio__drift {
    animation-duration: 4s;
}

.process-studio__card--4 .process-studio__drift {
    animation-duration: 5.5s;
}

.process-studio__card--5 .process-studio__drift {
    animation-duration: 4.2s;
}

.process-studio__card--6 .process-studio__drift {
    animation-duration: 4.8s;
}

@keyframes process-studio-drift {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.2rem);
    }
}

@media (min-width: 768px) {
    .process-studio__cta {
        width: 8.5rem;
        height: 8.5rem;
    }
}

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

    .process-studio__cta:hover {
        transform: none;
    }
}

/* content stride — alternating paragraph inset (no surfaces) */
.content-stride__para--odd {
    padding-inline-start: 0;
}

@media (min-width: 768px) {
    .content-stride__para--even {
        padding-inline-start: 2rem;
    }
}

