@layer team-layout, team-content, team-components;

@layer team-layout {

    .team-profile-body,
    .team-profile__lightbox::backdrop {
        background:
            radial-gradient(circle at 88% 78%, rgb(116 18 76 / 45%) 0%, transparent 36%),
            radial-gradient(circle at 18% 100%, rgb(19 63 52 / 24%) 0%, transparent 38%),
            linear-gradient(145deg, #02000f 0%, #0c031c 55%, #1d071e 100%) no-repeat fixed;
        background-color: #02000f;
    }

    html {
        scrollbar-width: none;
    }

    html::-webkit-scrollbar {
        display: none;
    }

    .team-profile {
        --team-border-color: rgb(255 255 255 / 14%);
        --team-content-color: rgb(255 255 255 / 82%);
        --team-surface-color: rgb(255 255 255 / 4%);

        width: min(100% - 2rem, 80rem);
        margin: 0 auto;
        padding:
            clamp(8rem, 14vh, 11rem) 0 clamp(5rem, 10vh, 8rem);
    }

    .team-profile__hero {
        display: grid;
        grid-template-columns:
            minmax(16rem, 0.75fr) minmax(0, 1.25fr);
        align-items: center;
        gap: clamp(3rem, 8vw, 8rem);
        min-height: min(42rem, 72vh);
        padding: clamp(2rem, 5vw, 4rem) 0;
    }

    .team-profile__portrait {
        width: min(100%, 28rem);
        margin: 0;
    }

    .team-profile__portrait-image {
        display: block;
        width: 100%;
        height: min(60vh, 28rem);
        border: 1px solid var(--team-border-color);
        border-radius: 1rem;
        object-fit: cover;
        object-position: center 20%;
        box-shadow: 0 2rem 5rem rgb(0 0 0 / 45%);
    }

    .team-profile__introduction {
        min-width: 0;
    }

    .team-profile__gallery {
        margin: 0;
    }

    .team-profile__gallery-sections {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-profile__gallery-section {
        min-width: 0;
        padding-inline: clamp(1rem, 2vw, 1.75rem);
    }

    .team-profile__gallery-section:first-child {
        padding-inline-start: 0;
    }

    .team-profile__gallery-section:last-child {
        padding-inline-end: 0;
    }

    .team-profile__gallery-section+.team-profile__gallery-section {
        border-inline-start: 1px solid var(--team-border-color);
    }

    .team-profile__stats {
        display: grid;
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        margin: clamp(3rem, 7vw, 6rem) 0;
        border-block: 1px solid var(--team-border-color);
    }

    .team-profile__details {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: clamp(3rem, 8vw, 8rem);
        padding-top: clamp(2rem, 5vw, 4rem);
    }

    .team-profile__details-column {
        min-width: 0;
    }

    .team-profile__section {
        margin-bottom: clamp(3rem, 7vw, 5rem);
    }

    .team-profile__section:last-child {
        margin-bottom: 0;
    }
}

@layer team-content {
    .team-profile__back-link {
        display: inline-flex;
        align-items: center;
        gap: 0.625rem;
        color: var(--site-muted);
        font-family: var(--site-font-mono);
        font-size: 0.8rem;
        letter-spacing: 0.14em;
        text-decoration: none;
        text-transform: uppercase;
        transition: color 180ms ease;
    }

    .team-profile__back-link:focus-visible {
        border-radius: 0.25rem;
        outline: 0.125rem solid var(--site-accent);
        outline-offset: 0.375rem;
    }

    .team-profile__role {
        margin: 0 0 1.25rem;
        color: var(--site-accent);
        font-family: var(--site-font-mono);
        font-size: 0.75rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
    }

    .team-profile__name {
        max-width: 10ch;
        margin: 0;
        color: var(--site-foreground);
        font-size: clamp(3rem, 6vw, 5.5rem);
        font-weight: 700;
        line-height: 0.9;
        letter-spacing: -0.055em;
    }

    .team-profile__tagline {
        max-width: 32ch;
        margin: clamp(1.75rem, 4vw, 3rem) 0 0;
        color: var(--team-content-color);
        font-size: clamp(1.25rem, 2.4vw, 2rem);
        line-height: 1.35;
    }

    .team-profile__quote {
        max-width: 42rem;
        margin: clamp(2rem, 5vw, 3.5rem) 0 0;
        padding-left: 1.5rem;
        border-left: 1px solid var(--site-accent);
        color: rgb(255 255 255 / 62%);
        font-size: clamp(1rem, 1.6vw, 1.25rem);
        font-style: normal;
        line-height: 1.65;
    }

    .team-profile__quote p {
        margin: 0;
    }

    .team-profile__gallery-title,
    .team-profile__section-title {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin: 0 0 1.75rem;
        color: rgb(255 255 255 / 60%);
        font-family: var(--site-font-mono);
        font-size: 0.75rem;
        font-weight: 400;
        letter-spacing: 0.35em;
        text-transform: uppercase;
    }

    .team-profile__gallery-title::after,
    .team-profile__section-title::after {
        flex: 1;
        height: 1px;
        background: var(--team-border-color);
        content: "";
    }

    .team-profile__gallery-section-title {
        margin: 0 0 1.25rem;
        color: rgb(255 255 255 / 72%);
        font-family: var(--site-font-mono);
        font-size: 0.6875rem;
        font-weight: 400;
        letter-spacing: 0.24em;
        text-align: center;
        text-transform: uppercase;
    }

    .team-profile__biography p {
        max-width: 68ch;
        margin: 0 0 1.25rem;
        color: var(--team-content-color);
        font-size: clamp(1rem, 1.4vw, 1.125rem);
        line-height: 1.75;
    }

    .team-profile__biography p:last-child {
        margin-bottom: 0;
    }
}

@layer team-components {
    .team-profile__gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-content: start;
        gap: 1rem;
    }

    .team-profile__gallery-grid[data-team-gallery-multipage] {
        min-block-size: var(--team-gallery-two-row-height);
    }

    .team-profile__gallery-item {
        min-width: 0;
        margin: 0;
    }

    .team-profile__gallery-item[hidden] {
        display: none;
    }

    html[data-scripting="enabled"] .team-profile__gallery-section:has(> .team-profile__gallery-pagination[hidden])>.team-profile__gallery-grid>.team-profile__gallery-item:nth-child(n + 7) {
        display: none;
    }

    .team-profile__gallery-thumbnail {
        display: block;
        overflow: hidden;
        aspect-ratio: 1;
        border: 1px solid var(--team-border-color);
        border-radius: 0.5rem;
        background: var(--team-surface-color);
        cursor: zoom-in;
        transition: border-color 180ms ease;
    }

    .team-profile__gallery-thumbnail[data-gallery-video-src] {
        cursor: pointer;
    }

    .team-profile__gallery-thumbnail:focus-visible {
        outline: 0.125rem solid var(--site-accent);
        outline-offset: 0.25rem;
    }

    .team-profile__gallery-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(0.85) contrast(1.05);
        transition:
            filter 180ms ease,
            transform 180ms ease;
    }

    .team-profile__gallery-video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }

    .team-profile__gallery-caption {
        margin-top: 0.5rem;
        color: var(--site-muted);
        font-size: 0.6875rem;
        line-height: 1.4;
    }

    .team-profile__gallery-pagination {
        display: grid;
        grid-template-columns:
            2.75rem minmax(0, 1fr) 2.75rem;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .team-profile__gallery-pagination[hidden] {
        display: none;
    }

    .team-profile__gallery-page-buttons {
        display: flex;
        min-width: 0;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .team-profile__gallery-page-button {
        display: grid;
        min-width: 2.75rem;
        height: 2.75rem;
        padding: 0 0.625rem;
        border: 1px solid var(--team-border-color);
        border-radius: 999px;
        background: transparent;
        color: var(--site-muted);
        font-family: var(--site-font-mono);
        font-size: 0.6875rem;
        cursor: pointer;
        place-items: center;
        transition:
            border-color 180ms ease,
            background-color 180ms ease,
            color 180ms ease;
    }

    .team-profile__gallery-page-button[aria-current="page"] {
        border-color: rgb(170 243 230 / 65%);
        background: rgb(170 243 230 / 12%);
        color: var(--site-accent);
    }

    .team-profile__gallery-page-button:focus-visible {
        outline: 0.125rem solid var(--site-accent);
        outline-offset: 0.25rem;
    }

    .team-profile__gallery-page-direction {
        display: grid;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 50%;
        background: transparent;
        color: rgb(255 255 255 / 58%);
        cursor: pointer;
        place-items: center;
        transition:
            border-color 180ms ease,
            background-color 180ms ease,
            color 180ms ease,
            opacity 180ms ease;
    }

    .team-profile__gallery-page-direction--previous {
        justify-self: start;
    }

    .team-profile__gallery-page-direction--next {
        justify-self: end;
    }

    .team-profile__gallery-page-direction span {
        display: grid;
        width: 1rem;
        height: 1rem;
        font-size: 0;
        place-items: center;
    }

    .team-profile__gallery-page-direction span::before {
        width: 0.5rem;
        height: 0.5rem;
        border: solid currentcolor;
        border-width: 0 0.1rem 0.1rem 0;
        content: "";
    }

    .team-profile__gallery-page-direction--previous span::before {
        transform: rotate(135deg);
    }

    .team-profile__gallery-page-direction--next span::before {
        transform: rotate(-45deg);
    }

    .team-profile__gallery-page-direction:focus-visible {
        outline: 0.125rem solid var(--site-accent);
        outline-offset: 0.25rem;
    }

    .team-profile__gallery-page-direction:disabled {
        border-color: transparent;
        background: transparent;
        color: rgb(255 255 255 / 24%);
        cursor: default;
        opacity: 0.55;
    }

    .team-profile__lightbox {
        position: fixed;
        inset: 0;
        width: 100vw;
        max-width: none;
        height: 100dvh;
        max-height: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--site-foreground);
        box-shadow: none;
    }

    .team-profile__lightbox-content {
        display: grid;
        width: 100%;
        height: 100%;
        padding: 10dvh 1rem 1rem;
        align-items: start;
        justify-items: center;
    }

    .team-profile__lightbox-figure {
        position: relative;
        display: grid;
        width: min(72rem, calc(80vw - 5.5rem));
        max-width: 100%;
        max-height: 80dvh;
        margin: 0;
        place-items: center;
    }

    .team-profile__lightbox-navigation {
        position: fixed;
        z-index: 2;
        top: 50%;
        display: grid;
        width: clamp(2.75rem, 4vw, 3.25rem);
        height: clamp(2.75rem, 4vw, 3.25rem);
        padding: 0;
        border: 0;
        appearance: none;
        background: transparent;
        color: rgb(255 255 255 / 88%);
        cursor: pointer;
        opacity: 0.92;
        place-items: center;
        transform: translateY(-50%);
    }

    .team-profile__lightbox-navigation[hidden] {
        display: none;
    }

    .team-profile__lightbox-navigation--previous {
        left: max(0.5rem, env(safe-area-inset-left));
    }

    .team-profile__lightbox-navigation--next {
        right: max(0.5rem, env(safe-area-inset-right));
    }

    .team-profile__lightbox-navigation span {
        display: grid;
        width: 1.25rem;
        height: 1.25rem;
        font-size: 0;
        place-items: center;
    }

    .team-profile__lightbox-navigation span::before {
        width: 0.6875rem;
        height: 0.6875rem;
        border: solid currentcolor;
        border-width: 0 0.125rem 0.125rem 0;
        content: "";
    }

    .team-profile__lightbox-navigation--previous span::before {
        transform: rotate(135deg);
    }

    .team-profile__lightbox-navigation--next span::before {
        transform: rotate(-45deg);
    }

    .team-profile__lightbox-navigation:focus-visible {
        outline: 0.125rem solid var(--site-accent);
        outline-offset: 0.25rem;
    }

    .team-profile__lightbox-close {
        position: fixed;
        z-index: 2;
        top: max(0.5rem, env(safe-area-inset-top));
        right: max(0.5rem, env(safe-area-inset-right));
        display: grid;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        border: 0;
        background: transparent;
        color: rgb(255 255 255 / 82%);
        cursor: pointer;
        opacity: 0.9;
        place-items: center;
        transition:
            color 180ms ease,
            opacity 180ms ease;
    }

    .team-profile__lightbox-close span {
        position: relative;
        display: block;
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0;
        transform: rotate(0deg);
        transform-origin: 50% 50%;
        transition: transform 180ms ease;
    }

    .team-profile__lightbox-close span::before,
    .team-profile__lightbox-close span::after {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 0.125rem;
        border-radius: 999px;
        background: currentcolor;
        content: "";
        transform-origin: center;
    }

    .team-profile__lightbox-close span::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .team-profile__lightbox-close span::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .team-profile__lightbox-close:focus-visible {
        border-radius: 50%;
        outline: 0.125rem solid var(--site-accent);
        outline-offset: 0.25rem;
    }

    .team-profile__lightbox-image {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: calc(80dvh - 3rem);
        border-radius: 0.25rem;
        object-fit: contain;
        box-shadow:
            0 0 0 1px rgb(170 243 230 / 28%),
            0 2rem 6rem rgb(0 0 0 / 55%);
        touch-action: pan-y pinch-zoom;
        user-select: none;
        -webkit-user-drag: none;
    }

    .team-profile__lightbox-video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: calc(80dvh - 3rem);
        border-radius: 0.25rem;
        background: #000;
        object-fit: contain;
        box-shadow:
            0 0 0 1px rgb(170 243 230 / 28%),
            0 2rem 6rem rgb(0 0 0 / 55%);
    }

    .team-profile__lightbox-image[hidden],
    .team-profile__lightbox-video[hidden] {
        display: none;
    }

    .team-profile__lightbox-caption {
        max-width: 60ch;
        margin-top: 1rem;
        color: rgb(255 255 255 / 72%);
        font-size: 0.875rem;
        line-height: 1.5;
        text-align: center;
    }

    .team-profile__stat {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        min-width: 0;
        min-height: 9rem;
        padding: 1.5rem;
        text-align: center;
    }

    .team-profile__stat+.team-profile__stat {
        border-left: 1px solid var(--team-border-color);
    }

    .team-profile__stat-label {
        margin-top: 0.5rem;
        color: var(--site-muted);
        font-family: var(--site-font-mono);
        font-size: 0.6875rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
    }

    .team-profile__stat-value {
        margin: 0;
        color: var(--site-foreground);
        font-size: clamp(1.75rem, 4vw, 3rem);
        font-weight: 600;
        line-height: 1;
    }

    .team-profile__expertise {
        display: flex;
        flex-wrap: wrap;
        gap: 0.625rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .team-profile__expertise-item {
        padding: 0.625rem 0.875rem;
        border: 1px solid var(--team-border-color);
        border-radius: 999px;
        background: var(--team-surface-color);
        color: rgb(255 255 255 / 72%);
        font-size: 0.8125rem;
        line-height: 1;
    }

    .team-profile__timeline {
        position: relative;
        margin: 0;
        padding: 0 0 0 1.5rem;
        list-style: none;
    }

    .team-profile__timeline::before {
        position: absolute;
        top: 0.375rem;
        bottom: 0.375rem;
        left: 0.25rem;
        width: 1px;
        background: var(--team-border-color);
        content: "";
    }

    .team-profile__timeline-item {
        position: relative;
        margin-bottom: 2rem;
    }

    .team-profile__timeline-item:last-child {
        margin-bottom: 0;
    }

    .team-profile__timeline-item::before {
        position: absolute;
        top: 0.375rem;
        left: -1.4375rem;
        width: 0.4375rem;
        height: 0.4375rem;
        border-radius: 50%;
        background: var(--site-accent);
        box-shadow: 0 0 0.75rem rgb(170 243 230 / 40%);
        content: "";
    }

    .team-profile__timeline-period {
        margin: 0 0 0.5rem;
        color: var(--site-accent);
        font-family: var(--site-font-mono);
        font-size: 0.6875rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .team-profile__timeline-title {
        margin: 0;
        color: var(--site-foreground);
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.4;
    }

    .team-profile__timeline-detail {
        margin: 0.5rem 0 0;
        color: var(--site-muted);
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    @media (hover: hover) {
        .team-profile__back-link:hover {
            color: var(--site-foreground);
        }

        .team-profile__gallery-thumbnail:hover {
            border-color: rgb(170 243 230 / 65%);
        }

        .team-profile__gallery-thumbnail:hover .team-profile__gallery-image {
            filter: saturate(1) contrast(1.05);
            transform: scale(1.04);
        }

        .team-profile__gallery-page-button:hover {
            border-color: rgb(170 243 230 / 50%);
            color: var(--site-foreground);
        }

        .team-profile__gallery-page-direction:not(:disabled):hover {
            border-color: rgb(170 243 230 / 42%);
            background: rgb(170 243 230 / 8%);
            color: var(--site-accent);
            opacity: 1;
        }

        .team-profile__lightbox-close:hover {
            color: var(--site-accent);
            opacity: 1;
        }

        .team-profile__lightbox-close:hover span {
            transform: rotate(90deg);
        }
    }

    @media (min-width: 48.001rem) {
        .team-profile__lightbox-content {
            padding: 5dvh 1rem;
            align-items: center;
        }

        .team-profile__lightbox-figure {
            width: min(90rem, calc(90vw - 5.5rem));
            max-height: 90dvh;
        }

        .team-profile__lightbox-image,
        .team-profile__lightbox-video {
            max-height: calc(90dvh - 3rem);
        }
    }

    @media (min-width: 48.001rem) and (hover: hover) and (pointer: fine) {
        .team-profile__lightbox-image[data-team-gallery-zoom-enabled] {
            cursor: zoom-in;
            transform-origin: 50% 50%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoomed] {
            cursor: zoom-out;
            will-change: transform;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-scale="1.25"][data-team-gallery-zoomed] {
            transform: scale(1.25);
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-scale="1.5"][data-team-gallery-zoomed] {
            transform: scale(1.5);
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-scale="2"][data-team-gallery-zoomed] {
            transform: scale(2);
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-scale="2.5"][data-team-gallery-zoomed] {
            transform: scale(2.5);
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="top-left"] {
            transform-origin: 0% 0%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="top-center"] {
            transform-origin: 50% 0%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="top-right"] {
            transform-origin: 100% 0%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="center-left"] {
            transform-origin: 0% 50%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="center-center"] {
            transform-origin: 50% 50%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="center-right"] {
            transform-origin: 100% 50%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="bottom-left"] {
            transform-origin: 0% 100%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="bottom-center"] {
            transform-origin: 50% 100%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-origin="bottom-right"] {
            transform-origin: 100% 100%;
        }

        .team-profile__lightbox-image[data-team-gallery-zoom-enabled]:focus-visible {
            outline: 0.125rem solid var(--site-accent);
            outline-offset: 0.25rem;
        }
    }

    @media (min-width: 48.001rem) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
        .team-profile__lightbox-image[data-team-gallery-zoom-enabled] {
            transition: transform 180ms ease;
        }
    }
}

@media (max-width: 60rem) {
    .team-profile {
        width: min(100% - 3rem, 46rem);
    }

    .team-profile__hero {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
    }

    .team-profile__portrait {
        width: min(70vw, 24rem);
    }

    .team-profile__name {
        max-width: none;
    }
}

@media (max-width: 48rem) {
    .team-profile {
        width: min(100% - 2rem, 40rem);
        padding-top: 7rem;
    }

    .team-profile__portrait {
        width: 100%;
    }

    .team-profile__portrait-image {
        height: auto;
    }

    .team-profile__gallery-sections {
        grid-template-columns: minmax(0, 1fr);
    }

    .team-profile__gallery-section {
        padding-inline: 0;
    }

    .team-profile__gallery-section+.team-profile__gallery-section {
        margin-top: 2rem;
        padding-top: 2rem;
        border-block-start: 1px solid var(--team-border-color);
        border-inline-start: 0;
    }

    .team-profile__gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-profile__lightbox-content {
        padding:
            max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
        align-items: center;
    }

    .team-profile__lightbox-figure {
        width: calc(100vw - 2rem);
    }

    .team-profile__lightbox-navigation--previous {
        background:
            radial-gradient(circle 0.75rem at calc(50% - 0.125rem) calc(50% - 0.12rem),
                rgb(0 0 0 / 80%) 98%,
                transparent 100%);
    }

    .team-profile__lightbox-navigation--next {
        background:
            radial-gradient(circle 0.75rem at calc(50% + 0.125rem) calc(50% - 0.12rem),
                rgb(0 0 0 / 80%) 98%,
                transparent 100%);
    }

    .team-profile__lightbox-navigation span::before {
        filter:
            drop-shadow(0 0.125rem 0.2rem rgb(0 0 0 / 80%));
    }

    .team-profile__lightbox-image,
    .team-profile__lightbox-video {
        box-shadow:
            0 0 0 1px rgb(255 255 255 / 12%),
            0 1rem 3rem rgb(0 0 0 / 42%);
    }

    .team-profile__lightbox-image[data-team-gallery-mobile-zoom-enabled] {
        touch-action: none;
        transform:
            translate3d(var(--team-gallery-mobile-zoom-x, 0px),
                var(--team-gallery-mobile-zoom-y, 0px),
                0) scale(var(--team-gallery-mobile-zoom-scale, 1));
        transform-origin: 50% 50%;
    }

    .team-profile__lightbox-image[data-team-gallery-mobile-zoomed] {
        will-change: transform;
    }

    .team-profile__details {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(3rem, 7vw, 5rem);
    }

    .team-profile__stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .team-profile__stat {
        min-height: 7rem;
    }

    .team-profile__stat+.team-profile__stat {
        border-top: 1px solid var(--team-border-color);
        border-left: 0;
    }
}