/*
|--------------------------------------------------------------------------
| MKGO - About Page
|--------------------------------------------------------------------------
|
| File:
| /assets/css/pages/about.css
|
| Used by:
|
| /pages/about.php
|
*/


/*
|--------------------------------------------------------------------------
| About Main
|--------------------------------------------------------------------------
*/

.about-main {
    width: 100%;

    overflow: hidden;

    background: #ffffff;
}


/*
|--------------------------------------------------------------------------
| About Hero
|--------------------------------------------------------------------------
*/

.about-hero {
    position: relative;

    padding:
        88px
        0
        82px;

    border-bottom:
        1px solid
        #e2e8f0;

    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );
}


.about-hero::before {
    content: "";

    position: absolute;

    top: -160px;
    right: -160px;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(15, 23, 42, 0.05) 0%,
            rgba(15, 23, 42, 0) 70%
        );

    pointer-events: none;
}


.about-hero
.site-container {
    position: relative;

    z-index: 1;
}


.about-hero
.page-hero-content {
    width: 100%;
    max-width: 820px;
}


.about-hero
.page-eyebrow {
    margin-bottom: 16px;
}


.about-hero h1 {
    max-width: 800px;

    margin: 0;

    color: #0f172a;

    font-size:
        clamp(
            2.7rem,
            6vw,
            5rem
        );

    font-weight: 850;

    line-height: 1.02;

    letter-spacing: -0.055em;
}


.about-hero
.page-hero-description {
    max-width: 680px;

    margin:
        24px
        0
        0;

    color: #64748b;

    font-size: 1.08rem;

    line-height: 1.75;
}


.about-hero
.page-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


/*
|--------------------------------------------------------------------------
| Shared About Sections
|--------------------------------------------------------------------------
*/

.about-main
.content-section {
    position: relative;

    padding:
        84px
        0;

    background: #ffffff;
}


.about-main
.content-section-alt {
    background: #f8fafc;
}


/*
|--------------------------------------------------------------------------
| Section Heading
|--------------------------------------------------------------------------
*/

.about-main
.section-heading {
    width: 100%;
    max-width: 760px;

    margin-bottom: 42px;
}


.about-main
.section-heading
.page-eyebrow {
    margin-bottom: 12px;
}


.about-main
.section-heading h2 {
    max-width: 700px;

    margin:
        0
        0
        16px;

    color: #0f172a;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -0.04em;
}


.about-main
.section-heading > p:not(.page-eyebrow) {
    max-width: 680px;

    margin: 0;

    color: #64748b;

    font-size: 1rem;

    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Content Grid
|--------------------------------------------------------------------------
*/

.about-main
.content-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}


/*
|--------------------------------------------------------------------------
| Content Cards
|--------------------------------------------------------------------------
*/

.about-main
.content-card {
    position: relative;

    min-width: 0;

    padding: 28px;

    border:
        1px solid
        #e2e8f0;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 30px
        rgba(15, 23, 42, 0.035);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.about-main
.content-card:hover {
    transform: translateY(-3px);

    border-color: #cbd5e1;

    box-shadow:
        0 16px 38px
        rgba(15, 23, 42, 0.07);
}


.about-main
.content-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 30px;

    margin-bottom: 22px;

    padding:
        0
        9px;

    border-radius: 8px;

    background: #f1f5f9;

    color: #64748b;

    font-size: 0.72rem;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.08em;
}


.about-main
.content-card h3 {
    margin:
        0
        0
        10px;

    color: #0f172a;

    font-size: 1.08rem;
    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -0.015em;
}


