.hero-section .hero-content {
    max-width: 800px;
}
.hero-section .hero-title {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 90px;
    line-height: 1;
    letter-spacing: -0.9px;
    color: #1b1b1b;
    margin-bottom: 63px;
}
@media (max-width: 768px) {
    .hero-section .hero-title {
        font-size: 48px;
        letter-spacing: -0.48px;
        margin-bottom: 40px;
    }
}
.hero-section .hero-description {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.4;
    color: #1b1b1b;
    margin: 0;
}
@media (max-width: 768px) {
    .hero-section .hero-description {
        font-size: 18px;
    }
}
.team-section {
    background-color: #f2eae2;
    padding-top: 120px;
    padding-bottom: 120px;
}
@media (max-width: 768px) {
    .team-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}
.team-section .team-header {
    text-align: center;
    margin-bottom: 80px;
}
@media (max-width: 768px) {
    .team-section .team-header {
        text-align: left;
        margin-bottom: 60px;
    }
}
.team-section .team-title {
    font-size: 90px;
    line-height: 1;
    letter-spacing: -0.9px;
    color: #1b1b1b;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .team-section .team-title {
        font-size: 48px;
        letter-spacing: -0.48px;
        margin-bottom: 24px;
    }
}
.team-section .team-description {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #1b1b1b;
    max-width: 487px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .team-section .team-description {
        margin: 0;
    }
}
.team-section .row {
    margin-bottom: 0;
}
.team-section .row .member {
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
    .team-section .row .member {
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }
}
.team-section .team-member {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0);
    height: 100%;
}
@media (max-width: 768px) {
    .team-section .team-member {
        padding: 0;
        border-radius: 0;
    }
}
.team-section .team-member .member-image {
    position: relative;
}
.team-section .team-member .member-image img {
    width: 100%;
    aspect-ratio: 375/343;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .team-section .team-member .member-image img {
        border-radius: 0;
    }
}
.team-section .team-member .member-info {
    position: relative;
    padding: 16px;
    height: 130px;
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
@media (max-width: 992px) {
    .team-section .team-member .member-info {
        height: 100px;
    }
}
@media (max-width: 768px) {
    .team-section .team-member .member-info {
        height: auto;
        min-height: 80px;
        padding: 16px;
    }
}
.team-section .team-member .member-info .member-name {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: #1b1b1b;
    margin-bottom: 8px;
}
@media (max-width: 768px) {
    .team-section .team-member .member-info .member-name {
        font-size: 18px;
    }
}
.team-section .team-member .member-info .member-role {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #1b1b1b;
    margin: 0;
}
@media (max-width: 768px) {
    .team-section .team-member .member-info .member-role {
        font-size: 14px;
    }
}
/* Mobile description - shown inline */
.team-section .team-member .member-info .member-description {
    display: none;
}
@media (max-width: 768px) {
    .team-section .team-member .member-info .member-description {
        display: block;
        font-family: "Raleway", sans-serif;
        font-weight: 400;
        font-size: 13px;
        line-height: 1.5;
        color: #1b1b1b;
        margin-top: 8px;
    }
}
/* Full card overlay - desktop/tablet */
.team-section .team-member .member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    background: #005840;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.team-section .team-member .member-overlay .overlay-name {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 8px;
}
.team-section .team-member .member-overlay .overlay-role {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 16px 0;
}
.team-section .team-member .member-overlay .overlay-description {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #f3f3f3;
    margin: 0;
}
@media (max-width: 768px) {
    .team-section .team-member .member-overlay {
        display: none;
    }
}
@media (min-width: 769px) {
    .team-section .team-member:hover .member-overlay {
        opacity: 1;
        visibility: visible;
    }
    /* Active state for tablet click */
    .team-section .team-member.active .member-overlay {
        opacity: 1;
        visibility: visible;
    }
}
/* Tablet only - hide name and role in overlay, reduce font size */
@media (min-width: 769px) and (max-width: 1199px) {
    .team-section .team-member .member-overlay .overlay-name,
    .team-section .team-member .member-overlay .overlay-role {
        display: none;
    }
    .team-section .team-member .member-overlay .overlay-description {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .team-members {
        display: flex;
        flex-wrap: wrap;
    }
    .team-members .member {
        display: flex;
        position: relative;
    }
    .team-members .member .team-member {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    /* Centered divider using pseudo-element on odd items */
    .team-members .member:nth-of-type(odd)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background-color: #dfcdbc;
        transform: translateX(50%);
    }
}
.join-team-section {
    padding: 80px;
}
@media (max-width: 768px) {
    .join-team-section {
        padding: 56px 20px;
    }
}
.join-team-section .join-team-content {
    max-width: 1280px;
}
.join-team-section .join-team-eyebrow {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #1b1b1b;
    margin-bottom: 40px;
}
@media (min-width: 992px) {
    .join-team-section .join-team-eyebrow {
        margin-bottom: 0;
    }
}
.join-team-section .join-team-title {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.96px;
    color: #000;
    margin-bottom: 40px;
}
@media (max-width: 991px) {
    .join-team-section .join-team-title {
        font-size: 36px;
        letter-spacing: -0.72px;
    }
}
@media (max-width: 768px) {
    .join-team-section .join-team-title {
        font-size: 28px;
        letter-spacing: -0.56px;
    }
}
