.tm-slider {
    position: relative;
    height: 801px;
    overflow: hidden;
    border-bottom: 1px solid var(--c-on-accent);
    background-color: var(--c-accent-deep);
    color: var(--c-on-accent);
    text-align: center;
}

.tm-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.tm-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.tm-slider__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.tm-slider__text {
    position: relative;
    z-index: 2;
    padding: 366px var(--gutter) 0;
}

.tm-slider__title {
    font-family: var(--ff-display);
    font-size: var(--fs-display);
    font-style: italic;
    line-height: 1.36;
}

.tm-slider__subtitle,
.tm-slider__links {
    margin-top: 18px;
    font-family: var(--ff-display);
    font-size: var(--fs-serif);
    font-weight: var(--fw-extralight);
    line-height: 1.32;
    text-transform: uppercase;
}

.tm-slider__links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    max-width: 1226px;
    margin-inline: auto;
    transform: translateX(-20px);
}

.tm-slider__links a:first-child {
    justify-self: start;
}

.tm-slider__links a:last-child {
    justify-self: end;
}

.tm-slider__line {
    z-index: 1;
    color: var(--c-stripe);
}

.tm-slider__line--top {
    top: -269px;
    left: calc(50% + 28px);
    width: 307px;
    height: 606px;
}

.tm-slider__line--bottom {
    top: 537px;
    left: calc(50% - 385px);
    width: 309px;
    height: 615px;
}

.tm-slider__arrow {
    position: absolute;
    z-index: 3;
    top: 407px;
    width: 14px;
    height: 28px;
    color: var(--c-on-accent);
}

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

.tm-slider__arrow--prev {
    left: calc(50% - 658px);
}

.tm-slider__arrow--next {
    right: calc(50% - 658px);
}

.tm-slider__dots {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.tm-slider__dot {
    padding: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--c-stripe);
}

.tm-slider__dot[aria-current] {
    background-color: var(--c-on-accent);
}

.tm-landing--home {
    background: url("../../images/texture-home-5VlHV_C.webp") 50% -10px / 100% 1082px no-repeat;
}

.tm-about {
    position: relative;
    height: 721px;
    overflow: hidden;
}

.tm-about__inner {
    display: grid;
    grid-template-columns: minmax(0, 785px) minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
}

.tm-about__image {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 204px 0 0 -2px;
}

.tm-about__text {
    margin-right: -4px;
    padding-top: 188px;
    color: var(--c-accent-deep);
}

.tm-about__title {
    margin-left: -5px;
    white-space: nowrap;
    font-size: var(--fs-display);
    line-height: 1.36;
}

.tm-about__body {
    margin-top: 30px;
    line-height: 1.44;
}

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

.tm-about__body strong {
    font-weight: var(--fw-bold);
}

.tm-about__button {
    min-width: 128px;
    text-transform: none;
    margin-top: 23px;
}

.tm-about__stripe {
    top: 0;
    left: calc(50% - 447px);
    width: 363px;
    height: 722px;
}

.tm-space__title {
    margin-top: 70px;
    color: var(--c-title-light);
    font-size: var(--fs-display);
    line-height: 1.36;
}

.tm-gallery {
    position: relative;
    z-index: 2;
    margin-top: 82px;
    overflow: hidden;
}

.tm-gallery__track {
    display: flex;
    gap: 140px;
    transform: translateX(calc(50% - 660px));
    transition: transform 0.5s ease;
}

.tm-gallery__slide {
    flex: none;
    width: min(1320px, calc(100vw - var(--gutter) * 2));
    aspect-ratio: 1320 / 600;
    overflow: hidden;
    border-radius: var(--r-gallery);
}

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

.tm-gallery__arrow {
    position: absolute;
    top: 286px;
    width: 14px;
    height: 28px;
    color: var(--c-accent-deep);
}

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

.tm-gallery__arrow--prev {
    left: calc(50% - 738px);
}

.tm-gallery__arrow--next {
    right: calc(50% - 746px);
}

.tm-reviews {
    position: relative;
    margin-top: -152px;
    padding-top: 294px;
    height: 848px;
    overflow: hidden;
    background-color: var(--c-accent-deep);
    color: var(--c-pill);
}