.about-main
.content-card p {
    margin: 0;

    color: #64748b;

    font-size: 0.91rem;

    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| Split Layout
|--------------------------------------------------------------------------
*/

.about-main
.content-split {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(340px, 0.85fr);

    align-items: start;

    gap: 72px;
}


.about-main
.content-split-main {
    min-width: 0;
}


.about-main
.content-split-main
.page-eyebrow {
    margin-bottom: 12px;
}


.about-main
.content-split-main h2 {
    max-width: 620px;

    margin:
        0
        0
        18px;

    color: #0f172a;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -0.04em;
}


.about-main
.content-split-main > p:not(.page-eyebrow) {
    max-width: 660px;

    margin:
        0
        0
        17px;

    color: #64748b;

    font-size: 0.96rem;

    line-height: 1.78;
}


.about-main
.content-split-main
.site-text-link {
    margin-top: 6px;
}


/*
|--------------------------------------------------------------------------
| Split Side
|--------------------------------------------------------------------------
*/

.about-main
.content-split-side {
    min-width: 0;
}


/*
|--------------------------------------------------------------------------
| Feature List
|--------------------------------------------------------------------------
*/

.about-main
.feature-list {
    display: grid;

    gap: 12px;
}


.about-main
.feature-list-item {
    display: grid;

    grid-template-columns:
        34px
        minmax(0, 1fr);

    align-items: start;

    gap: 13px;

    padding: 17px;

    border:
        1px solid
        #e2e8f0;

    border-radius: 13px;

    background: #ffffff;

    transition:
        border-color 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


.about-main
.feature-list-item:hover {
    transform: translateY(-1px);

    border-color: #cbd5e1;

    box-shadow:
        0 8px 24px
        rgba(15, 23, 42, 0.04);
}


.about-main
.feature-list-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 9px;

    background: #0f172a;

    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 800;

    line-height: 1;
}


.about-main
.feature-list-item strong {
    display: block;

    margin-bottom: 4px;

    color: #0f172a;

    font-size: 0.9rem;
    font-weight: 800;

    line-height: 1.4;
}


.about-main
.feature-list-item p {
    margin: 0;

    color: #64748b;

    font-size: 0.82rem;

    line-height: 1.6;
}


/*
|--------------------------------------------------------------------------
| Page Actions
|--------------------------------------------------------------------------
*/

.about-main
.page-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 27px;
}


/*
|--------------------------------------------------------------------------
| Driver Highlight
|--------------------------------------------------------------------------
*/

.about-main
.content-highlight {
    position: relative;

    min-width: 0;

    padding: 30px;

    border:
        1px solid
        #e2e8f0;

    border-radius: 18px;

    background: #f8fafc;
}


.about-main
.content-highlight::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    border-radius:
        18px
        0
        0
        18px;

    background: #0f172a;
}


.about-main
.content-highlight
.page-eyebrow {
    margin-bottom: 12px;
}


.about-main
.content-highlight h3 {
    margin:
        0
        0
        15px;

    color: #0f172a;

    font-size: 1.3rem;
    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -0.025em;
}


.about-main
.content-highlight p {
    margin:
        0
        0
        14px;

    color: #64748b;

    font-size: 0.9rem;

    line-height: 1.7;
}


.about-main
.content-highlight p:last-child {
    margin-bottom: 0;
}


/*
|--------------------------------------------------------------------------
| Company Section
|--------------------------------------------------------------------------
*/

.about-main
.company-section {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    align-items: start;

    gap: 70px;
}


.about-main
.company-section h2 {
    max-width: 500px;

    margin: 0;

    color: #0f172a;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.12;

    letter-spacing: -0.04em;
}


.about-main
.company-section p {
    margin:
        0
        0
        17px;

    color: #64748b;

    font-size: 0.96rem;

    line-height: 1.78;
}


.about-main
.company-section p:last-child {
    margin-bottom: 0;
}


/*
|--------------------------------------------------------------------------
| Final CTA
|--------------------------------------------------------------------------
*/

.about-main
.page-cta {
    padding:
        76px
        0;

    background: #0f172a;

    color: #ffffff;
}


.about-main
.page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 48px;
}


.about-main
.page-cta
.page-eyebrow {
    color: #94a3b8;
}


.about-main
.page-cta h2 {
    margin:
        8px
        0
        10px;

    color: #ffffff;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -0.04em;
}


.about-main
.page-cta p {
    max-width: 620px;

    margin: 0;

    color: #cbd5e1;

    line-height: 1.7;
}


.about-main
.page-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    flex:
        0
        0
        auto;

    gap: 12px;
}


