/*=========================================================
    BLOG HERO
=========================================================*/

.blog-hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:120px 20px 80px;
    position:relative;
    overflow:hidden;

    background:
        linear-gradient(
            rgba(0,0,0,.72),
            rgba(0,0,0,.62)
        ),
        url("../assets/7.jpeg")
        center center/cover no-repeat;
}

.blog-hero .container{
    max-width:900px;
    width:100%;
    position:relative;
    z-index:2;
}

.blog-hero .section-tag{
    display:inline-block;
    margin-bottom:18px;
}

.blog-hero h1{
    font-size:clamp(2.8rem,8vw,6.5rem);
    line-height:1.05;
    margin-bottom:20px;
    color:var(--primary);
}

.hero-line{
    width:100px;
    height:2px;
    margin:32px auto;
    background:var(--primary);
}

.blog-hero h3{
    font-family:var(--heading);
    font-size:clamp(1.4rem,3vw,2rem);
    font-weight:600;
    color:#fff;
    margin-bottom:26px;
}

.blog-hero p{
    max-width:760px;
    margin:0 auto;
    color:#f4f4f4;
    font-size:1.1rem;
    line-height:1.8;
}

.blog-hero .btn{
    margin-top:32px;
    padding:16px 36px;
}

/*=========================================================
    FEATURED ARTICLE
=========================================================*/

.featured-article{
    background:#fff;
    padding:100px 0;
}

.featured-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:55px;
}

.featured-image{
    overflow:hidden;
    border-radius:24px;
    box-shadow:var(--shadow-lg);
}

.featured-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .55s ease;
}

.featured-image:hover img{
    transform:scale(1.05);
}

.featured-content .section-tag{
    margin-bottom:14px;
}

.featured-content h2{
    font-size:clamp(2.2rem,5vw,3.4rem);
    line-height:1.15;
    margin-bottom:22px;
}

.featured-content p{
    font-size:1rem;
    line-height:1.9;
    color:#666;
    margin-bottom:28px;
}

.featured-content .btn{
    margin-top:6px;
}

/*=========================================================
    LARGE TABLETS
=========================================================*/

@media (max-width:992px){

    .blog-hero{
        min-height:80vh;
        padding:110px 24px 70px;
    }

    .featured-article{
        padding:80px 0;
    }

    .featured-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .featured-content{
        text-align:center;
    }

    .featured-content h2{
        max-width:700px;
        margin:0 auto 22px;
    }

    .featured-content p{
        max-width:680px;
        margin:0 auto 24px;
    }

}

/*=========================================================
    TABLETS
=========================================================*/

@media (max-width:768px){

    .blog-hero{
        min-height:75vh;
        padding:100px 20px 60px;
    }

    .blog-hero h1{
        line-height:1.1;
    }

    .blog-hero p{
        font-size:1rem;
    }

    .hero-line{
        width:80px;
        margin:26px auto;
    }

    .featured-article{
        padding:70px 0;
    }

    .featured-grid{
        gap:32px;
    }

    .featured-image{
        border-radius:20px;
    }

}

/*=========================================================
    MOBILE
=========================================================*/

@media (max-width:576px){

    .blog-hero{
        padding:90px 18px 50px;
    }

    .blog-hero h1{
        font-size:2.6rem;
    }

    .blog-hero h3{
        font-size:1.35rem;
        margin-bottom:18px;
    }

    .blog-hero p{
        font-size:.95rem;
        line-height:1.7;
    }

    .blog-hero .btn{
        width:100%;
        max-width:280px;
    }

    .featured-article{
        padding:60px 0;
    }

    .featured-content h2{
        font-size:2rem;
    }

    .featured-content p{
        font-size:.95rem;
        line-height:1.8;
    }

}


/*=========================================================
    ARTICLES
=========================================================*/

.articles{
    background:var(--cream);
    padding:100px 0;
}

.articles .section-tag{
    display:block;
    text-align:center;
    margin-bottom:14px;
}

