/* intro v22 — Lavazza brutalist: blueprint grid, aurora sweep, outlined heading, progressive stagger */

/* Blueprint engineering-paper grid (colour from Tailwind text-*, lines via currentColor) */
.intro-blue__grid {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
    opacity: 0.16;
}

/* Aurora wave sweep horizontal */
.intro-blue__aurora {
    background-size: 200% 100%;
    opacity: 0.3;
    animation: intro-blue-aurora 7s ease-in-out infinite;
}
@keyframes intro-blue-aurora {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 0%; }
}

/* Text-stroke outlined heading (hollow fill, stroke = the element's Tailwind colour) */
.intro-blue__title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px currentColor;
    text-stroke: 2px currentColor;
    letter-spacing: -0.02em;
}

/* Progressive stagger reveal — pure CSS on the reliable [data-lane-item] attribute; always ends visible */
@keyframes intro-blue-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-blue [data-lane-item] { animation: intro-blue-rise 500ms ease both; }
.intro-blue [data-lane-item]:nth-child(2) { animation-delay: 120ms; }
.intro-blue [data-lane-item]:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .intro-blue__aurora { animation: none; }
    .intro-blue [data-lane-item] { animation: none; }
}

/* Grid + gap: @sem may obfuscate Tailwind grid/gap */
.rotating-badge-grid {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
}

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

@media (min-width: 1024px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .rotating-badge-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Badge: w-12 = 3rem — lift above card (bs had top-0) */
.philosophy-v4-badge-decor {
    top: -2.25rem;
}

.philosophy-rotate-badge {
    width: 3rem;
    height: 3rem;
}

.philosophy-bg__img {
    object-fit: cover;
}

/* advantages mosaic — bento layout + feature image cover + decorative shapes (layout only, no colors) */

/* decor sizes/positions live here so they render in Bootstrap too (BS has no w-N/h-N/inset utilities) */
.advantages-mosaic__ring {
    width: 16rem;
    height: 16rem;
    top: -4rem;
    right: -4rem;
}

.advantages-mosaic__shape {
    width: 12rem;
    height: 12rem;
    bottom: -5rem;
    left: -2.5rem;
    transform: rotate(45deg);
}

.advantages-mosaic {
    grid-template-columns: 1fr;
}

.advantages-mosaic__img {
    object-fit: cover;
}

@media (min-width: 768px) {
    .advantages-mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(11rem, 1fr);
        grid-auto-flow: row dense;
    }

    /* tall image feature tile fills the left column across two rows */
    .advantages-mosaic__cell--feature {
        grid-column: span 1;
        grid-row: span 2;
    }
}

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

.tips-financial__thumb {
    width: 2.5rem;
    height: 2.5rem;
}

