/* ******************************************** */
/** TECHNOLOGY: Profile
/* ******************************************** */

/* Profile */

.c-profile{
    --_picture-offset-x: 2rem;
    --_picture-padd-y:var(--space-y);
    --_color: var(--color-lightest);
    --_c: var(--color-main-hsl);
    --_spacing-y: 2rem;
    --heading-color: var(--color-lightest);
    --btn-accent-hsl: var(--color-secondary-hsl);
    --text-color: var(--color-lightest);

    position: relative;
    display: grid;
    justify-content: center;
    color: var(--_color);
    overflow-x: hidden;
}

.c-profile::before{
    --_offset-y: -50%;
    content: "";
    display: block;
    width: 50%;
    max-width: 60rem;
    aspect-ratio: 1;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(40%, var(--_offset-y));
    z-index: -2;
    filter: blur(60px) saturate(110%);
    background: radial-gradient(closest-side at 58% 26%, var(--color-lightest) 0, transparent 200%), radial-gradient(closest-side at 46% 66%, hsl(var(--_c) / 112%) 40%, transparent 85%), radial-gradient(closest-side at 58% 26%, hsl(var(--_c) / 20%) 10%, transparent 100%), radial-gradient(closest-side at 58% 26%, hsl(var(--_c) / 20%) 90%, transparent 100%);
    background-size: 60% 97%, 150% 100%, 70% 110%, 70% 110%;
    background-position: -10% 280%, 90% 0, 40% 30%, -30% -280%;
    pointer-events: none;
}


.c-profile__wrapper{
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.c-profile__bg{
    --c1: oklch(0 0 0);
    --c2: oklch(0 0 0);
    --c3: oklch(0.66 0.23 36.37);
    --x3: 36%;
    --y3: 56%;
    --p3: 50% 60%;
    --s3: 100% 80%;
    --x4: 21%;
    --y4: 42%;
    --p4: 50% 83%;
    --s4: 100% 80%;
    position: absolute;
    inset: -40%;
    z-index: -1;
    filter: blur(60px) saturate(110%);
}

.c-profile__kicker{
    display: block;
    margin-bottom: var(--_spacing-y);
}

.c-profile__heading{
    font-weight: 700;
    font-size: calc(var(--hfz-500) * 1);
    line-height: 1.1;
}

.c-profile__job{
    display: block;
    font-weight: 500;
    line-height: 1.2;
    margin-top: var(--_spacing-y);
}

.c-profile__description{
    font-weight: 400;
    margin-top: calc(var(--_spacing-y) * 1.4);
}

.c-profile__btn{
    margin-top: calc(var(--_spacing-y) * 1.4);
}

.c-profile__picture{
    position: relative;
    margin-top: calc(var(--_picture-offset-x) * -1);
    z-index: 1;
}

.c-profile__picture img{
    max-height: none;
    margin-inline: auto;
    width: calc(100% - var(--space-y));
    height: calc(100% + var(--_picture-offset-x));
    object-fit: cover;
}



/* ********************** SHORT MOBILE ********************** */

@media (max-width: 22.5rem){ /* 360px */
}





/* ********************** TALL MOBILE PORTRAIT ********************** */

@media (max-width: 47.9375rem) and (min-height: 45.625rem){ /* 767px, 730px */
}

 



/* ********************** MOBILE LANDSCAPE ********************** */

@media (orientation: landscape) and (min-width: 31.25rem) and (max-width: 47.9375rem) { /* 500px, 767px */
}





/* ********************** de Mobile a TABLET ********************** */

@media (min-width: 48rem) { /* 768px */
}
@media (min-width: 48rem) and (orientation: portrait) {
}




/* ********************** de Tablet a DESKTOP ********************** */

@media (min-width: 61.25rem) { /* 980px */
    .c-profile{
        --_picture-offset-x: 5rem;
        grid-template-columns: 1fr .75fr;
        justify-content: start;
        align-items: center;
        
    }

    .c-profile::before {
        --_offset-y: -10%;
    }
    
    .c-profile__wrapper{
        padding-right: calc(var(--_picture-offset-x) + var(--wrapper-x));
    }

    .c-profile__content{
        max-width: 65em;
    }
    
    .c-profile__job{
        max-width: 90%;
    }

    .c-profile__picture{
        margin-block: auto;
        margin-left: calc(var(--_picture-offset-x) * -1);
    }

    .c-profile__picture img{
        height: calc(100% - var(--space-y));
        max-width: none;
        width: calc(100% + var(--_picture-offset-x));
    }
}




/* ********************** de Desktop a DESKTOP 2 ********************** */

@media (min-width: 75rem) { /* 1200px */
}
@media (min-width: 75rem) and (min-height: 45rem){
}




/* ********************** de Desktop 2 a HD ********************** */

@media (min-width: 87.5rem) { /* 1400px */
}
@media (min-width: 87.5rem) and (min-height: 49.375rem) { /* 1400px, 790px */
}




/* ********************** de Hd a FULL HD ********************** */

@media (min-width: 100rem) {
}
@media (min-width: 100rem) and (min-height: 49.375rem){ /* 1600px, 790px */
}
@media (min-width: 100rem) and (min-height: 56.25rem){ /* 1600px, 900px */
}

@media (min-width: 112.5rem) { /* 1800px */
    
    .c-profile__job{
        font-size: 3.5rem;
    }
}
@media (min-width: 112.5rem) and (min-height: 56.25rem) { /* 1800px, 900px */
}