.tm-split {
    height: 715px;
    padding-top: 152px;
    background-color: var(--c-split);
    color: var(--c-accent-deep);
}

.tm-split__title {
    font-size: var(--fs-h2);
    line-height: 1.14;
    text-align: center;
}

.tm-split__columns {
    display: grid;
    grid-template-columns: minmax(0, 624px) minmax(0, 1fr);
    column-gap: 78px;
    margin-top: 69px;
}

.tm-split__lead {
    font-size: var(--fs-lead);
    line-height: 32px;
}

.tm-split__lead p + p {
    margin-top: 32px;
}

.tm-split__body {
    line-height: 26px;
}

.tm-split__body p + p {
    margin-top: 26px;
}

.tm-split strong {
    font-weight: var(--fw-semibold);
}

.tm-wide-photo {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.tm-quote {
    margin-top: 125px;
    margin-bottom: 129px;
    color: var(--c-accent-deep);
    font-family: var(--ff-display);
    font-size: var(--fs-h3);
    font-style: italic;
    line-height: 1.2;
    text-align: center;
}

.tm-insurers {
    position: relative;
    height: 570px;
    padding-top: 63px;
    overflow: hidden;
    background-color: var(--c-band-grey);
}

.tm-insurers::before {
    content: '';
    position: absolute;
    top: -1px;
    left: max(calc(50% - 660px), 0px);
    width: min(1320px, 100%);
    height: var(--rule-h);
    background-color: var(--c-rule-light);
    -webkit-mask: var(--rule-lens);
    mask: var(--rule-lens);
}

.tm-insurers__title {
    color: var(--c-accent-deep);
    font-size: var(--fs-h2);
    line-height: 1.14;
    text-align: center;
}

.tm-marquee {
    margin-top: 76px;
}

.tm-marquee__track {
    display: flex;
    width: max-content;
    margin-left: calc(50% - 1075px);
    animation: tm-marquee 60s linear infinite;
}

.tm-marquee:hover .tm-marquee__track {
    animation-play-state: paused;
}

.tm-marquee__item {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 430px;
    height: 162px;
}

.tm-marquee__item img {
    max-width: 100%;
    filter: grayscale(1);
}

@keyframes tm-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tm-marquee__track {
        animation: none;
    }
}

.tm-page__contact {
    position: relative;
    margin-top: -140px;
}

.tm-team__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 89px;
    row-gap: 48px;
    width: min(1320px, calc(100% - 2 * var(--gutter)));
    margin: 62px auto 0;
}

.tm-team__grid--founders {
    position: relative;
    z-index: 2;
    margin-top: -291px;
}

.tm-member {
    display: flex;
    flex-direction: column;
    color: var(--c-accent);
}

.tm-member__photo {
    position: relative;
    width: calc(100% + 27px);
    max-width: none;
    margin-left: -27px;
    max-height: 420px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.tm-member__name,
.tm-member__footer {
    position: relative;
}

.tm-member__name::before,
.tm-member__footer::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: var(--rule-h);
    background-color: var(--c-accent-light);
    -webkit-mask: var(--rule-lens);
    mask: var(--rule-lens);
}

.tm-member__name::before {
    top: -22px;
}

.tm-member__name {
    margin-top: 21px;
    color: var(--c-accent-light);
    font-size: var(--fs-h2);
    font-style: normal;
    font-weight: var(--fw-light);
    line-height: 1.2;
}

.tm-member__role {
    margin-top: 9px;
    color: var(--c-accent-light);
    font-family: var(--ff-display);
    font-size: var(--fs-serif);
    font-weight: var(--fw-extralight);
    line-height: 25px;
}

.tm-member__role em {
    font-style: italic;
}

.tm-member__lead {
    margin-top: 22px;
    font-size: var(--fs-text-xl);
    line-height: 24px;
}

.tm-member__body {
    margin-top: 24px;
    font-size: var(--fs-sm);
    line-height: 18px;
}

.tm-member__lead p + p,
.tm-member__body p + p {
    margin-top: 18px;
}

.tm-member__footer {
    display: flex;
    justify-content: flex-end;
    min-height: 24px;
    margin-top: auto;
    padding: 20px 10px 9px 0;
}