.articles h2{
    text-align:center;
    font-size:clamp(2.3rem,5vw,3.8rem);
    margin-bottom:55px;
}

/*=========================================================
    ARTICLE GRID
=========================================================*/

.article-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:30px;
    align-items:start;
}

/*=========================================================
    ARTICLE CARD
=========================================================*/

.article-card{
    display:flex;
    flex-direction:column;

    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    border-radius:24px;
    overflow:hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.article-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    border-color:rgba(142,28,28,.12);
}

/*=========================================================
    IMAGE
=========================================================*/

.article-card img{
    width:100%;
    height:240px;
    object-fit:cover;

    transition:transform .6s ease;
}

.article-card:hover img{
    transform:scale(1.05);
}

/*=========================================================
    CONTENT
=========================================================*/

.article-content{
    display:flex;
    flex-direction:column;
    flex:1;

    padding:28px;
}

.article-content span{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:max-content;

    padding:7px 16px;

    border-radius:999px;

    background:rgba(142,28,28,.08);

    color:var(--primary);

    font-size:.78rem;
    font-weight:700;

    letter-spacing:.08rem;
    text-transform:uppercase;

    margin-bottom:18px;
}

.article-content h3{
    font-size:1.7rem;
    line-height:1.35;
    margin-bottom:14px;
}

.article-content p{
    color:#666;
    line-height:1.75;
    margin-bottom:28px;
    flex:1;
}

.article-content a{
    display:inline-flex;
    align-items:center;
    gap:8px;

    margin-top:auto;

    color:var(--primary);
    font-weight:700;

    transition:
        gap .3s ease,
        color .3s ease;
}

.article-content a:hover{
    gap:14px;
    color:#6f1414;
}

/*=========================================================
    FLOATING LAYOUT
=========================================================*/

.article-card:nth-child(2){
    margin-top:22px;
}

.article-card:nth-child(3){
    margin-top:44px;
}

/*=========================================================
    DESKTOP
=========================================================*/

@media (max-width:1200px){

    .article-grid{
        gap:26px;
    }

    .article-content h3{
        font-size:1.55rem;
    }

}

/*=========================================================
    TABLETS
=========================================================*/

@media (max-width:992px){

    .articles{
        padding:80px 0;
    }

    .article-grid{
        grid-template-columns:repeat(2,1fr);
        gap:24px;
    }

    .article-card:nth-child(2),
    .article-card:nth-child(3){
        margin-top:0;
    }

    .article-card img{
        height:220px;
    }

}

/*=========================================================
    MOBILE
=========================================================*/

@media (max-width:768px){

    .articles{
        padding:70px 0;
    }

    .articles h2{
        margin-bottom:40px;
    }

    .article-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .article-card{
        border-radius:20px;
    }

    .article-card img{
        height:230px;
    }

    .article-content{
        padding:24px;
    }

    .article-content h3{
        font-size:1.45rem;
    }

    .article-content p{
        margin-bottom:22px;
    }

}

/*=========================================================
    SMALL MOBILE
=========================================================*/

@media (max-width:576px){

    .articles{
        padding:60px 0;
    }

    .article-card img{
        height:210px;
    }

    .article-content{
        padding:22px 20px;
    }

    .article-content span{
        font-size:.72rem;
        padding:6px 14px;
    }

    .article-content h3{
        font-size:1.3rem;
    }

    .article-content p{
        font-size:.95rem;
        line-height:1.7;
    }

}

/*=========================================================
    TOUCH DEVICES
=========================================================*/

@media (hover:none){

    .article-card:hover{
        transform:none;
        box-shadow:0 10px 30px rgba(0,0,0,.04);
    }

    .article-card:hover img{
        transform:none;
    }

    .article-content a:hover{
        gap:8px;
    }

}

/*=========================================================
    SCHOOL OF THOUGHT
=========================================================*/

.school{
    position:relative;
    overflow:hidden;
    background:#fff;
    padding:100px 0;
}

