/* ========================================
   GLOBAL FONT
======================================== */

body {
    font-family: "Montserrat", sans-serif;
}

/* ========================================
   PAGE
======================================== */

.team-simple-page {
    padding: 45px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}

/* Reuse existing header styling rhythm */

.team-page__header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 48px;
}

.team-page__title {
    margin: 0 0 16px;
}

.team-page__intro {
    max-width: 900px;
}

/* ========================================
   GRID
======================================== */

.team-simple-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;

    width: 100%;
    max-width: 100%;

    margin: 0 auto;
    box-sizing: border-box;
}

.team-simple-grid {
    perspective: 2000px;
}

.team-simple-grid__section-label {
    width: 100%;
    max-width: 100%;
    margin: 40px auto 20px;

    color: #5a5765;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(22px, 1.5vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.team-simple-card,
.team-simple-grid__statement {
    transform-style: preserve-3d;
    will-change: transform, opacity;

    opacity: 0;
    transform: rotateY(-25deg) translateX(-50px);
    transform-origin: left center;

    animation: teamSimpleEdenSingleIn 900ms cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(var(--team-card-index, 1) * 90ms);
}

@keyframes teamSimpleEdenSingleIn {
    to {
        opacity: 1;
        transform: rotateY(0deg) translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-simple-grid__item-animate {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ========================================
   CARD
======================================== */

.team-simple-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.team-simple-card {
    position: relative;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    background: #d9d9d9;
}

/* Optional subtle hover */

.team-simple-card:hover .team-simple-card__image {
    transform: scale(1.03);
}

.team-simple-card__image {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 500ms ease;
}

.team-simple-card--placeholder {
    background: #ededed;
    cursor: default;
    pointer-events: none;
}

.team-simple-card__placeholder-label {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(16px, 0.85vw, 16px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a5765;
}

/* ========================================
   IMAGE OVERLAY
======================================== */

.team-simple-card__overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    text-align: center;

    padding: 18px;
    padding-bottom: 30px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.42) 24%,
            rgba(0, 0, 0, 0) 40%);

    pointer-events: none;
}

.team-simple-card__hover {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 18px;
    padding-bottom: 32px;

    background: #ededed;

    opacity: 0;
    transition: opacity 300ms ease;

    text-align: center;
    pointer-events: none;
}

.team-simple-card__hover-quote {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.team-simple-card__hover-quote p {
    margin: 0;

    color: #363636;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(14px, 1.1vw, 20px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
}



.team-simple-card__hover-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-simple-card__hover-name {
    margin: 0 0 1px;
    color: #111;


    font-family: "Montserrat", sans-serif;

    font-size: 14px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-simple-card__hover-title {
    margin: 0;

    color: #111;


    font-family: "Montserrat", sans-serif;

    font-size: 11px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-simple-card:hover .team-simple-card__hover,
.team-simple-card:focus .team-simple-card__hover,
.team-simple-card:focus-visible .team-simple-card__hover {
    opacity: 1;
    pointer-events: auto;
}

/* ========================================
   TYPOGRAPHY
======================================== */

.team-simple-card__name {
    margin: 0 0 3px;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.team-simple-card__title {
    margin: 0;

    color: rgba(255, 255, 255, 0.9);

    font-family: "Montserrat", sans-serif;

    font-size: 11px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========================================
   STATEMENT PANEL
======================================== */

.team-simple-grid__statement {
    grid-column: span 2;

    aspect-ratio: auto;

    min-height: 100%;

    background: #ededed;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    text-align: center;
    box-sizing: border-box;
}

.team-simple-grid__statement-copy,
.team-simple-grid__statement-copy p {
    margin: 0;

    max-width: 720px;

    color: #555555;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(12px, 2vw, 18px);
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: .04em;
}

.team-simple-card__info {

	display: none;

}
/* ========================================
   TABLET
======================================== */

@media (max-width: 1100px) {

    .team-simple-card__overlay {
        padding: 16px;
    }

    .team-simple-grid__statement {
        padding: 32px;
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
    .team-simple-page {

        padding: 20px 22px 40px;

        /* adjust to taste */

    }

    .team-simple-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 20px;
        align-items: start;
    }

    .team-simple-grid__section-label {
        margin: 36px 0 18px;
        font-size: 24px;
        letter-spacing: 0.02em;
    }

    .team-simple-card {
        aspect-ratio: auto;
        overflow: visible;
        background: transparent;
    }

    .team-simple-card__image {
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: cover;
    }

    .team-simple-card__info {

        display: none;

        position: absolute;

        right: 0px;

        top: calc(100% - 36px);

        font-size: 20px;

        line-height: 1;

        color: #555;

        cursor: pointer;

        user-select: none;

        z-index: 20;
        pointer-events: auto;

        

    }

.team-simple-card:hover .team-simple-card__hover,

    .team-simple-card:focus .team-simple-card__hover,

    .team-simple-card:focus-visible .team-simple-card__hover {

        opacity: 0;

        pointer-events: none;

    }

    .team-simple-card.is-info-active .team-simple-card__hover {

        opacity: 1;

        pointer-events: auto;

    }


.team-simple-card__hover-quote p{
    font-size:12px;
    margin-bottom:10px;
}


    .team-simple-card__hover {

        display: flex;

        opacity: 0;

        pointer-events: none;

        transition: opacity 250ms ease;

    }


    .team-simple-card__overlay {
        position: static;
        inset: auto;

        display: block;

        padding: 6px 0 0;

        background: none;
        text-align: left;
    }

    .team-simple-card__name {
        margin: 0 0 2px;

        color: #111;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: 0;
        text-transform: none;
    }

    .team-simple-card__title {
        margin: 0;

        color: #111;
        font-size: 14px;
        font-weight: 300;
        line-height: 1.2;
        letter-spacing: 0;
        text-transform: none;
    }


    .team-simple-card:hover .team-simple-card__image {
        transform: none;
    }

    .team-simple-grid__statement {
        order: -1;
    }

    .team-simple-grid__statement-copy p{
        font-size:16px;
    }
    

}
