/* =========================================================
   KORE EVIDENCE / PORTFOLIO
   ========================================================= */

#about-slider-section {
    --evidence-accent: var(--primary-light);
    --evidence-ink: var(--primary-dark);
    --evidence-line: rgba(15, 23, 42, 0.09);
    --evidence-soft: rgba(79, 107, 255, 0.06);

    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(243, 248, 250, 0.96) 100%);

    color: var(--text-main);
}


/* =========================================================
   SECTION DECORATION
   ========================================================= */

#about-slider-section::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: min(var(--container),
            calc(100% - 40px));

    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(90deg,
            transparent,
            var(--evidence-line) 15%,
            var(--evidence-accent) 50%,
            var(--evidence-line) 85%,
            transparent);

    pointer-events: none;
}


#about-slider-section::after {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 1px;
    height: 150px;

    transform: translateX(-50%);

    background:
        linear-gradient(to bottom,
            var(--evidence-accent),
            transparent);

    opacity: 0.35;
    pointer-events: none;
}


/* =========================================================
   CONTENT
   ========================================================= */

#about-slider-section .section-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--container, 1200px);

    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

#about-slider-section .section-header {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 42px;
}


#about-slider-section .about-content {
    position: relative;
    z-index: 2;
}


#about-slider-section .about-content::before {
    content: "KORE / EVIDENCE";

    display: block;

    width: fit-content;

    margin: 0 0 13px;

    padding: 5px 10px;

    border: 1px solid var(--accent-border);
    border-radius: 999px;

    background: var(--accent-bg);

    color: var(--primary);

    font-size: 0.68rem;
    font-weight: var(--fw-xl);

    letter-spacing: 0.14em;

    line-height: 1;
}


/* =========================================================
   TITLE
   ========================================================= */

#about-slider-section .scope-title {
    margin: 14px 0 18px;

    color: var(--text-main);

    font-size: clamp(2rem,
            5vw,
            3.6rem);

    line-height: 1.03;

    letter-spacing: -0.045em;
}


#about-slider-section .scope-title span {
    display: block;
    color: var(--scope-accent, var(--primary));
}


#about-slider-section .section-intro,
#about-slider-section .scope-lead {
    max-width: 720px;

    margin: 0;

    color: var(--text-muted);

    font-size: clamp(1rem,
            1.5vw,
            1.15rem);

    line-height: 1.7;
}


/* =========================================================
   EVIDENCE STATISTICS
   ========================================================= */

#about-slider-section .evidence-stats,
#about-slider-section .evidence-summary {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    width: 100%;
    max-width: 980px;

    margin: 0 auto 34px;

    border-top: 1px solid var(--evidence-line);
    border-bottom: 1px solid var(--evidence-line);
}


#about-slider-section .evidence-stat {
    position: relative;

    min-width: 0;

    padding: 18px 16px;

    text-align: center;
}


#about-slider-section .evidence-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 20%;
    right: 0;

    width: 1px;
    height: 60%;

    background: var(--evidence-line);
}


#about-slider-section .evidence-stat strong {
    display: block;

    color: var(--text-main);

    font-size: clamp(1.45rem,
            3vw,
            2rem);

    line-height: 1;

    letter-spacing: -0.04em;
}


#about-slider-section .evidence-stat span {
    display: block;

    margin-top: 7px;

    color: var(--text-muted);

    font-size: var(--fs-xs, 0.75rem);

    line-height: 1.35;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* =========================================================
   SLIDER
   ========================================================= */

#about-slider-section .company-slider {
    position: relative;

    width: 100%;
}


#about-slider-section .slider-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin: 0 auto 20px;
}


/* =========================================================
   SLIDER BUTTONS
   ========================================================= */

#about-slider-section .slider-nav button {
    appearance: none;

    width: 42px;
    height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0;

    border: 1px solid var(--evidence-line);
    border-radius: 50%;

    background: var(--bg-white, #fff);

    color: var(--text-main);

    font: inherit;
    font-size: 1rem;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}


