/* Landing: cinematic scroll sections (Rockstar-style pacing, original brand) */
html.ts-landing-html {
    scroll-behavior: smooth;
}

body.ts-landing-body {
    margin: 0;
    background: #050505;
    color: #e5e5e5;
    font-family: var(--ts-font, system-ui, sans-serif);
    overflow-x: hidden;
}

.ts-land-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.65) 70%, transparent 100%);
    backdrop-filter: blur(8px);
    transition: background 0.4s ease;
}

.ts-landing {
    padding-top: 72px;
}

.ts-land-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero: no full-viewport centring — stack intro, CTAs, and selling points */
.ts-land-hero.ts-land-section {
    min-height: unset;
    justify-content: flex-start;
}

.ts-land-hero {
    text-align: left;
    padding: 1.25rem 0 3.5rem;
    overflow: hidden;
    isolation: isolate;
}

/* Hero intro: full-width city + phone art behind headline, lead, and CTAs */
.ts-land-hero-intro {
    position: relative;
    padding: 1rem 0 2.75rem;
    overflow: hidden;
}

.ts-land-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #050505;
    pointer-events: none;
}

.ts-land-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 45%;
    transform: scale(1.03);
    display: block;
}

.ts-land-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 38%, rgba(5, 5, 5, 0.22) 58%, rgba(5, 5, 5, 0.12) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.5) 0%, transparent 35%, transparent 70%, rgba(5, 5, 5, 0.65) 100%),
        radial-gradient(ellipse 80% 70% at 90% 35%, rgba(124, 252, 0, 0.12) 0%, transparent 50%);
    animation: tsLandHeroScrimPulse 14s ease-in-out infinite alternate;
}

@keyframes tsLandHeroScrimPulse {
    from { opacity: 0.94; }
    to { opacity: 1; }
}

/* Narrow viewports: frame the left township; avoid the phone mockup edge looking cropped odd */
@media (max-width: 767.98px) {
    .ts-land-hero-bg-img {
        object-position: left 44%;
        transform: scale(1.08);
    }

    .ts-land-hero-bg::after {
        background:
            linear-gradient(90deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.5) 50%, rgba(5, 5, 5, 0.62) 100%),
            linear-gradient(180deg, rgba(5, 5, 5, 0.48) 0%, transparent 38%, transparent 68%, rgba(5, 5, 5, 0.68) 100%),
            radial-gradient(ellipse 95% 75% at 22% 38%, rgba(124, 252, 0, 0.09) 0%, transparent 48%);
    }
}

.ts-land-hero-intro-inner {
    z-index: 2;
}

.ts-land-hero-below {
    position: relative;
    z-index: 2;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
}

.ts-land-hero-side-cards {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 17.5rem;
}

.ts-land-hero-side-card {
    padding: 1rem 1.15rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(124, 252, 0, 0.35);
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 28px rgba(124, 252, 0, 0.12), 0 16px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.ts-land-hero-side-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.7rem;
    margin-bottom: 0.65rem;
    background: rgba(124, 252, 0, 0.18);
    color: var(--ts-accent);
    font-size: 1.35rem;
}

.ts-land-hero-side-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fafafa;
    margin: 0 0 0.35rem;
}

.ts-land-hero-side-card-text {
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
}

.ts-land-brand-mark {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fafafa;
    margin-bottom: 0.35rem;
}

.ts-land-subline {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    font-weight: 600;
    color: var(--ts-accent);
    margin-bottom: 1rem;
    text-shadow: 0 0 28px rgba(124, 252, 0, 0.25);
}

.ts-land-kicker {
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: rgba(124, 252, 0, 0.85);
    margin-bottom: 0.75rem;
}

.ts-land-title {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #fafafa;
    text-shadow: 0 0 60px rgba(124, 252, 0, 0.15);
}

.ts-land-hero .ts-land-title {
    font-size: clamp(2.65rem, 6.5vw, 4.65rem);
    line-height: 1.02;
    text-align: left;
}

.ts-land-title-accent {
    color: var(--ts-accent);
    text-shadow: 0 0 40px rgba(124, 252, 0, 0.45);
}

