/*
=======================================================================
 ASCARS - COMPANY

 Page-specific presentation only.
 Core ASCARS header / footer / typography remain untouched.
=======================================================================
*/

.company-page {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(3, 9, 16, .72),
            rgba(3, 9, 16, .94)
        ),
        url("/assets/img/home-bg.png")
        center top / cover fixed;
}


.company-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


.company-eyebrow {
    margin-bottom: 16px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .18em;
    text-transform: uppercase;

    opacity: .55;
}


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

.company-hero {
    min-height: 690px;

    display: flex;
    align-items: center;

    padding: 80px 0 75px;
}


.company-hero-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(400px, .92fr);

    gap: 80px;

    align-items: center;
}


.company-hero-copy {
    max-width: 680px;
}


.company-hero h1 {
    margin: 0;

    font-size: clamp(54px, 6.2vw, 86px);
    line-height: .93;

    letter-spacing: -.055em;
}


.company-lead {
    margin: 30px 0 0;

    max-width: 650px;

    font-size: clamp(21px, 2.2vw, 29px);
    line-height: 1.35;
}


.company-description {
    margin: 18px 0 0;

    max-width: 650px;

    font-size: 16px;
    line-height: 1.75;

    opacity: .72;
}


.company-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 31px;
}


.company-button {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 21px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease;
}


.company-button:hover {
    transform: translateY(-1px);
}


.company-button-primary {
    background: #fff;
    color: #111820;
}


.company-button-secondary {
    border: 1px solid rgba(255,255,255,.24);

    background: rgba(255,255,255,.045);

    color: inherit;
}


/*
=======================================================================
 HERO PANEL
=======================================================================
*/

.company-panel {
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;

    background: rgba(4, 10, 17, .88);

    box-shadow:
        0 32px 80px rgba(0,0,0,.40);

    backdrop-filter: blur(13px);
}


.company-panel-top {
    min-height: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 18px;

    border-bottom: 1px solid rgba(255,255,255,.08);

    background: rgba(255,255,255,.025);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .10em;

    opacity: .72;
}


.company-panel-body {
    padding: 10px 22px;
}


.company-panel-row {
    min-height: 66px;

    display: grid;

    grid-template-columns:
        34px
        150px
        1fr;

    gap: 16px;

    align-items: center;

    border-bottom: 1px solid rgba(255,255,255,.06);
}


.company-panel-row:last-child {
    border-bottom: 0;
}


.company-panel-row span {
    font-size: 9px;
    font-weight: 800;

    opacity: .30;
}


.company-panel-row strong {
    font-size: 14px;
}


.company-panel-row small {
    font-size: 11px;
    line-height: 1.5;

    opacity: .48;
}


/*
=======================================================================
 SECTIONS
=======================================================================
*/

.company-section {
    padding: 105px 0;

    border-top: 1px solid rgba(255,255,255,.06);
}


.company-heading {
    max-width: 790px;

    margin-bottom: 52px;
}


.company-heading h2,
.company-approach-layout h2,
.company-final h2 {
    margin: 0;

    font-size: clamp(34px, 4vw, 53px);
    line-height: 1.08;

    letter-spacing: -.035em;
}


.company-heading p,
.company-section-copy {
    margin: 19px 0 0;

    max-width: 680px;

    font-size: 16px;
    line-height: 1.75;

    opacity: .68;
}


/*
=======================================================================
 WHAT WE BUILD
=======================================================================
*/

.company-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}


.company-card {
    min-height: 245px;

    display: flex;
    flex-direction: column;

    padding: 25px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;

    background: rgba(255,255,255,.035);
}


.company-card > span {
    margin-bottom: auto;

    font-size: 10px;
    font-weight: 800;

    opacity: .30;
}


.company-card strong {
    margin: 35px 0 10px;

    font-size: 20px;
}


.company-card p {
    margin: 0;

    font-size: 13px;
    line-height: 1.65;

    opacity: .58;
}


/*
=======================================================================
 APPROACH
=======================================================================
*/

.company-approach-section {
    background: rgba(0,0,0,.18);
}


.company-approach-layout {
    display: grid;

    grid-template-columns: 1fr 470px;

    gap: 85px;

    align-items: center;
}


.company-principles > div {
    min-height: 54px;

    display: flex;
    align-items: center;

    gap: 18px;

    border-bottom: 1px solid rgba(255,255,255,.065);
}


.company-principles span {
    width: 28px;

    font-size: 9px;
    font-weight: 800;

    opacity: .28;
}


.company-principles strong {
    font-size: 14px;
}


/*
=======================================================================
 PLATFORM AREAS
=======================================================================
*/

.company-area-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}


.company-area-grid a {
    min-height: 175px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;

    background: rgba(255,255,255,.035);

    color: inherit;

    text-decoration: none;

    transition:
        transform .16s ease,
        background .16s ease,
        border-color .16s ease;
}


.company-area-grid a:hover {
    transform: translateY(-2px);

    border-color: rgba(255,255,255,.18);

    background: rgba(255,255,255,.06);
}


.company-area-grid span {
    margin-bottom: auto;

    font-size: 9px;
    font-weight: 800;

    opacity: .30;
}


.company-area-grid strong {
    margin-top: 28px;

    font-size: 17px;
}


.company-area-grid small {
    margin-top: 5px;

    font-size: 11px;

    opacity: .48;
}


/*
=======================================================================
 FINAL
=======================================================================
*/

.company-final {
    padding: 20px 0 110px;
}


.company-final-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;

    padding: 47px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;

    background: rgba(255,255,255,.055);

    backdrop-filter: blur(7px);
}


.company-final-panel .company-actions {
    flex-shrink: 0;

    margin-top: 0;
}


/*
=======================================================================
 RESPONSIVE
=======================================================================
*/

@media (max-width: 1020px) {

    .company-hero-layout,
    .company-approach-layout {
        grid-template-columns: 1fr;
    }

    .company-panel {
        max-width: 720px;
    }

    .company-grid,
    .company-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 760px) {

    .company-shell {
        width: min(100% - 28px, 1180px);
    }

    .company-hero {
        min-height: auto;

        padding: 60px 0;
    }

    .company-section {
        padding: 72px 0;
    }

    .company-final-panel {
        display: block;
    }

    .company-final-panel .company-actions {
        margin-top: 30px;
    }

    .company-panel-row {
        grid-template-columns: 28px 120px 1fr;

        gap: 10px;
    }
}


@media (max-width: 560px) {

    .company-grid,
    .company-area-grid {
        grid-template-columns: 1fr;
    }

    .company-panel-row {
        grid-template-columns: 30px 1fr;
    }

    .company-panel-row small {
        grid-column: 2;
    }
}
