:root {
    --ba-ink: #0b1929;
    --ba-navy: #0d2f57;
    --ba-blue: #1f5f99;
    --ba-slate: #64748b;
    --ba-surface: #ffffff;
    --ba-border: #e2e8f0;
    --ba-gold: #c9973d;
    --ba-gold-light: #f5e4c3;
    --ba-radius: 10px;
    --ba-shadow: 0 4px 24px rgba(11, 25, 41, 0.08), 0 1px 4px rgba(11, 25, 41, 0.04);
    --ba-shadow-lg: 0 20px 60px rgba(11, 25, 41, 0.14), 0 4px 12px rgba(11, 25, 41, 0.06);
    --ba-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--ba-font);
    background: #ffffff;
    color: var(--ba-ink);
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
}

body.ba-public { padding-top: 0; }


/* ─── Load-in animation (Linear-style) ──────────────────────── */

@keyframes ba-settle {
    from {
        opacity: 0;
        filter: blur(7px);
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

.ba-settle {
    animation: ba-settle 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ba-settle-1 { animation-delay: 0.06s; }
.ba-settle-2 { animation-delay: 0.16s; }
.ba-settle-3 { animation-delay: 0.26s; }
.ba-settle-4 { animation-delay: 0.34s; }
.ba-settle-route {
    animation-delay: 1.05s;
    animation-duration: 1.15s;
}

.ba-route-card.ba-settle-1 { animation-delay: 0.32s; }
.ba-route-card.ba-settle-2 { animation-delay: 0.44s; }
.ba-route-card.ba-settle-3 { animation-delay: 0.56s; }
.ba-route-card.ba-settle-4 { animation-delay: 0.68s; }


/* ─── Navigation — transparent, floats over gradient canvas ─── */

.global-nav {
    background: rgba(8, 17, 32, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 68px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: background 0.3s, border-color 0.3s;
    z-index: 9999;
}

/* scrolled state — picks up a tinted frosted background */
.global-nav.is-scrolled {
    background: rgba(8, 17, 32, 0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.global-nav-content {
    max-width: 1360px;
    padding: 0 24px;
}

.global-nav-logo .logo {
    height: 38px;
    filter: brightness(0) invert(1);
}

.global-nav-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.global-nav-menu {
    align-items: center;
    gap: 26px;
}

.global-nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: color 0.15s;
}

.global-nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

.global-nav-cta {
    background: var(--ba-gold);
    border-radius: 8px;
    color: #0b1929 !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.global-nav-cta:hover {
    box-shadow: 0 6px 20px rgba(201, 151, 61, 0.40);
    transform: translateY(-1px);
}


/* ─── Page shell ─────────────────────────────────────────────── */

.ba-page {
    min-height: 100vh;
    padding-top: 68px;
}

body:has(.ba-home-hero) .ba-page {
    padding-top: 0;
}

.ba-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

.ba-section {
    padding: 96px 0;
}

/* Listings page: pull the card grid up under the compact hero */
.ba-section--tight-top {
    padding-top: 24px;
}

.ba-section-alt {
    background: #f8fafc;
    padding: 96px 0;
}


/* ─── Hero — gradient canvas behind transparent nav ─────────── */

.ba-hero {
    background:
        radial-gradient(ellipse at 85% 0%, rgba(31, 95, 153, 0.08) 0%, transparent 42%),
        #ffffff;
    overflow: hidden;
    padding: 96px 0 80px;
    position: relative;
}

/* Listings page: same top clearance for the fixed nav, much less below */
.ba-hero--compact {
    padding-bottom: 28px;
}

.ba-home-hero {
    background:
        radial-gradient(ellipse at 12% 10%, rgba(31, 95, 153, 0.10) 0%, transparent 38%),
        radial-gradient(ellipse at 84% 18%, rgba(201, 151, 61, 0.12) 0%, transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 62%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 88vh;
    padding: 0;
}

.ba-hero-grid {
    align-items: start;
    display: grid;
    gap: 56px;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

/* left panel — gradient canvas that flows behind the nav */
.ba-hero-left-panel {
    background:
        radial-gradient(ellipse at 18% 28%, rgba(31, 95, 153, 0.10) 0%, transparent 44%),
        transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 52px 80px 0;
    padding-left: max(24px, calc((100vw - 1360px) / 2 + 24px));
    position: relative;
}

.ba-hero-left-panel::after {
    display: none;
}

/* right panel — richer gradient with visual depth + routing cards */
.ba-hero-right-panel {
    background:
        radial-gradient(ellipse at 58% 28%, rgba(201, 151, 61, 0.13) 0%, transparent 38%),
        radial-gradient(ellipse at 78% 72%, rgba(31, 95, 153, 0.12) 0%, transparent 44%),
        transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px 52px;
    padding-right: max(24px, calc((100vw - 1360px) / 2 + 24px));
    position: relative;
    overflow: hidden;
}

/* subtle grid lines on right panel — the atlas reference */
.ba-hero-right-panel::before {
    content: '';
    position: absolute;
    inset: 7% 0 7% 10%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(248, 250, 252, 0.92)),
        radial-gradient(ellipse at 70% 10%, rgba(201, 151, 61, 0.10), transparent 48%);
    border-radius: 44px 0 0 44px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 0 30px 100px rgba(11, 25, 41, 0.10);
    pointer-events: none;
}

/* soft gold glow focal point */
.ba-hero-right-panel::after {
    content: '';
    position: absolute;
    inset: 7% 0 7% 10%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(11,25,41,0.026) 44px, rgba(11,25,41,0.026) 45px),
        repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(11,25,41,0.018) 44px, rgba(11,25,41,0.018) 45px);
    border-radius: 44px 0 0 44px;
    pointer-events: none;
}

.ba-hero-visual {
    inset: 7% 0 7% 10%;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.ba-desk-surface {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(241, 245, 249, 0.72)),
        radial-gradient(ellipse at 38% 72%, rgba(201, 151, 61, 0.12), transparent 44%);
    border: 1px solid rgba(226, 232, 240, 0.74);
    border-radius: 36px;
    bottom: 9%;
    box-shadow: 0 24px 80px rgba(11, 25, 41, 0.12);
    left: 7%;
    position: absolute;
    right: 9%;
    top: 12%;
    transform: rotate(-2deg);
}

.ba-visual-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(11, 25, 41, 0.12);
    position: absolute;
}

.ba-visual-card-map {
    height: 160px;
    right: 7%;
    top: 11%;
    transform: rotate(5deg);
    width: 260px;
}

.ba-visual-card-map::before {
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(31, 95, 153, 0.18) 48% 51%, transparent 51%),
        linear-gradient(0deg, transparent 0 42%, rgba(201, 151, 61, 0.22) 42% 45%, transparent 45%),
        radial-gradient(circle at 32% 40%, rgba(31, 95, 153, 0.20), transparent 18%),
        radial-gradient(circle at 68% 58%, rgba(201, 151, 61, 0.28), transparent 15%);
    border-radius: 14px;
    content: '';
    inset: 14px;
    position: absolute;
}

.ba-visual-card-map span {
    background: rgba(11, 25, 41, 0.10);
    border-radius: 999px;
    height: 7px;
    left: 20px;
    position: absolute;
    width: 72px;
}

.ba-visual-card-map span:nth-child(1) { bottom: 25px; }
.ba-visual-card-map span:nth-child(2) { bottom: 40px; width: 112px; }
.ba-visual-card-map span:nth-child(3) { bottom: 55px; width: 92px; }

.ba-visual-card-report {
    bottom: 12%;
    height: 150px;
    left: 9%;
    transform: rotate(-7deg);
    width: 220px;
}

.ba-report-line {
    background: rgba(100, 116, 139, 0.18);
    border-radius: 999px;
    height: 9px;
    left: 22px;
    position: absolute;
    top: 58px;
    width: 112px;
}

.ba-report-line.wide {
    top: 36px;
    width: 158px;
}

.ba-report-stat {
    background: linear-gradient(135deg, var(--ba-gold), #f0c46c);
    border-radius: 14px;
    bottom: 20px;
    height: 46px;
    left: 22px;
    position: absolute;
    right: 22px;
}

.ba-visual-phone {
    background: #0b1929;
    border: 7px solid #18253a;
    border-radius: 34px;
    box-shadow: 0 32px 90px rgba(11, 25, 41, 0.28);
    height: 330px;
    left: 44%;
    position: absolute;
    top: 28%;
    transform: translateX(-50%) rotate(4deg);
    width: 166px;
}

.ba-phone-pill {
    background: rgba(255,255,255,0.18);
    border-radius: 999px;
    height: 5px;
    left: 50%;
    position: absolute;
    top: 15px;
    transform: translateX(-50%);
    width: 44px;
}

.ba-phone-screen-line {
    background: rgba(255,255,255,0.74);
    border-radius: 999px;
    height: 8px;
    left: 22px;
    position: absolute;
    right: 22px;
    top: 70px;
}

.ba-phone-screen-line.short {
    opacity: 0.36;
    right: 52px;
    top: 88px;
}

.ba-phone-chart {
    background:
        linear-gradient(145deg, rgba(31, 95, 153, 0.55), rgba(201, 151, 61, 0.82)),
        #142846;
    border-radius: 18px;
    bottom: 28px;
    left: 18px;
    position: absolute;
    right: 18px;
    top: 126px;
}

.ba-hero-left-text {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.ba-hero h1 {
    color: var(--ba-ink);
    font-size: clamp(34px, 3.8vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
}

.ba-home-hero h1 {
    color: var(--ba-ink);
}

.ba-hero .ba-eyebrow {
    color: var(--ba-blue);
}

.ba-home-hero .ba-eyebrow {
    color: var(--ba-blue);
}

.ba-hero .ba-lede {
    color: #475569;
    font-size: 17px;
    max-width: 460px;
}

.ba-home-hero .ba-lede {
    color: #475569;
}

.ba-owner-hero .ba-lede {
    font-size: 20px;
    line-height: 1.5;
}



.ba-owner-hero {
    min-height: 520px;
}

.ba-owner-hero .ba-hero-left-panel,
.ba-owner-hero .ba-hero-right-panel {
    padding-top: 86px;
    padding-bottom: 54px;
}

.ba-owner-hero h1 {
    font-weight: 600;
    max-width: 620px;
}

.ba-owner-hero .ba-route-card-icon {
    background: rgba(31, 95, 153, 0.10);
    color: var(--ba-blue);
}

.ba-owner-hero .ba-route-card:hover .ba-route-card-icon {
    background: rgba(31, 95, 153, 0.18);
}

.ba-owner-hero .ba-route-card:hover .ba-route-card-arrow {
    color: var(--ba-blue);
}

.ba-owner-hero .ba-routing-label {
    color: var(--ba-blue);
}

.ba-residents-hero {
    min-height: 520px;
}

.ba-residents-hero .ba-hero-left-panel,
.ba-residents-hero .ba-hero-right-panel {
    padding-top: 86px;
    padding-bottom: 54px;
}

.ba-proof-chips {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: -12px 0 28px;
}

.ba-proof-chips span {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(11, 25, 41, 0.05);
    color: #334155;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: -0.01em;
    padding: 8px 11px;
}

.ba-home-hero .ba-button-primary {
    background: var(--ba-ink);
    box-shadow: 0 8px 28px rgba(11, 25, 41, 0.20);
    color: #ffffff;
}

.ba-home-hero .ba-button-primary:hover {
    box-shadow: 0 14px 38px rgba(11, 25, 41, 0.28);
    transform: translateY(-2px);
}

.ba-home-hero .ba-button-secondary {
    background: #ffffff;
    border-color: var(--ba-border);
    color: var(--ba-ink);
}

.ba-home-hero .ba-button-secondary:hover {
    background: #f8fafc;
    color: var(--ba-ink);
}


/* ─── Routing cards ─────────────────────────────────────────── */

.ba-routing-cards {
    background: rgba(255, 255, 255, 0.985);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(226, 232, 240, 0.98);
    border-radius: 14px;
    box-shadow:
        0 34px 90px rgba(11, 25, 41, 0.22),
        0 2px 8px rgba(11, 25, 41, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 470px;
    padding: 22px;
    position: relative;
    z-index: 1;
}

.ba-routing-label {
    color: var(--ba-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ba-route-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 18px 20px;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.ba-route-card:hover {
    background: #f8fafc;
    border-color: rgba(201, 151, 61, 0.42);
    transform: translateX(3px);
}

.ba-route-card-icon {
    align-items: center;
    background: rgba(201, 151, 61, 0.12);
    border-radius: 6px;
    color: var(--ba-gold);
    display: flex;
    flex-shrink: 0;
    font-size: 18px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.ba-route-card-text {
    flex: 1;
}

.ba-route-card-title {
    color: var(--ba-ink);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 3px;
}

.ba-route-card-desc {
    color: var(--ba-slate);
    font-size: 12px;
    line-height: 1.4;
}

.ba-route-card-arrow {
    color: rgba(11, 25, 41, 0.28);
    flex-shrink: 0;
    font-size: 16px;
    transition: color 0.18s, transform 0.18s;
}

.ba-route-card:hover .ba-route-card-arrow {
    color: var(--ba-gold);
    transform: translateX(3px);
}


/* ─── Eyebrow & headings ─────────────────────────────────────── */

.ba-eyebrow {
    color: var(--ba-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.ba-page-title,
.ba-section-title {
    color: var(--ba-ink);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.05em;
    margin: 0 0 18px;
}

.ba-lede {
    color: #475569;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.58;
    margin: 0 0 32px;
    max-width: 680px;
}

.ba-muted {
    color: #475569;
    font-size: 17px;
    line-height: 1.65;
}


/* ─── Layout helpers ─────────────────────────────────────────── */

.ba-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ba-split {
    align-items: start;
    display: grid;
    gap: 56px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}


/* ─── Buttons ────────────────────────────────────────────────── */

.ba-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 10px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: -0.01em;
    min-height: 46px;
    padding: 0 22px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ba-button-primary {
    background: var(--ba-ink);
    box-shadow: 0 4px 18px rgba(11, 25, 41, 0.22);
    color: #fff;
}

.ba-button-primary:hover {
    box-shadow: 0 10px 32px rgba(11, 25, 41, 0.28);
    color: #fff;
    transform: translateY(-1px);
}

.ba-button-secondary {
    background: #ffffff;
    border-color: var(--ba-border);
    color: var(--ba-ink);
}

.ba-button-secondary:hover {
    background: #f8fafc;
    color: var(--ba-ink);
}

.ba-back-link {
    color: var(--ba-blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
    text-decoration: none;
}

.ba-back-link:hover {
    text-decoration: underline;
}

.ba-back-link--light {
    color: rgba(255, 255, 255, 0.82);
}


/* ─── Cards ──────────────────────────────────────────────────── */

.ba-card {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: var(--ba-radius);
    box-shadow: var(--ba-shadow);
    padding: 28px;
}

.ba-card h3 {
    color: var(--ba-ink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
}

.ba-card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* gold top-border accent on service cards */
.ba-card-accent {
    border-top: 3px solid var(--ba-gold);
}

.ba-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* ─── Featured rentals rail (homepage) ───────────────────────── */

.ba-listing-rail {
    display: flex;
    gap: 18px;
    margin-top: 32px;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    /* Fade the rail at both edges so it reads as scrollable */
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.55), #000 2%, #000 92%, transparent);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.55), #000 2%, #000 92%, transparent);
}

.ba-rail-card {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 16px;
    box-shadow: var(--ba-shadow);
    color: inherit;
    flex: 0 0 320px;
    overflow: hidden;
    scroll-snap-align: start;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ba-rail-card:hover {
    box-shadow: var(--ba-shadow-lg);
    transform: translateY(-3px);
}

.ba-rail-card img,
.ba-rail-photo-fallback {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.ba-rail-photo-fallback {
    background: linear-gradient(135deg, var(--ba-navy), var(--ba-blue));
}

.ba-rail-card-body {
    display: grid;
    gap: 4px;
    padding: 16px 18px 18px;
}

.ba-rail-card-body strong {
    color: var(--ba-ink);
    font-size: 16px;
    letter-spacing: -0.02em;
}

.ba-rail-meta {
    color: var(--ba-slate);
    font-size: 13.5px;
}

.ba-rail-price {
    color: var(--ba-navy);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 6px;
}

@media (max-width: 640px) {
    .ba-rail-card {
        flex-basis: 260px;
    }
}


/* ─── Stat blocks ────────────────────────────────────────────── */

.ba-stats-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ba-stat {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    padding: 20px;
}

.ba-stat strong {
    color: var(--ba-ink);
    display: block;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 6px;
}

.ba-stat span {
    color: var(--ba-slate);
    font-size: 13px;
    line-height: 1.4;
}


/* ─── Dark band ──────────────────────────────────────────────── */

.ba-band {
    background: var(--ba-ink);
    color: #fff;
}

.ba-band .ba-section-title,
.ba-band .ba-page-title {
    color: #fff;
}

.ba-band .ba-eyebrow {
    color: var(--ba-gold);
}

.ba-band .ba-muted {
    color: rgba(255, 255, 255, 0.68);
}

.ba-band .ba-list li {
    color: rgba(255, 255, 255, 0.88);
}

.ba-band .ba-button-primary {
    background: var(--ba-gold);
    box-shadow: 0 6px 24px rgba(201, 151, 61, 0.35);
    color: var(--ba-ink);
}

.ba-band .ba-button-primary:hover {
    box-shadow: 0 10px 32px rgba(201, 151, 61, 0.45);
    color: var(--ba-ink);
}

.ba-band .ba-button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.ba-band .ba-button-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}


/* ─── Horizontal CTA card grid ───────────────────────────── */

.ba-horiz-card-grid {
    display: grid;
    gap: 12px;
}

.ba-horiz-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.ba-horiz-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateX(3px);
}

.ba-horiz-card-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-shrink: 0;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.ba-horiz-card-text { flex: 1; min-width: 0; }

.ba-horiz-card-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ba-horiz-card-sub {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    margin-top: 2px;
}

.ba-horiz-card-arrow {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    font-size: 16px;
    transition: color 0.18s;
}

.ba-horiz-card:hover .ba-horiz-card-arrow {
    color: rgba(255, 255, 255, 0.9);
}


/* ─── White CTA card grid ─────────────────────────────────── */

.ba-cta-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ba-cta-card {
    background: #fff;
    border: 1px solid var(--ba-border);
    border-radius: 12px;
    color: var(--ba-ink);
    display: grid;
    gap: 18px;
    min-height: 190px;
    padding: 24px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.ba-cta-card:hover {
    border-color: rgba(201, 151, 61, 0.45);
    box-shadow: var(--ba-shadow);
    transform: translateY(-3px);
}

.ba-cta-card-icon {
    align-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    color: var(--ba-blue);
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.ba-cta-card-title {
    color: var(--ba-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.ba-cta-card-sub {
    color: var(--ba-slate);
    font-size: 14px;
    line-height: 1.45;
    margin-top: 6px;
}

.ba-cta-card-arrow {
    bottom: 22px;
    color: var(--ba-gold);
    font-size: 18px;
    position: absolute;
    right: 24px;
}


/* ─── Fees comparison table ───────────────────────────────── */

.ba-fee-table-wrap {
    background: #fff;
    border: 1px solid var(--ba-border);
    border-radius: 14px;
    box-shadow: var(--ba-shadow);
    overflow-x: auto;
}

.ba-fee-table {
    border-collapse: collapse;
    min-width: 860px;
    width: 100%;
}

.ba-fee-table th {
    background: #f8fafc;
    border-bottom: 1px solid var(--ba-border);
    color: var(--ba-slate);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 16px 18px;
    text-align: left;
    text-transform: uppercase;
}

.ba-fee-table td {
    border-bottom: 1px solid var(--ba-border);
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    padding: 20px 18px;
    vertical-align: top;
}

.ba-fee-table tr:last-child td {
    border-bottom: 0;
}

.ba-fee-table td:first-child strong {
    color: var(--ba-ink);
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.ba-fee-table td:first-child span {
    color: var(--ba-slate);
    display: block;
    font-size: 12px;
}

.ba-fee-table-highlight {
    color: var(--ba-blue) !important;
    font-size: 16px !important;
    font-weight: 800;
}


/* ─── FAQ accordion ───────────────────────────────────────── */

.ba-faq-layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.ba-faq-accordion {
    border: 1px solid var(--ba-border);
    border-radius: 14px;
    box-shadow: var(--ba-shadow);
    overflow: hidden;
}

.ba-faq-row {
    background: #fff;
    border-bottom: 1px solid var(--ba-border);
}

.ba-faq-row:last-child {
    border-bottom: 0;
}

.ba-faq-row summary {
    align-items: center;
    color: var(--ba-ink);
    cursor: pointer;
    display: flex;
    font-size: 17px;
    font-weight: 800;
    justify-content: space-between;
    line-height: 1.35;
    list-style: none;
    padding: 22px 24px;
}

.ba-faq-row summary::-webkit-details-marker {
    display: none;
}

.ba-faq-row summary::after {
    color: var(--ba-gold);
    content: "+";
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    margin-left: 24px;
}

.ba-faq-row[open] summary {
    padding-bottom: 12px;
}

.ba-faq-row[open] summary::after {
    content: "−";
}

.ba-faq-row p {
    color: var(--ba-slate);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    max-width: 760px;
    padding: 0 24px 24px;
}

.ba-faq-cta-card {
    background: #fff;
    border: 1px solid var(--ba-border);
    border-radius: 14px;
    box-shadow: var(--ba-shadow);
    padding: 28px;
    position: sticky;
    top: 96px;
}

.ba-faq-cta-card h2 {
    color: var(--ba-ink);
    font-size: 26px;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 10px 0 12px;
}

.ba-faq-cta-card p {
    color: var(--ba-slate);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 22px;
}

.ba-faq-cta-actions {
    display: grid;
    gap: 10px;
}

.ba-faq-cta-actions .ba-button {
    justify-content: center;
    width: 100%;
}

.ba-faq-hero {
    min-height: auto;
    padding-bottom: 48px;
}

.ba-faq-section {
    padding-top: 40px;
}


/* ─── Lists ──────────────────────────────────────────────────── */

.ba-list {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.ba-list li {
    align-items: flex-start;
    color: var(--ba-ink);
    display: flex;
    font-size: 15px;
    gap: 12px;
    line-height: 1.5;
}

.ba-list li::before {
    background: var(--ba-blue);
    border-radius: 50%;
    content: "";
    flex-shrink: 0;
    height: 7px;
    margin-top: 8px;
    width: 7px;
}


/* ─── Forms ──────────────────────────────────────────────────── */

.ba-form { display: grid; gap: 13px; }

.ba-field { display: grid; gap: 6px; }

.ba-field label {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.ba-field-optional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 12px;
    letter-spacing: 0;
}

.ba-address-list { display: grid; gap: 8px; }

.ba-address-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ba-address-row .ba-address-input { flex: 1; }

.ba-remove-address {
    background: none;
    border: 1.5px solid var(--ba-border);
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    height: 38px;
    line-height: 1;
    padding: 0 10px;
    flex-shrink: 0;
    transition: border-color 0.15s, color 0.15s;
}

.ba-remove-address:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.ba-add-address {
    background: none;
    border: none;
    color: var(--ba-gold);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 2px 0;
    text-align: left;
    width: fit-content;
}

.ba-add-address:hover { text-decoration: underline; }

.ba-field input,
.ba-field select,
.ba-field textarea {
    background: #fff;
    border: 1.5px solid var(--ba-border);
    border-radius: 8px;
    color: var(--ba-ink);
    font: inherit;
    min-height: 46px;
    outline: none;
    padding: 12px 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}

.ba-field textarea { min-height: 104px; resize: vertical; }

.ba-field input:focus,
.ba-field select:focus,
.ba-field textarea:focus {
    border-color: var(--ba-gold);
    box-shadow: 0 0 0 4px rgba(201, 151, 61, 0.14);
}

.ba-form-note,
.ba-form-status {
    color: var(--ba-slate);
    font-size: 13px;
    line-height: 1.45;
}


/* ─── Listings ───────────────────────────────────────────────── */

.ba-listing-shell { display: grid; gap: 24px; }

.ba-listing-toolbar {
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid var(--ba-border);
    border-radius: 10px;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
}

.ba-search-input {
    background: transparent;
    border: none;
    color: var(--ba-ink);
    font: inherit;
    outline: none;
    padding: 8px 4px;
    width: 100%;
}

.ba-listings-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ba-listing-card {
    background: #fff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    box-shadow: var(--ba-shadow);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
}

/* Whole-card click-through: the photo link's ::after covers the entire card so
   anywhere that is not an explicit action opens the detail page. */
.ba-listing-card .ba-listing-photo--stretched::after {
    content: "";
    inset: 0;
    position: absolute;
}

.ba-listing-card .ba-actions {
    position: relative;
    z-index: 1;
}

.ba-listing-card:hover {
    box-shadow: var(--ba-shadow-lg);
    transform: translateY(-3px);
}

.ba-listing-photo {
    align-items: center;
    background: #f1f5f9;
    color: var(--ba-slate);
    display: flex;
    height: 200px;
    justify-content: center;
    overflow: hidden;
}

.ba-listing-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.ba-listing-card:hover .ba-listing-photo img {
    transform: scale(1.03);
}

.ba-listing-body { padding: 20px; }

.ba-listing-title {
    color: var(--ba-ink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 6px;
}

.ba-listing-meta,
.ba-listing-address {
    color: var(--ba-slate);
    font-size: 13px;
    line-height: 1.45;
}

.ba-listing-price {
    color: var(--ba-ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 14px 0;
}


/* ─── Rent table ─────────────────────────────────────────────── */

.ba-rent-table { display: grid; gap: 10px; }

.ba-rent-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--ba-border);
    border-radius: 8px;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    padding: 14px 18px;
}

.ba-rent-row strong {
    color: var(--ba-ink);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
}


/* ─── City page header ───────────────────────────────────────── */

.ba-city-header {
    background: var(--ba-ink);
    padding: 80px 0 72px;
}

.ba-city-header .ba-eyebrow {
    color: var(--ba-gold);
}

.ba-city-header h1 {
    color: #ffffff;
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
    margin: 0 0 20px;
    max-width: 700px;
}

.ba-city-header .ba-lede {
    color: rgba(255, 255, 255, 0.68);
    max-width: 520px;
}

.ba-city-header .ba-button-primary {
    background: var(--ba-gold);
    box-shadow: 0 6px 24px rgba(201, 151, 61, 0.35);
    color: var(--ba-ink);
}

.ba-city-header .ba-button-primary:hover {
    box-shadow: 0 10px 32px rgba(201, 151, 61, 0.45);
    color: var(--ba-ink);
}

.ba-city-ghost-btn {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    font-size: 15px;
    font-weight: 600;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ba-city-ghost-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.40);
    color: #ffffff;
}


/* ─── City stats bar (below dark header) ─────────────────────── */

.ba-city-stats-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--ba-border);
    padding: 36px 0;
}

.ba-city-stats-bar .ba-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ba-city-stats-bar .ba-stat {
    background: #ffffff;
    border-left: 3px solid var(--ba-gold);
    border-radius: 16px;
}


/* ─── City rent layout (market pulse split) ──────────────────── */

.ba-rent-pulse-header {
    align-items: baseline;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.ba-rent-pulse-header .ba-muted {
    flex-shrink: 0;
    font-size: 13px;
    margin: 0;
}

.ba-rent-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ba-rent-card {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    flex: 1 1 120px;
    max-width: 180px;
    padding: 20px 20px 16px;
    text-align: center;
}

.ba-rent-card-label {
    color: var(--ba-slate);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ba-rent-card-price {
    color: var(--ba-ink);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ba-rent-card-sub {
    color: var(--ba-slate);
    font-size: 12px;
    margin-top: 4px;
}


/* ─── City intelligence cards ───────────────────────────────── */ 

.ba-intel-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ba-intel-card {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    box-shadow: var(--ba-shadow);
    padding: 20px;
}

.ba-intel-card span,
.ba-metric-card span {
    color: var(--ba-blue);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.11em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ba-intel-card p,
.ba-metric-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* Portfolio-proof stat line inside the Blue Atlas Signal card. */
.ba-intel-card p.ba-signal-stat {
    color: var(--ba-navy, #0f172a);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.ba-intel-card p.ba-signal-stat strong {
    color: var(--ba-blue);
    font-size: 20px;
    font-weight: 800;
}

.ba-signal-dot {
    color: var(--ba-border);
    padding: 0 2px;
}

.ba-metric-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ba-metric-card {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    box-shadow: var(--ba-shadow);
    padding: 20px;
}

.ba-metric-card strong {
    color: var(--ba-ink);
    display: block;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 12px;
}

.ba-news-columns {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}

.ba-news-two-col {
    grid-template-columns: 1fr 1fr;
}

.ba-metric-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ba-news-list {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}

.ba-news-list li {
    border-top: 1px solid var(--ba-border);
    padding-top: 14px;
}

.ba-news-list li:first-child {
    border-top: none;
    padding-top: 0;
}

.ba-news-list a {
    color: var(--ba-ink);
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.ba-news-list a:hover {
    color: var(--ba-blue);
}

.ba-news-list span {
    color: var(--ba-slate);
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

/* ─── News chip list (city detail → internal analysis pages) ── */
.ba-news-chip-list {
    display: grid;
    gap: 10px;
}

.ba-news-chip {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    color: var(--ba-ink);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ba-news-chip:hover {
    border-color: var(--ba-blue);
    box-shadow: 0 3px 12px rgba(11, 25, 41, 0.06);
}

.ba-news-chip-left {
    flex: 1;
    min-width: 0;
}

.ba-news-chip-title {
    color: var(--ba-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.ba-news-chip-source {
    color: var(--ba-slate);
    font-size: 12px;
    margin-top: 4px;
}

.ba-news-chip-arrow {
    color: var(--ba-slate);
    flex-shrink: 0;
    font-size: 16px;
    transition: color 0.15s, transform 0.15s;
}

.ba-news-chip:hover .ba-news-chip-arrow {
    color: var(--ba-blue);
    transform: translateX(3px);
}

/* ─── Blue Atlas News Brief block ───────────────────────────── */
.ba-news-brief-block {
    background: var(--ba-ink);
    border-radius: 12px;
    color: #ffffff;
    padding: 36px 40px;
}

.ba-news-brief-label {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.ba-news-brief-label .ba-eyebrow {
    color: var(--ba-gold);
}

.ba-news-brief-date {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.ba-news-brief-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.75;
}

.ba-news-brief-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    margin-top: 24px;
    padding-top: 16px;
}

/* ─── Breaking badge ─────────────────────────────────────────── */
.ba-breaking-badge {
    background: #dc2626;
    border-radius: 4px;
    color: #ffffff;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    padding: 2px 7px;
    text-transform: uppercase;
    vertical-align: middle;
}

.ba-breaking-badge--sm {
    font-size: 9px;
    margin-bottom: 4px;
    padding: 1px 5px;
}

/* ─── Guide article list cards (city guides index + city detail) */
.ba-guide-article-list {
    display: grid;
    gap: 14px;
}

.ba-guide-article-card {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    color: var(--ba-ink);
    display: block;
    padding: 22px 24px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ba-guide-article-card:hover {
    border-color: var(--ba-blue);
    box-shadow: 0 4px 16px rgba(11, 25, 41, 0.07);
}

.ba-guide-article-meta {
    color: var(--ba-slate);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ba-guide-article-title {
    color: var(--ba-ink);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 6px;
}

.ba-guide-article-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

/* ─── Metro breaking banner ──────────────────────────────────── */
.ba-metro-breaking {
    background: #1a1a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.ba-metro-breaking-inner {
    align-items: center;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ba-metro-breaking-items {
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
}

.ba-metro-breaking-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.15s;
}

.ba-metro-breaking-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ba-metro-breaking-sep {
    color: rgba(255, 255, 255, 0.3);
}

/* ─── Modal ──────────────────────────────────────────────────── */

.ba-modal {
    align-items: center;
    background: rgba(11, 25, 41, 0.60);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.ba-modal.is-open { display: flex; }

.ba-modal-panel {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: var(--ba-shadow-lg);
    max-width: 540px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 32px;
    width: 100%;
}

.ba-modal-header {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ba-modal-close {
    background: #f1f5f9;
    border: none;
    border-radius: 6px;
    color: var(--ba-slate);
    cursor: pointer;
    font-size: 20px;
    height: 34px;
    line-height: 1;
    transition: background 0.15s;
    width: 34px;
}

.ba-modal-close:hover { background: #e2e8f0; }


/* ─── Owner page — markets grid ─────────────────────────────── */

.ba-owners-markets-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ba-market-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    min-height: 90px;
    padding: 18px 16px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ba-market-card:hover {
    border-color: var(--ba-gold);
    box-shadow: 0 6px 20px rgba(11, 25, 41, 0.08);
    transform: translateY(-2px);
}

.ba-market-card-county {
    color: var(--ba-slate);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ba-market-card-name {
    color: var(--ba-ink);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ba-market-card-arrow {
    color: var(--ba-gold);
    font-size: 14px;
    margin-top: 4px;
}


/* ─── Owner page — nav cards ─────────────────────────────────── */

.ba-owner-nav-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
}

.ba-owner-nav-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    color: var(--ba-ink);
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ba-owner-nav-card:hover {
    border-color: var(--ba-gold);
    box-shadow: 0 4px 16px rgba(11, 25, 41, 0.07);
    color: var(--ba-ink);
}

.ba-owner-nav-icon {
    align-items: center;
    background: rgba(201, 151, 61, 0.10);
    border-radius: 8px;
    color: var(--ba-gold);
    display: flex;
    flex-shrink: 0;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.ba-owner-nav-title {
    color: var(--ba-ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3px;
}

.ba-owner-nav-desc {
    color: var(--ba-slate);
    font-size: 13px;
    line-height: 1.4;
}

.ba-owner-nav-card > span {
    color: var(--ba-slate);
    flex-shrink: 0;
    font-size: 16px;
    margin-left: auto;
    transition: color 0.15s, transform 0.15s;
}

.ba-owner-nav-card:hover > span {
    color: var(--ba-gold);
    transform: translateX(3px);
}

/* ─── Residents page — review intro ─────────────────────────── */

.ba-review-intro {
    padding: 46px 0 26px;
}

.ba-review-intro .ba-muted {
    margin-top: 16px;
    max-width: 680px;
}

.ba-owner-review-intro {
    padding: 34px 0 18px;
}

.ba-owner-review-intro .ba-muted {
    margin-top: 12px;
}

/* ─── Residents page — application progress ─────────────────── */

.ba-application-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
    position: relative;
}

.ba-application-progress::before {
    background: linear-gradient(90deg, var(--ba-gold), rgba(201, 151, 61, 0.35));
    content: "";
    height: 2px;
    left: 10%;
    position: absolute;
    right: 10%;
    top: 24px;
    z-index: 0;
}

.ba-progress-step {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 14px;
    padding: 0 18px 22px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.ba-progress-marker {
    align-items: center;
    background: var(--ba-gold);
    border: 6px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(201, 151, 61, 0.25);
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    height: 50px;
    justify-content: center;
    margin-top: -1px;
    transform: translateY(-50%);
    width: 50px;
}

.ba-progress-step h3 {
    color: var(--ba-ink);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: -10px 0 8px;
}

.ba-progress-step p {
    color: var(--ba-slate);
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}


/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .ba-intel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ba-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .global-nav {
        background: rgba(8, 17, 32, 0.96);
        height: auto;
    }

    .global-nav-content {
        flex-direction: column;
        gap: 0;
        padding: 14px 20px;
    }

    .global-nav-menu {
        display: none;
    }

    .ba-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .ba-hero-left-panel {
        padding: 100px 24px 52px;
    }

    .ba-hero-right-panel {
        padding: 52px 24px 72px;
        min-height: 620px;
    }

    .ba-owner-hero .ba-hero-right-panel {
        min-height: auto;
        padding-top: 0;
    }

    .ba-hero-left-panel::after {
        display: none;
    }

    .ba-hero-visual {
        inset: 24px 0 24px 0;
    }

    .ba-desk-surface {
        left: 8px;
        right: 8px;
    }

    .ba-visual-phone {
        left: 58%;
        opacity: 0.72;
    }

    .ba-visual-card-map {
        right: 2%;
        top: 6%;
    }

    .ba-visual-card-report {
        bottom: 4%;
        left: 3%;
    }

    .ba-routing-cards {
        max-width: 100%;
        margin-top: 96px;
    }

    .ba-split {
        grid-template-columns: 1fr;
    }

    .ba-stats-grid,
    .ba-card-grid,
    .ba-listings-grid,
    .ba-intel-grid,
    .ba-metric-grid {
        grid-template-columns: 1fr;
    }

    .ba-section,
    .ba-section-alt {
        padding: 64px 0;
    }

    .ba-listing-toolbar {
        grid-template-columns: 1fr;
    }

    .ba-city-stats-bar .ba-stats-grid,
    .ba-metric-grid-3,
    .ba-city-rent-layout,
    .ba-news-two-col,
    .ba-owners-markets-grid,
    .ba-owner-nav-grid,
    .ba-cta-card-grid,
    .ba-faq-layout {
        grid-template-columns: 1fr;
    }

    .ba-faq-cta-card {
        position: static;
    }

    .ba-city-header h1 {
        font-size: clamp(30px, 8vw, 42px);
    }
}


/* ─── Area index hero ────────────────────────────────────── */

.ba-area-index-hero {
    border-bottom: 1px solid var(--ba-border);
    min-height: auto;
}

.ba-area-index-hero .ba-hero-left-panel,
.ba-area-index-hero .ba-hero-right-panel {
    padding-top: 104px;
    padding-bottom: 72px;
}

.ba-area-index-hero .ba-hero-right-panel {
    min-height: auto;
}

.ba-area-index-hero h1 {
    font-size: clamp(28px, 3.2vw, 46px);
    max-width: 520px;
}

/* ─── Area index chips ───────────────────────────────────── */

.ba-area-group {
    margin-bottom: 56px;
}

.ba-area-group:last-child {
    margin-bottom: 0;
}

.ba-area-county-heading {
    color: var(--ba-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.ba-area-chip-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ba-area-chip {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 8px;
    color: var(--ba-ink);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: -0.01em;
    min-height: 52px;
    padding: 12px 10px;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
}

.ba-area-chip:hover {
    border-color: var(--ba-gold);
    box-shadow: 0 4px 16px rgba(11, 25, 41, 0.07);
    color: var(--ba-ink);
}

@media (max-width: 900px) {
    .ba-application-progress {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .ba-application-progress::before {
        bottom: 22px;
        height: auto;
        left: 25px;
        right: auto;
        top: 22px;
        width: 2px;
    }

    .ba-progress-step {
        align-items: flex-start;
        display: grid;
        gap: 4px 16px;
        grid-template-columns: 50px 1fr;
        padding: 18px 18px 18px 0;
        text-align: left;
    }

    .ba-progress-marker {
        grid-row: 1 / span 2;
        margin-top: 0;
        transform: none;
    }

    .ba-progress-step h3 {
        margin: 2px 0 0;
    }

    .ba-area-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .ba-area-chip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ─── Footer (partials/footer.html) ──────────────────────────
   Slim site-wide footer: basic info + four main links + the TREC legal
   bar — footer chrome, not a page section. Replaced the old full
   .ba-footer* multi-column footer (with its inline contact form) on
   2026-07-28. The "Contact Us" link opens the modal styled below. */

.bp-footer {
    background: var(--ba-ink);
    padding: 40px 0 0;
}

.bp-footer-main {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    padding-bottom: 30px;
}

.bp-footer-logo {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    text-decoration: none;
}

.bp-footer-logo img {
    filter: brightness(0) invert(1);
    height: 26px;
}

.bp-footer-logo span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bp-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bp-footer-contact a,
.bp-footer-contact span {
    color: rgba(255, 255, 255, 0.60);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.15s;
}

.bp-footer-contact a:hover {
    color: var(--ba-gold);
}

.bp-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 8px;
}

.bp-footer-nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.15s;
}

.bp-footer-nav a:hover {
    color: var(--ba-gold);
}

.bp-footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 8px 24px;
    justify-content: space-between;
    padding: 16px 0;
}

.bp-footer-bar a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.bp-footer-bar a:hover {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .bp-footer { padding: 32px 0 0; }
    .bp-footer-main {
        flex-direction: column;
        gap: 22px;
    }
    .bp-footer-nav {
        gap: 14px 22px;
        padding-top: 0;
    }
}


/* ─── Contact modal (footer "Contact Us") ────────────────────── */

.bp-contact-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 10000;
}

.bp-contact-modal[hidden] { display: none; }

.bp-contact-overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(11, 25, 41, 0.55);
    inset: 0;
    position: absolute;
}

.bp-contact-dialog {
    animation: bp-dialog-in 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(11, 25, 41, 0.35);
    max-height: calc(100vh - 40px);
    max-width: 440px;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    width: 100%;
}

@keyframes bp-dialog-in {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

.bp-contact-close {
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--ba-slate);
    cursor: pointer;
    font-size: 22px;
    height: 32px;
    line-height: 1;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 32px;
}

.bp-contact-close:hover {
    background: #f1f5f9;
    color: var(--ba-ink);
}

.bp-contact-dialog h3 {
    color: var(--ba-ink);
    font-family: var(--ba-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
}

.bp-contact-sub {
    color: var(--ba-slate);
    font-size: 14px;
    margin: 0 0 18px;
}

#bp-contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#bp-contact-form input,
#bp-contact-form textarea {
    border: 1px solid var(--ba-border);
    border-radius: 8px;
    color: var(--ba-ink);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    padding: 11px 14px;
    transition: border-color 0.15s;
    width: 100%;
}

#bp-contact-form input:focus,
#bp-contact-form textarea:focus {
    border-color: rgba(201, 151, 61, 0.65);
}

#bp-contact-form textarea { resize: vertical; }

.bp-contact-submit {
    justify-content: center;
    margin-top: 4px;
    width: 100%;
}

.bp-contact-status {
    font-size: 13px;
    margin: 0;
    min-height: 18px;
}

.bp-contact-status.is-ok { color: var(--ba-slate); }
.bp-contact-status.is-error { color: #dc2626; }

@media (prefers-reduced-motion: reduce) {
    .bp-contact-dialog { animation: none; }
}


/* ─── Review Ticker ──────────────────────────────────────── */

.ba-review-ticker {
    background: var(--ba-navy);
    overflow: hidden;
    padding: 28px 0;
    position: relative;
    width: 100%;
}

.ba-review-ticker::before,
.ba-review-ticker::after {
    content: '';
    height: 100%;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 80px;
    z-index: 2;
}

.ba-review-ticker::before {
    background: linear-gradient(to right, var(--ba-navy), transparent);
    left: 0;
}

.ba-review-ticker::after {
    background: linear-gradient(to left, var(--ba-navy), transparent);
    right: 0;
}

@keyframes ba-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ba-ticker-track {
    animation: ba-ticker-scroll 60s linear infinite;
    display: flex;
    gap: 20px;
    width: max-content;
}

.ba-review-ticker:hover .ba-ticker-track {
    animation-play-state: paused;
}

.ba-ticker-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--ba-radius);
    flex-shrink: 0;
    padding: 18px 22px;
    width: 340px;
}

.ba-ticker-stars {
    color: var(--ba-gold);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ba-ticker-quote {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.ba-ticker-author {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ── Audience Gate (full-screen overlay) ───────────────────── */
.ba-audience-gate {
    position: fixed;
    inset: 0;
    z-index: 10100;
    background: rgba(8, 32, 61, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ba-audience-gate.ba-gate--visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.ba-gate--closing {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.ba-gate-inner {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.ba-gate-header {
    text-align: center;
}

.ba-gate-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ba-gold);
    margin-bottom: 12px;
}

.ba-gate-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.ba-gate-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.ba-gate-card {
    border-radius: 18px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    background: rgba(8, 32, 61, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ba-gate-card:hover {
    transform: translateY(-3px);
    background: rgba(10, 38, 72, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.ba-gate-card--prospect {
    border-color: var(--ba-gold);
    box-shadow: 0 0 30px rgba(212, 167, 76, 0.12);
}

.ba-gate-card--prospect:hover {
    box-shadow: 0 12px 48px rgba(212, 167, 76, 0.25);
}

.ba-gate-card-icon {
    color: var(--ba-gold);
}

.ba-gate-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.ba-gate-card-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

@media (max-width: 580px) {
    .ba-gate-cards {
        grid-template-columns: 1fr;
    }
    .ba-gate-inner {
        gap: 32px;
    }
}

/* ── Audience Split (hero right panel) ─────────────────────── */
.ba-audience-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
}

.ba-audience-card {
    border-radius: 14px;
    padding: 26px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-audience-card:hover {
    transform: translateY(-2px);
}

.ba-audience-card--resident {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.ba-audience-card--prospect {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--ba-gold);
    box-shadow: 0 0 0 1px rgba(212, 167, 76, 0.15), 0 4px 24px rgba(212, 167, 76, 0.08);
}

.ba-audience-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ba-gold);
    background: rgba(212, 167, 76, 0.12);
    border: 1px solid rgba(212, 167, 76, 0.25);
    border-radius: 99px;
    padding: 3px 10px;
    width: fit-content;
}

.ba-audience-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.ba-audience-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ba-audience-link {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.ba-audience-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ba-audience-link--primary {
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ba-audience-link--primary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 560px) {
    .ba-audience-split {
        grid-template-columns: 1fr;
    }
}

/* ── Acquisition intelligence strip ───────────────────────── */
.ba-acq-strip {
    background: var(--ba-navy);
    padding: 28px 0;
}

.ba-acq-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ba-acq-strip p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    font-size: 17px;
}

.ba-acq-strip strong {
    color: var(--ba-gold);
}

.ba-acq-strip a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.ba-acq-strip a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .ba-acq-strip-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ba-acq-strip p {
        font-size: 15px;
    }
}


/* ─── Header audience dropdowns (For Owners / For Renters / Resources /
       Sign In) — used by partials/header.html on every page ─────────── */

.bp-nav-menu {
    gap: 22px;
}

.bp-nav-item {
    position: relative;
}

.bp-nav-toggle {
    align-items: center;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--ba-font);
    font-size: 14px;
    font-weight: 500;
    gap: 5px;
    letter-spacing: -0.005em;
    line-height: 1;
    padding: 8px 2px;
}

.bp-caret {
    font-size: 10px;
    opacity: 0.65;
    transition: transform 0.15s;
}

.bp-nav-item.is-open .bp-caret {
    transform: rotate(180deg);
}

.bp-nav-drop {
    background: #ffffff;
    border: 1px solid var(--ba-border);
    border-radius: 10px;
    box-shadow: var(--ba-shadow-lg);
    display: none;
    flex-direction: column;
    left: 0;
    min-width: 208px;
    padding: 6px;
    position: absolute;
    top: calc(100% + 10px);
    z-index: 10000;
}

.bp-nav-drop-right {
    left: auto;
    right: 0;
}

.bp-nav-item.is-open .bp-nav-drop {
    display: flex;
}

.bp-nav-drop a {
    border-radius: 7px;
    color: var(--ba-ink);
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 11px;
    text-decoration: none;
    white-space: nowrap;
}

.bp-nav-drop a:hover {
    background: #f1f5f9;
    color: var(--ba-navy);
}

/* Sign In keeps an outlined-button look to stand apart from nav text */
.bp-nav-signin-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 13px;
    transition: background 0.15s, border-color 0.15s;
}

.bp-nav-signin-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
}

/* Icon-only Sign In (gear), sitting past the CTA at the header's far right.
   Borderless utility control: subtle at rest, brightens on hover. */
.bp-nav-account-btn {
    align-items: center;
    background: none;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    display: inline-flex;
    padding: 8px;
    transition: color 0.15s, background 0.15s;
}

.bp-nav-account-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.bp-nav-account-btn svg {
    display: block;
}