#about-slider-section .slider-nav button:hover {
    transform: translateY(-2px);

    border-color: var(--evidence-accent);

    background: var(--evidence-accent);

    color: var(--text-white, #fff);
}


#about-slider-section .slider-nav button:active {
    transform: translateY(0);
}


#about-slider-section .slider-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;

    transform: none;
}


#about-slider-section .slider-nav button:focus-visible {
    outline: 2px solid var(--evidence-accent);
    outline-offset: 4px;
}


#about-slider-section #counter {
    min-width: 58px;

    color: var(--text-muted);

    font-size: var(--fs-xs, 0.75rem);
    font-weight: var(--fw-l, 400);

    text-align: center;

    letter-spacing: 0.08em;
}


/* =========================================================
   SLIDER FRAME
   ========================================================= */

#about-slider-section .slider-wrapper {
    position: relative;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}


#about-slider-section .slide {
    display: none;

    width: 100%;
}


#about-slider-section .slide.active {
    display: block;

    animation:
        evidenceIn 0.35s ease both;
}


#about-slider-section .slide[aria-hidden="true"] {
    visibility: hidden;
}


#about-slider-section .slide[aria-hidden="false"] {
    visibility: visible;
}


@keyframes evidenceIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   COMPANY ITEM
   IMPORTANT:
   The outer .company-item is now the 3D perspective frame.
   ========================================================= */

#about-slider-section .company-item {
    position: relative;

    width: 100%;
    min-height: 440px;

    margin: 0;
    padding: 0;

    perspective: 1600px;

    background: transparent;

    border: 0;
    border-radius: var(--radius-lg);

    box-shadow: none;

    overflow: visible;

    text-align: left;
}


/* =========================================================
   CARD INNER
   ========================================================= */

#about-slider-section .company-card-inner {
    position: relative;

    display: grid;

    width: 100%;
    min-height: 440px;

    transform-style: preserve-3d;

    transition:
        transform 0.65s cubic-bezier(0.22,
            1,
            0.36,
            1);
}


/* =========================================================
   FLIPPED STATE
   ========================================================= */

#about-slider-section .company-item.is-flipped .company-card-inner {
    transform: rotateY(180deg);
}


/* =========================================================
   CARD FACES
   ========================================================= */

#about-slider-section .company-card-face {
    grid-area: 1 / 1;

    position: relative;

    width: 100%;
    min-height: 440px;

    box-sizing: border-box;

    padding: clamp(25px,
            4vw,
            42px);

    border: 1px solid var(--evidence-line);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0.88));

    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.07);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    overflow: hidden;

    text-align: left;
}


/* =========================================================
   TECHNICAL CORNER
   ========================================================= */

#about-slider-section .company-card-front::before,
#about-slider-section .company-card-back::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 90px;
    height: 3px;

    background: var(--evidence-accent);

    pointer-events: none;
}


/* =========================================================
   FRONT FACE
   ========================================================= */

#about-slider-section .company-card-front {
    z-index: 2;

    transform: rotateY(0deg);
}


#about-slider-section .company-card-content {
    min-height: 390px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;
}


/* =========================================================
   PROJECT TOPLINE
   ========================================================= */

#about-slider-section .company-topline {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 35px;
}


#about-slider-section .company-number {
    display: inline-block;

    color: var(--text-muted);

    font-size: 0.72rem;

    font-weight: var(--fw-xl, 700);

    letter-spacing: 0.12em;
}


#about-slider-section .company-category {
    display: inline-block;

    color: var(--text-muted);

    font-size: 0.68rem;

    font-weight: var(--fw-m, 500);

    letter-spacing: 0.1em;

    text-transform: uppercase;

    text-align: right;
}


/* =========================================================
   COMPANY TITLE
   ========================================================= */

#about-slider-section .company-card-content h3 {
    margin: 0;

    color: var(--text-main);

    font-size: clamp(2.1rem,
            5vw,
            4.5rem);

    line-height: 0.98;

    letter-spacing: -0.045em;
}


/* =========================================================
   ROLE
   ========================================================= */

