/* ==========================================================================
   SECTION: CONTACT
   ========================================================================== */

.contact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.contact__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   Contact Content Area
   ========================================================================== */

.contact__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px clamp(16px, 5vw, 48px);
    z-index: 1;
}

/* Title */
.contact__title {
    width: 100%;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-style: italic;
    font-size: 72px;
    line-height: 1;
    color: var(--color-text-light-90);
    margin: 0;
    text-align: center;
}

/* Description */
.contact__description {
    width: 100%;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-light);
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--color-text-light-90);
    margin: 0;
    text-align: center;
}

/* ==========================================================================
   Contact Cards
   ========================================================================== */

.contact__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 45px;
    width: 100%;
}

.contact__card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 1 492px;
    max-width: 492px;
}

/* Portrait Frame */
.contact__portrait-frame {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.contact__portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Info Section */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 25px 20px;
    background: rgba(57, 86, 60, 0.38);
}

.contact__name {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-light);
    font-style: italic;
    font-size: var(--text-3xl);
    line-height: 1;
    color: var(--color-text-light-90);
    margin: 0;
}

.contact__bio {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-extralight);
    font-size: var(--text-lg);
    line-height: 1.4;
    color: var(--color-text-light-90);
    margin: 0;
}

.contact__email {
    font-family: 'Courier Prime', 'Courier New', monospace;
    font-weight: var(--font-weight-regular);
    font-size: var(--text-lg);
    line-height: 1;
    color: var(--color-orange);
    margin: 0;
}

/* ==========================================================================
   CTA Button
   ========================================================================== */

.contact__cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 400px;
    padding: 23px 40px;
    background: var(--color-orange);
    border: 4px solid var(--color-orange);
    border-radius: var(--corner-extra-large);
    text-decoration: none;
    mix-blend-mode: plus-lighter;
    transition: filter 0.2s ease, transform 0.1s ease;
}

.contact__cta-button:hover {
    filter: brightness(1.1);
}

.contact__cta-button:active {
    transform: scale(0.98);
}

.contact__cta-text {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-2xl);
    line-height: normal;
    color: var(--color-dark-green);
    text-align: center;
    white-space: nowrap;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1100px) {
    .contact__cards {
        gap: 32px;
    }

    .contact__card {
        flex: 0 1 420px;
        max-width: 420px;
    }

    .contact__portrait-frame {
        height: 300px;
    }
}

@media (max-width: 900px) {
    .contact__content {
        gap: 32px;
        padding: 60px 24px;
    }

    .contact__title {
        font-size: var(--text-4xl);
    }

    .contact__description {
        font-size: var(--text-lg);
    }

    .contact__cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .contact__card {
        flex: 0 1 auto;
        max-width: 500px;
        width: 100%;
    }

    .contact__portrait-frame {
        height: 320px;
    }

    .contact__name {
        font-size: var(--text-2xl);
    }

    .contact__bio {
        font-size: var(--text-base);
    }

    .contact__email {
        font-size: var(--text-base);
    }

    .contact__cta-button {
        min-width: 300px;
        padding: 18px 32px;
    }

    .contact__cta-text {
        font-size: var(--text-xl);
    }
}

@media (max-width: 600px) {
    .contact__content {
        gap: 28px;
        padding: 50px 16px;
    }

    .contact__title {
        font-size: var(--text-3xl);
    }

    .contact__description {
        font-size: var(--text-base);
    }

    .contact__card {
        max-width: 100%;
    }

    .contact__portrait-frame {
        height: 280px;
    }

    .contact__info {
        gap: 10px;
        padding: 20px 16px;
    }

    .contact__name {
        font-size: var(--text-xl);
    }

    .contact__bio {
        font-size: var(--text-sm);
    }

    .contact__email {
        font-size: var(--text-sm);
    }

    .contact__cta-button {
        min-width: auto;
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
    }

    .contact__cta-text {
        font-size: var(--text-lg);
    }
}
