/* Home slide + avatar overlay */

#introduce{
    z-index: 100;
    left: 4vw;
    top: 21%;
    height: 60vh;
    width: 46.7vw;
    position: absolute;
    background-color: transparent;
    border-right: 1px solid white;
}

.home .home-content{
    text-align: left;
}

#introduce{
    color: white;
    font-size: 2rem;
    font-weight: 900;
}

#introduce img{
    width: 15vw;
}

#introduce .wrapper{
    width: 50%;
    height: 50vh;
    margin: auto;
    text-align: center;
}

.wrapper .pos{
    width: 75%;
    margin: auto;
    font-size: 1.5rem;
    font-weight: 900;
    bottom: 0rem;
    line-height: 3rem;
}

.wrapper .pos::before,.wrapper .pos::after{
    position: absolute;
    border-bottom: 0.2rem solid white;
    content: "";
    width: 4rem;
    height: 6rem;
    margin-top: -4.3rem;
}

.wrapper .pos::before{
    border-left: 0.2rem solid white;
    left: 10rem;
}

.wrapper .pos::after{
    border-right: 0.2rem solid white;
    right: 10rem;
}

.wrapper .name{
    width: 50%;
    margin: auto;
}

.home .home-content{
    padding:0 1.5rem;
}

.home .home-content strong{
    font-size: 3rem;
    margin-left: 2rem;
}

.home-content h1 span{
    /* fluid between 6rem@1440px and 8rem@1920px; flat outside that range */
    font-size: clamp(6rem, 6.667vw, 8rem)!important;
    padding:0;
    margin:0;
}

.home .home-content p{
    font-size: 1.5rem;
    width: 40vw;
    margin-left: 2.1rem;
}

.home .home-content strong::before{
    content: "";
    left: 2rem;
    height: 11rem;
    border-left: 0.5rem solid white;
    position: absolute;
}

.home .home-content .strong-home{
    position: absolute;
    font-size: 1.5rem;
    margin: 0.5rem 2rem;
    background: var(--color-surface);
    padding: 0.1rem 0.6rem;
    color: var(--color-ink);
    border-radius: var(--radius-sm);
}

.cta-button{
    display: inline-block;
    margin: 8rem 0 0 2rem;
    padding: 0.8rem 1.8rem;
    background: var(--color-surface);
    color: var(--color-ink);
    border-radius: var(--radius-md);
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}
.cta-button:hover{
    background: var(--color-hover-surface);
    color: white;
}

.mobi-img{
         display: none;
        height: 30%;
        margin-top: 5rem;
    }
    .mobi-img img{
        width: 35%;
        float: left;
        margin-left: 9rem;
    }

.strong-home{
    cursor: pointer;
}

@media only screen and (max-width: 1440px) {
    #introduce img {
        width: 15vw;
    }

    .home .home-content strong {
        font-size: 2rem;
    }

    .home .home-content p {
        font-size: 1.2rem;
    }

    .home .home-content strong::before {
        height: 8.4rem;
    }

    .home .home-content .strong-home{
        font-size: 1.2rem;
    }

    .cta-button{
        margin-top: 6rem;
    }
}

@media only screen and (max-width: 1024px) {
    #introduce img {
        width: 18vw;
        top: 1vh;
        left: 14.5vw;
    }

    .wrapper .name {
        width: 50%;
        font-size: 1.4rem;
    }

    .wrapper .pos {
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .home .home-content strong {
        font-size: 2rem;
        margin-left: 1.5rem;
    }

    .home .home-content {
        padding: 0 1rem;
    }

    .home .home-content strong::before {
        left: 1.5rem;
        height: 7.6rem;
    }

    .home .home-content p {
        font-size: 1rem;
        margin-left: 2rem;
    }

    .home .home-content .strong-home {
        position: absolute;
        font-size: 1rem;
        margin: 1.5rem 1.5rem 0.5rem;
        background: var(--color-surface);
        padding: 0.1rem 0.6rem;
        color: var(--color-ink);
        border-radius: var(--radius-sm);
    }

    .cta-button{
        margin-top: 5rem;
    }

    .wrapper .pos::before {
        margin-top: -5rem;
        left: 5rem;
    }

    .wrapper .name::before, .wrapper .name::after {
        margin-top: 1rem;
        height: 6rem;
        top: -2.4rem;
        
    }

    .wrapper .pos::after {
        right: 5rem;
        margin-top: -5rem;
    }

    .wrapper .name::before {
        
        left: -7rem;
    }
}

@media only screen and (max-width: 768px) {
    #introduce{
        display: none;
    }
}

/* Phones + small tablets: stack avatar above the text, everything in normal flow */
@media only screen and (max-width: 768px) {
    .row.home{
        width: auto;
        margin: 0;
        /* extra right padding keeps text clear of the splide pagination dots */
        padding: 4rem 2.5rem 5rem 1.5rem;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    .row.home .mobi-img{
        display: block;
        height: auto;
        margin: 0 0 1.5rem;
        text-align: center;
    }

    .row.home .mobi-img img{
        float: none;
        margin: 0;
        width: clamp(6.5rem, 30vw, 9rem);
    }

    .row.home > .home-content.col-md-6{
        flex: 0 0 auto;
        width: 100%;
        max-width: 30rem;
        margin: 0;
        padding: 0;
        align-self: center;
    }

    .row.home h1{
        font-size: 1.75rem!important;
        margin-bottom: 1rem;
        line-height: 1.1;
    }

    .home-content h1 span{
        font-size: clamp(3rem, 15vw, 4.5rem)!important;
    }

    /* the vertical accent bar now comes from border-left on strong + p,
       so it always matches the text height */
    .home .home-content strong::before{
        display: none;
    }

    .home .home-content strong,
    .home .home-content p{
        display: block;
        width: auto;
        margin: 0;
        padding-left: 1rem;
        border-left: 0.35rem solid white;
    }

    .home .home-content strong{
        font-size: clamp(1.15rem, 5.5vw, 1.5rem);
        line-height: 1.3;
        padding-bottom: 0.5rem;
    }

    .home .home-content p{
        font-size: 1rem;
        line-height: 1.5;
    }

    .home .home-content p br{
        display: none;
    }

    .home .home-content .strong-home{
        position: static;
        display: inline-block;
        margin: 1.25rem 0 0;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .row.home .cta-button{
        display: table;
        margin: 1.5rem 0 0;
        padding: 0.7rem 1.6rem;
        font-size: 1rem;
    }
}
