/* Leadership profile page - layout mirrors the Gretex Corporate leadership profile */
.leadership-profile-page-body {
    background: #ffffff;
}

.main-hero {
    min-height: calc(100vh - 90px);
    padding: 60px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    background: linear-gradient(135deg, #081a3a 0%, #102852 52%, #183765 100%);
    overflow: hidden;
}

.hero-layout {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    flex: 1;
    box-sizing: border-box;
}

.hero-header {
    max-width: 56%;
    padding: 0 0 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: flex-end;
}

.hero-header > h1 {
    width: 100%;
    margin: 0;
    font-family: Urbanist, sans-serif;
    font-size: clamp(3.4rem, 7vw, 9rem);
    font-weight: 600;
    line-height: 1.08;
    color: #ffffff;
}

.hero-header > p {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.618;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.hero-media {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex: 0 0 44%;
    min-height: 100%;
}

.hero-media > img {
    display: block;
    width: min(100%, 600px);
    height: auto;
    object-fit: contain;
    object-position: bottom right;
}

.hero-footer {
    position: absolute;
    background-color: #ffffff;
    padding: 20px 40px;
    border-radius: 48px 0 0 0;
    bottom: 0;
    right: 0;
}

.hero-footer::before {
    content: '';
    height: 50px;
    width: 50px;
    position: absolute;
    background: transparent;
    top: -50px;
    right: 0;
    border-radius: 50px;
    box-shadow: 26px 26px 0 #fff;
}

.hero-footer::after {
    content: '';
    height: 50px;
    width: 50px;
    position: absolute;
    background-color: transparent;
    bottom: 0;
    left: -50px;
    border-radius: 50px;
    box-shadow: 26px 26px 0 #fff;
}

.breadcrumbs > a,
.breadcrumbs > span {
    font-family: Urbanist, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.618;
    text-decoration: none;
    color: #000000;
}

.breadcrumbs > a {
    color: #141e47;
}

.leadership-profile-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 96px 50px;
    background: #ffffff;
    box-sizing: border-box;
}

.profile-bio__content > h2 {
    width: 60%;
    margin: 0 0 28px;
    font-family: Urbanist, sans-serif;
    font-size: 2.617rem;
    font-weight: 500;
    line-height: 1.2;
    color: #12284c;
}

.profile-bio__content > p {
    margin: 0 0 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.618;
    color: #243245;
}

/* CTA */
.footer-cta-section {
    display: flex;
    background-color: #212121;
}

.cta-section-left,
.cta-section-right {
    width: 50%;
}

.cta-section-left {
    padding: 128px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 128px;
    box-sizing: border-box;
}

.cta-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-header > h4 {
    margin: 0;
    font-family: Urbanist, sans-serif;
    font-size: 2.617rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: #fff;
}

.cta-header > p {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    color: #fff;
}

.cta-button-main {
    border: 1px solid #fff;
    border-radius: 80px;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-decoration: none;
    line-height: 1.5;
    color: #fff;
    transition: all 0.3s ease-in;
}

.cta-button-main:hover {
    background-color: #fff;
    color: #000;
}

.cta-button-main:hover .cta-arrow path {
    fill: #000;
}

.cta-section-right {
    padding: 50px;
    background: linear-gradient(135deg, #081a3a 0%, #183765 100%);
}

@media screen and (max-width: 1024px) {
    .leadership-profile-page {
        padding: 96px 40px;
    }
}

@media screen and (max-width: 768px) {
    .main-hero {
        min-height: auto;
        padding: 48px 0 0;
    }

    .hero-layout {
        padding: 0 40px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 28px;
    }

    .hero-header {
        max-width: 100%;
        padding: 0;
        align-self: auto;
    }

    .hero-media {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .hero-media > img {
        width: min(100%, 440px);
    }

    .hero-footer {
        position: static;
        border-radius: 0;
        padding: 16px 40px;
    }

    .hero-footer::before,
    .hero-footer::after {
        display: none;
    }

    .leadership-profile-page {
        padding: 96px 24px;
    }

    .profile-bio__content > h2 {
        width: 100%;
    }

    .cta-section-left,
    .cta-section-right {
        width: 100%;
    }

    .cta-section-left {
        padding: 64px 40px;
        gap: 64px;
    }

    .cta-header > h4 {
        font-size: 1.618rem;
    }

    .cta-header > p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 430px) {
    .main-hero {
        padding: 36px 0 0;
    }

    .hero-layout {
        padding: 0 20px;
    }

    .hero-header > h1 {
        font-size: 2.617rem;
    }

    .hero-media > img {
        width: 100%;
        max-width: 360px;
    }

    .profile-bio__content > h2 {
        margin-bottom: 24px;
        font-size: 2rem;
    }

    .leadership-profile-page {
        padding: 40px 20px;
    }

    .profile-bio__content > p {
        font-size: 1rem;
    }

    .footer-cta-section {
        flex-direction: column;
    }

    .cta-section-left {
        padding: 64px 40px;
        gap: 32px;
    }

    .cta-header {
        gap: 8px;
    }

    .cta-section-right {
        display: none;
    }
}

/* Name reveal: letters slide in from the left one by one */
.hero-name__char {
    display: inline-block;
    opacity: 0;
    transform: translateX(-0.5em);
    animation: hero-name-in 0.25s ease-out forwards;
    animation-delay: calc(var(--i) * 28ms + 100ms);
}

@keyframes hero-name-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-name__char {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media screen and (max-width: 430px) {
    .hero-header > h1 {
        font-size: 3rem;
    }
}

/* Role letters animate in parallel with the name */
.hero-role .hero-name__char {
    animation-duration: 0.25s;
    animation-delay: calc(var(--i) * 28ms + 100ms);
}

.hero-role {
    white-space: normal;
}

.hero-word {
    display: inline-block;
    white-space: nowrap;
}

/* CTA: no right-hand blue panel; the left content spans the full width */
.cta-section-right {
    display: none;
}

.cta-section-left {
    width: 100%;
}