#about-slider-section .company-role {
    margin: 18px 0 0;

    color: var(--text-main);

    font-size: 1rem;

    font-weight: var(--fw-xl, 700);

    line-height: 1.4;
}


/* =========================================================
   OVERVIEW
   ========================================================= */

#about-slider-section .company-overview {
    max-width: 700px;

    margin: 22px 0 0;

    color: var(--text-muted);

    font-size: 0.98rem;

    line-height: 1.7;
}


/* =========================================================
   COMPANY TAGS
   ========================================================= */

#about-slider-section .company-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 28px;
}


#about-slider-section .company-tags span,
#about-slider-section .tag {
    display: inline-flex;

    align-items: center;

    min-height: 28px;

    padding: 5px 11px;

    border: 1px solid var(--primary);

    border-radius: 999px;

    background: rgba(255,
            255,
            255,
            0.55);

    color: var(--primary);

    font-size: 0.66rem;

    font-weight: var(--fw-m, 500);

    line-height: 1;

    letter-spacing: 0.04em;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.2s ease,
        color 0.2s ease;

    margin-bottom: 10px;
}


/* =========================================================
   FLIP / DETAIL BUTTON
   ========================================================= */

#about-slider-section .linking-arrow {
    appearance: none;

    position: absolute;

    top: 28px;
    right: 28px;

    width: 46px;
    height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 0;

    margin: 0;
    padding: 0;

    border: 1px solid var(--evidence-line);

    border-radius: 50%;

    background: var(--bg-white, #fff);

    color: var(--text-main);

    font: inherit;

    text-decoration: none;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}


/*
 * The text is visually hidden because the button is
 * represented by the circular arrow.
 */

#about-slider-section .linking-arrow span:first-child {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0,
            0,
            0,
            0);

    white-space: nowrap;

    border: 0;
}


#about-slider-section .linking-arrow span:last-child {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 1.15rem;

    line-height: 1;

    transition:
        transform 0.25s ease;
}


#about-slider-section .linking-arrow:hover {
    transform:
        translate(2px,
            -2px);

    border-color:
        var(--evidence-accent);

    background:
        var(--evidence-accent);

    color:
        var(--text-white, #fff);
}


#about-slider-section .linking-arrow:hover span:last-child {
    transform:
        translate(1px,
            -1px);
}


#about-slider-section .linking-arrow:focus-visible {
    outline:
        2px solid var(--evidence-accent);

    outline-offset: 4px;
}


/* =========================================================
   BACK FACE
   ========================================================= */

#about-slider-section .company-card-back {
    z-index: 1;

    display: flex;

    flex-direction: column;

    transform: rotateY(180deg);

    overflow: auto;
}


/* =========================================================
   BACK BUTTON
   ========================================================= */

#about-slider-section .flip-back {
    appearance: none;

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    width: fit-content;

    margin: 0 0 28px;

    padding: 6px 0;

    border: 0;

    background: transparent;

    color: var(--text-muted);

    font: inherit;

    font-size: 0.7rem;

    font-weight: var(--fw-xl, 700);

    line-height: 1;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


#about-slider-section .flip-back:hover {
    color: var(--primary);

    transform:
        translateX(-4px);
}


#about-slider-section .flip-back:focus-visible {
    outline:
        2px solid var(--evidence-accent);

    outline-offset: 4px;
}


/* =========================================================
   DETAIL CONTENT
   ========================================================= */

#about-slider-section .detail-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    min-height: 0;
}


#about-slider-section .detail-heading {
    display: flex;

    align-items: baseline;

    gap: 18px;

    margin-bottom: 32px;
}


#about-slider-section .detail-heading h3 {
    margin: 0;

    color: var(--text-main);

    font-size: clamp(1.9rem,
            4vw,
            3.5rem);

    line-height: 1;

    letter-spacing: -0.04em;
}


/* =========================================================
   DETAIL GRID
   ========================================================= */

#about-slider-section .detail-grid {
    display: grid;

    grid-template-columns:
        repeat(3,
            minmax(0, 1fr));

    flex: 1;

    min-height: 0;

    gap: 0;
}


