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


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

/* v23 polaroid — fixed image height (object-fit: no BS util) */
.perks-polaroid__img {
    object-fit: cover;
    height: 9rem;
    display: block;
}

/* slight rotation for polaroid feel */
.perks-polaroid__card:nth-child(odd) {
    transform: rotate(-0.8deg);
}

.perks-polaroid__card:nth-child(even) {
    transform: rotate(0.6deg);
}

.perks-polaroid__card:hover {
    transform: rotate(0deg) scale(1.02);
    transition: transform 0.25s ease;
}

.perks-polaroid__card {
    transition: transform 0.25s ease;
}

/* blob animation */
.perks-polaroid__blob--a {
    animation: perks-polaroid-bob 8s ease-in-out infinite;
}

.perks-polaroid__blob--b {
    animation: perks-polaroid-bob 10s ease-in-out infinite reverse;
}

@keyframes perks-polaroid-bob {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(1rem, -1.5rem); }
}

/* contact-glass — background image needs object-fit (no BS util) */
.contact-glass__bg-img {
    object-fit: cover;
}

/* contact-glass — frosted glass effect via backdrop-filter (no TW/BS equiv for BS builds) */
.contact-glass__panel {
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
}

