.profile-site-shell {
    width: min(1240px, calc(100% - 40px));
    max-width: none;
}

.profile-site-hero {
    position: relative;
    z-index: 1;
    isolation: isolate;
    min-height: 480px;
    overflow: visible;
    color: #fff;
    background: #07142d;
}

.profile-site-hero__media {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}

.profile-site-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.profile-site-hero::before,
.profile-site-hero::after {
    position: absolute;
    z-index: 1;
    content: "";
    pointer-events: none;
    inset: 0;
}

.profile-site-hero::before {
    background:
        linear-gradient(90deg, rgba(3, 11, 25, .93) 0%, rgba(8, 23, 48, .75) 38%, rgba(8, 23, 48, .27) 70%, rgba(3, 11, 25, .1) 100%),
        radial-gradient(circle at 20% 15%, rgba(106, 214, 247, .2), transparent 31%),
        radial-gradient(circle at 78% 68%, rgba(246, 140, 203, .15), transparent 35%);
}

.profile-site-hero::after {
    z-index: 2;
    background: linear-gradient(0deg, rgba(5, 12, 29, .46), transparent 44%);
}

.profile-site-hero__inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding-block: 60px 78px;
}

.profile-site-hero__copy {
    width: min(690px, 68%);
}

.profile-site-identity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.profile-site-pro-badge {
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: linear-gradient(118deg, rgba(68, 154, 241, .92), rgba(226, 78, 170, .92));
    color: #fff;
    padding: 7px 11px;
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .08em;
    box-shadow: 0 10px 24px rgba(8, 18, 42, .2);
}

.profile-site-kicker,
.profile-site-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-weight: 800;
}

.profile-site-kicker {
    min-height: 38px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    background: linear-gradient(110deg, #176d91, #9b2e7a);
    box-shadow: 0 12px 28px rgba(7, 16, 38, .3);
    font-size: .94rem;
}

.profile-site-eyebrow {
    padding: 7px 12px;
    border: 1px solid rgba(65, 136, 245, .18);
    color: #245aa8;
    background: linear-gradient(110deg, rgba(106, 214, 247, .2), rgba(246, 140, 203, .14));
    font-size: .82rem;
    letter-spacing: .02em;
}

.profile-site-hero h1 {
    max-width: 700px;
    margin: 16px 0 12px;
    color: #fff;
    font-family: var(--pp-font);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.025em;
    text-wrap: balance;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .38);
}

.profile-site-lead {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.62;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.profile-site-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.profile-site-actions .button {
    min-height: 48px;
    padding-inline: 26px;
    border-radius: 9px;
}

.profile-site-actions .button-primary {
    color: #fff;
    background: linear-gradient(110deg, #176d91, #9b2e7a);
    box-shadow: 0 12px 28px rgba(7, 16, 38, .3);
}

.profile-site-actions .button-secondary {
    border: 1px solid rgba(255, 255, 255, .72);
    color: #fff;
    background: rgba(3, 10, 28, .48);
}

.profile-site-actions .button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.profile-site-hero__portrait {
    position: absolute;
    z-index: 4;
    bottom: -80px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 170px;
    aspect-ratio: 1;
    padding: 6px;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #f7fdff, #fff4fb);
    box-shadow: 0 18px 46px rgba(10, 25, 55, .22);
    transform: translateX(-50%);
}

.profile-site-hero__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-site-hero__portrait span {
    color: #1b4b88;
    font-family: var(--pp-font);
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -.06em;
}

.profile-site-overview {
    padding: 108px 0 48px;
    background:
        radial-gradient(circle at 12% 10%, rgba(106, 214, 247, .12), transparent 30%),
        radial-gradient(circle at 92% 28%, rgba(246, 140, 203, .1), transparent 28%),
        #f4f7fb;
    scroll-margin-top: 105px;
}

.profile-site-overview__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 46px;
}

.profile-site-about h2,
.profile-site-panel__head h2 {
    margin: 8px 0 14px;
    color: #101b31;
    font-family: var(--pp-font);
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.profile-site-prose,
.profile-site-about > p,
.profile-site-panel > p {
    max-width: 72ch;
    margin: 0;
    color: #56637a;
    font-size: 1rem;
    line-height: 1.75;
}

.profile-site-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 14px;
    margin-top: 30px;
}

.profile-site-info-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    min-height: 116px;
    padding: 17px;
    overflow: hidden;
    border: 1px solid #dce8f4;
    border-top: 3px solid #f361b1;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #fff6fb);
    box-shadow: 0 9px 24px rgba(18, 43, 78, .07);
}

