/* =========================================================
   ABOUT HERO
   ========================================================= */


/*--------------------------------------------------
Section Container
--------------------------------------------------*/

.about-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 7rem 0;
    color: #ffffff;
    background: #0a3857;
}

/*--------------------------------------------------
Background Pattern
--------------------------------------------------*/

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    opacity: 0.28;

    background-image:

        /* Horizontal guide lines */
        repeating-linear-gradient(
            0deg,
            rgba(244,180,0,.22) 0,
            rgba(244,180,0,.22) 1px,
            transparent 1px,
            transparent 90px
        ),

        /* Vertical guide lines */
        repeating-linear-gradient(
            90deg,
            rgba(244,180,0,.22) 0,
            rgba(244,180,0,.22) 1px,
            transparent 1px,
            transparent 90px
        );

    background-size: cover;
}

/* adding engineering to halftone */
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:

        radial-gradient(
            circle at 14% 22%,
            transparent 0,
            transparent 88px,
            rgba(244,180,0,.22) 89px,
            transparent 91px
        ),

        radial-gradient(
            circle at 78% 68%,
            transparent 0,
            transparent 120px,
            rgba(244,180,0,.18) 121px,
            transparent 123px
        ),

        radial-gradient(
            circle at 60% 20%,
            rgba(244,180,0,.11) 2px,
            transparent 3px
        );
}

/* adding halftone */
.about-hero__pattern {
    position: absolute;
    top: 8%;
    right: 6%;

    width: 220px;
    height: 220px;

    background-image:
        radial-gradient(
            rgba(244,180,0,.40) 1px,
            transparent 1px
        );

    background-size: 14px 14px;

    opacity: .55;

    pointer-events: none;
}



/*--------------------------------------------------
Layout
--------------------------------------------------*/

.about-hero__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(26rem, 0.88fr);
    gap: clamp(4rem, 8vw, 8rem);
    align-items: center;
}


/*--------------------------------------------------
Hero Content
--------------------------------------------------*/

.about-hero__content {
    position: relative;
    z-index: 2;
    max-width: 46rem;
}

.about-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.4rem;
    color: #f4b400;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.about-hero__eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 2px;
    border-radius: 99px;
    background: #f4b400;
}


/*--------------------------------------------------
Heading
--------------------------------------------------*/

.about-hero__title {
    max-width: 11ch;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.75rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.about-hero__title span {
    display: block;
    margin-top: 0.16em;
    color: #f4b400;
}


/*--------------------------------------------------
Description
--------------------------------------------------*/

.about-hero__description {
    max-width: 42rem;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.8;
}


/*--------------------------------------------------
Buttons
--------------------------------------------------*/

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.4rem;
}


/*--------------------------------------------------
Feature List
--------------------------------------------------*/

.about-hero__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.4rem;
    max-width: 34rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.about-hero__feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.93rem;
    font-weight: 600;
}

.about-hero__feature-icon {
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0a3857;
    background: #f4b400;
    font-size: 0.76rem;
    font-weight: 900;
}


/*--------------------------------------------------
Visual
--------------------------------------------------*/

.about-hero__visual {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 38rem;
    justify-self: end;
    padding:
        1.6rem
        1.6rem
        4.75rem
        0;
}


/*--------------------------------------------------
Image Frame
--------------------------------------------------*/

.about-hero__image-frame {
    position: relative;
    z-index: 2;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(244, 180, 0, 0.32);
    border-radius: 2rem;
    box-shadow:
        0 1.8rem 4rem
        rgba(0, 0, 0, 0.26);
}

.about-hero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition:
        transform 700ms
        cubic-bezier(0.22, 1, 0.36, 1);
}

.about-hero__visual:hover .about-hero__image {
    transform: scale(1.07);
}

.about-hero__image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(6, 42, 67, 0.48),
            transparent 52%
        );
}


/*--------------------------------------------------
Visual Accent
--------------------------------------------------*/

