    .sh-townhouse-section {
        background: #ffffff;
    }
    .dark .sh-townhouse-section {
        background: #0f172a;
    }

    .sh-townhouse-bg-glow,
    .sh-townhouse-grid {
        display: none;
    }

    .sh-townhouse-bg-glow {
        position: absolute;
        border-radius: 999px;
        pointer-events: none;
        filter: blur(8px);
        z-index: 0;
    }

    .sh-townhouse-bg-glow--one {
        top: -140px;
        right: -100px;
        width: 340px;
        height: 340px;
        background: radial-gradient(circle at 50% 50%, rgba(0, 125, 61, 0.14), rgba(0, 125, 61, 0));
    }

    .sh-townhouse-bg-glow--two {
        bottom: -170px;
        left: -120px;
        width: 320px;
        height: 320px;
        background: radial-gradient(circle at 50% 50%, rgba(243, 156, 18, 0.14), rgba(243, 156, 18, 0));
    }

    .sh-townhouse-grid {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        opacity: 0.2;
        background-image:
            linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px);
        background-size: 38px 38px;
        mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 88%);
    }

    .sh-townhouse-watermark {
        display: none;
    }

    .sh-townhouse-header {
        position: relative;
        padding-bottom: 1.65rem;
        border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    }
    .dark .sh-townhouse-header {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .sh-townhouse-header p {
        max-width: 48rem;
        margin-left: auto;
        margin-right: auto;
    }

    @media (min-width: 768px) {
        .sh-townhouse-header p {
            margin-left: 0;
            margin-right: 0;
        }
    }

    .sh-townhouse-card {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0.5rem 0.5rem 0;
        border-radius: 1rem;
        border: 1px solid rgba(15, 23, 42, 0.09);
        box-shadow: 0 22px 44px -34px rgba(15, 23, 42, 0.58);
        background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
        transition: all 0.7s ease;
        z-index: 10;
        width: 100%;
    }
    .dark .sh-townhouse-card {
        border-color: rgba(255, 255, 255, 0.05);
        background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    }

    .sh-townhouse-link:hover .sh-townhouse-card {
        border-color: rgba(0, 125, 61, 0.32);
        box-shadow: 0 30px 48px -32px rgba(15, 23, 42, 0.62);
        transform: translateY(-0.5rem);
    }

    .sh-townhouse-media {
        position: relative;
        height: 280px;
        width: 100%;
        border-radius: var(--pi-radius, 0.75rem);
        overflow: hidden;
        background: var(--pi-bg-alt, #f3f4f6);
        flex-shrink: 0;
        isolation: isolate;
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.3),
            0 20px 36px -28px rgba(2, 6, 23, 0.86);
    }
    @media (min-width: 768px) { .sh-townhouse-media { height: 340px; } }

    .sh-townhouse-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s;
        filter: saturate(1.12) contrast(1.02);
    }
    .sh-townhouse-link:hover .sh-townhouse-img { transform: scale(1.1); }

    .sh-townhouse-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15,23,42,0.4), transparent, transparent);
        pointer-events: none;
        opacity: 0.28;
        transition: opacity 0.45s ease;
    }

    .sh-townhouse-link:hover .sh-townhouse-overlay {
        opacity: 0.8;
    }

    .sh-townhouse-frame {
        position: absolute;
        inset: 0.25rem;
        border-radius: var(--pi-radius, 0.75rem);
        border: 1px solid rgba(255, 255, 255, 0.2);
        pointer-events: none;
        z-index: 10;
        opacity: 0.46;
        transition: all 0.35s ease;
    }

    .sh-townhouse-link:hover .sh-townhouse-frame {
        opacity: 0.9;
        border-color: rgba(255, 255, 255, 0.5);
    }

    .sh-townhouse-badge {
        position: absolute;
        top: 1.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
        padding: 0.375rem 1rem;
        border-radius: 9999px;
        color: var(--pi-text, #0f172a);
        border: 1px solid rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 14px 28px -20px rgba(0, 0, 0, 0.48);
        backdrop-filter: blur(7px);
        transition: all 0.3s ease;
        min-width: 88px;
        display: flex;
        justify-content: center;
    }

    .sh-townhouse-badge span {
        white-space: nowrap;
    }

    .sh-townhouse-link:hover .sh-townhouse-badge {
        background: rgba(255, 255, 255, 0.96);
    }

    .sh-townhouse-content-shell {
        position: relative;
        margin-top: -2.5rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        flex-shrink: 0;
        padding: 0.25rem;
        z-index: 20;
        flex: 1;
        display: flex;
        flex-direction: column;
        transition: all 0.5s;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 0.45rem 0.45rem 0.95rem 0.95rem;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 -8px 26px -18px rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
    }
    @media (min-width: 768px) { .sh-townhouse-content-shell { margin-left: 1rem; margin-right: 1rem; } }
    .dark .sh-townhouse-content-shell {
        background: rgba(30, 41, 59, 0.92);
        border-color: rgba(255, 255, 255, 0.05);
    }

    .sh-townhouse-content {
        border: 1px solid var(--pi-border-light, #f1f5f9);
        padding: 1rem 1rem 1.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        text-align: center;
        position: relative;
        overflow: hidden;
        border-radius: 0.25rem 0.25rem 0.75rem 0.75rem;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 252, 0.94));
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }
    @media (min-width: 768px) { .sh-townhouse-content { padding: 1.25rem 1.25rem 2rem; } }
    .dark .sh-townhouse-content {
        background: linear-gradient(180deg, rgba(30, 41, 59, 0.99), rgba(15, 23, 42, 0.94));
    }

    .sh-townhouse-link:hover .sh-townhouse-content {
        border-color: rgba(0, 125, 61, 0.2);
        background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(240, 247, 243, 0.95));
    }
    .dark .sh-townhouse-link:hover .sh-townhouse-content {
        background: linear-gradient(180deg, rgba(30, 41, 59, 1), rgba(15, 23, 42, 0.95));
    }

    .sh-townhouse-divider {
        width: 1px;
        height: 2rem;
        margin: -1.5rem auto 1rem;
        background: linear-gradient(180deg, transparent, var(--pi-secondary, #ffb703) 50%, transparent);
    }

    .sh-townhouse-title {
        color: var(--pi-text, #0f172a);
        font-weight: 800;
        font-size: 0.9375rem;
        line-height: 1.3;
        margin: 0 0 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        position: relative;
        z-index: 10;
        width: 100%;
        word-break: break-word;
        transition: color 0.3s ease;
        text-wrap: balance;
    }
    @media (min-width: 768px) { .sh-townhouse-title { font-size: 1.0625rem; } }
    .dark .sh-townhouse-title {
        color: var(--pi-text, #f1f5f9);
    }

    .sh-townhouse-link:hover .sh-townhouse-title {
        color: var(--pi-primary, #007d3d);
    }

    .sh-townhouse-sub {
        color: var(--pi-text-3, #64748b);
        letter-spacing: 0.01em;
        font-weight: 500;
        font-size: 0.625rem;
        margin-bottom: auto;
        z-index: 10;
    }
    @media (min-width: 768px) { .sh-townhouse-sub { font-size: 0.75rem; } }
    .dark .sh-townhouse-sub {
        color: var(--pi-text-muted, #94a3b8);
    }

    .sh-townhouse-measure {
        position: relative;
        width: 100%;
        height: 1px;
        margin: 1.5rem 0;
        z-index: 10;
        background: rgba(148, 163, 184, 0.45);
        transition: background-color 0.3s ease;
    }

    .sh-townhouse-link:hover .sh-townhouse-measure {
        background: rgba(0, 125, 61, 0.35);
    }

    .sh-townhouse-read {
        color: var(--pi-primary, #007d3d);
        border: 1px solid rgba(0, 125, 61, 0.22);
        border-radius: 999px;
        padding: 0.48rem 0.92rem;
        background: rgba(0, 125, 61, 0.05);
        font-weight: 800;
    }

    .sh-townhouse-link:hover .sh-townhouse-read {
        background: rgba(0, 125, 61, 0.12);
    }

    @media (max-width: 1023px) {
        .sh-townhouse-watermark {
            opacity: 0.35;
        }

        .sh-townhouse-content-shell {
            margin-left: 0.35rem;
            margin-right: 0.35rem;
        }
    }

    /* ── Card uniform sizing ── */
    .sh-townhouse-link {
        display: block;
        position: relative;
        background: transparent;
        height: 100%;
        cursor: pointer;
        text-decoration: none;
        flex: 0 0 auto;
        width: 280px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    @media (min-width: 640px) {
        .sh-townhouse-link { width: 300px; }
    }
    @media (min-width: 1024px) {
        .sh-townhouse-link { width: auto; flex: 1; }
    }
    .sh-townhouse-card { max-width: none; }

    /* ── Scroll container layout ── */
    .sh-townhouse-scroll {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        padding-bottom: 1rem;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(0,125,61,0.3) transparent;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    @media (min-width: 768px) { .sh-townhouse-scroll { gap: 2rem; } }
    @media (min-width: 1024px) {
        .sh-townhouse-scroll {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            overflow: visible;
            padding-bottom: 0;
            margin: 0;
            padding-left: 0;
            padding-right: 0;
        }
    }
    .sh-townhouse-scroll::-webkit-scrollbar { height: 6px; }
    .sh-townhouse-scroll::-webkit-scrollbar-track { background: transparent; margin: 0 16px; }
    .sh-townhouse-scroll::-webkit-scrollbar-thumb {
        background: rgba(0,125,61,0.25);
        border-radius: 10px;
        transition: background 0.3s;
    }
    .sh-townhouse-scroll:hover::-webkit-scrollbar-thumb,
    .sh-townhouse-scroll:active::-webkit-scrollbar-thumb {
        background: rgba(0,125,61,0.5);
    }
    .sh-townhouse-link { scroll-snap-align: start; }

    @media (min-width: 1024px) {
        .sh-townhouse-scroll::-webkit-scrollbar { display: none; }
        .sh-townhouse-scroll { scrollbar-width: none; scroll-snap-type: none; }
    }

    @media (max-width: 768px) {
        .sh-townhouse-header {
            padding-bottom: 1.2rem;
        }

        .sh-townhouse-title {
            font-size: 0.95rem;
        }

        .sh-townhouse-content-shell {
            border-radius: 0.4rem 0.4rem 0.8rem 0.8rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .sh-townhouse-card,
        .sh-townhouse-overlay,
        .sh-townhouse-frame,
        .sh-townhouse-badge,
        .sh-townhouse-title,
        .sh-townhouse-measure {
            transition: none !important;
        }
    }

    /* ── Dark mode scroll bar ── */
    .dark .sh-townhouse-scroll { scrollbar-color: rgba(74,222,128,0.3) transparent; }
    .dark .sh-townhouse-scroll::-webkit-scrollbar-thumb { background: rgba(74,222,128,0.25); }
    .dark .sh-townhouse-scroll:hover::-webkit-scrollbar-thumb { background: rgba(74,222,128,0.5); }

    /* ── Layout (replaces Tailwind utilities) ── */
    .sh-townhouse-section { padding: 3rem 0; position: relative; overflow: hidden; }
    @media (min-width: 768px) { .sh-townhouse-section { padding: 6rem 0; } }

    .sh-townhouse-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 10; }

    .sh-townhouse-header { margin-bottom: 2.5rem; text-align: center; }
    @media (min-width: 768px) { .sh-townhouse-header { text-align: left; } }

    .sh-townhouse-header__inner { width: 100%; }

    .sh-townhouse-header__label { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 0.5rem; }
    @media (min-width: 768px) { .sh-townhouse-header__label { justify-content: flex-start; margin-bottom: 1rem; } }

    .sh-townhouse-header__line { width: 2rem; height: 0.25rem; background: var(--pi-secondary, #ffb703); border-radius: 9999px; }
    @media (min-width: 768px) { .sh-townhouse-header__line { width: 3rem; } }

    .sh-townhouse-header__label-text { color: var(--pi-secondary, #ffb703); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; }
    @media (min-width: 768px) { .sh-townhouse-header__label-text { font-size: 0.875rem; } }

    .sh-townhouse-header__title { font-size: 1.875rem; font-weight: 800; color: var(--pi-text, #1e293b); line-height: 1.15; margin: 0; }
    @media (min-width: 768px) { .sh-townhouse-header__title { font-size: 3rem; } }

    .sh-townhouse-header__title-accent { color: var(--pi-primary, #007d3d); display: inline-block; position: relative; }

    .sh-townhouse-header__underline-svg { position: absolute; width: 100%; height: 0.75rem; bottom: -0.25rem; left: 0; color: var(--pi-secondary, #ffb703); }
    @media (min-width: 768px) { .sh-townhouse-header__underline-svg { height: 1rem; bottom: -0.5rem; } }

    .sh-townhouse-header__desc { color: var(--pi-text-3, #94a3b8); font-size: 1rem; margin-top: 1rem; font-weight: 300; }
    @media (min-width: 768px) { .sh-townhouse-header__desc { font-size: 1.125rem; margin-top: 1.5rem; } }

    .sh-townhouse-badge__inner { display: flex; align-items: center; gap: 0.25rem; font-size: 0.5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; }
    @media (min-width: 768px) { .sh-townhouse-badge__inner { font-size: 0.625rem; } }

    .sh-townhouse-badge__dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--pi-secondary, #ffb703); animation: pulse 2s infinite; }

    .sh-townhouse-read-wrap { text-align: center; position: relative; z-index: 10; width: 100%; display: flex; justify-content: center; }

    .sh-townhouse-read__text { position: relative; }
    .sh-townhouse-read__text::after { content: ''; position: absolute; bottom: -0.25rem; left: 0; width: 0; height: 1px; background: var(--pi-primary, #007d3d); transition: width 0.5s; }
    .sh-townhouse-link:hover .sh-townhouse-read__text::after { width: 100%; }

    .sh-townhouse-measure__tick { position: absolute; top: -3px; width: 1px; height: 7px; background: var(--pi-text-muted, #64748b); }
    .sh-townhouse-measure__tick--left { left: 0; }
    .sh-townhouse-measure__tick--right { right: 0; }
    .sh-townhouse-measure__diamond { position: absolute; top: -3px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 3px; height: 3px; background: var(--pi-secondary, #ffb703); }

    /* Mobile CTA */
    .sh-townhouse-mobile-cta { margin-top: 2rem; text-align: center; }
    @media (min-width: 768px) { .sh-townhouse-mobile-cta { display: none; } }
    .sh-townhouse-mobile-btn { display: block; width: 100%; padding: 1rem; background: var(--pi-primary, #007d3d); color: #fff; font-weight: 700; border-radius: var(--pi-radius, 0.75rem); text-decoration: none; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

    /* Dark mode extras */
    .dark .sh-townhouse-header__title { color: var(--pi-text, #f1f5f9); }
    .dark .sh-townhouse-header__desc { color: var(--pi-text-muted, #64748b); }
