@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MusashiBrush';
    src: url('../fonts/Musashi_Brush.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #030303;
    --color-footer-bg: #1D1D1D;
    --color-red: #EF0E0E;
    --color-accent: #FFAE4B;

    --font-brush: 'MusashiBrush', sans-serif;
    --font-main: 'Montserrat', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    font-family: var(--font-main);
    color: #FFFFFF;
    overflow-x: hidden;
    overflow-x: clip;
}

.backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.backdrop__glow {
    position: absolute;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(160, 0, 0, 0.55) 0%,
            rgba(160, 0, 0, 0.22) 35%,
            rgba(160, 0, 0, 0.07) 58%,
            rgba(160, 0, 0, 0) 72%);
    transform: translate(-50%, -50%);
}

.backdrop__glow--top-left {
    left: 92px;
    top: 66px;
}

.backdrop__glow--top-right {
    left: calc(100% - 28px);
    top: -109px;
}

.backdrop__glow--bottom {
    display: none;
}

.about {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    min-height: 1087px;
}

.about__photo-wrap {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 50.6%;
    max-width: 972px;
    height: 100%;
}

.about__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__photo-fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 185px;
    background: linear-gradient(270deg, #050303 0%, rgba(5, 3, 3, 0) 100%);
}

.about__splash {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    height: auto;
}

.about__splash--corner {
    top: -60px;
    right: -70px;
    width: 456px;
    max-width: 40vw;
}

.about__splash--heading-left,
.about__splash--heading-right {
    display: none;
}

.about__content {
    position: relative;
    z-index: 2;
    width: min(649px, 38vw);
    margin-left: auto;
    margin-right: 9.85%;
    padding: 135px 0 90px;
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.about__heading {
    position: relative;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.about__title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-brush);
    font-weight: 400;
    font-size: clamp(64px, 5.52vw, 106px);
    line-height: 0.654;
    color: var(--color-red);
    text-align: center;
}

.about__title-line {
    display: block;
}

.about__title-letter {
    font-size: 1.226em;
}

.about__stroke {
    display: block;
    width: 266px;
    height: auto;
    transform: rotate(-4deg);
}

.about__text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.3125;
    color: #FFFFFF;
}

.about__text p + p {
    margin-top: 21px;
}

.about__highlight {
    color: var(--color-accent);
    font-weight: 700;
}

a.about__highlight {
    text-decoration: none;
}

a.about__highlight:hover {
    text-decoration: underline;
}

.socials {
    position: relative;
    z-index: 2;
    background-color: var(--color-footer-bg);
    padding: 12px 16px;
    height: 153px;
}

.socials__list {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
}

.socials__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.socials__icon {
    width: 73px;
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.socials__link:hover .socials__icon,
.socials__link:focus-visible .socials__icon {
    transform: scale(1.08);
}

.socials__label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.15s ease;
}

.socials__link:hover .socials__label,
.socials__link:focus-visible .socials__label {
    color: #FFFFFF;
}

.socials__link:focus-visible {
    outline: none;
}

.socials__link:focus-visible .socials__label {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

@media (max-width: 767px) {

    .backdrop__glow--top-left,
    .backdrop__glow--top-right {
        display: none;
    }

    .backdrop__glow--bottom {
        display: block;
        width: 520px;
        height: 520px;
        left: 50%;
        top: auto;
        bottom: -430px;
    }

    .about {
        min-height: 0;
    }

    .about__photo-wrap {
        position: relative;
        width: 100%;
        max-width: none;
        height: auto;
    }

    .about__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 414 / 455;
    }

    .about__photo-fade {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: 74px;
        background: linear-gradient(180deg, rgba(5, 3, 3, 0) 0%, #050303 100%);
    }

    .about__splash--corner {
        display: none;
    }

    .about__content {
        width: 100%;
        margin: 0;
        padding: 0 0 100px;
        gap: 24px;
    }

    .about__heading {
        align-self: stretch;
    }

    .about__title {
        font-size: min(80px, 19.3vw);
    }

    .about__title-letter {
        font-size: 1.26em;
    }

    .about__stroke {
        width: 168px;
    }

    .about__splash--heading-left {
        display: block;
        top: -70px;
        left: 0;
        width: 100px;
    }

    .about__splash--heading-right {
        display: block;
        top: -60px;
        right: 0;
        width: 74px;
    }

    .about__text {
        padding: 0 20px;
    }

    .socials__list {
        gap: clamp(8px, 3.4vw, 14px);
    }
}
