/* =========================================================
   ABOUT STORY
   ========================================================= */


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

.about-story {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    background: #ffffff;
}


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

.about-story__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);
    gap: clamp(4rem, 7vw, 7rem);
    align-items: center;
}


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

.about-story__visual {
    position: relative;
    min-height: 42rem;
}

.about-story__visual::before {
    content: "";
    position: absolute;
    top: -1.2rem;
    left: -1.2rem;
    width: 58%;
    height: 52%;
    z-index: 0;
    border: 2px solid rgba(244, 180, 0, 0.55);
    border-radius: 1.8rem;
}

.about-story__visual::after {
    content: "";
    position: absolute;
    right: -1.4rem;
    bottom: -1.4rem;
    width: 11rem;
    height: 11rem;
    z-index: 0;
    opacity: 0.45;
    background-image:
        radial-gradient(
            rgba(10, 56, 87, 0.5) 1.5px,
            transparent 1.5px
        );
    background-size: 14px 14px;
}

.about-story__image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 42rem;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 1.8rem;
    box-shadow:
        0 1.6rem 3.8rem
        rgba(10, 56, 87, 0.18);
}


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

.about-story__content {
    max-width: 44rem;
}


/*--------------------------------------------------
Eyebrow
--------------------------------------------------*/

.about-story__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.3rem;
    color: #0a3857;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

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


/*--------------------------------------------------
Title
--------------------------------------------------*/

.about-story__title {
    max-width: 13ch;
    margin: 0;
    color: #0a3857;
    font-size: clamp(2.5rem, 4.6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

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


/*--------------------------------------------------
Body Text
--------------------------------------------------*/

.about-story__text {
    margin: 1.35rem 0 0;
    color: #4c6070;
    font-size: 1rem;
    line-height: 1.85;
}

.about-story__text:first-of-type {
    margin-top: 2rem;
}


/*--------------------------------------------------
Quote
--------------------------------------------------*/

.about-story__quote {
    position: relative;
    margin: 2.2rem 0 0;
    padding: 1.5rem 1.6rem 1.5rem 1.8rem;
    border-left: 4px solid #f4b400;
    color: #0a3857;
    background: #f5f8fa;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.7;
}

.about-story__quote::before {
    content: "“";
    position: absolute;
    top: 0.4rem;
    right: 1rem;
    color: rgba(244, 180, 0, 0.18);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}


/*--------------------------------------------------
Highlights
--------------------------------------------------*/

.about-story__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.about-story__highlight {
    position: relative;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid #dfe7ec;
    border-radius: 0.9rem;
    color: #0a3857;
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    box-shadow:
        0 0.7rem 1.8rem
        rgba(10, 56, 87, 0.06);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.about-story__highlight::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0a3857;
    background: #f4b400;
    font-size: 0.68rem;
    font-weight: 900;
}

.about-story__highlight:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 180, 0, 0.6);
    box-shadow:
        0 1rem 2.2rem
        rgba(10, 56, 87, 0.1);
}


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

@media (max-width: 1024px) {

    .about-story {
        padding: 6rem 0;
    }

    .about-story__layout {
        gap: 3.5rem;
    }

    .about-story__visual,
    .about-story__image {
        min-height: 36rem;
        height: 36rem;
    }

}


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

@media (max-width: 820px) {

    .about-story {
        padding: 5rem 0;
    }

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

    .about-story__visual {
        width: min(100%, 38rem);
        min-height: auto;
        justify-self: center;
    }

    .about-story__image {
        height: 34rem;
    }

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

    .about-story__title {
        max-width: 12ch;
    }

}


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

@media (max-width: 560px) {

    .about-story {
        padding: 4rem 0;
    }

    .about-story__visual::before {
        top: -0.7rem;
        left: -0.7rem;
        border-radius: 1.3rem;
    }

    .about-story__visual::after {
        right: -0.5rem;
        bottom: -0.8rem;
        width: 8rem;
        height: 8rem;
        background-size: 12px 12px;
    }

    .about-story__image {
        height: 27rem;
        border-radius: 1.3rem;
    }

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

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

    .about-story__title {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
    }

    .about-story__text {
        font-size: 0.97rem;
        line-height: 1.75;
    }

    .about-story__quote {
        padding: 1.3rem 1.2rem 1.3rem 1.4rem;
        font-size: 1rem;
    }

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

}


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

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

    .about-story__highlight {
        transition: none;
    }

    .about-story__highlight:hover {
        transform: none;
    }

}