/* =========================================================
   DETAIL BLOCK
   ========================================================= */

#about-slider-section .detail-block {
    min-width: 0;

    padding:
        0 22px;
}


#about-slider-section .detail-block:first-child {
    padding-left: 0;
}


#about-slider-section .detail-block:last-child {
    padding-right: 0;
}


#about-slider-section .detail-block+.detail-block {
    border-left:
        1px solid var(--evidence-line);
}


/* =========================================================
   DETAIL LABEL
   ========================================================= */

#about-slider-section .detail-label {
    display: block;

    margin-bottom: 14px;

    color:
        rgba(15,
            23,
            42,
            0.42);

    font-size: 9px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


/* =========================================================
   DETAIL LIST
   ========================================================= */

#about-slider-section .detail-block ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


#about-slider-section .detail-block li {
    position: relative;

    margin: 0 0 12px;

    padding-left: 14px;

    color: var(--text-muted);

    font-size: 0.84rem;

    line-height: 1.55;
}


#about-slider-section .detail-block li::before {
    content: "";

    position: absolute;

    top: 0.62em;
    left: 0;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        var(--evidence-accent);
}


#about-slider-section .detail-block li:last-child {
    margin-bottom: 0;
}


/* Results are slightly stronger */

#about-slider-section .detail-block:last-child li {
    color: var(--text-main);
}


/* =========================================================
   LEGACY PROJECT ELEMENTS
   These allow the CSS to continue supporting any of the
   original project markup you may still have elsewhere.
   ========================================================= */

#about-slider-section .company-header-row {
    display: none;
}


#about-slider-section .role {
    max-width: 720px;

    padding-right: 50px;

    color: var(--text-main);

    font-size: clamp(1.35rem,
            3vw,
            2rem);

    font-weight: var(--fw-xl, 700);

    line-height: 1.12;

    letter-spacing: -0.035em;
}


#about-slider-section .role span {
    color: var(--primary);
}


#about-slider-section .date {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: var(--fs-sm, 0.875rem);

    font-weight: var(--fw-m, 500);
}


#about-slider-section .overview {
    max-width: 680px;

    margin-top: 22px;

    padding-left: 15px;

    border-left:
        2px solid var(--evidence-accent);

    color: var(--text-muted);

    font-size: 1rem;

    line-height: 1.65;
}


/* =========================================================
   IMPACT
   ========================================================= */

#about-slider-section .project-impact {
    display: flex;

    align-items: baseline;

    flex-wrap: wrap;

    gap: 10px 15px;

    margin-top: 25px;

    padding: 15px 18px;

    background:
        var(--evidence-soft);

    border:
        1px solid var(--accent-border);

    border-radius:
        var(--radius-sm);
}


#about-slider-section .project-impact span {
    color: var(--primary);

    font-size: 0.65rem;

    font-weight: var(--fw-xl, 700);

    letter-spacing: 0.13em;
}


#about-slider-section .project-impact strong {
    color: var(--text-main);

    font-size: 0.95rem;

    font-weight: var(--fw-l, 400);
}


/* =========================================================
   DOMAIN / CATEGORY / PRODUCT
   ========================================================= */

#about-slider-section .path-matrix-row {
    display: grid;

    grid-template-columns:
        repeat(3,
            minmax(0, 1fr));

    gap: 0;

    margin-top: 28px;

    padding-top: 21px;

    border-top:
        1px solid var(--evidence-line);
}


#about-slider-section .matrix-col {
    min-width: 0;

    padding-right: 18px;
}


#about-slider-section .matrix-col+.matrix-col {
    padding-left: 18px;

    border-left:
        1px solid var(--evidence-line);
}


#about-slider-section .matrix-label {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 14px;

    color:
        rgba(15,
            23,
            42,
            0.42);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


#about-slider-section .matrix-value {
    display: block;

    color: var(--text-main);

    font-size: 0.82rem;

    font-weight: var(--fw-m, 500);

    line-height: 1.4;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