/*
|--------------------------------------------------------------------------
| CTA Button Overrides
|--------------------------------------------------------------------------
*/

.about-main
.page-cta
.site-primary-button {
    border-color: #ffffff;

    background: #ffffff;

    color: #0f172a;
}


.about-main
.page-cta
.site-primary-button:hover {
    border-color: #f1f5f9;

    background: #f1f5f9;

    color: #0f172a;
}


.about-main
.page-cta
.site-secondary-button {
    border-color: #475569;

    background: transparent;

    color: #ffffff;
}


.about-main
.page-cta
.site-secondary-button:hover {
    border-color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Reveal Animation
|--------------------------------------------------------------------------
|
| about.js adds .about-reveal-ready to <html>.
|
| This ensures content stays visible if JavaScript is disabled.
|
*/

.about-reveal-ready
.about-main
[data-about-reveal] {
    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}


.about-reveal-ready
.about-main
[data-about-reveal].is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 992px) {

    .about-hero {
        padding:
            70px
            0
            64px;
    }


    .about-main
    .content-section {
        padding:
            68px
            0;
    }


    .about-main
    .content-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .about-main
    .content-grid
    .content-card:last-child:nth-child(odd) {
        grid-column:
            1
            / -1;
    }


    .about-main
    .content-split {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .about-main
    .company-section {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .about-main
    .page-cta-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 28px;
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {

    .about-hero {
        padding:
            52px
            0
            48px;
    }


    .about-hero h1 {
        font-size:
            clamp(
                2.35rem,
                12vw,
                3.3rem
            );
    }


    .about-hero
    .page-hero-description {
        margin-top: 18px;

        font-size: 0.96rem;
    }


    .about-hero
    .page-hero-actions {
        align-items: stretch;
        flex-direction: column;

        margin-top: 25px;
    }


    .about-hero
    .page-hero-actions
    .site-primary-button,
    .about-hero
    .page-hero-actions
    .site-secondary-button {
        width: 100%;
    }


    .about-main
    .content-section {
        padding:
            52px
            0;
    }


    .about-main
    .section-heading {
        margin-bottom: 30px;
    }


    .about-main
    .section-heading h2,
    .about-main
    .content-split-main h2,
    .about-main
    .company-section h2 {
        font-size: 1.85rem;
    }


    .about-main
    .content-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .about-main
    .content-grid
    .content-card:last-child:nth-child(odd) {
        grid-column: auto;
    }


    .about-main
    .content-card {
        padding: 23px;
    }


    .about-main
    .content-split {
        gap: 30px;
    }


    .about-main
    .feature-list-item {
        padding: 15px;
    }


    .about-main
    .content-highlight {
        padding:
            25px
            22px;
    }


    .about-main
    .page-actions {
        align-items: stretch;
        flex-direction: column;
    }


    .about-main
    .page-actions
    .site-primary-button,
    .about-main
    .page-actions
    .site-secondary-button {
        width: 100%;
    }


    .about-main
    .page-cta {
        padding:
            55px
            0;
    }


    .about-main
    .page-cta-actions {
        align-items: stretch;
        flex-direction: column;

        width: 100%;
    }


    .about-main
    .page-cta-actions
    .site-primary-button,
    .about-main
    .page-cta-actions
    .site-secondary-button {
        width: 100%;
    }

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 420px) {

    .about-main
    .content-card {
        padding:
            21px
            18px;
    }


    .about-main
    .content-highlight {
        padding:
            23px
            19px;
    }


    .about-main
    .feature-list-item {
        grid-template-columns:
            30px
            minmax(0, 1fr);

        gap: 11px;

        padding:
            14px
            13px;
    }


    .about-main
    .feature-list-marker {
        width: 29px;
        height: 29px;
    }

}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

    .about-main
    .content-card,

    .about-main
    .feature-list-item,

    .about-reveal-ready
    .about-main
    [data-about-reveal] {
        transition: none;

        transform: none;
    }


    .about-reveal-ready
    .about-main
    [data-about-reveal] {
        opacity: 1;
    }

}