.about-hero__visual-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 64%;
    height: 64%;
    z-index: 1;
    border:
        2px solid
        rgba(244, 180, 0, 0.68);
    border-radius: 2rem;
    transform: translate(1rem, -1rem);
}


/*--------------------------------------------------
Floating Card
--------------------------------------------------*/

.about-hero__floating-card {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: min(88%, 25rem);
    padding: 1.7rem;
    border: 1px solid rgba(244, 180, 0, 0.45);
    border-radius: 1.2rem;
    color: #ffffff;
    background: #082f4a;
    box-shadow:
        0 1.4rem 3rem
        rgba(0, 0, 0, 0.28);
}

.about-hero__floating-label {
    margin: 0 0 0.65rem;
    color: #f4b400;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-hero__floating-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.about-hero__floating-line {
    width: 3.5rem;
    height: 3px;
    margin: 1rem 0;
    border-radius: 99px;
    background: #f4b400;
}

.about-hero__floating-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.7;
}


/*--------------------------------------------------
About Hero Button Overrides
(Uses global button classes)
--------------------------------------------------*/

.about-hero .button--secondary {
    color: rgba(255, 255, 255, 0.92);
    border-color: #163f5c;
    background: transparent;
}

.about-hero .button--secondary:hover {
    color: #ffffff;
    border-color: #2b5d80;
    background: rgba(255, 255, 255, 0.04);
}


/*--------------------------------------------------
Tablet
--------------------------------------------------*/

@media (max-width: 1024px) {

    .about-hero {
        min-height: auto;
        padding:
            6rem
            0;
    }

    .about-hero__layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(22rem, 0.8fr);
        gap: 3.5rem;
    }

    .about-hero__features {
        grid-template-columns: 1fr;
    }

    .about-hero__visual {
        padding-bottom: 5.5rem;
    }

}


/*--------------------------------------------------
Mobile
--------------------------------------------------*/

@media (max-width: 820px) {

    .about-hero {
        padding:
            5rem
            0
            4.5rem;
    }

    .about-hero::before {
        background-size: 48px 48px;
    }

    .about-hero__layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-hero__content {
        max-width: none;
    }

    .about-hero__title {
        max-width: 10ch;
    }

    .about-hero__description {
        max-width: 38rem;
    }

    .about-hero__features {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-hero__visual {
        width: min(100%, 34rem);
        justify-self: center;
    }

}


/*--------------------------------------------------
Small Mobile
--------------------------------------------------*/

@media (max-width: 560px) {

    .about-hero {
        padding:
            4.5rem
            0
            3.8rem;
    }

    .about-hero__eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.14em;
    }

    .about-hero__eyebrow::before {
        width: 1.8rem;
    }

    .about-hero__title {
        font-size: clamp(2.75rem, 14vw, 4.2rem);
    }

    .about-hero__description {
        margin-top: 1.5rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-hero__actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 2rem;
    }

    .about-hero__actions .btn {
    width: 100%;
    }

    .about-hero__features {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .about-hero__visual {
        padding:
            0.8rem
            0.8rem
            7.2rem
            0;
    }

    .about-hero__image-frame {
        aspect-ratio: 4 / 4.7;
        border-radius: 1.5rem;
    }

    .about-hero__visual-accent {
        transform:
            translate(
                0.65rem,
                -0.65rem
            );
        border-radius: 1.5rem;
    }

    .about-hero__floating-card {
        right: auto;
        left: 1rem;
        width:
            calc(
                100% - 1rem
            );
        padding: 1.35rem;
        border-radius: 1.1rem;
    }

}


/*--------------------------------------------------
Reduced Motion
--------------------------------------------------*/

@media (prefers-reduced-motion: reduce) {

    .about-hero__button,
    .about-hero__image {
        transition: none;
    }

    .about-hero__visual:hover
    .about-hero__image {
        transform: none;
    }

}