/* =========================================================
   ABOUT PAGE — BRIEF HIGHLIGHTS
========================================================= */

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


/* Subtle structural line */

.about-highlights::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(92%, 86rem);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(10, 56, 87, 0.18),
        transparent
    );
    transform: translateX(-50%);
}

.about-highlights::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -10rem;
    width: 25rem;
    height: 25rem;
    border: 1px solid rgba(10, 56, 87, 0.06);
    transform: rotate(45deg);
    pointer-events: none;
}

.about-highlights .container {
    position: relative;
    z-index: 1;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.about-highlights__layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.75fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.about-highlights__header {
    max-width: 28rem;
}

.about-highlights__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.15rem;
    color: #c58f00;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.about-highlights__eyebrow::before {
    content: "";
    width: 2.5rem;
    height: 2px;
    background: #f4b400;
}

.about-highlights__title {
    margin: 0;
    color: #0a3857;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.about-highlights__title span {
    display: block;
    color: #f4b400;
}

.about-highlights__intro {
    margin: 1.5rem 0 0;
    color: #5d6d78;
    font-size: 1rem;
    line-height: 1.85;
}


/* =========================================================
   HIGHLIGHT GRID
========================================================= */

.highlight-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}


/* Vertical engineering line */

.highlight-grid::before {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 50%;
    width: 1px;
    background: rgba(10, 56, 87, 0.08);
    transform: translateX(-50%);
    pointer-events: none;
}


/* =========================================================
   HIGHLIGHT PANEL
========================================================= */

.highlight-panel {
    position: relative;
    min-height: 17rem;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid #dfe7ec;
    background: #f8fafb;

    clip-path: polygon(
        0 0,
        calc(100% - 2.5rem) 0,
        100% 2.5rem,
        100% 100%,
        0 100%
    );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Structural gold line */

.highlight-panel::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0.35rem;
    height: 44%;
    background: #f4b400;
    transition: height 0.3s ease;
}


/* Cut-corner detail */

.highlight-panel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3.55rem;
    height: 3.55rem;
    border-left: 1px solid rgba(10, 56, 87, 0.18);
    border-bottom: 1px solid rgba(10, 56, 87, 0.18);
    transform: translate(1.27rem, -1.27rem) rotate(45deg);
    pointer-events: none;
}

.highlight-panel:hover {
    z-index: 2;
    transform: translateY(-0.45rem);
    border-color: rgba(244, 180, 0, 0.75);
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(10, 56, 87, 0.1);
}

.highlight-panel:hover::before {
    height: 72%;
}


/* Alternate positioning */

.highlight-panel:nth-child(2),
.highlight-panel:nth-child(4) {
    transform: translateY(1.5rem);
}

.highlight-panel:nth-child(2):hover,
.highlight-panel:nth-child(4):hover {
    transform: translateY(1rem);
}


/* =========================================================
   PANEL TOP
========================================================= */

.highlight-panel__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.highlight-panel__number,
.highlight-panel__symbol {
    color: #0a3857;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.highlight-panel__symbol {
    color: #f4b400;
    font-size: 3.1rem;
    font-weight: 500;
}

.highlight-panel__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.2rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(10, 56, 87, 0.15);
    color: #6e7d87;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}


/* =========================================================
   PANEL CONTENT
========================================================= */

.highlight-panel__content {
    margin-top: 3.2rem;
}

.highlight-panel__content h3 {
    margin: 0;
    color: #0a3857;
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.highlight-panel__content h3::after {
    content: "";
    display: block;
    width: 2.25rem;
    height: 2px;
    margin-top: 0.9rem;
    background: #f4b400;
    transition: width 0.3s ease;
}

.highlight-panel:hover .highlight-panel__content h3::after {
    width: 4rem;
}

.highlight-panel__content p {
    margin: 1rem 0 0;
    color: #5d6d78;
    font-size: 0.92rem;
    line-height: 1.75;
}


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

@media (max-width: 1000px) {

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

    .about-highlights__layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-highlights__header {
        max-width: 43rem;
    }

}


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

@media (max-width: 700px) {

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

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid::before {
        display: none;
    }

    .highlight-panel,
    .highlight-panel:nth-child(2),
    .highlight-panel:nth-child(4) {
        min-height: 15.5rem;
        transform: none;
    }

    .highlight-panel:hover,
    .highlight-panel:nth-child(2):hover,
    .highlight-panel:nth-child(4):hover {
        transform: translateY(-0.25rem);
    }

}


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

@media (max-width: 520px) {

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

    .about-highlights__title {
        font-size: clamp(2.4rem, 12vw, 3.3rem);
    }

    .highlight-panel {
        min-height: auto;
        padding: 1.6rem;

        clip-path: polygon(
            0 0,
            calc(100% - 2rem) 0,
            100% 2rem,
            100% 100%,
            0 100%
        );
    }

    .highlight-panel__number,
    .highlight-panel__symbol {
        font-size: 3rem;
    }

    .highlight-panel__content {
        margin-top: 2.7rem;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

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

    .highlight-panel,
    .highlight-panel::before,
    .highlight-panel__content h3::after {
        transition: none;
    }

    .highlight-panel,
    .highlight-panel:nth-child(2),
    .highlight-panel:nth-child(4),
    .highlight-panel:hover,
    .highlight-panel:nth-child(2):hover,
    .highlight-panel:nth-child(4):hover {
        transform: none;
    }

}