/* ==========================================
   Pavan mascots placed around the site (About intro, Work header).
   The home hero, pinboard and table tennis card style their own.
   ========================================== */

/* About page: painting mascot beside the quick facts */
.ab-intro {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
    gap: 8px 28px;
}

.ab-intro-mascot {
    margin: 0;
}

.ab-intro-mascot img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.10));
    transform: rotate(-2deg);
    transition: transform 0.5s var(--ease-sketch);
}

.ab-intro-mascot:hover img {
    transform: rotate(2deg) translateY(-4px);
}

.ab-intro .ab-facts {
    grid-template-columns: repeat(4, 1fr); /* four milestones since Changes 1 (Oct 2026) */
}

@media (max-width: 760px) {
    .ab-intro {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .ab-intro-mascot {
        width: 150px;
    }

    .ab-intro .ab-facts {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .ab-intro .ab-facts > div {
        padding: 0 10px;
    }

    .ab-intro .ab-facts > div:nth-child(3) {
        border-left: 0;
    }

    .ab-intro .ab-facts strong {
        font-size: 1.5rem;
    }
}

/* Work page: pointing mascot next to the page title */
#startup.highlight-project-section {
    position: relative;
}

.work-mascot {
    position: absolute;
    top: -6px;
    right: 5%;
    width: 150px;
    margin: 0;
    pointer-events: none;
    z-index: 2;
}

.work-mascot img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.10));
}

@media (max-width: 900px) {
    .work-mascot {
        width: 110px;
        right: 0;
    }
}

@media (max-width: 600px) {
    .work-mascot {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ab-intro-mascot img {
        transition: none;
    }
}
