/* =========================================================
   DESIGNALOT LOGO IMAGE INTEGRATION
========================================================= */


/* =========================================================
   NAVBAR LOGO
========================================================= */

.da-logo--image {
    width: 180px;
    max-width: calc(100vw - 140px);
    padding: 0;

    display: flex;
    align-items: center;
    flex-shrink: 0;

    letter-spacing: normal;
    text-shadow: none;
}

.da-logo__image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 8px
            rgba(224, 32, 36, 0.18)
        );

    transition:
        transform var(--da-transition),
        filter var(--da-transition);
}

.da-logo--image:hover .da-logo__image {
    transform: translateY(-1px);

    filter:
        drop-shadow(
            0 0 12px
            rgba(224, 32, 36, 0.32)
        );
}


/* =========================================================
   HERO ARTWORK
========================================================= */

.da-hero-art {
    position: relative;

    width: min(100%, 650px);

    display: grid;
    place-items: center;

    justify-self: end;
}

.da-hero-art__image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 24px
            rgba(224, 32, 36, 0.22)
        )
        drop-shadow(
            0 22px 45px
            rgba(0, 0, 0, 0.55)
        );
}


/* =========================================================
   HIDE FORMER CSS-BUILT PHOENIX
========================================================= */

.da-hero-mark,
.da-hero-mark__rings,
.da-hero-mark__bird,
.da-hero-mark__flare {
    display: none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .da-logo--image {
        width: 160px;
        max-width: calc(100vw - 120px);
    }

    .da-hero-art {
        width: min(78vw, 560px);
        justify-self: center;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .da-logo--image {
        width: 140px;
        max-width: calc(100vw - 100px);
    }

    .da-hero-art {
        width: min(92vw, 470px);
    }
}

/* =========================================================
   NAVBAR CHECK-ENGINE HOVER INDICATOR
========================================================= */

.da-logo--image {
    overflow: visible;
    gap: 12px;
}

.da-check-engine {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;

    width: 48px;
    height: 38px;

    display: grid;
    place-items: center;

    color: #ffad32;

    opacity: 0;
    visibility: hidden;
    transform: translate(-8px, -50%) scale(0.78);

    filter:
        drop-shadow(0 0 3px rgba(255, 174, 45, 0.86))
        drop-shadow(0 0 12px rgba(255, 126, 17, 0.38));

    transition:
        opacity 180ms ease-out,
        visibility 180ms ease-out,
        transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 220ms ease-out;
}

.da-check-engine svg {
    position: absolute;
    inset: 0 0 auto;
    width: 48px;
    height: 33px;
    overflow: visible;
}

.da-check-engine svg path {
    fill: currentColor;
}

.da-check-engine svg .da-check-engine__cutout {
    fill: #111114;
}

.da-check-engine svg .da-check-engine__lines {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
}

.da-check-engine__label {
    position: absolute;
    bottom: 0;

    color: #ffc45f;

    font-size: 0.43rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;

    text-shadow: 0 0 7px rgba(255, 158, 34, 0.72);
}

.da-logo--image:hover .da-check-engine,
.da-logo--image:focus-visible .da-check-engine {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%) scale(1);

    filter:
        drop-shadow(0 0 4px rgba(255, 205, 104, 0.96))
        drop-shadow(0 0 13px rgba(255, 147, 27, 0.78))
        drop-shadow(0 0 27px rgba(255, 112, 0, 0.36));

    animation: da-check-engine-flicker 420ms ease-out 1;
}

@keyframes da-check-engine-flicker {
    0%, 22% {
        opacity: 0.2;
    }

    35% {
        opacity: 1;
    }

    48% {
        opacity: 0.42;
    }

    65%, 100% {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .da-check-engine {
        left: calc(100% + 8px);
        width: 42px;
        transform: translate(-6px, -50%) scale(0.74);
    }

    .da-check-engine svg {
        width: 42px;
    }
}

@media (max-width: 600px) {
    /* Keep the compact mobile navbar clear for the hamburger control. */
    .da-check-engine {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .da-logo--image:hover .da-check-engine,
    .da-logo--image:focus-visible .da-check-engine {
        animation: none;
    }
}

/* =========================================================
   HERO PHOENIX — CENTER WITH HAMBURGER BREAKPOINT
========================================================= */

/*
   The hamburger navigation begins at 1080px. Center the hero
   artwork at that exact same breakpoint so there is no tablet
   range where the phoenix still inherits desktop alignment.
*/
@media (max-width: 1080px) {

    .da-hero-art {
        width: min(78vw, 560px);

        justify-self: center !important;
        align-self: center;

        margin-left: auto !important;
        margin-right: auto !important;

        transform: none !important;
    }

    .da-hero-art__image {
        display: block;

        width: 100%;
        height: auto;

        margin-left: auto;
        margin-right: auto;
    }
}

