.tm {
    --fp-acc: #6d4cf0;
    --fp-soft: #f1eeff;
    --fp-line: #ebeaf2;
    --tm-ink: #0e0c1b;
}

.tm-hero {
    position: relative;
    isolation: isolate;
    margin-top: -64px;
    padding: 156px 0 56px;
    overflow: clip;
    background: linear-gradient(180deg, #f5f3ff, #fff 80%);
}

.tm-hero__bg i {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(14, 12, 27, .1) 1px, transparent 1.3px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 50% 60% at 78% 45%, #000 15%, transparent 72%);
}

.tm-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.tm-hero__grid > * {
    min-width: 0;
}

.tm-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 28px 0 0;
    font-size: 15px;
    color: #5f5f6e;
}

.tm-count b {
    font-size: 26px;
    font-weight: 700;
    color: var(--tm-ink);
    letter-spacing: -.02em;
}

.tm-count i {
    width: 1px;
    height: 22px;
    margin: 0 10px;
    background: #dcdbe6;
}

.tm-cloud {
    position: relative;
    height: 440px;
}

.tm-cloud__ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 300px;
    translate: -50% -50%;
    border-radius: 50%;
    border: 1px dashed rgba(109, 76, 240, .3);
    animation: tm-spin 40s linear infinite;
}

.tm-cloud__ring.is-b {
    width: 420px;
    height: 420px;
    animation-duration: 60s;
    animation-direction: reverse;
}

@keyframes tm-spin {
    to { rotate: 360deg; }
}

.tm-cloud__p {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 30px;
    border: 4px solid #fff;
    background: linear-gradient(135deg, #6d4cf0, #b06bff);
    color: #fff;
    box-shadow: 0 30px 60px -30px rgba(40, 20, 90, .55);
    animation: tm-float 7s ease-in-out infinite;
}

.tm-cloud__p img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-cloud__p.is-icon .fp-ico {
    width: 40%;
    height: 40%;
}

.tm-cloud__p b {
    font-size: 24px;
    font-weight: 700;
}

.tm-cloud__p--0 { left: 34%; top: 30%; width: 150px; height: 150px; border-radius: 40px; }
.tm-cloud__p--1 { left: 6%; top: 10%; width: 104px; height: 104px; animation-delay: -1s; }
.tm-cloud__p--2 { right: 4%; top: 6%; width: 116px; height: 116px; animation-delay: -2s; background: linear-gradient(135deg, #ff9a5c, #ff6f61); }
.tm-cloud__p--3 { left: 2%; bottom: 10%; width: 96px; height: 96px; animation-delay: -3s; background: linear-gradient(135deg, #12a26b, #5ee0ad); }
.tm-cloud__p--4 { right: 10%; bottom: 6%; width: 124px; height: 124px; animation-delay: -4s; background: linear-gradient(135deg, #2563eb, #7aa2f7); }
.tm-cloud__p--5 { left: 30%; bottom: 0; width: 80px; height: 80px; animation-delay: -5s; }
.tm-cloud__p--6 { right: 32%; top: 0; width: 76px; height: 76px; animation-delay: -6s; }

@keyframes tm-float {
    50% { transform: translateY(-10px); }
}

.tm-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tm-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--fp-line);
}

.tm-founders {
    padding-top: 40px;
}

.tm-fgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tm-fgrid--n1 {
    grid-template-columns: minmax(0, 720px);
}

.tm-fgrid--n3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tm-founder {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid var(--fp-line);
    background: linear-gradient(160deg, #fff, #faf8ff);
    transition: transform .35s, box-shadow .35s;
}

.tm-fgrid--n3 .tm-founder {
    grid-template-columns: 1fr;
}

.tm-founder:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 70px -46px rgba(60, 30, 140, .5);
}

.tm-founder__media,
.tm-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    background: linear-gradient(135deg, #efeaff, #fdf3ec);
}

.tm-founder__media img,
.tm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}

.tm-founder:hover img,
.tm-card:hover img {
    transform: scale(1.05);
}

.tm-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 44px;
    font-weight: 700;
    color: #6d4cf0;
}

.tm-founder h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 650;
    letter-spacing: -.02em;
}

.tm-role {
    margin: 4px 0 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--fp-acc);
}

.tm-bio {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5f5f6e;
}

.tm-soc {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.tm-soc a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3f2f8;
    color: var(--tm-ink);
    transition: background .2s, color .2s;
}

.tm-soc a:hover {
    background: var(--tm-ink);
    color: #fff;
}

.tm-soc svg {
    width: 16px;
    height: 16px;
}

.tm-soc.is-float {
    position: absolute;
    left: 12px;
    bottom: 12px;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}

.tm-soc.is-float a {
    background: rgba(255, 255, 255, .92);
}

.tm-card:hover .tm-soc.is-float,
.tm-card:focus-within .tm-soc.is-float {
    opacity: 1;
    transform: none;
}

.tm-staff {
    padding-top: 24px;
}

.tm-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 18px;
}