.school::before{
    content:"";
    position:absolute;
    top:-150px;
    right:-150px;

    width:380px;
    height:380px;

    border-radius:50%;

    background:rgba(142,28,28,.04);

    pointer-events:none;
}

.school-grid{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:.95fr 1.05fr;
    align-items:center;
    gap:70px;
}

/*=========================================================
    LEFT CONTENT
=========================================================*/

.school .section-tag{
    display:inline-block;
    margin-bottom:16px;
}

.school h2{
    max-width:560px;

    font-size:clamp(2.4rem,5vw,4rem);
    line-height:1.15;

    margin-bottom:24px;
}

.school p{
    font-size:1.02rem;
    line-height:1.9;
    color:#666;

    margin-bottom:22px;
}

.school p:last-child{
    margin-bottom:0;
}

/*=========================================================
    RIGHT CONTENT
=========================================================*/

.school-grid > div:last-child{
    position:relative;
    padding-left:36px;
}

.school-grid > div:last-child::before{

    content:"“";

    position:absolute;

    top:-28px;
    left:-8px;

    font-family:var(--heading);

    font-size:7rem;
    line-height:1;

    color:rgba(142,28,28,.08);

    user-select:none;
    pointer-events:none;
}

/*=========================================================
    SUBTLE EFFECT
=========================================================*/

.school-grid > div:last-child{
    border-left:3px solid rgba(142,28,28,.08);
}

/*=========================================================
    LARGE TABLETS
=========================================================*/

@media (max-width:1200px){

    .school-grid{
        gap:55px;
    }

}

/*=========================================================
    TABLETS
=========================================================*/

@media (max-width:992px){

    .school{
        padding:80px 0;
    }

    .school-grid{
        grid-template-columns:1fr;
        gap:45px;
    }

    .school h2{
        max-width:100%;
    }

    .school-grid > div:last-child{

        padding-left:28px;

        border-left:2px solid rgba(142,28,28,.08);

    }

    .school-grid > div:last-child::before{

        font-size:6rem;
        top:-22px;

    }

}

/*=========================================================
    MOBILE
=========================================================*/

@media (max-width:768px){

    .school{
        padding:70px 0;
    }

    .school::before{

        width:260px;
        height:260px;

        top:-110px;
        right:-110px;

    }

    .school-grid{
        gap:36px;
    }

    .school h2{

        font-size:2.4rem;
        line-height:1.2;

    }

    .school p{

        font-size:.98rem;
        line-height:1.8;

    }

    .school-grid > div:last-child{

        padding-left:22px;

    }

    .school-grid > div:last-child::before{

        font-size:5rem;
        left:-5px;

    }

}

/*=========================================================
    SMALL MOBILE
=========================================================*/

@media (max-width:576px){

    .school{
        padding:60px 0;
    }

    .school h2{
        font-size:2rem;
        margin-bottom:18px;
    }

    .school p{
        font-size:.95rem;
        line-height:1.75;
        margin-bottom:18px;
    }

    .school-grid > div:last-child{

        padding-left:18px;

    }

    .school-grid > div:last-child::before{

        font-size:4rem;
        top:-12px;

    }

}

/*=========================================================
    VERY SMALL DEVICES
=========================================================*/

@media (max-width:400px){

    .school h2{
        font-size:1.8rem;
    }

    .school p{
        font-size:.92rem;
    }

}

/*=========================================================
    DISCIPLINES
=========================================================*/

.disciplines{
    padding:100px 0;
    background:#faf8f5;
    overflow:hidden;
    position:relative;
}

.disciplines .section-tag{
    display:block;
    text-align:center;
    margin-bottom:14px;
}

.disciplines h2{
    text-align:center;
    font-size:clamp(2.3rem,5vw,3.8rem);
    margin-bottom:55px;
}

/*=========================================================
    SLIDER
=========================================================*/

.discipline-slider{
    position:relative;
    width:100vw;
    margin-left:calc(50% - 50vw);
    overflow:hidden;
}

