.tm-landing {
    background: url("../../images/texture-gradient-UkC-Q_l.webp") 50% -9px / 100% max(1082px, calc(100% + 9px)) no-repeat;
}

.tm-kids {
    position: relative;
}

.tm-kids::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--c-veil);
    pointer-events: none;
}

.tm-kids__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tm-kid {
    flex: none;
    width: 264px;
    height: 353px;
    margin: 0 -1px -1px 0;
    border: 1px solid var(--c-on-accent);
    border-top: 0;
}

.tm-kids--rows .tm-kids__list {
    max-width: 1321px;
    margin-inline: auto;
}

.tm-kids--rows .tm-kid {
    width: calc(100% / var(--kids-cols));
}

.tm-kid__link {
    position: relative;
    display: block;
    height: 100%;
    color: var(--c-on-accent);
    text-align: center;
}

.tm-kid__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter var(--ease);
}

.tm-kid__link:hover .tm-kid__image,
.tm-kid__link:focus-visible .tm-kid__image {
    filter: none;
}

.tm-kid__text {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 30px;
    font-family: var(--ff-display);
    line-height: 1.2;
}

.tm-kid__stripe {
    position: relative;
    width: 16px;
    height: 32px;
    margin-bottom: -4px;
    color: var(--c-stripe-soft);
}

.tm-kid__title {
    font-size: var(--fs-serif);
    font-style: italic;
}

.tm-kid__label {
    font-size: var(--fs-label);
    font-weight: var(--fw-light);
    text-transform: uppercase;
}

.tm-kids--home .tm-kid {
    width: 265px;
    height: 350px;
}

.tm-kids--home .tm-kid__text {
    bottom: 44px;
}

.tm-kids--home .tm-kid__title {
    max-width: 152px;
}

.tm-kids--home .tm-kid__link::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background-color: var(--c-stripe);
    opacity: 0.45;
    transition: opacity var(--ease);
}

.tm-kids--home .tm-kid__link:hover::before,
.tm-kids--home .tm-kid__link:focus-visible::before {
    opacity: 0;
}

.tm-intro {
    position: relative;
    min-height: 720px;
    padding-bottom: 285px;
    overflow: hidden;
}

.tm-intro__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 645px);
    align-items: start;
}

.tm-intro__title {
    padding: 249px 0 0 4px;
    color: var(--c-accent);
    font-size: var(--fs-h2);
    font-weight: var(--fw-light);
    line-height: 1.31;
}

.tm-intro__body {
    margin-right: -5px;
    padding-top: 262px;
    color: var(--c-on-accent);
    font-family: var(--ff-display);
    font-size: var(--fs-lead);
    font-style: italic;
    line-height: 1.2;
    text-align: right;
}

.tm-intro__stripe {
    z-index: 3;
    color: var(--c-stripe-soft);
}

.tm-intro__stripe--top {
    top: -16px;
    left: calc(50% - 210px);
    width: 133px;
    height: 263px;
}

.tm-intro__stripe--bottom {
    top: max(475px, calc(100% + 40px));
    left: calc(50% - 464px);
    width: 137px;
    height: 273px;
}

.tm-landing__contact {
    position: relative;
    margin-top: -131px;
}

.tm-landing__contact .tm-contact-form {
    max-width: 1080px;
    margin-inline: auto;
}

@media (min-width: 1280px) {
    .tm-landing__contact .tm-contact-form {
        grid-template-columns: minmax(0, 462fr) minmax(0, 618fr);
    }

    .tm-landing__contact .tm-contact-form--plain {
        grid-template-columns: minmax(0, 1fr);
    }

    .tm-landing__contact .tm-contact-form__body {
        padding: 48px 54px 36px 53px;
    }

    .tm-landing__contact .tm-contact-form__title {
        font-size: var(--fs-h3);
    }

    .tm-landing__contact .tm-contact-form__intro {
        margin: 22px 0 40px;
    }
}
