.back {
    font-size: 23px
}

.profile-cover {
    height: 440px;
    position: relative
}

.profile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.profile-cover:after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(transparent, #0b0b0c)
}

.profile-title {
    position: relative;
    margin-top: -100px;
    padding: 0 18px 20px;
    z-index: 2
}

.profile-title h1 {
    font-size: 32px;
    margin: 5px 0
}

.profile-title p {
    color: #bbb;
    font-size: 12px
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: #111;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700
}

.profile-wrap {
    padding: 0 16px
}

.action {
    display: flex;
    gap: 8px;
    margin: 10px 0 20px
}

.action a {
    flex: 1;
    text-align: center;
    padding: 13px;
    border-radius: 11px;
    background: #229ed9;
    font-size: 12px;
    font-weight: 700
}

.action button {
    border: 1px solid #fff2;
    background: #171719;
    color: #fff;
    border-radius: 11px;
    padding: 0 15px
}

.block {
    border-top: 1px solid var(--line);
    padding: 21px 0
}

.block h3 {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #aaa
}

.block p {
    font-size: 14px;
    line-height: 1.65;
    color: #d3d0cc;
    margin: 0
}

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px
}

.fact {
    background: #141416;
    border: 1px solid #fff0;
    border-radius: 12px;
    padding: 13px
}

.fact small {
    display: block;
    color: #888;
    font-size: 10px;
    margin-bottom: 5px
}

.fact b {
    font-size: 14px
}

.pillrow {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.pill {
    border: 1px solid #fff1;
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 11px;
    color: #ddd
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5px
}

.gallery button {
    padding: 0;
    border: 0;
    background: #222;
    height: 150px;
    overflow: hidden
}

.gallery button:first-child {
    height: 305px;
    grid-row: span 2
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.more {
    margin-top: 5px
}

.contact {
    display: block;
    text-align: center;
    background: #fff;
    color: #111;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px
}

#lightbox {
    border: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    background: #050506eF;
    align-items: center;
    justify-content: center
}

#lightbox::backdrop {
    background: #050506eF
}

#lightbox[open] {
    display: flex
}

#lbImg {
    max-width: 84vw;
    max-height: 82vh;
    object-fit: contain
}

#lightbox button {
    position: absolute;
    background: #fff1;
    border: 0;
    color: #fff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 28px
}

#lbClose {
    top: 18px;
    right: 18px
}

#lbPrev {
    left: 12px;
    top: 50%;
}

#lbNext {
    right: 12px;
    top: 50%
}

#lbCounter {
    position: absolute;
    bottom: 22px;
    color: #aaa;
    font-size: 11px
}