.discipline-track{
    display:flex;
    align-items:stretch;
    gap:24px;
    width:max-content;

    animation:scrollCards 42s linear infinite;

    will-change:transform;
}

.discipline-slider:hover .discipline-track{
    animation-play-state:paused;
}

/*=========================================================
    CARD
=========================================================*/

.discipline-card{

    flex-shrink:0;

    width:360px;
    min-height:280px;

    padding:32px 28px;

    background:#fff;

    border:1px solid #ece7df;
    border-radius:22px;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.discipline-card:hover{

    transform:translateY(-8px);

    border-color:rgba(142,28,28,.12);

    box-shadow:
        0 22px 55px rgba(0,0,0,.09);

}

.discipline-card h3{

    font-size:1.4rem;

    margin-bottom:16px;

    line-height:1.3;

}

.discipline-card p{

    color:#555;

    line-height:1.8;

    font-size:.98rem;

}

/*=========================================================
    EDGE FADES
=========================================================*/

.discipline-slider::before,
.discipline-slider::after{

    content:"";

    position:absolute;

    top:0;
    bottom:0;

    width:120px;

    z-index:3;

    pointer-events:none;

}

.discipline-slider::before{

    left:0;

    background:
        linear-gradient(
            to right,
            #faf8f5 0%,
            rgba(250,248,245,.85) 35%,
            transparent 100%
        );

}

.discipline-slider::after{

    right:0;

    background:
        linear-gradient(
            to left,
            #faf8f5 0%,
            rgba(250,248,245,.85) 35%,
            transparent 100%
        );

}

/*=========================================================
    ANIMATION
=========================================================*/

@keyframes scrollCards{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

/*=========================================================
    LARGE TABLETS
=========================================================*/

@media (max-width:1200px){

    .discipline-card{

        width:330px;

        min-height:270px;

    }

}

/*=========================================================
    TABLETS
=========================================================*/

@media (max-width:992px){

    .disciplines{

        padding:80px 0;

    }

    .discipline-track{

        gap:20px;

        animation-duration:36s;

    }

    .discipline-card{

        width:300px;

        min-height:260px;

        padding:28px 24px;

    }

    .discipline-card h3{

        font-size:1.3rem;

    }

}

/*=========================================================
    MOBILE
=========================================================*/

@media (max-width:768px){

    .disciplines{

        padding:70px 0;

    }

    .disciplines h2{

        margin-bottom:40px;

    }

    .discipline-track{

        gap:18px;

        animation-duration:30s;

    }

    .discipline-card{

        width:270px;

        min-height:240px;

        padding:24px 20px;

        border-radius:18px;

    }

    .discipline-card h3{

        font-size:1.2rem;

        margin-bottom:14px;

    }

    .discipline-card p{

        font-size:.95rem;

        line-height:1.7;

    }

    .discipline-slider::before,
    .discipline-slider::after{

        width:60px;

    }

}

/*=========================================================
    SMALL MOBILE
=========================================================*/

@media (max-width:576px){

    .disciplines{

        padding:60px 0;

    }

    .discipline-card{

        width:240px;

        min-height:220px;

        padding:20px 18px;

    }

    .discipline-card h3{

        font-size:1.1rem;

    }

    .discipline-card p{

        font-size:.92rem;

    }

}

/*=========================================================
    TOUCH DEVICES
=========================================================*/

@media (hover:none){

    .discipline-track{

        animation-play-state:running;

    }

    .discipline-card:hover{

        transform:none;

        border-color:#ece7df;

        box-shadow:0 12px 35px rgba(0,0,0,.05);

    }

}

/*=========================================================
    ACCESSIBILITY
=========================================================*/

@media (prefers-reduced-motion:reduce){

    .discipline-track{

        animation:none;

    }

    .discipline-card{

        transition:none;

    }

}

/*=========================================================
    TEAM PREVIEW
=========================================================*/

.team-preview{
    position:relative;
    background:#fff;
    padding:100px 0;
}

.team-preview .section-tag{
    display:block;
    text-align:center;
    margin-bottom:14px;
}

.team-preview h2{
    text-align:center;
    font-size:clamp(2.4rem,5vw,3.8rem);
    margin-bottom:55px;
}

/*=========================================================
    TEAM GRID
=========================================================*/

.team-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr;
    gap:24px;
    align-items:start;
}

/*=========================================================
    COMMON MEMBER CARD
=========================================================*/

.member{
    overflow:hidden;
    background:#fff;

    border:1px solid rgba(0,0,0,.06);
    border-radius:24px;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.member img{
    display:block;
    width:100%;
    object-fit:cover;

    transition:transform .6s ease;
}

.member:hover{
    transform:translateY(-8px);

    border-color:rgba(142,28,28,.12);

    box-shadow:
        0 20px 55px rgba(0,0,0,.08);
}

.member:hover img{
    transform:scale(1.05);
}

/*=========================================================
    FOUNDER CARD
=========================================================*/

.member:first-child{

    grid-row:span 2;

    background:var(--cream);

}

.member:first-child img{

    height:430px;

}

.member:first-child h3{

    font-size:2rem;

    margin:26px 26px 12px;

}

.member:first-child p{

    margin:0 26px 30px;

    color:#666;

    line-height:1.8;

}

/*=========================================================
    TEAM MEMBERS
=========================================================*/

.member:not(:first-child) img{

    height:240px;

}

.member:not(:first-child) h3{

    font-size:1.35rem;

    margin:18px 20px 8px;

}

.member:not(:first-child) p{

    margin:0 20px 22px;

    color:#666;

    font-size:.95rem;

    line-height:1.7;

}

/*=========================================================
    DESKTOP
=========================================================*/

@media (max-width:1200px){

    .team-grid{

        gap:20px;

    }

    .member:first-child img{

        height:400px;

    }

}

/*=========================================================
    TABLETS
=========================================================*/

@media (max-width:992px){

    .team-preview{

        padding:80px 0;

    }

    .team-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .member:first-child{

        grid-column:1/-1;
        grid-row:auto;

    }

    .member:first-child img{

        height:380px;

    }

}

/*=========================================================
    MOBILE
=========================================================*/

@media (max-width:768px){

    .team-preview{

        padding:70px 0;

    }

    .team-preview h2{

        margin-bottom:40px;

    }

    .team-grid{

        grid-template-columns:1fr;

        gap:22px;

    }

    .member{

        border-radius:20px;

    }

    .member:first-child img{

        height:320px;

    }

    .member:not(:first-child) img{

        height:260px;

    }

    .member:first-child h3{

        font-size:1.8rem;

        margin:22px 20px 10px;

    }

    .member:first-child p{

        margin:0 20px 24px;

    }

    .member:not(:first-child) h3{

        font-size:1.25rem;

    }

}

/*=========================================================
    SMALL MOBILE
=========================================================*/

@media (max-width:576px){

    .team-preview{

        padding:60px 0;

    }

    .team-preview h2{

        font-size:2rem;

    }

    .member:first-child img{

        height:260px;

    }

    .member:not(:first-child) img{

        height:220px;

    }

    .member:first-child h3{

        font-size:1.6rem;

    }

    .member:first-child p,
    .member:not(:first-child) p{

        font-size:.92rem;

        line-height:1.65;

    }

}

/*=========================================================
    TOUCH DEVICES
=========================================================*/

@media (hover:none){

    .member:hover{

        transform:none;

        border-color:rgba(0,0,0,.06);

        box-shadow:0 10px 30px rgba(0,0,0,.04);

    }

    .member:hover img{

        transform:none;

    }

}

/*=========================================================
    ACCESSIBILITY
=========================================================*/

@media (prefers-reduced-motion:reduce){

    .member,
    .member img{

        transition:none;

    }

}