/* Shared scaffolding for the per-project landing themes (loaded before css/themes/<slug>.css). */
.th-progress{position:fixed;left:0;right:0;top:0;height:3px;z-index:300;pointer-events:none}
.th-progress i{display:block;height:100%;transform-origin:0 50%;transform:scaleX(0);background:var(--th-accent,#C42A50);box-shadow:0 0 12px var(--th-accent,#C42A50)}
.th-deco{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.th-ticker{overflow:hidden;white-space:nowrap}
.th-ticker__track{display:inline-flex;align-items:center;animation:thTick 46s linear infinite;will-change:transform}
.th-ticker:hover .th-ticker__track{animation-play-state:paused}
.th-ticker span{display:inline-block}
.th-ticker i{display:inline-block;flex:none}
@keyframes thTick{to{transform:translateX(-50%)}}
.th-cursor{position:fixed;left:0;top:0;width:520px;height:520px;border-radius:50%;pointer-events:none;z-index:2;will-change:transform}
.th-tilt{transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.js .rv.in.th-tilt{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
@media (prefers-reduced-motion:reduce){.th-ticker__track,.th-deco *{animation:none!important}.th-cursor{display:none}}

/* Amenities as a static grid instead of the auto-scroll conveyor (themes opt in with body.th-amen-grid) */
body.th-amen-grid #amenities.nn-amen{height:auto;min-height:0;display:block;padding:clamp(40px,6vw,84px) 0;scroll-margin-top:90px}
body.th-amen-grid #amenities .hm-wrap{display:block}
body.th-amen-grid #amenities .nn-eyebrow{font-size:12px;margin-bottom:22px}
body.th-amen-grid #amenities .nn-h2{font-size:clamp(32px,4.4vw,60px)}
body.th-amen-grid .nn-cm{display:block;margin-top:clamp(24px,3vw,40px)}
body.th-amen-grid .nn-cm__ctrl,body.th-amen-grid .nn-cm__card[aria-hidden="true"]{display:none}
body.th-amen-grid .nn-cm__view{height:auto;overflow:visible;-webkit-mask-image:none;mask-image:none;cursor:default}
body.th-amen-grid .nn-cm__track{position:static;display:grid;gap:20px;transform:none!important}
body.th-amen-grid .nn-cm__card{width:auto;flex:none;transform:none!important;opacity:1!important}
body.th-amen-grid .nn-cm__ph{flex:none}
@media (max-width:1000px){body.th-amen-grid .nn-cm__track{grid-template-columns:1fr!important}}
