/* Hero */
.about_hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(/img/about_banner.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 90px;
    overflow: hidden;
}

.about_hero .hero_content {
    max-width: 1000px;
    padding: 0 30px;
    color: var(--colour-white);
}

.about_hero .hero_text {
    font-size: clamp(30px, 5vw, 65px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
    &:lang(en) {
        letter-spacing: 0.05em;
        font-family: 'Merriweather', serif;
    }
}

.about_hero .hero_sub {
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 300;
    &:lang(en) {
        letter-spacing: 0.02em;
    }
}

/* Section 2: Core Expertise */
.type_expertise {
    display: flex;
    align-items: stretch;
    gap: 40px;
    justify-content: center;
    padding: 0 30px;
}

.type_expertise .col {
    width: 33.333%;
    display: flex;
}

.type_expertise article {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* added subtle border */
    border-radius: 40px;
    background-color: var(--colour-white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.type_expertise article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary);
    transition: height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.type_expertise article:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.type_expertise article:hover::before {
    height: 6px;
}

.type_expertise article .expertise_icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px auto;
    border-radius: 50%;
    background-color: rgba(194, 159, 121, 0.1);
    /* light primary tint */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.type_expertise article:hover .expertise_icon {
    transform: scale(1.1);
    background-color: var(--primary);
    color: var(--colour-white);
}

.type_expertise article label {
    display: block;
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--colour-lightblack);
    font-weight: 500;
    margin-bottom: 15px;
}

.type_expertise article .keywords {
    font-size: clamp(12px, 1vw, 14px);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.type_expertise article .description {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--colour-grey);
    font-weight: 300;
    line-height: 1.6em;
    margin-bottom: 15px;
}

/* Section 3: Global Footprint Gallery - Horizontal Scroll Layout */
.footprint_title {
    margin-bottom: 0;
}

.type_footprint {
    width: 100%;
    padding-top: 70px !important;
    padding-left: max(30px, (100% - 1280px) / 2 + 30px) !important;
    padding-right: max(30px, (100% - 1280px) / 2 + 30px) !important;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.type_footprint::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.type_footprint .col {
    width: 320px;
    aspect-ratio: 2 / 3;
}

.type_footprint article {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.type_footprint article:hover {
    transform: translate(0, -10px);
}

.type_footprint article .thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
}

.type_footprint article .thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.type_footprint article:hover .thumbnail img {
    transform: scale(1.1);
}

.type_footprint article .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.type_footprint article .summary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
}

.type_footprint article .summary label {
    display: block;
    color: var(--colour-white);
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.4em;
}

/* Founder's Letter */
.about_letter_wrap {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--colour-white);
    padding: 80px 60px;
    border-radius: 40px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--colour-lightgrey);
}

.about_letter_wrap h2 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-family: 'Merriweather', serif;
    color: var(--colour-lightblack);
    margin-bottom: 50px;
    text-align: center;
}

.about_letter_wrap h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    margin: 20px auto 0;
}

.about_letter_wrap h4 {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--colour-lightblack);
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 500;
}

.about_letter_wrap p {
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 300;
    margin-bottom: 20px;
}

.about_letter_wrap .signoff {
    margin-top: 60px;
    text-align: right;
    border-top: 1px dashed var(--colour-lightgrey);
    padding-top: 40px;
}

.about_letter_wrap .signoff .signature {
    font-family: 'Merriweather', serif;
    font-size: 30px;
    color: var(--colour-lightblack);
    font-style: italic;
    margin: 10px 0;
}

footer {
    margin-top: 0;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .type_expertise {
        flex-wrap: wrap;
    }

    .type_expertise .col {
        width: 48%;
    }

    .type_footprint .col {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .type_expertise .col {
        width: 100%;
    }

    .about_letter_wrap {
        padding: 50px 30px;
        margin: 0 30px;
    }

    .type_footprint .col {
        width: 280px;
    }
}

@media (max-width: 479px) {
    .about_hero {
        margin-top: 70px;
    }

    .about_letter_wrap {
        padding: 40px 20px;
        margin: 0 20px;
    }

    .type_footprint {
        padding-top: 50px !important;
    }
}