body {
    margin: 0;
    min-height: 100dvh;
    background: #070707;
    color: var(--primary-yellow, #FFC425);
}

.profile-check .profile-check__close {
    appearance: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
}

.profile-check .profile-check__close:hover,
.profile-check .profile-check__close:focus-visible {
    color: var(--primary-yellow, #ffc425);
}

#webGLApp {
    position: fixed !important;
    inset: 0;
    width: 100% !important;
    height: 100vh !important;
    z-index: 0 !important;
    pointer-events: none;
}

.about-top,
main {
    position: relative;
    z-index: 1;
}

.about-top {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 52px;
    padding: 4px 4px 0;
}

.about-lang {
    display: flex;
    gap: 4px;
}

.about-lang__link {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 44px;
    padding: 0 2px;
    color: var(--primary-yellow, #FFC425);
    font-size: 16.5px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.about-lang__link.active,
.about-lang__link.is-active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--primary-yellow, #FFC425);
    text-underline-offset: 2.7px;
}

main {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.shell:has(.about-hero) .home-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}

.about-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 108px var(--page-gutter) 72px;
    text-align: center;
}

body.shell .about-hero .page-title {
    width: auto;
    max-width: none;
    margin: 0;
    color: #f2f2f2;
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: clamp(calc(72px - 3pt), calc(10vw - 3pt), calc(132px - 3pt));
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.9;
    text-align: center;
}

body.shell .about-hero .page-title::after,
body.shell .about-hero .page-title::before {
    content: none;
    display: none;
}

p {
    margin: 0;
    color: inherit;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
    gap: 28px clamp(20px, 3vw, 40px);
    align-items: center;
    box-sizing: border-box;
    width: min(1480px, calc(100% - 72px));
    margin: 97px auto 49px;
    padding: 18px;
    border: 1px solid rgba(242, 242, 242, 0.72);
    border-radius: 18px;
    background: rgba(7, 7, 7, 0.28);
    text-align: left;
}

.about-photo,
body.shell .about-intro .about-photo {
    display: block;
    order: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
    overflow: visible;
    object-fit: contain;
    object-position: center;
}

.about-copy {
    display: grid;
    gap: 16px;
    align-content: start;
    order: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.about-copy__title {
    margin: 0;
    color: var(--primary-yellow, #ffc425);
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: clamp(40px, 4.2vw, 64px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.03em;
}

.about-profile {
    display: grid;
    gap: 0;
}

.about-facts__title {
    margin: 0 0 14px;
    color: var(--primary-yellow, #ffc425);
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: clamp(40px, 4.2vw, 64px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.03em;
}

.about-facts {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-fact {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 13px 0;
    border: 0;
    background: none;
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.about-fact svg {
    width: 26px;
    height: 26px;
    justify-self: center;
    color: var(--primary-yellow, #ffc425);
}

.about-fact a {
    color: inherit;
    line-height: 1.35;
    text-decoration: none;
}

.about-fact a:hover,
.about-fact a:focus-visible {
    color: var(--primary-yellow, #ffc425);
}

.web-form {
    box-sizing: border-box;
    max-width: 560px;
    margin: 48px auto 0;
    padding: 8px 0 0;
    text-align: left;
    scroll-margin-top: 88px;
}

.web-form__intro {
    margin: 0 0 22px;
}

.web-form h2 {
    margin: 0 0 12px;
    color: var(--primary-yellow, #FFC425);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.web-form__note,
.web-form__status {
    margin: 0 0 22px;
    font-size: 16px;
    letter-spacing: 0.03em;
}

.web-form__fields {
    display: grid;
    gap: 14px;
}

.web-form label {
    display: grid;
    gap: 6px;
    color: var(--primary-yellow, #FFC425);
    font-size: 16px;
    letter-spacing: 0.03em;
}

.web-form input,
.web-form select,
.web-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(255, 196, 37, 0.75);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    color-scheme: dark;
    font-family: Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0;
}

.web-form textarea {
    resize: vertical;
    min-height: 120px;
}

.web-form__trap {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.web-form label.web-form__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 0;
}

.web-form__check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    border-radius: 4px;
    flex: 0 0 auto;
    accent-color: var(--primary-yellow, #FFC425);
}

.web-form__check a {
    color: var(--primary-yellow, #FFC425);
}

.web-cta {
    justify-self: start;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 2px solid var(--primary-yellow, #FFC425);
    border-radius: 8px;
    background: var(--primary-yellow, #FFC425);
    color: #000;
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
}

.web-cta:hover,
.web-cta:focus-visible {
    background: #000;
    color: var(--primary-yellow, #FFC425);
}

@media (max-width: 800px) {
    .about-hero {
        min-height: 100dvh;
        padding: 124px 30px 56px;
    }

    body.shell .about-hero .page-title {
        font-size: clamp(calc(42px * 1.15 * 1.2), calc(12vw * 1.15 * 1.2), calc(58px * 1.15 * 1.2));
        max-width: 100%;
        white-space: normal;
    }

    .about-intro {
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 60px);
        margin-top: 65px;
        margin-bottom: 33px;
        padding: 14px;
        gap: 20px;
    }

    .about-copy {
        order: 1;
    }

    .about-copy__title {
        width: auto;
        max-width: 100%;
        margin-top: 2px;
        font-size: clamp(34px, 10vw, 48px);
    }

    .about-facts__title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .about-photo,
    body.shell .about-intro .about-photo {
        order: 0;
        max-width: 520px;
        height: auto;
        margin-inline: auto;
    }
}

@media (min-width: 801px) and (max-width: 900px) {
    body.shell .about-intro .about-photo {
        max-width: 520px;
        margin-inline: auto;
    }
}

#profile {
    scroll-margin-top: 96px;
}
