.team-page {
    background: var(--color-surface);
}

.team-page__container {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.team-hero {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    background: var(--color-surface);
}

.team-hero__inner {
    max-width: 1920px;
    margin: 0 auto;
}

.team-hero__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    align-items: end;
}

.team-hero__main {
    grid-column: 1 / span 7;
}

.team-hero__aside {
    grid-column: 9 / span 4;
}

.team-hero__eyebrow,
.team-info__eyebrow {
    display: inline-block;
    margin: 0 0 24px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-secondary);
}

.team-hero__title,
.team-info__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--color-on-surface);
}

.team-hero__title-break,
.team-info__title-break {
    display: block;
}

.team-hero__text,
team-info__text {
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(119, 119, 119, 0.35);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-secondary);
}

.team-members {
    padding-top: 128px;
    padding-bottom: 128px;
}

.team-member {
    display: grid;
    grid-template-columns: 5fr 7fr;
    margin-bottom: 128px;
    background: transparent;
}

.team-member:last-child {
    margin-bottom: 0;
}

.team-member--reverse {
    grid-template-columns: 7fr 5fr;
}

.team-member--reverse .team-member__media {
    order: 2;
}

.team-member--reverse .team-member__content {
    order: 1;
}

.team-member__media {
    min-height: 100%;
}

.team-member__image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
    background: var(--color-surface-container-highest);
    filter: none;
    opacity: 1;
}

.team-member__content {
    background: var(--color-surface-container-lowest);
    padding: clamp(32px, 5vw, 96px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-member__role {
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #000;
}

.team-member__name {
    margin: 0 0 32px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #000;
}

.team-member__body {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.team-member__description {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: #000;
}

.team-member__practice {
    padding-top: 32px;
    border-top: 1px solid rgba(119, 119, 119, 0.15);
}

.team-member__practice-title {
    margin: 0 0 16px;
    font-size: 0.6875rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #000;
}

.team-member__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.team-member__list-item {
    position: relative;
    padding-left: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000;
}

.team-member__list-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: #000;
    transform: translateY(-50%);
}

.team-info {
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    background: var(--color-surface);
}

.team-info__inner {
    max-width: 1920px;
    margin: 0 auto;
}

.team-info__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    align-items: end;
}

.team-info__main {
    grid-column: 1 / span 7;
}

.team-info__aside {
    grid-column: 9 / span 4;
}

.team-contact {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.team-contact__background {
    position: absolute;
    inset: 0;
}

.team-contact__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(3px) brightness(1.05) contrast(0.9);
}

.team-contact__overlay {
    position: relative;
    z-index: 1;
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 96px 0;
}

.team-contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
}

.team-contact__details {
    color: #000;
}

.team-contact__eyebrow {
    display: block;
    margin-bottom: 24px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #666;
}

.team-contact__title {
    margin: 0 0 32px;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #000;
}

.team-contact__description {
    margin: 0 0 40px;
    max-width: 320px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #000;
}

.team-contact__items {
    display: grid;
    gap: 16px;
}

.team-contact__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.team-contact__item:hover {
    opacity: 0.75;
}

.team-contact__item-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
}

.team-contact__item-value {
    font-size: 1.125rem;
    font-family: var(--font-body);
    color: #000;
    font-weight: 400;
}

.team-contact__item[href^="tel"] .team-contact__item-value,
.team-contact__item[href^="mailto"] .team-contact__item-value {
    font-weight: 800;
}

@media (max-width: 1100px) {
    .team-contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        align-items: start;
    }

    .team-contact__description {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .team-contact__overlay {
        padding: 64px 0;
    }

    .team-contact__items {
        gap: 20px;
    }

    .team-contact__item-value {
        font-size: 1rem;
    }
}