.tm-card h3 {
    margin: 14px 0 0;
    font-size: 17px;
    font-weight: 620;
}

.tm-cul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

.tm-cul--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tm-cul--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tm-cul li {
    display: grid;
    gap: 8px;
    padding: 28px;
    border-radius: 24px;
    background: #f7f6fb;
}

.tm-cul li > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 14px;
    background: #fff;
    color: var(--fp-acc);
    box-shadow: 0 16px 30px -18px rgba(40, 20, 90, .4);
}

.tm-cul li > span .fp-ico {
    width: 22px;
    height: 22px;
}

.tm-cul b {
    font-size: 17px;
    font-weight: 620;
}

.tm-cul small {
    font-size: 14.5px;
    line-height: 1.6;
    color: #5f5f6e;
}

.tm-join {
    display: grid;
    justify-items: center;
    padding: 64px 32px;
    border-radius: 34px;
    text-align: center;
    background: radial-gradient(ellipse 70% 90% at 50% 0%, #3b2a86, transparent 70%), var(--tm-ink);
    color: #fff;
}

.tm-join .fp-lead {
    max-width: 520px;
    margin-bottom: 28px;
}

.tm-join__faces {
    display: flex;
    margin-bottom: 26px;
}

.tm-join__faces span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-left: -12px;
    border-radius: 50%;
    border: 3px solid var(--tm-ink);
    background: linear-gradient(135deg, #6d4cf0, #b06bff);
    font-size: 15px;
    font-weight: 700;
}

.tm-join__faces span:first-child {
    margin-left: 0;
}

.tm-join__faces img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-join__faces .is-you {
    background: #fff;
    color: var(--tm-ink);
    animation: tm-pulse 2s ease-in-out infinite;
}

@keyframes tm-pulse {
    50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .12); }
}

@media (max-width: 1024px) {
    .tm-hero__grid {
        grid-template-columns: 1fr;
    }

    .tm-fgrid,
    .tm-fgrid--n3 {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .tm-hero {
        padding: 116px 0 24px;
    }

    .tm-cloud {
        height: 300px;
    }

    .tm-cloud__ring { width: 200px; height: 200px; }
    .tm-cloud__ring.is-b { width: 290px; height: 290px; }
    .tm-cloud__p--0 { width: 110px; height: 110px; left: 34%; top: 30%; }
    .tm-cloud__p--1 { width: 76px; height: 76px; }
    .tm-cloud__p--2 { width: 84px; height: 84px; }
    .tm-cloud__p--3 { width: 70px; height: 70px; }
    .tm-cloud__p--4 { width: 88px; height: 88px; }
    .tm-cloud__p--5,
    .tm-cloud__p--6 { width: 58px; height: 58px; }

    .tm-founder {
        grid-template-columns: 1fr;
    }

    .tm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .tm-soc.is-float {
        opacity: 1;
        transform: none;
    }

    .tm-cul,
    .tm-cul--n4,
    .tm-cul--n2 {
        grid-template-columns: 1fr;
    }

    .tm-join {
        padding: 48px 22px;
        border-radius: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tm-cloud__ring,
    .tm-cloud__p,
    .tm-join__faces .is-you {
        animation: none;
    }
}
