:root {
    color-scheme: dark;
    --page-bg: #000000;
    --text: #ffffff;
    --accent: #00aff0;
    --button-color: #00aff0;
    --hero-object-position: center 22%;
    --content-width: 343px;
}

body.profile-page .hero-frame {
    height: clamp(280px, calc(100svh - 345px), 520px);
}

body.profile-page .hero-frame::before {
    height: 10%;
    background: linear-gradient(180deg, rgb(0 0 0 / 0.12), transparent);
}

body.profile-page .hero-frame::after {
    inset: 67% 0 0;
}

body.profile-page .profile-name {
    gap: 7px;
}

body.profile-page .subtitle {
    color: rgb(255 255 255 / 0.72);
    font-size: 14px;
    font-weight: 500;
}

body.profile-page .button-list {
    width: 100%;
    gap: 12px;
    margin-top: 23px;
}

body.profile-page .contact-link {
    min-height: 60px;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

body.profile-page .contact-link .button-icon {
    width: 25px;
    height: 25px;
}

body.profile-page .contact-link .x-icon {
    width: 22px;
    height: 22px;
}

body.profile-page .contact-link:hover {
    background: rgb(255 255 255 / 0.11);
    border-color: rgb(255 255 255 / 0.26);
}

body.profile-page .contact-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.email-label {
    display: grid;
    gap: 4px;
}

.email-address {
    color: rgb(255 255 255 / 0.58);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 400;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    body.profile-page .page-shell::before {
        background-image: url("./photo.jpg");
    }

    body.profile-page .hero-frame {
        height: clamp(300px, calc(100svh - 375px), 520px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.profile-page .contact-link {
        transition: none;
    }
}