.profile-site-info-card:nth-child(2) {
    border-top-color: #6ad6f7;
    background: linear-gradient(145deg, #fff, #f0fbff);
}

.profile-site-info-card:nth-child(3) {
    border-top-color: #976bea;
    background: linear-gradient(145deg, #fff, #f7f3ff);
}

.profile-site-info-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #a1287d;
    background: #fff0fa;
}

.profile-site-info-card:nth-child(2) .profile-site-info-card__icon {
    color: #176d91;
    background: #edfaff;
}

.profile-site-info-card:nth-child(3) .profile-site-info-card__icon {
    color: #6846ba;
    background: #f3efff;
}

.profile-site-info-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-site-info-card h3 {
    margin: 2px 0 7px;
    color: #15213a;
    font-size: .96rem;
}

.profile-site-info-card p,
.profile-site-info-card small {
    display: block;
    margin: 0;
    color: #5c687a;
    font-size: .82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.profile-site-info-links {
    display: grid !important;
    gap: 3px;
}

.profile-site-info-links a {
    color: #174f9c;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.profile-site-info-card small a {
    color: #174f9c;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.profile-site-section {
    padding: 0 0 48px;
    background: #f4f7fb;
}

.profile-site-section--knowledge {
    background:
        radial-gradient(circle at 10% 12%, rgba(106, 214, 247, .09), transparent 28%),
        radial-gradient(circle at 92% 72%, rgba(246, 140, 203, .08), transparent 28%),
        #f4f7fb;
    scroll-margin-top: 105px;
}

.profile-site-panel {
    min-width: 0;
}

.profile-site-panel__head {
    margin-bottom: 16px;
}

.profile-site-panel__head > span,
.profile-site-entities article > span {
    color: #245aa8;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.profile-site-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.profile-site-columns--wide {
    grid-template-columns: 1fr;
}

.profile-site-main,
.profile-site-side,
.profile-site-entities {
    display: grid;
    gap: 14px;
}

.profile-site-panel--side {
    padding: 22px;
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f7f9ff);
    box-shadow: 0 14px 32px rgba(18, 43, 78, .08);
}

.profile-site-entities article {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-left: 3px solid #976bea;
    border-radius: 10px;
    background: #fff;
}

.profile-site-entities strong {
    color: #17243d;
}

.profile-site-entities p {
    margin: 0;
    color: #5b687c;
    font-size: .9rem;
    line-height: 1.5;
}

.profile-site-empty {
    padding: 72px 0;
    background: linear-gradient(125deg, rgba(106, 214, 247, .14), rgba(246, 140, 203, .14));
}

.profile-site-empty article {
    max-width: 680px;
    padding: 28px;
    border: 1px solid rgba(91, 126, 178, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 42px rgba(17, 43, 74, .1);
}

.profile-site-empty .profile-site-kicker {
    border-color: rgba(65, 136, 245, .18);
    color: #245aa8;
    background: rgba(106, 214, 247, .16);
}

.profile-site-empty h1 {
    margin: 12px 0 8px;
    color: #101b31;
    font-size: 2rem;
}

@media (max-width: 1060px) {
    .profile-site-overview__layout,
    .profile-site-columns {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 680px) {
    .profile-site-shell {
        width: min(100% - 28px, 1240px);
    }

    .profile-site-hero,
    .profile-site-hero__inner {
        min-height: 520px;
    }

    .profile-site-hero__inner {
        align-items: flex-start;
        padding-block: 54px 105px;
    }

    .profile-site-hero__copy {
        width: 100%;
    }

    .profile-site-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.35rem);
    }

    .profile-site-hero__portrait {
        bottom: -64px;
        width: 138px;
    }

    .profile-site-overview {
        padding: 94px 0 36px;
    }

    .profile-site-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-site-section {
        padding: 0 0 36px;
    }

}

@media (max-width: 430px) {
    .profile-site-actions .button {
        width: 100%;
    }

    .profile-site-kicker {
        padding-inline: 14px;
        font-size: .82rem;
    }
}
