.about-us {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: clamp(48px, 8vw, 96px) 20px;
}

.about-us__container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 2em;
}

.about-us__lead {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1em;
}

.about-us__title {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #f2f2f2;
    margin: 0;
}

.about-us__lead p {
    font-family: var(--first-family);
    font-weight: 600;
    font-size: 60px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #f2f2f2;
    margin: 0;
}

.about-us__media {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.about-us__left { 
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 1em;
}

.about-us__figure { 
	display: flex; 
}

.about-us__img {
	display: flex;
	width: 100%;
    max-width: 573px; 
	height: auto;
    max-height: 637px;
	border-radius: 8px;
}

.about-us__left-text { 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    gap: 1em;
}

.about-us__right { 
    display: flex;
    align-items: flex-start;   
    gap: 1em;
}

.about-us__caption {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.06em;
    text-transform: uppercase;
    color: #f2f2f2;
    margin: 0;
    max-width: 37ch;
}

.about-us__btn {
    display: inline-block; 
    width: auto;
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 30px;
    line-height: 90%;
    text-align: right;
    color: #f2f2f2;
    padding: .2em 0;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .08s ease;
}

.about-us__btn:hover {
    background-color: white;
    color: black;
}

@media (max-width: 991.98px) {
    .about-us__btn {
        font-size: 25px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-us__lead p {
        font-size: 30px;
    }

    .about-us__media {
        flex-direction: column;
        gap: 2em;
    }

    .about-us__left,
    .about-us__right {
        flex-direction: column;
    }

    .about-us__btn {
        width: 100%;
        text-align: start;
        font-size: 27px;
    }
}

/* Text animation */

.about-us .text-reveal {
    position: relative;
    color: #5e5e5e; 
}

.about-us .text-reveal .line {
    color: inherit;
    position: relative;
    display: inline-block;
    mask-image: linear-gradient(to right, #000 0 0);
    mask-repeat: no-repeat;
    mask-size: calc(var(--mask-width, 0%) + 1px) 100%;
    -webkit-mask-image: linear-gradient(to right, #000 0 0);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: calc(var(--mask-width, 0%) + 1px) 100%;
    transition: mask-size 0.8s ease, -webkit-mask-size 0.8s ease;
}

.about-us .text-reveal .line::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: #f2f2f2;
    z-index: 2;
    white-space: pre;
}