/* =========================================================
   HOME PAGE - ABOUT SECTION
   ========================================================= */

.about {
    background: #f6f2ea;
    padding: 65px 0 85px;
    overflow: hidden;
}

.about .container {
    width: min(100% - 100px, 1280px);
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

/* ---------------------------------------------------------
   ABOUT CONTENT
   --------------------------------------------------------- */

.about-content {
    max-width: 620px;
}

.about-content .section-tag {
    display: block;
    margin-bottom: 22px;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #cda766;
}

.about-content h2 {
    margin: 0 0 28px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(48px, 4.5vw, 72px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -1.5px;
    color: #101a34;
}

.about-content h2 em {
    color: #cda766;
    font-style: italic;
}

.about-content p {
    max-width: 620px;
    margin: 0 0 35px;

    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #647087;
}

/* ---------------------------------------------------------
   ABOUT STATS
   --------------------------------------------------------- */

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin: 40px 0 35px;
    padding-top: 30px;

    border-top: 1px solid rgba(16, 26, 52, 0.15);
}

.about-stats .stat {
    min-width: 0;
}

.about-stats .num {
    display: block;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 48px;
    line-height: 1;
    font-weight: 500;
    color: #101a34;
}

.about-stats .label {
    display: block;
    margin-top: 10px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #647087;
}

/* ---------------------------------------------------------
   ABOUT BUTTON
   --------------------------------------------------------- */

.about-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 28px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    text-decoration: none;

    transition: all 0.3s ease;
}

.about-content .btn-dark {
    background: #161616;
    color: #ffffff;
}

.about-content .btn-dark:hover {
    background: #cda766;
    color: #161616;
}

/* ---------------------------------------------------------
   ABOUT IMAGE
   --------------------------------------------------------- */

.about-image {
    position: relative;
    width: 100%;
    max-width: 590px;
    margin-left: auto;
    overflow: visible;
}

/*
 * IMPORTANT:
 * Do not use a fixed height here.
 * This allows the complete image to remain visible.
 */

.about-image img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
    object-position: center center;

    border-radius: 0;

    transform: none;
}

/* ---------------------------------------------------------
   OPTIONAL ABOUT BADGE
   --------------------------------------------------------- */

.about-image .about-badge {
    position: absolute;

    top: 12%;
    right: -55px;

    width: 150px;
    height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #202020;
    color: #ffffff;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-image .about-badge .big {
    display: block;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 42px;
    line-height: 1;
    color: #cda766;
}

.about-image .about-badge small {
    margin-top: 8px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------------------------------------------------------
   REVEAL ANIMATION
   --------------------------------------------------------- */

.about-image.reveal {
    opacity: 1;
    transform: none;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .about {
        padding: 90px 0;
    }

    .about .container {
        width: min(100% - 60px, 900px);
    }

    .about-grid {
        gap: 55px;
    }

    .about-content h2 {
        font-size: 54px;
    }

    .about-content p {
        font-size: 15px;
    }

    .about-image .about-badge {
        width: 125px;
        height: 125px;
        right: -30px;
    }

    .about-image .about-badge .big {
        font-size: 34px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .about {
        padding: 75px 0;
    }

    .about .container {
        width: min(100% - 40px, 600px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-content {
        max-width: none;
    }

    .about-content .section-tag {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .about-content h2 {
        font-size: 46px;
        line-height: 1;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.8;
    }

    .about-stats {
        gap: 15px;
        margin-top: 30px;
        padding-top: 25px;
    }

    .about-stats .num {
        font-size: 38px;
    }

    .about-stats .label {
        font-size: 9px;
    }

    .about-image {
        max-width: 100%;
        margin: 0 auto;
        padding-right: 15px;
    }

    .about-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .about-image .about-badge {
        width: 105px;
        height: 105px;
        right: -5px;
        top: 8%;
    }

    .about-image .about-badge .big {
        font-size: 29px;
    }

    .about-image .about-badge small {
        font-size: 7px;
    }
}