/* ======================================================
   RESPONSIVE
====================================================== */

@supports (height: 100dvh) {
    .architect-section {
        /* Use dvh on supported browsers */
        height: 100dvh;
        min-height: 100dvh;
    }
}

@supports not (height: 100dvh) {
    /* Fallback for older browsers */
    .architect-section {
        height: 100vh;
        min-height: 100vh;
    }
}

@media (min-width:1025px) and (max-width: 1366px) {
body .architect-section {
    grid-template-columns: 500px 1fr;
}
}


@media (max-width: 1024px) {
    body .architect-section{
        gap:25px;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 3fr;
        height: calc(var(--vh, 1vh) * 100);
        min-height: calc(var(--vh, 1vh) * 100);
    }
    body .architect-content{
        padding:25px;
    }
    body .swiper{
        padding-left:25px;
    }
    body .architect-slider .swiper-slide {
        width:100vw;
        justify-content:start !important;
    }
    body .architect-slider .swiper-slide img {
        height:30vh;
    }
    body .swiper-slide.text-slide{
        padding:25px;
        height:30vh;
        align-items: start;
        justify-content: start;
        padding-top:0 !important;
    }
    body .architect-content .description p{
    font-size: 24px;
    }
    body .architect-slider .swiper-wrapper{
        align-items: start !important;
    }
}

/* ======================================================
   SECTION LAYOUT
====================================================== */

.architect-section {
    position: relative;
    gap: 50px;
    min-height: 100vh;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 700px 1fr;
    will-change: transform;
}

/* ======================================================
   LEFT STATIC CONTENT
====================================================== */

.architect-content {
    position: relative;
    z-index: 3;
    width:100%;
    padding: 35px;
    padding-left:10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.architect-content .eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.architect-content h2 {
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 400;
    padding-bottom: 15px;
}

.architect-content .description p{
    font-size: 2rem;
}

.architect-content .btn {
    background-color: #423D39;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    width: fit-content;
    display: block;
    margin-top: 30px;
    transition: all 0.5s ease;
}

.architect-content .btn:hover {
   transform: translateY(6px);
}

/* ======================================================
   RIGHT SLIDER
====================================================== */

.architect-slider {
    position: relative;
    width:100%;
    overflow: hidden;
}
.architect-slider .swiper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.architect-slider .swiper-wrapper{
    height:100%;
    display:flex;
    flex-wrap: nowrap;
    gap:30px;
    align-items: center;
}

.architect-slider .swiper-slide {
    width: 750px;
    flex-shrink: 0;   
    display: flex;    
    justify-content: center;
}

.architect-slider .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    object-position: center center;
}

.swiper-slide.text-slide{
    justify-content: start;
    padding:100px;
    align-items: center;
}

.image-slide{
    display: flex;
    flex-flow: column;
    gap:15px;
}

/* Reserve space for pin-spacer */
.pin-spacer {
    min-height: 100vh !important;
}