.tm-member__footer::after {
    bottom: -1px;
}

.tm-member__linkedin {
    width: 24px;
    height: 24px;
    color: var(--c-accent-light);
}

.tm-member__linkedin svg {
    width: 100%;
    height: 100%;
}

.tm-team__group {
    margin-top: 93px;
    text-align: center;
}

.tm-team__title {
    color: var(--c-accent-light);
    font-size: var(--fs-section);
    line-height: 1.2;
}

.tm-team__photo {
    position: relative;
    max-width: 1320px;
    margin: 31px auto 0;
}

.tm-team__photo::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 255px;
    border-radius: var(--r-panel) var(--r-panel) 0 0;
    background: var(--grad-footer);
}

.tm-team__photo img {
    position: relative;
    width: 1175px;
    max-width: 87%;
    max-height: 420px;
    margin-inline: auto;
    object-fit: contain;
    object-position: bottom;
}

.tm-team + .tm-seals {
    margin-top: 88px;
}

.tm-section-title {
    color: var(--c-title-light);
    font-size: var(--fs-h2);
    line-height: 1.14;
    text-align: center;
}

.tm-facilities {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 760px) 460px;
    justify-content: space-between;
    height: 693px;
    padding-top: 134px;
    color: var(--c-accent-deep);
}

.tm-facilities::after {
    content: '';
    position: absolute;
    left: 4px;
    right: 0;
    bottom: -3px;
    height: var(--rule-h);
    background-color: var(--c-rule-light);
    -webkit-mask: var(--rule-lens);
    mask: var(--rule-lens);
}

.tm-facilities__lead {
    font-size: var(--fs-text-xl);
    line-height: 26px;
}

.tm-facilities__body {
    margin-top: 29px;
    font-size: var(--fs-body);
    line-height: 18px;
}

.tm-facilities__lead p + p,
.tm-facilities__body p + p {
    margin-top: 21px;
}

.tm-facilities strong {
    font-weight: var(--fw-semibold);
}

.tm-facilities__art {
    position: relative;
    align-self: start;
    width: 460px;
    max-width: 100%;
    left: -35px;
    margin-top: -100px;
    color: var(--c-accent-deep);
}

.tm-facilities__art img {
    opacity: 0.4;
}

.tm-facilities__logo {
    position: absolute;
    top: 290px;
    left: 72px;
    width: 280px;
}

.tm-facilities__logo svg {
    width: 100%;
    height: auto;
}

.tm-facilities__stripe {
    color: var(--c-accent-deep);
}

.tm-facilities__stripe--top {
    top: 125px;
    left: 255px;
    width: 74px;
    height: 146px;
}

.tm-facilities__stripe--bottom {
    top: 397px;
    left: 115px;
    width: 76px;
    height: 152px;
}

.tm-facilities__space {
    margin-top: 57px;
}

.tm-facilities__space .tm-gallery {
    margin-top: 79px;
}

.tm-tour {
    margin-top: 85px;
    margin-bottom: -4px;
}

.tm-tour__frame {
    display: grid;
    place-content: center;
    height: 577px;
    margin-top: 102px;
    background-color: var(--c-band-grey);
}

.tm-tour__frame:has(iframe) {
    display: block;
}

.tm-tour__frame iframe {
    width: 100%;
    height: 577px;
    border: 0;
}


.tm-financing {
    display: grid;
    grid-template-columns: minmax(0, 602px) minmax(0, 436px);
    justify-content: space-between;
    min-height: 919px;
    padding-top: 86px;
    color: var(--c-accent-deep);
}

.tm-financing__lead {
    max-width: 580px;
    font-size: var(--fs-lead);
    line-height: 32px;
}

.tm-financing__title {
    margin-top: 39px;
    color: var(--c-sheet-title);
    font-size: var(--fs-h3);
    line-height: 1.2;
}

.tm-financing__body {
    margin-top: 38px;
    line-height: 23px;
}

.tm-financing__body p + p {
    margin-top: 23px;
}

.tm-financing__aside {
    margin-top: 13px;
    font-weight: var(--fw-light);
    line-height: 21px;
}

