/* Noluthando Calana — Portfolio Custom Styles */

.site-logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-logo-name {
    font-family: "Urbanist", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black-color, #1a1a1a);
    letter-spacing: -0.02em;
}

.site-logo-surname {
    font-family: "Jost", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--orange-color, #ff6b35);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.footer-logo-text {
    font-family: "Urbanist", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.footer-logo-text span {
    color: var(--orange-color, #ff6b35);
}

/* Hero — headline: fixed height, no layout shift on word swap */
.home-banner-lead {
    max-width: 34rem;
}

.home-banner-headline-wrap {
    min-height: 2.4em;
    position: relative;
    z-index: 20;
}

.home-banner-text-col {
    position: relative;
    z-index: 20;
}

.home-banner-headline {
    white-space: normal;
}

.home-banner-headline .banner-word-swap {
    display: block;
    margin-top: 0.05em;
}

.home-banner-headline .banner-word-swap .ah-words-wrapper {
    min-width: 11.5ch;
    display: inline-block;
    vertical-align: bottom;
}

/* Hero — portrait at original template scale + bottom fade */
.home-banner-img-col {
    min-height: auto;
}

.banner-portrait-wrap {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}

.home-banner-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 96%, rgba(0, 0, 0, 0.92) 99%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 96%, rgba(0, 0, 0, 0.92) 99%, transparent 100%);
}

.banner-portrait-wrap::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 10%;
    background: linear-gradient(
        to bottom,
        rgba(255, 245, 239, 0) 0%,
        rgba(255, 243, 234, 0.12) 100%
    );
    filter: blur(2px);
    pointer-events: none;
    z-index: 11;
}

.home-banner-shape {
    z-index: 1;
    opacity: 0.9;
}

.about-image-col .img-overlay img {
    object-fit: cover;
    object-position: center top;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-image-col .img-overlay::after {
    border-radius: 12px;
}

.bio-img {
    object-fit: cover;
}

.portfolio-massonary-items > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.blog-card-img {
    object-fit: cover;
    height: 240px;
}

.partner-label {
    font-family: "Urbanist", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black-color, #1a1a1a);
    text-align: center;
    padding: 1.75rem 1rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 1399px) {
    .home-banner-headline-wrap {
        min-height: 2.4em;
    }
}

@media (max-width: 1199px) {
    .home-banner-img {
        width: 75% !important;
    }
}

@media (max-width: 991px) {
    .home-banner-img {
        width: 75% !important;
    }

    .home-banner-headline-wrap {
        min-height: 2.4em;
    }
}

/* Mobile menu — replace template CreDesign logo with text logo */
@media only screen and (max-width: 1200px) {
    .mean-container .mean-bar::after {
        display: none !important;
        background-image: none !important;
        content: none !important;
    }

    .mean-container .mean-bar {
        display: flex;
        align-items: center;
        min-height: 56px;
    }

    .mobile-site-logo {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }
}
