/* 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; }
}

/* process polaroid — card rotation, frame aspect ratio, image fit */
.process-pol__card {
    transition: transform 200ms ease;
}
.process-pol__card--0 { transform: rotate(-2deg); }
.process-pol__card--1 { transform: rotate(1.5deg); }
.process-pol__card--2 { transform: rotate(-1deg); }
.process-pol__card--3 { transform: rotate(2.5deg); }
.process-pol__card--4 { transform: rotate(-1.5deg); }
.process-pol__card--5 { transform: rotate(2deg); }
.process-pol__card:hover {
    transform: rotate(0deg) scale(1.03);
    z-index: 1;
}
.process-pol__frame {
    aspect-ratio: 1;
    overflow: hidden;
}
.process-pol__img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* v22 - orbit hub board (grid-template-areas has no Tailwind/BS utility) */
[data-orbit-board] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "a" "b" "c" "d";
    gap: 1.5rem;
    align-items: center;
}

.steps-orbit-hub__hub {
    grid-area: hub;
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
}

.radial-hub__badge {
    width: 3rem;
    height: 3rem;
}

[data-orbit-slot="0"] {
    grid-area: a;
}

[data-orbit-slot="1"] {
    grid-area: b;
}

[data-orbit-slot="2"] {
    grid-area: c;
}

[data-orbit-slot="3"] {
    grid-area: d;
}

@media (min-width: 768px) {
    [data-orbit-board] {
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas:
            "a hub b"
            "c hub d";
    }
}

