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

/* process diagonal — bg blob, card clip-path variants, hover lift */
.process-diag__bg-blob {
    position: absolute;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    filter: blur(6rem);
    opacity: 0.05;
    pointer-events: none;
    top: -10rem;
    left: 30%;
    background: var(--bs-primary);
}
.process-diag__card {
    transition: transform 200ms ease;
}
.process-diag__card:hover {
    transform: scale(1.01);
}
.process-diag__card--0 {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}
.process-diag__card--1 {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
}
.process-diag__watermark {
    z-index: 0;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
}

/* v26 - shared grid layout (works identically under Tailwind and Bootstrap; avoids
   mixing Bootstrap row/col gutters with a CSS gap on the same node) */
.schema-sheet__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .schema-sheet__layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .schema-sheet__layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* v26 - blueprint grid-line background + corner ticks (currentColor keeps it theme-safe) */
.steps-blueprint__grid {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 1;
}

[data-blueprint-panel]::before,
[data-blueprint-panel]::after {
    content: "";
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
}

[data-blueprint-panel]::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid;
    border-left: 2px solid;
}

[data-blueprint-panel]::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.content-quote-panel__slash {
    transform: rotate(45deg);
}

.tips-numbered__card {
    max-width: 24rem;
}

.tips-numbered__thumb {
    width: 4rem;
    height: 4rem;
}