.ts-land-lead {
    font-size: clamp(0.95rem, 2.2vw, 1.12rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 36rem;
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.ts-land-hero-copy .ts-land-lead {
    margin-top: 1rem;
}

.ts-land-hero-copy .ts-land-cta {
    margin-top: 1.35rem;
}

.ts-land-hero-highlights {
    max-width: none;
    margin: 1.75rem 0 0;
}

.ts-land-hero-highlight {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(124, 252, 0, 0.2);
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.25;
    height: 100%;
    backdrop-filter: blur(8px);
}

.ts-land-hero-highlight i {
    color: var(--ts-accent);
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .ts-land-hero-side-cards {
        max-width: none;
    }
}

.ts-land-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

/* Hero selling points */
.ts-land-hero-points {
    margin-top: 2.5rem;
    text-align: left;
}

.ts-land-point {
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(124, 252, 0, 0.18);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.ts-land-point:hover {
    border-color: rgba(124, 252, 0, 0.4);
    box-shadow: 0 0 24px rgba(124, 252, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.45);
}

.ts-land-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: rgba(124, 252, 0, 0.12);
    color: var(--ts-accent);
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

.ts-land-point h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.ts-land-point p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Bottom trust strip (desktop mockup style) */
.ts-land-trust-strip {
    position: relative;
    z-index: 1;
    margin-top: 2.5rem;
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.ts-land-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    text-align: left;
    padding: 0.35rem 0;
}

.ts-land-trust-item i {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--ts-accent);
    margin-top: 0.1rem;
}

.ts-land-trust-item strong {
    display: block;
    font-size: 0.82rem;
    color: #eee;
    margin-bottom: 0.15rem;
}

.ts-land-trust-item span {
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

.ts-btn-primary {
    background: var(--ts-accent) !important;
    border-color: var(--ts-accent) !important;
    color: #0a0a0a !important;
    font-weight: 700 !important;
}

.ts-btn-primary:hover {
    background: #b8ff4d !important;
    border-color: #b8ff4d !important;
    color: #0a0a0a !important;
}

.ts-btn-ghost {
    border: 1px solid rgba(124, 252, 0, 0.4) !important;
    color: #c8ff7a !important;
    background: transparent !important;
}

.ts-btn-ghost:hover {
    background: rgba(124, 252, 0, 0.1) !important;
    color: #fff !important;
}

.ts-land-scroll-hint {
    position: relative;
    margin: 2.25rem auto 0;
    left: auto;
    transform: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.ts-land-chevron {
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(124, 252, 0, 0.5);
    border-bottom: 2px solid rgba(124, 252, 0, 0.5);
    transform: rotate(45deg) translateY(-4px);
    animation: tsChevronBounce 1.8s ease-in-out infinite;
}

@keyframes tsChevronBounce {
    0%, 100% { transform: rotate(45deg) translateY(-4px); opacity: 0.5; }
    50% { transform: rotate(45deg) translateY(2px); opacity: 1; }
}

/* Built for real neighbourhoods — trade_bg full bleed + glass feature tiles */
.ts-land-neighbourhoods.ts-land-section {
    min-height: min(100vh, 56rem);
    justify-content: center;
}

.ts-land-neighbourhoods {
    position: relative;
    overflow: hidden;
    color: #f4f4f4;
    border-top: 1px solid rgba(124, 252, 0, 0.12);
    border-bottom: 1px solid rgba(124, 252, 0, 0.08);
}

.ts-land-trade-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #030303;
}

.ts-land-trade-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    display: block;
}

@media (max-width: 767.98px) {
    .ts-land-trade-bg-img {
        object-position: 40% 48%;
    }
}

.ts-land-trade-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            #050505 0%,
            rgba(5, 5, 5, 0.88) 4%,
            rgba(5, 5, 5, 0) 14%,
            rgba(5, 5, 5, 0) 86%,
            rgba(8, 8, 8, 0.88) 96%,
            #080808 100%
        ),
        linear-gradient(100deg, rgba(3, 3, 3, 0.94) 0%, rgba(3, 3, 3, 0.58) 48%, rgba(3, 3, 3, 0.32) 100%),
        linear-gradient(180deg, rgba(3, 3, 3, 0.28) 0%, transparent 36%, rgba(3, 3, 3, 0.48) 100%);
}

.ts-land-neighbourhoods-inner {
    z-index: 2;
    padding-top: clamp(2.5rem, 6vw, 3.75rem);
    padding-bottom: clamp(2.5rem, 6vw, 3.75rem);
}