.tm-financing__bar {
    padding: 15px 10px;
    background-color: var(--c-accent-deep);
    color: var(--c-pill);
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    font-style: normal;
    font-weight: var(--fw-semibold);
    line-height: 20px;
    text-align: center;
}

.tm-financing__table {
    width: 100%;
    margin-top: 22px;
    border-collapse: collapse;
    line-height: 32px;
    text-align: left;
}

.tm-financing__table th {
    font-weight: var(--fw-semibold);
}

.tm-financing__table th:first-child,
.tm-financing__table td:first-child {
    width: 204px;
}

.tm-financing__table th + th,
.tm-financing__table td + td {
    padding-left: 12px;
    border-left: 1px solid var(--c-accent-deep);
}

.tm-financing__note {
    margin-top: 35px;
}

.tm-financing__logo {
    width: 267px;
    max-width: 100%;
    margin: 104px 0 0 -16px;
}

.tm-financing__contact {
    margin-top: 35px;
}

.tm-location {
    margin-top: var(--sp-9);
}

.tm-location__title {
    color: var(--c-title-light);
    font-size: var(--fs-display);
    line-height: 1.36;
    text-align: center;
}

.tm-location__map {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: var(--sp-5);
    height: 640px;
    margin-top: var(--sp-7);
    background-color: var(--c-band-grey);
    color: var(--c-accent-deep);
}

.tm-location__map iframe {
    width: 100vw;
    height: 640px;
    border: 0;
}

.tm-location__load {
    color: var(--c-accent-deep);
}

.tm-info {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: var(--sp-8);
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--c-rule-light) 15%, var(--c-rule-light) 85%, transparent) 1;
    color: var(--c-stripe);
    font-size: var(--fs-serif);
    line-height: 26px;
}

.tm-info__column {
    display: grid;
    align-content: start;
    gap: 26px;
}

.tm-info__item {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 14px;
    align-items: start;
}

.tm-info__item svg {
    width: 26px;
    height: 26px;
    margin-top: 26px;
}

.tm-info__item > svg:first-child + a {
    align-self: center;
}

.tm-info__item > svg:first-child:has(+ a) {
    margin-top: 0;
}

.tm-info__label {
    display: block;
    font-weight: var(--fw-light);
}

.tm-info__value {
    display: block;
    font-weight: var(--fw-bold);
}

.tm-info__social {
    display: flex;
    gap: 18px;
    padding-left: 42px;
}

.tm-info__social svg {
    width: 28px;
    height: 28px;
}

.tm-reviews--light {
    height: auto;
    margin-top: 0;
    padding: var(--sp-9) 0;
    background: none;
    color: var(--c-accent-deep);
}

.tm-reviews--light .tm-reviews__title,
.tm-reviews--light .tm-review__author {
    color: var(--c-title-light);
}

.tm-reviews--light .tm-review::before,
.tm-reviews--light .tm-review::after {
    color: var(--c-split);
}

.tm-reviews--light .tm-reviews__arrow {
    color: var(--c-accent-deep);
}

.tm-legal {
    max-width: 880px;
    margin-bottom: var(--sp-10);
    color: var(--c-accent-deep);
    line-height: 26px;
}

.tm-legal p + p {
    margin-top: 26px;
}

.tm-legal h2 {
    margin: 48px 0 16px;
    color: var(--c-sheet-title);
    font-size: var(--fs-h3);
    line-height: 1.2;
}

.tm-error {
    padding-bottom: var(--sp-10);
    text-align: center;
}

.tm-error__code {
    padding-top: calc(var(--header-h) + var(--sp-8));
    color: var(--c-tint);
    font-family: var(--ff-display);
    font-size: var(--fs-error);
    font-style: italic;
    line-height: 1;
}

.tm-error .tm-error__title {
    padding-top: var(--sp-4);
    padding-bottom: var(--sp-6);
}

.tm-error .tm-page-lead {
    margin-bottom: var(--sp-7);
}

.tm-error__actions {
    display: flex;
    justify-content: center;
    gap: var(--sp-4);
}

.tm-error__button {
    color: var(--c-accent-deep);
}
