/* ─────────────────────────────────────────
   Our Team Page
───────────────────────────────────────── */

.our-team-page {
    background-color: var(--color-darkgrey);
    position: relative;
}

.ot-gradient-orb {
    position: fixed;
    top: -40vw;
    right: -40vw;
    width: 100vw;
    pointer-events: none;
    z-index: 0;
}

.ot-gradient-orb img {
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
    opacity: 0.5;
}

.our-team-page > *:not(.ot-gradient-orb) {
    position: relative;
    z-index: 1;
}

/* ─────────────────────────────────────────
   Hero
───────────────────────────────────────── */

.ot-hero {
    padding-top: max(140px, 11vw);
}

.ot-hero-content {
    display: flex;
    flex-direction: column;
    gap: max(20px, 1.5vw);
}

.ot-hero-eyebrow {
    color: var(--overlay-text-color) !important;
    opacity: 1;
}

.ot-hero-heading {
    font-family: var(--font1);
    font-size: max(calc(64px * var(--heading-font-scale)), calc(5.8vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 700;
    color: var(--overlay-text-color);
    line-height: calc(92% * var(--heading-font-line-height-scale));
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 80vw;
}

.ot-hero-sub {
    font-family: var(--font2);
    font-size: max(14px, calc(1vw * var(--scale)));
    line-height: 165%;
    color: var(--overlay-text-color);
    opacity: 0.6;
    max-width: 90ch;
}

/* ─────────────────────────────────────────
   Team Grid
───────────────────────────────────────── */

.ot-team-section {
    padding: max(36px, 3vw) 0;
}

.ot-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: max(40px, 4vw);
}

.ot-member {
    display: flex;
    flex-direction: column;
    gap: max(16px, 1.2vw);
}

.ot-member-photo-wrap {
    width: 20vw;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: max(6px, 0.4vw);
    background-color: #1a1a1a;
}

.ot-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.ot-member-info {
    display: flex;
    flex-direction: column;
    gap: max(6px, 0.4vw);
}

.ot-member-name {
    font-family: var(--font2);
    font-size: max(18px, calc(1.3vw * var(--scale)));
    font-weight: 600;
    color: var(--overlay-text-color);
    line-height: 120%;
}

.ot-member-role {
    color: var(--overlay-text-color) !important;
    opacity: 0.45;
    font-size: max(11px, calc(0.76vw * var(--scale))) !important;
    letter-spacing: 0.08em;
}

.ot-member-bio {
    font-family: var(--font2);
    font-size: max(13px, calc(0.9vw * var(--scale)));
    line-height: 160%;
    color: var(--overlay-text-color);
    opacity: 0.65;
    margin-top: max(4px, 0.3vw);
}

.ot-member-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: max(12px, 1vw);
    width: 20vw;
}

.ot-member-header-text {
    display: flex;
    flex-direction: column;
    gap: max(4px, 0.3vw);
}

.ot-member-linkedin-inner {
    width: 16px;
    height: 16px;
    display: flex;
}

.ot-member-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: max(36px, 2.6vw);
    height: max(36px, 2.6vw);
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 238, 0.3);
    color: var(--overlay-text-color);
    text-decoration: none;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.ot-member-linkedin:hover {
    border-color: var(--overlay-text-color);
    opacity: 1;
}

/* ─────────────────────────────────────────
   Trusted By
───────────────────────────────────────── */

.ot-trusted-section {
    padding: max(80px, 7vw) 0;
}

.ot-trusted-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: max(20px, 1.5vw);
}

.ot-trusted-heading {
    font-family: var(--font1);
    font-size: max(calc(48px * var(--heading-font-scale)), calc(4.4vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 700;
    color: var(--overlay-text-color);
    line-height: calc(92% * var(--heading-font-line-height-scale));
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 50ch;
}

.ot-trusted-sub {
    font-family: var(--font2);
    font-size: max(14px, calc(1vw * var(--scale)));
    line-height: 165%;
    color: var(--overlay-text-color);
    opacity: 0.55;
    max-width: 100ch;
}

.ot-logos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: max(32px, 2.5vw);
    margin-top: max(32px, 2.5vw);
}

.ot-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: max(32px, 3vw);
}

.ot-logo-item img {
    height: max(45px, 3.5vw);
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.ot-logos-row:nth-child(2) .ot-logo-item img,
.ot-logos-row:nth-child(3) .ot-logo-item img {
    height: max(110px, 6.5vw);
}

.ot-logo-item:hover img {
    opacity: 1;
}


/* ─────────────────────────────────────────
   Careers
───────────────────────────────────────── */

.ot-careers-section {
    padding: max(40px, 3vw) 0 max(60px, 5vw);
    display: flex;
    justify-content: center;
}

.ot-careers-card {
    position: relative;
    width: 90vw;
    border-radius: 8px;
    padding: max(48px, 4vw);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: max(20px, 1.6vw);
}

.ot-careers-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, #00F1C9, #21AAFF);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ot-careers-heading {
    font-family: var(--font1);
    font-size: max(calc(36px * var(--heading-font-scale)), calc(2.8vw * var(--scale) * var(--heading-font-scale)));
    font-weight: 700;
    color: var(--overlay-text-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: calc(92% * var(--heading-font-line-height-scale));
}

.ot-careers-body {
    font-family: var(--font2);
    font-size: max(14px, calc(1vw * var(--scale)));
    line-height: 165%;
    color: var(--overlay-text-color);
    opacity: 0.6;
}

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */

@media screen and (max-width: 1080px) {
    .ot-hero-heading {
        max-width: 95vw;
    }
}

@media screen and (max-width: 767px) {
    .ot-hero {
        padding-top: max(90px, 5vw);
    }

    .ot-member-header {
        width: 100%;
    }

    .ot-hero-heading {
        font-size: calc(44px * var(--heading-font-scale));
    }

    .ot-team-grid {
        grid-template-columns: 1fr;
        gap: max(32px, 3vw);
    }

    .ot-member-photo-wrap {
        width: 50vw;
        align-self: flex-start;
    }

    .ot-trusted-heading {
        font-size: calc(36px * var(--heading-font-scale));
    }

    .ot-logo-item img {
        height: 28px;
    }

    .ot-logos-row:nth-child(2) .ot-logo-item img,
    .ot-logos-row:nth-child(3) .ot-logo-item img {
        height: 60px;
    }

    .ot-cta-heading {
        font-size: calc(38px * var(--heading-font-scale));
    }

    .ot-cta-links {
        flex-direction: column;
        gap: max(12px, 1vw);
    }
}
