/* Home – scrolling member hotel logos, calm editorial style, 2026-11 */
.tdh {
    --bg: #f7f4ee;
    --ink: #2a2622;
    --ink-soft: #4d4741;
    --peach: #e2a77f;
    --line: rgba(42, 38, 34, .12);
    --sans: Manrope, "Helvetica Neue", Arial, sans-serif;
    --card-w: 188px;
    --card-h: 104px;
    --gap: 16px;
    background: var(--bg);
    padding: 88px 0 0;
}
.tdh *, .tdh *::before, .tdh *::after { box-sizing: border-box; }
.tdh__wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.tdh__head, .tdh__foot { text-align: center; }
.tdh__foot { margin-top: 30px; }
.tdh__head::before { display: none; }
.tdh .tdh__eyebrow {
    margin: 0;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.tdh .tdh__eyebrow::after { content: ""; display: block; width: 36px; height: 1.5px; margin: 14px auto 0; background: var(--peach); }
.tdh__all {
    display: inline-block;
    padding-bottom: 7px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink) !important;
    text-decoration: none !important;
    background: linear-gradient(var(--peach), var(--peach)) center bottom / 42px 1.5px no-repeat;
    transition: background-size .35s ease;
}
.tdh__all:hover, .tdh__all:focus-visible { background-size: 100% 1.5px; }

/* marquee */
.tdh__viewport {
    margin-top: 34px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.tdh__track {
    display: flex;
    width: max-content;
    animation: tdh-scroll calc(var(--tdh-count) * 4.6s) linear infinite;
    will-change: transform;
}
.tdh__viewport:hover .tdh__track,
.tdh__viewport:focus-within .tdh__track { animation-play-state: paused; }
@keyframes tdh-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
.tdh__list {
    display: flex;
    gap: var(--gap);
    margin: 0;
    padding: 6px var(--gap) 6px 0;
    list-style: none;
}
.tdh__card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--card-w);
    height: var(--card-h);
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(42, 38, 34, .04), inset 0 0 0 1px rgba(42, 38, 34, .06);
    transition: box-shadow .35s ease, transform .35s ease;
}
.tdh__card.is-dark { background: #2a2622; }
.tdh__card img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
    opacity: .78;
    transition: filter .4s ease, opacity .4s ease;
}
.tdh__card:hover, .tdh__card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(42, 38, 34, .10), inset 0 0 0 1px rgba(42, 38, 34, .06);
}
.tdh__card:hover img, .tdh__card:focus-visible img { filter: none; opacity: 1; }
.tdh__card:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }

/* the attractions section that follows keeps its own spacing, without the hairline */
.tdh + .tdm { padding-top: 88px; }
.tdh + .tdm .tdm__wrap::before { display: none; }
.tda + .tdh { padding-top: 88px; }

@media (max-width: 1100px) {
    .tdh { padding-top: 72px; }
    .tdh__wrap { padding: 0 28px; }
    .tdh + .tdm { padding-top: 72px; }
}
@media (max-width: 640px) {
    .tdh { --card-w: 150px; --card-h: 86px; --gap: 12px; padding-top: 56px; }
    .tdh__wrap { padding: 0 20px; }
    .tdh__foot { margin-top: 24px; }
    .tdh__viewport { margin-top: 24px; }
    .tdh + .tdm { padding-top: 56px; }
}
/* visitors who prefer less motion: no auto-scroll, swipe/scroll by hand instead */
@media (prefers-reduced-motion: reduce) {
    .tdh__track { animation: none; }
    .tdh__viewport { overflow-x: auto; }
    .tdh__list[aria-hidden="true"] { display: none; }
}