@media (hover: hover) {

    #about-slider-section .company-card-front {
        transition:
            box-shadow 0.3s ease,
            transform 0.3s ease;
    }


    #about-slider-section .company-item:not(.is-flipped) .company-card-front:hover {
        box-shadow:
            0 24px 65px rgba(15,
                23,
                42,
                0.10);
    }

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    #about-slider-section .section-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 28px;
    }


    #about-slider-section .evidence-stats,
    #about-slider-section .evidence-summary {
        width: 100%;

        max-width: 100%;
    }


    #about-slider-section .company-item,
    #about-slider-section .company-card-inner,
    #about-slider-section .company-card-face {
        min-height: 520px;
    }


    #about-slider-section .company-card-content {
        min-height: 465px;
    }


    #about-slider-section .detail-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    #about-slider-section .detail-block {
        padding:
            0 !important;
    }


    #about-slider-section .detail-block+.detail-block {
        padding-top: 20px !important;

        border-left: 0;

        border-top:
            1px solid var(--evidence-line);
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    #about-slider-section::before {
        width:
            calc(100% - 30px);
    }


    #about-slider-section .section-header {
        margin-bottom: 28px;
    }


    #about-slider-section .evidence-stats,
    #about-slider-section .evidence-summary {
        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));
    }


    #about-slider-section .evidence-stat {
        padding:
            15px 10px;
    }


    #about-slider-section .evidence-stat:nth-child(2)::after {
        display: none;
    }


    #about-slider-section .evidence-stat:nth-child(3),
    #about-slider-section .evidence-stat:nth-child(4) {
        border-top:
            1px solid var(--evidence-line);
    }


    #about-slider-section .slider-nav {
        justify-content:
            space-between;

        margin-bottom: 15px;
    }


    #about-slider-section .slider-nav button {
        width: 40px;
        height: 40px;
    }


    #about-slider-section .slider-nav button span:not([aria-hidden]) {
        display: none;
    }


    #about-slider-section #counter {
        flex: 1;
    }


    #about-slider-section .company-item,
    #about-slider-section .company-card-inner,
    #about-slider-section .company-card-face {
        min-height: 580px;
    }


    #about-slider-section .company-card-face {
        padding:
            25px 20px 28px;

        border-radius:
            var(--radius, 16px);
    }


    #about-slider-section .company-card-content {
        min-height: 520px;
    }


    #about-slider-section .company-topline {
        margin-bottom: 28px;
    }


    #about-slider-section .company-card-content h3 {
        font-size:
            clamp(2.3rem,
                12vw,
                3.5rem);
    }


    #about-slider-section .company-overview {
        font-size: 0.9rem;
    }


    #about-slider-section .linking-arrow {
        top: 20px;
        right: 20px;

        width: 42px;
        height: 42px;
    }


    #about-slider-section .detail-heading {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 10px;
    }


    #about-slider-section .detail-heading h3 {
        font-size: 2.2rem;
    }


    #about-slider-section .detail-block li {
        font-size: 0.8rem;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    #about-slider-section .company-item,
    #about-slider-section .company-card-inner,
    #about-slider-section .company-card-face {
        min-height: 620px;
    }


    #about-slider-section .company-card-content {
        min-height: 560px;
    }


    #about-slider-section .company-category {
        max-width: 120px;

        font-size: 0.6rem;
    }


    #about-slider-section .company-tags {
        gap: 6px;
    }


    #about-slider-section .company-tags span {
        font-size: 0.6rem;

        padding:
            5px 9px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

#about-slider-section button:focus-visible {
    outline:
        2px solid var(--evidence-accent);

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #about-slider-section .slide.active {
        animation: none;
    }


    #about-slider-section .company-card-inner {
        transition: none;
    }


    #about-slider-section .slider-nav button,
    #about-slider-section .linking-arrow,
    #about-slider-section .flip-back,
    #about-slider-section .company-card-front {
        transition: none;
    }
}



#about-slider-section .evidence-year span {


    align-items: center;

    gap: 9px;

    margin-bottom: 14px;

    color:
        rgba(15,
            23,
            42,
            0.42);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}
