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

.content-prose-column {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

.content-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Bootstrap: explicit grid + gap (row gutters often collapse) */
.tips-grid__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.tips-grid__min-shrink {
    min-width: 0;
}

@media (min-width: 768px) {
    .tips-grid__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-grid__subtitle {
    max-width: 42rem;
}

.tips-grid__thumb {
    width: 3rem;
    height: 3rem;
}

.glossary-chevron {
    transition: transform 0.3s ease;
}

.glossary-item[open] .glossary-chevron {
    transform: rotate(180deg);
}

.dispatch-stack-media__frame {
    height: 12rem;
}

.dispatch-stack-media__col {
    min-width: 0;
}

/* BS-only gradient (TW uses @sem layer) */
.dispatch-stack-media__canvas-bg {
    background: linear-gradient(
        to bottom right,
        color-mix(in srgb, var(--bs-primary) 50%, black),
        color-mix(in srgb, var(--bs-primary) 38%, black),
        var(--bs-primary)
    );
}

.dark .dispatch-stack-media__canvas-bg,
[data-bs-theme="dark"] .dispatch-stack-media__canvas-bg {
    background: linear-gradient(
        to bottom right,
        color-mix(in srgb, var(--bs-primary) 10%, black),
        color-mix(in srgb, var(--bs-primary) 24%, black),
        color-mix(in srgb, var(--bs-primary) 40%, black)
    );
}

.dispatch-stack-media__svg {
    display: block;
}

.dispatch-stack-media__orb {
    transform-origin: center;
    transform-box: fill-box;
}

.dispatch-stack-media__orb--a {
    animation: dispatch-stack-media-drift-a 8s ease-in-out infinite;
}

.dispatch-stack-media__orb--b {
    animation: dispatch-stack-media-drift-b 10s ease-in-out infinite;
    animation-delay: 1s;
}

.dispatch-stack-media__wave {
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
}

.dispatch-stack-media__wave--a {
    animation: dispatch-stack-media-wave-slide 12s linear infinite;
}

.dispatch-stack-media__wave--b {
    animation: dispatch-stack-media-wave-slide 16s linear infinite reverse;
    animation-delay: 1.5s;
}

.dispatch-stack-media__stage--1 .dispatch-stack-media__orb--a {
    animation-delay: 0.6s;
}

.dispatch-stack-media__stage--1 .dispatch-stack-media__wave--a {
    animation-duration: 14s;
}

@keyframes dispatch-stack-media-drift-a {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10px, -8px) scale(1.07);
    }
}

@keyframes dispatch-stack-media-drift-b {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-12px, 6px) scale(1.05);
    }
}

@keyframes dispatch-stack-media-wave-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-36px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dispatch-stack-media__orb--a,
    .dispatch-stack-media__orb--b,
    .dispatch-stack-media__wave--a,
    .dispatch-stack-media__wave--b {
        animation: none;
    }
}

.mailing-wide-slab__center {
    max-width: 64rem;
}