.ts-land-nhood-title {
    color: #fafafa;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.ts-land-nhood-accent {
    color: var(--ts-accent);
}

.ts-land-nhood-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    max-width: 38rem;
}

.ts-land-nhood-body {
    font-size: 0.98rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.62);
    max-width: 38rem;
}

.ts-land-nhood-cta {
    font-weight: 700 !important;
}

.ts-land-nhood-social-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
}

.ts-land-nhood-avatars {
    display: flex;
    align-items: center;
}

.ts-land-nhood-avatars > .ts-avatar + .ts-avatar {
    margin-left: -0.72rem;
}

/* Pale halo so avatars read clearly on dark neighbourhood art */
.ts-land-nhood-avatars .ts-avatar .ts-avatar-ring {
    box-shadow:
        0 0 0 1px rgba(252, 252, 252, 0.94),
        0 0 0 2px rgba(8, 8, 8, 0.4),
        0 2px 14px rgba(0, 0, 0, 0.5);
}

.ts-land-feature-tile {
    padding: 1.35rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 6, 6, 0.5);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.38);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ts-land-feature-tile:hover {
    border-color: rgba(124, 252, 0, 0.32);
    box-shadow: 0 0 0 1px rgba(124, 252, 0, 0.06), 0 14px 44px rgba(0, 0, 0, 0.48);
}

.ts-land-feature-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 1.2rem;
    color: var(--ts-accent);
    background: rgba(124, 252, 0, 0.12);
    border: 1px solid rgba(124, 252, 0, 0.22);
}

.ts-land-feature-tile-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--ts-accent);
    margin: 0 0 0.2rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.ts-land-feature-tile-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 0.65rem;
}

.ts-land-feature-tile-desc {
    font-size: 0.82rem;
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.78);
}


.ts-land-panel {
    background: #080808;
}

/* Tight band: do not inherit full-viewport height from .ts-land-section */
.ts-land-panel.ts-land-section {
    min-height: unset;
    justify-content: flex-start;
}

.ts-land-panel .ts-land-card {
    padding: 1.15rem 1.2rem;
}

.ts-land-points-heading {
    letter-spacing: 0.2em;
}

.ts-land-card {
    padding: 1.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}

.ts-land-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 252, 0, 0.25);
}

.ts-land-cta-final {
    position: relative;
    overflow: hidden;
    min-height: min(78vh, 44rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(124, 252, 0, 0.12);
    border-bottom: 1px solid rgba(124, 252, 0, 0.08);
    color: #f4f4f4;
}

.ts-land-ready-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #030303;
}

.ts-land-ready-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 88% center;
    display: block;
}

@media (max-width: 991.98px) {
    .ts-land-ready-bg-img {
        object-position: center center;
    }
}

.ts-land-ready-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            #080808 0%,
            rgba(8, 8, 8, 0.88) 4%,
            rgba(5, 5, 5, 0) 14%,
            rgba(5, 5, 5, 0) 86%,
            rgba(2, 2, 2, 0.9) 96%,
            #020202 100%
        ),
        linear-gradient(90deg, rgba(3, 3, 3, 0.92) 0%, rgba(3, 3, 3, 0.72) 38%, rgba(3, 3, 3, 0.28) 62%, rgba(3, 3, 3, 0.12) 100%),
        linear-gradient(180deg, rgba(3, 3, 3, 0.22) 0%, transparent 42%, rgba(3, 3, 3, 0.38) 100%);
}

.ts-land-ready-inner {
    z-index: 2;
    padding-top: clamp(2.5rem, 6vw, 4rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.ts-land-ready-lead {
    color: rgba(255, 255, 255, 0.72);
    max-width: 36rem;
}

.ts-land-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #020202;
}

/* Scroll reveal */
.ts-reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.ts-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ts-reveal-delay-1 { transition-delay: 0.12s; }
.ts-reveal-delay-2 { transition-delay: 0.22s; }
.ts-reveal-delay-3 { transition-delay: 0.32s; }

[data-reveal].is-visible .ts-reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html.ts-landing-html {
        scroll-behavior: auto;
    }
    .ts-reveal,
    .ts-land-hero-bg::after,
    .ts-land-chevron,
    .ts-land-card {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .ts-land-hero-bg-img {
        transform: none !important;
    }
}