.tm-reviews__title {
    font-size: var(--fs-display);
    line-height: 1.36;
    text-align: center;
}

.tm-reviews__viewport {
    position: relative;
    margin-top: 18px;
}

.tm-reviews__track {
    display: flex;
    gap: 232px;
    transform: translateX(calc(50% - 303px));
    transition: transform 0.5s ease;
}

.tm-review {
    position: relative;
    flex: none;
    width: 605px;
    padding: 103px 137px 0 115px;
}

.tm-review::before,
.tm-review::after {
    position: absolute;
    top: 48px;
    font-family: 'IBM Plex Serif Braces', var(--ff-display);
    font-size: 240px;
    font-weight: 100;
    line-height: 1;
}

.tm-review::before {
    content: '{';
    left: 0;
}

.tm-review::after {
    content: '}';
    right: 0;
}

.tm-review__body {
    line-height: 1.44;
}

.tm-review__author {
    margin-top: 12px;
    padding-right: 47px;
    font-family: var(--ff-display);
    font-size: var(--fs-serif);
    font-weight: var(--fw-light);
    text-align: right;
}

.tm-reviews__arrow {
    position: absolute;
    top: 170px;
    width: 14px;
    height: 28px;
    color: var(--c-pill);
}

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

.tm-reviews__arrow--prev {
    left: calc(50% - 405px);
}

.tm-reviews__arrow--next {
    right: calc(50% - 418px);
}

.tm-promo {
    position: relative;
    height: 943px;
    overflow: hidden;
}

.tm-promo__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
}

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

.tm-promo__card {
    position: absolute;
    top: 201px;
    left: calc(50% - 661px);
    width: 505px;
    max-width: calc(100% - 2 * var(--gutter));
    min-height: 536px;
    padding: 54px 40px 40px 45px;
    border: 1px solid var(--c-on-accent);
    border-radius: var(--r-promo);
    background-color: var(--c-pill);
    color: var(--c-accent-deep);
}

.tm-promo__title {
    font-size: var(--fs-h2);
    line-height: 1.14;
}

.tm-promo__body {
    margin-top: 24px;
    font-size: var(--fs-lead);
    font-weight: var(--fw-light);
    line-height: 1.2;
}

.tm-promo__list {
    margin: 19px 0 0 4px;
    color: var(--c-stripe);
    line-height: 26px;
}

.tm-promo__list li::before {
    content: '•';
    display: inline-block;
    width: 18px;
}

.tm-promo__button {
    margin: 35px 0 0 4px;
    padding-inline: 12px;
    color: var(--c-accent-deep);
}

.tm-blog-home__title {
    margin-top: 76px;
    color: var(--c-title-light);
    font-size: var(--fs-display);
    line-height: 1.36;
}

.tm-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 400px));
    justify-content: space-between;
    margin-top: 72px;
}

.tm-post__link {
    display: flex;
    flex-direction: column;
    height: 551px;
    overflow: hidden;
    border: 1px solid var(--c-title-light);
    border-radius: var(--r-promo) var(--r-promo) 0 0;
    font-family: var(--ff-display);
    font-weight: var(--fw-light);
}

.tm-post__image {
    flex: none;
    width: 100%;
    height: 352px;
    border-bottom-right-radius: var(--r-promo);
    object-fit: cover;
}

.tm-post__category {
    margin: 30px 26px 0;
    color: var(--c-title-light);
    font-size: var(--fs-serif);
    line-height: 1.2;
}

.tm-post__title {
    margin: 6px 26px 0;
    color: var(--c-accent-deep);
    font-size: var(--fs-caption);
    font-style: italic;
    line-height: 1.2;
}

.tm-post__more {
    margin: auto 26px 22px;
    padding-top: 16px;
    color: var(--c-title-light);
    font-size: var(--fs-label);
    font-style: italic;
}

.tm-blog-home__all {
    display: inline-block;
    margin: 40px 0 70px;
    color: var(--c-accent-deep);
    font-family: var(--ff-display);
    font-size: var(--fs-serif);
    font-style: italic;
    font-weight: var(--fw-light);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tm-blog-home__all:hover,
.tm-blog-home__all:focus-visible {
    color: var(--c-title-light);
}
