:root {

    --about-black: #101010;
    --about-dark: #171414;

    --about-brown: #3A302E;
    --about-mocha: #5A493F;

    --about-gold: #F6C777;
    --about-gold-hover: #FFD58D;

    --about-cream: #F8E6D7;
    --about-white: #FFFFFF;

    --about-text: #F5F1EC;
    --about-muted: #B9AEA5;

}

/* =========================================================
   ABOUT PAGE — STATS SECTION
========================================================= */

.about-stats {

    position: relative;

    width: 100%;

    background:
        linear-gradient(
            90deg,
            #1D1915 0%,
            var(--about-black) 50%,
            #1D1915 100%
        );

    border-top: 1px solid rgba(246, 199, 119, 0.10);

    border-bottom: 1px solid rgba(246, 199, 119, 0.10);

    overflow: hidden;
}


/* =========================================================
   STATS CONTAINER
========================================================= */

.about-stats-container {

    width: min(1400px, calc(100% - 100px));

    min-height: 155px;

    margin: 0 auto;

    display: grid;

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

    align-items: center;

    justify-content: center;
}


/* =========================================================
   INDIVIDUAL STAT
========================================================= */

.about-stat {

    position: relative;

    min-height: 155px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 25px 20px;
}


/* =========================================================
   STAT NUMBER
========================================================= */

.about-stat-number {

    color: var(--about-gold);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(42px, 4vw, 58px);

    font-weight: 700;

    line-height: 1;

    letter-spacing: -1.5px;

    margin-bottom: 14px;
}


/* =========================================================
   STAT LABEL
========================================================= */

.about-stat-label {

    color: var(--about-muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.2;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   SUBTLE DIVIDERS
========================================================= */

.about-stat:not(:last-child)::after {

    content: "";

    position: absolute;

    top: 50%;

    right: 0;

    width: 1px;

    height: 55px;

    transform: translateY(-50%);

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(246, 199, 119, 0.18),
            transparent
        );
}


/* =========================================================
   STATS REVEAL
========================================================= */

.about-stat.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


/* =========================================================
   ACTIVE
========================================================= */

.about-stat.reveal.active {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   STAGGERED REVEAL
========================================================= */

.about-stat:nth-child(1) {
    transition-delay: 0s;
}

.about-stat:nth-child(2) {
    transition-delay: 0.1s;
}

.about-stat:nth-child(3) {
    transition-delay: 0.2s;
}

.about-stat:nth-child(4) {
    transition-delay: 0.3s;
}


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

@media (max-width: 1000px) {

    .about-stats-container {

        width: calc(100% - 60px);

        min-height: 140px;
    }


    .about-stat {

        min-height: 140px;

        padding: 20px 15px;
    }


    .about-stat-number {

        font-size: 42px;

        margin-bottom: 12px;
    }


    .about-stat-label {

        font-size: 11px;

        letter-spacing: 1.5px;
    }

}


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

@media (max-width: 768px) {

    .about-stats-container {

        width: calc(100% - 40px);

        min-height: auto;

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


    .about-stat {

        min-height: 125px;

        padding: 25px 10px;
    }


    .about-stat-number {

        font-size: 38px;

        margin-bottom: 10px;
    }


    .about-stat-label {

        font-size: 10px;

        letter-spacing: 1.2px;

        line-height: 1.4;
    }


    /* Remove desktop dividers */

    .about-stat:nth-child(2)::after {

        display: none;
    }


    .about-stat:nth-child(1)::after,
    .about-stat:nth-child(3)::after {

        display: block;

        right: 0;

        height: 45px;
    }


    /* Horizontal divider between rows */

    .about-stat:nth-child(1)::before,
    .about-stat:nth-child(2)::before {

        content: "";

        position: absolute;

        bottom: 0;

        left: 15%;

        right: 15%;

        height: 1px;

        background:
            linear-gradient(
                to right,
                transparent,
                rgba(246, 199, 119, 0.12),
                transparent
            );
    }

}


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

@media (max-width: 480px) {

    .about-stats-container {

        width: calc(100% - 30px);
    }


    .about-stat {

        min-height: 110px;

        padding: 20px 5px;
    }


    .about-stat-number {

        font-size: 34px;

        letter-spacing: -1px;
    }


    .about-stat-label {

        font-size: 9px;

        letter-spacing: 1px;
    }

}


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

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

    .about-stat.reveal {

        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

}