/* about-us.css */

.about-page {
    background: var(--cream, #FAF9F6);
    color: var(--text, #465267);
}

.about-shell {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.about-hero {
    padding: 190px 0 105px;
    
    background-image:
        linear-gradient(
            90deg,
            rgba(250, 249, 246, 0.97) 0%,
            rgba(250, 249, 246, 0.90) 45%,
            rgba(250, 249, 246, 0.35) 75%,
            rgba(250, 249, 246, 0.10) 100%
        ),
        url('../images/about-us/about-us-hero.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.about-hero__inner {
    max-width: 1040px;
}

.about-eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
}

.about-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.06;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.about-hero__copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    max-width: 960px;
    margin-top: 42px;
}

.about-hero__copy p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--slateblue);
}

/* ---------------------------------------------------------
   SECTION HEADINGS
--------------------------------------------------------- */

.section-heading {
    margin-bottom: 42px;
}

.section-heading--centered {
    text-align: center;
}

.section-heading h2,
.careers-intro h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(32px, 3vw, 46px);
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* ---------------------------------------------------------
   TEAM
--------------------------------------------------------- */

.team-section {
    padding: 50px 0 50px;
    background: var(--white);
}

.team-list {
    max-width: 1040px;
    margin: 0 auto;
}

.team-profile {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: clamp(54px, 8vw, 100px);
    align-items: center;
    padding: 64px 0;
    border-top: 1px solid rgba(30, 47, 73, 0.13);
}

.team-profile:last-child {
    border-bottom: 1px solid rgba(30, 47, 73, 0.13);
}

.team-profile--reverse {
    grid-template-columns: minmax(0, 1fr) 330px;
}

.team-profile--reverse .team-profile__photo {
    grid-column: 2;
    grid-row: 1;
}

.team-profile--reverse .team-profile__content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.team-profile__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background: #ece9e3;
}

.team-profile__photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.team-profile__initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 44px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: rgba(30, 47, 73, 0.42);
}

.team-profile__content h3 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.team-profile__role {
    margin: 8px 0 0 !important;
    color: var(--burgundy) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.team-profile__rule {
    width: 44px;
    height: 2px;
    margin: 20px 0 24px;
    background: var(--burgundy);
    opacity: 0.75;
}

.team-profile--reverse .team-profile__rule {
    margin-left: auto;
}

.team-profile__content p {
    max-width: 610px;
    margin: 0 0 16px;
    color: var(--slateblue);
    font-size: 16px;
    line-height: 1.78;
}

.team-profile--reverse .team-profile__content p {
    margin-left: auto;
}

/* ---------------------------------------------------------
   CAREERS
--------------------------------------------------------- */

.careers-section {
    padding: 105px 0 120px;
    background: var(--navy);
    color: #ffffff;
}

.careers-section .about-eyebrow {
    color: #d8a7bb;
}

.careers-intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 52px;
}

.careers-intro h2 {
    color: #ffffff;
    max-width: 520px;
}

.careers-intro > p {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.8;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.career-card {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: clamp(30px, 4vw, 46px);
    background: var(--cream);
    color: var(--slateblue);
}

.career-card__type {
    margin: 0 0 14px;
    color: var(--burgundy);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.career-card h3 {
    max-width: 480px;
    margin: 0 0 22px;
    color: var(--navy);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.career-card > p:not(.career-card__type) {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.7;
}

.career-card ul {
    margin: 0 0 32px;
    padding-left: 20px;
}

.career-card li {
    margin-bottom: 9px;
    font-size: 15px;
    line-height: 1.55;
}

.career-card__link {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.career-card__link:hover,
.career-card__link:focus-visible {
    color: var(--burgundy);
}




/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 900px) {
    .about-hero {
        padding: 165px 0 80px;
    }

    .about-hero__copy,
    .careers-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-section {
        padding: 75px 0 90px;
    }

    .team-profile,
    .team-profile--reverse {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 44px;
    }

    .team-profile--reverse .team-profile__photo {
        grid-column: 2;
    }

    .team-profile--reverse .team-profile__content {
        grid-column: 1;
    }

    .career-grid {
        grid-template-columns: 1fr;
    }

    .career-card {
        min-height: 0;
    }
}

@media (max-width: 680px) {
    .about-shell {
        width: 88%;
    }

    .about-hero {
        padding: 145px 0 68px;

    }

    .about-hero h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .about-hero__copy {
        margin-top: 30px;
    }

    .team-profile,
    .team-profile--reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 46px 0;
    }

    .team-profile--reverse .team-profile__photo,
    .team-profile--reverse .team-profile__content,
    .team-profile__photo,
    .team-profile__content {
        grid-column: 1;
        grid-row: auto;
    }

    .team-profile__photo {
        width: min(100%, 330px);
        margin: 0 auto;
    }

    .team-profile--reverse .team-profile__content,
    .team-profile__content {
        text-align: center;
    }

    .team-profile__rule,
    .team-profile--reverse .team-profile__rule {
        margin-left: auto;
        margin-right: auto;
    }

    .team-profile__content p,
    .team-profile--reverse .team-profile__content p {
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .careers-section {
        padding: 78px 0 88px;
    }

    .career-card {
        padding: 30px 26px;
    }
}

