@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

        :root {
            --paper: #faf9f6;
            --ink: #192821;
            --green: #20352c;
            --moss: #8b765d;
            --orange: #987a58;
            --line: #dedbd2;
            --white: #fff;
            --muted: #77766f;
            --serif: 'Playfair Display', Georgia, serif;
            --sans: 'DM Sans', sans-serif
        }

        * {
            box-sizing: border-box
        }

        html {
            scroll-behavior: smooth
        }

        body {
            margin: 0;
            background: var(--paper);
            color: var(--ink);
            font-family: var(--sans);
            font-size: 15px;
            line-height: 1.6
        }

        a {
            color: inherit;
            text-decoration: none
        }

        button {
            font: inherit
        }

        .wrap {
            width: min(1160px, calc(100% - 56px));
            margin: auto
        }

        .topbar {
            height: 42px;
            background: var(--green);
            color: #f6f4eb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            letter-spacing: .12em;
            text-transform: uppercase
        }

        .topbar span {
            color: #f0bd8d;
            margin: 0 9px
        }

        .nav {
            height: 80px;
            border-bottom: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: space-between
        }

        .brand {
            display: flex;
            align-items: center;
            flex: 0 0 auto;
            height: 76px
        }

        .brand img {
            display: block;
            width: 128px;
            height: 76px;
            object-fit: contain;
            mix-blend-mode: multiply
        }

        .brandmark {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: #e2e8d9;
            color: var(--green)
        }

        .brandmark svg {
            width: 22px
        }

        .links {
            display: flex;
            gap: 33px;
            font-size: 13px;
            font-weight: 600
        }

        .links a {
            transition: color .2s
        }

        .links a:hover {
            color: var(--orange)
        }

        .nav-action {
            border: 1px solid var(--green);
            border-radius: 3px;
            padding: 10px 16px;
            font-size: 12px;
            font-weight: 700
        }

        .hero {
            position: relative;
            overflow: hidden;
            padding: 68px 0 53px
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.03fr .97fr;
            align-items: center;
            gap: 58px
        }

        .eyebrow {
            color: var(--orange);
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .18em;
            text-transform: uppercase
        }

        .hero h1 {
            font: 500 clamp(54px, 6.6vw, 82px)/.99 var(--serif);
            letter-spacing: -.06em;
            margin: 17px 0 20px;
            max-width: 560px
        }

        .hero h1 em {
            color: var(--green);
            font-style: italic
        }

        .hero p {
            color: #636861;
            max-width: 420px;
            font-size: 15px;
            line-height: 1.8;
            margin: 0 0 28px
        }

        .btn {
            display: inline-flex;
            gap: 12px;
            align-items: center;
            background: var(--green);
            color: #fffefa;
            border-radius: 3px;
            padding: 13px 19px;
            font-size: 12px;
            font-weight: 700;
            transition: transform .2s, background .2s
        }

        .btn:hover {
            transform: translateY(-2px);
            background: #243f32
        }

        .btn svg {
            width: 15px
        }

        .hero-links {
            display: flex;
            align-items: center;
            gap: 23px;
            margin-top: 23px;
            font-size: 11px;
            color: var(--muted)
        }

        .hero-links a {
            border-bottom: 1px solid #aaa99d;
            padding-bottom: 2px
        }

        .hero-art {
            height: 402px;
            position: relative
        }

        .hero-art .photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px 90px 4px 4px;
            filter: saturate(.85)
        }

        .photo-credit {
            position: absolute;
            bottom: 11px;
            right: 14px;
            color: white;
            font-size: 9px;
            text-shadow: 0 1px 5px #29352d
        }

        .floating-note {
            position: absolute;
            left: -28px;
            bottom: 35px;
            background: var(--white);
            padding: 15px 19px;
            box-shadow: 0 8px 35px #263b301b;
            border-radius: 3px;
            display: flex;
            align-items: center;
            gap: 12px
        }

        .note-icon {
            width: 33px;
            height: 33px;
            background: #f5e7d7;
            color: var(--orange);
            display: grid;
            place-items: center;
            border-radius: 50%;
            font-size: 17px
        }

        .floating-note strong {
            display: block;
            font: 500 18px var(--serif)
        }

        .floating-note small {
            font-size: 9px;
            color: var(--muted)
        }

        .section {
            padding: 65px 0
        }

        .section-head {
            display: flex;
            align-items: end;
            justify-content: space-between;
            margin-bottom: 28px
        }

        .section-head h2 {
            font: 500 38px/1.1 var(--serif);
            letter-spacing: -.04em;
            margin: 8px 0 0
        }

        .text-link {
            font-size: 11px;
            font-weight: 700;
            border-bottom: 1px solid var(--green);
            padding: 0 0 4px
        }

        .events {
            background: #edeee6
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 17px
        }

        .event-card {
            background: var(--white);
            min-height: 203px;
            padding: 22px;
            position: relative;
            border: 1px solid #e4e2d9;
            transition: transform .2s, box-shadow .2s
        }

        .event-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 22px #243a3212
        }

        .event-top {
            display: flex;
            justify-content: space-between;
            align-items: start
        }

        .date {
            color: var(--orange);
            font-size: 9px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .12em
        }

        .date b {
            display: block;
            font: 500 28px/1.1 var(--serif);
            letter-spacing: 0
        }

        .tag {
            border-radius: 30px;
            background: #edf0e8;
            color: var(--green);
            font-size: 9px;
            padding: 5px 9px
        }

        .event-card h3 {
            font: 500 21px/1.2 var(--serif);
            margin: 17px 0 6px
        }

        .event-card p {
            font-size: 11px;
            color: var(--muted);
            margin: 0
        }

        .event-meta {
            position: absolute;
            bottom: 20px;
            left: 22px;
            font-size: 10px;
            color: #535b52
        }

        .event-meta span {
            margin-right: 13px
        }

        .updates {
            padding: 69px 0
        }

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

        .update-card {
            border: 1px solid var(--line);
            padding: 25px;
            background: #f3f1ed;
            border-radius: 3px
        }

        .update-card .mini-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e3e9dd;
            color: var(--green);
            display: grid;
            place-items: center;
            margin-bottom: 16px
        }

        .mini-icon svg {
            width: 21px
        }

        .update-card:nth-child(2) .mini-icon {
            background: #f5e6d9;
            color: var(--orange)
        }

        .update-card h3 {
            font: 500 25px var(--serif);
            margin: 0 0 8px
        }

        .update-card p {
            font-size: 12px;
            color: #656961;
            margin: 0 0 20px;
            max-width: 440px
        }

        .update-card a {
            font-size: 11px;
            font-weight: 700;
            border-bottom: 1px solid #7b8878;
            padding-bottom: 3px
        }

        .homes {
            background: #e9ece4
        }

        .homes-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px
        }

        .homes-head h2 {
            font: 500 37px var(--serif);
            letter-spacing: -.04em;
            margin: 7px 0
        }

        .homes-head p {
            font-size: 12px;
            color: var(--muted);
            margin: 0
        }

        .homes-grid {
            display: grid;
            grid-template-columns: 1.35fr 1fr 1fr;
            gap: 15px
        }

        .home-card {
            background: var(--white);
            border-radius: 3px;
            overflow: hidden
        }

        .home-img {
            height: 164px;
            width: 100%;
            object-fit: cover;
            display: block
        }

        .home-card:first-child .home-img {
            height: 190px
        }

        .home-content {
            padding: 15px 17px
        }

        .price {
            font: 500 21px var(--serif)
        }

        .home-content h3 {
            font: 600 12px var(--sans);
            margin: 4px 0 3px
        }

        .home-content p {
            font-size: 10px;
            color: var(--muted);
            margin: 0
        }

        .home-facts {
            display: flex;
            gap: 12px;
            border-top: 1px solid var(--line);
            margin-top: 12px;
            padding-top: 10px;
            color: #586056;
            font-size: 10px
        }

        .listing-note {
            font-size: 9px;
            color: #73786e;
            margin: 17px 0 0
        }

        .listing-note:before {
            content: 'ⓘ';
            margin-right: 5px
        }

        .newsletter {
            padding: 65px 0;
            background: var(--green);
            color: #faf8ef
        }

        .newsletter-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px
        }

        .newsletter h2 {
            font: 500 35px var(--serif);
            letter-spacing: -.03em;
            margin: 5px 0
        }

        .newsletter p {
            font-size: 12px;
            color: #d3dbcf;
            margin: 0
        }

        .signup {
            display: flex;
            gap: 8px;
            width: min(440px, 48%)
        }

        .signup input {
            min-width: 0;
            flex: 1;
            padding: 12px 14px;
            border: 1px solid #718574;
            background: #fffefa;
            color: var(--ink);
            border-radius: 3px;
            font: 12px var(--sans)
        }

        .signup button {
            border: 0;
            background: #eac09a;
            color: #46382d;
            padding: 0 17px;
            border-radius: 3px;
            font: 700 11px var(--sans);
            cursor: pointer
        }

        footer {
            padding: 31px 0;
            color: #71756e;
            font-size: 10px
        }

        .foot {
            display: flex;
            justify-content: space-between;
            align-items: center
        }

        .foot-brand {
            color: var(--ink);
            font: 500 17px var(--serif)
        }

        .foot-links {
            display: flex;
            gap: 20px
        }

        .toast {
            position: fixed;
            bottom: 22px;
            left: 50%;
            transform: translate(-50%, 20px);
            background: #243a32;
            color: white;
            padding: 12px 19px;
            border-radius: 3px;
            font-size: 12px;
            opacity: 0;
            pointer-events: none;
            transition: all .25s;
            box-shadow: 0 8px 22px #0002
        }

        .toast.show {
            opacity: 1;
            transform: translate(-50%, 0)
        }

        @media(max-width:760px) {
            .wrap {
                width: min(100% - 36px, 580px)
            }

            .topbar {
                font-size: 9px
            }

            .nav {
                height: 66px
            }

            .brand {
                height: 62px
            }

            .brand img {
                width: 104px;
                height: 62px
            }

            .links {
                display: none
            }

            .nav-action {
                padding: 8px 11px;
                font-size: 10px
            }

            .hero {
                padding: 43px 0
            }

            .hero-grid {
                grid-template-columns: 1fr;
                gap: 30px
            }

            .hero h1 {
                font-size: 61px
            }

            .hero-art {
                height: 310px;
                margin-left: 15px
            }

            .floating-note {
                left: -15px
            }

            .section {
                padding: 48px 0
            }

            .section-head h2,
            .homes-head h2 {
                font-size: 31px
            }

            .cards {
                grid-template-columns: 1fr
            }

            .event-card {
                min-height: 186px
            }

            .updates-grid {
                grid-template-columns: 1fr
            }

            .homes-head {
                align-items: flex-start;
                gap: 14px;
                flex-direction: column
            }

            .homes-grid {
                grid-template-columns: 1fr 1fr
            }

            .home-card:first-child {
                grid-column: span 2
            }

            .home-img,
            .home-card:first-child .home-img {
                height: 175px
            }

            .newsletter-inner {
                align-items: flex-start;
                flex-direction: column;
                gap: 22px
            }

            .newsletter h2 {
                font-size: 30px
            }

            .signup {
                width: 100%
            }

            .foot {
                align-items: flex-start;
                gap: 12px;
                flex-direction: column
            }

            .foot-links {
                flex-wrap: wrap;
                gap: 13px
            }
        }




.foot-links .instagram-icon {
    display: block;
    width: 18px;
    height: 18px;
}


/* Neighborhood home tracker */
.tracker-notice {
    margin: 24px 0 32px;
    padding: 13px 16px;
    border-left: 3px solid var(--moss);
    background: #f7f4ee;
    color: #55584f;
    font-size: 11px;
}
.tracker-notice strong { color: var(--ink); }
.tracker-group { margin-top: 28px; }
.tracker-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 17px;
}
.tracker-title h3 {
    margin: 5px 0 0;
    font: 500 29px/1.1 var(--serif);
    letter-spacing: -.035em;
}
.carousel-controls { display: flex; align-items: center; gap: 8px; }
.carousel-count, .live-count { color: var(--muted); font-size: 10px; }
.carousel-count { margin-right: 6px; }
.carousel-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #c9c7bb;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 16px;
    transition: background .2s, color .2s;
}
.carousel-btn:hover, .carousel-btn:focus-visible { background: var(--green); color: white; }
.carousel-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sold-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.listed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.homes .home-img, .homes .home-card:first-child .home-img { height: 180px; }
.homes .home-content h4 { font: 600 12px var(--sans); margin: 4px 0 3px; }
.record-tag {
    display: inline-block;
    margin-bottom: 5px;
    color: #7a6047;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
}
.listed-tag { color: var(--green); }
.homes .tracker-group .home-card { border: 1px solid #e1ded5; }
.homes .tracker-group .home-card[hidden] { display: none; }
.listed-group { margin-top: 47px; }
.listing-note { line-height: 1.6; }
@media(max-width:760px) {
    .sold-grid { grid-template-columns: minmax(0, 1fr); }
    .listed-grid { grid-template-columns: 1fr; }
    .homes .home-img, .homes .home-card:first-child .home-img { height: 205px; }
    .tracker-title h3 { font-size: 25px; }
    .carousel-controls { gap: 6px; }
    .carousel-count { font-size: 9px; margin-right: 2px; }
    .carousel-btn { width: 34px; height: 34px; }
}

.sold-by {
    margin-top: 8px !important;
    color: #62655f;
    font-size: 10px !important;
    line-height: 1.5;
}
.sold-by strong { color: var(--ink); }
.sold-by a { text-decoration: underline; text-underline-offset: 2px; }


/* Emphasize sold-home records */
.sold-card .home-img { height: 235px !important; }
.sold-card .home-content { padding: 20px 21px; }
.sold-card .record-tag { font-size: 9px; }
.sold-card .price { font-size: 27px; }
.sold-card .home-content h4 { font-size: 14px; }
.sold-card .home-content p:not(.sold-by) { font-size: 11px; }
.sold-card .home-facts { font-size: 11px; gap: 16px; }
.sold-card .sold-by { font-size: 10px !important; }
@media(max-width:760px) {
    .sold-card .home-img { height: 195px !important; }
    .sold-card .price { font-size: 25px; }
}

/* Larger Mountain Reserves brand mark */
.nav { height: 94px; }
.brand { height: 88px; }
.brand img { width: 164px; height: 88px; }
@media(max-width:760px) {
    .nav { height: 78px; }
    .brand { height: 72px; }
    .brand img { width: 132px; height: 72px; }
}

.listed-group { margin-top: 28px; }


/* Show the neighborhood logo in the hero instead of the header */
.nav { height: 80px; }
.brand { height: 80px; font: 500 23px var(--serif); }
.brand img { display: block; width: 154px; height: 82px; object-fit: contain; mix-blend-mode: multiply; }
.hero-art .hero-logo { object-fit: contain; border-radius: 0; filter: none; padding: 14px; mix-blend-mode: multiply; }
@media(max-width:760px) { .nav { height: 66px; } .brand { height: 62px; font-size: 20px; } }


.listed-photo-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #e1e4dd, #cdd4c9); color: #4f6254; font-size: 11px; letter-spacing: .04em; }


/* Match listed-home image height to sold-home cards */
.listed-grid .home-img { height: 235px; }
@media(max-width:760px) {
    .listed-grid .home-img { height: 245px; }
}

/* Ensure every listed card, including the first, matches sold-photo dimensions */
.homes .listed-grid .home-card .home-img { height: 235px !important; }
@media(max-width:760px) {
    .homes .listed-grid .home-card .home-img { height: 245px !important; }
}

.listed-by { margin-top: 10px; color: #62655f; font-size: 10px; line-height: 1.5; }
.listed-by strong { color: var(--ink); }
.listed-by a { text-decoration: underline; text-underline-offset: 2px; }


/* Match spacing before agent contacts on sold and listed cards */
.listed-by { margin-top: 8px !important; }

.sold-card .home-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sold-card .home-facts span { display: flex; flex-direction: column; gap: 1px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.sold-card .home-facts strong { color: var(--ink); font: 600 14px/1.2 var(--sans); letter-spacing: 0; }
.sold-card .home-facts small { font: 500 8px/1.3 var(--sans); }


.listed-grid .home-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.listed-grid .home-facts span { display: flex; flex-direction: column; gap: 1px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.listed-grid .home-facts strong { color: var(--ink); font: 600 14px/1.2 var(--sans); letter-spacing: 0; }
.listed-grid .home-facts small { font: 500 8px/1.3 var(--sans); }


/* Match listed-card content scale to sold-card content */
.listed-grid .home-content { padding: 20px 21px; }
.listed-grid .record-tag { font-size: 9px; }
.listed-grid .price { font-size: 27px; }
.listed-grid .home-content h4 { font-size: 14px; }
.listed-grid .home-content p:not(.listed-by) { font-size: 11px; }
.listed-grid .listed-by { font-size: 10px; }

/* Site-wide polish: clearer hierarchy, contrast, and keyboard focus */
:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}
.topbar { font-size: 12px; }
.eyebrow { font-size: 11px; }
.text-link { font-size: 12px; }
.hero p { font-size: 16px; line-height: 1.75; }
.event-card { border-radius: 5px; }
.event-card h3 { font-size: 23px; }
.event-card p { font-size: 13px; line-height: 1.55; }
.event-meta { font-size: 11px; }
.date { font-size: 10px; }
.tag { font-size: 10px; }
.update-card { border-radius: 5px; }
.update-card p { font-size: 14px; line-height: 1.7; }
.update-card a { font-size: 12px; }
.home-card { border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 5px 18px rgba(25, 40, 33, .06); }
.homes-head p { font-size: 14px; }
.tracker-title h3 { font-size: 31px; }
.carousel-count, .live-count { font-size: 11px; }
.sold-by, .listed-by { font-size: 11px !important; line-height: 1.55; overflow-wrap: anywhere; }
.sold-card .home-content p:not(.sold-by) { font-size: 12px; }
.sold-card .home-facts strong, .listed-grid .home-facts strong { font-size: 15px; }
.sold-card .home-facts small, .listed-grid .home-facts small { font-size: 10px; }
footer { font-size: 12px; line-height: 1.6; }
.foot-links { font-size: 11px; }
@media(max-width:760px) {
    .topbar { font-size: 10px; letter-spacing: .08em; }
    .hero h1 { font-size: 55px; }
    .tracker-title h3 { font-size: 27px; }
    .event-card p { font-size: 14px; }
    .update-card p { font-size: 15px; }
}
@media(max-width:380px) {
    .topbar { font-size: 9px; }
    .hero h1 { font-size: 49px; }
    .carousel-count { font-size: 10px; }
    .tracker-title { gap: 10px; }
}

/* Keep section navigation available on small screens */
@media(max-width:760px) {
    .nav {
        height: auto;
        min-height: 66px;
        flex-wrap: wrap;
        row-gap: 4px;
        padding: 6px 0 3px;
    }
    .nav .brand { height: 56px; }
    .nav .nav-action { padding: 8px 11px; font-size: 11px; }
    .nav .links {
        display: flex;
        order: 3;
        flex: 0 0 100%;
        gap: 22px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 3px 0 8px;
        scrollbar-width: none;
    }
    .nav .links::-webkit-scrollbar { display: none; }
    .nav .links a { font-size: 12px; }
}

/* Keep the vertical rhythm consistent across all main sections */
.hero { padding-bottom: 34px; }
.section,
.updates { padding: 34px 0; }
@media(max-width:760px) {
    .hero { padding-bottom: 24px; }
    .section,
    .updates { padding: 24px 0; }
}

/* Refined community footer */
footer {
    padding: 25px 0;
    background: #f1f0eb;
    border-top: 1px solid var(--line);
}
.foot {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto;
    align-items: center;
    gap: 24px;
}
.foot-about { display: grid; gap: 3px; }
.foot-brand { font-size: 19px; }
.foot-about p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}
.foot-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 12px;
}
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: var(--orange); }
.foot-links .foot-social { display: inline-flex; align-items: center; }
.foot-links .instagram-icon { width: 19px; height: 19px; }
.event-card {
    display: flex;
    flex-direction: column;
}
.event-meta {
    position: static;
    margin-top: auto;
    padding-top: 18px;
    line-height: 1.5;
}
.hero { padding-top: 52px; }
.hero-grid { gap: 44px; }
.hero h1 { margin: 12px 0 16px; }
.hero p { margin-bottom: 22px; }
.hero-links { margin-top: 18px; }
.hero-art { height: 370px; }
.brand img { display: block; width: 154px; height: 82px; object-fit: contain; mix-blend-mode: multiply; }
.hero-brand-art {
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #dfe2d8;
    border-radius: 4px 90px 4px 4px;
    background: linear-gradient(135deg, #f1f2ed, #e8ece5);
}
.hero-brand-art::before {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(139, 118, 93, .28);
    border-radius: 3px 72px 3px 3px;
    content: "";
    pointer-events: none;
}
.hero-brand-art .hero-logo {
    position: relative;
    z-index: 1;
    width: 82%;
    height: 82%;
    object-fit: contain;
    padding: 0;
    border-radius: 0;
    filter: none;
    mix-blend-mode: multiply;
}
.home-tools {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 17px 0 22px;
    padding: 13px 15px;
    background: #f5f4ef;
    border: 1px solid var(--line);
    border-radius: 5px;
}
.control-field { display: grid; gap: 4px; }
.control-field label { color: #62655f; font-size: 11px; font-weight: 700; }
.control-field select {
    min-height: 38px;
    padding: 7px 32px 7px 10px;
    border: 1px solid #c9c7bb;
    border-radius: 3px;
    background: #fffefa;
    color: var(--ink);
    font: 12px var(--sans);
}
.latest-sale { margin: 0 0 8px auto; color: var(--muted); font-size: 12px; }
.event-empty {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid #e1dfd6;
    border-radius: 5px;
    background: #faf9f6;
}
.event-empty-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #e3e9dd;
    color: var(--green);
}
.event-empty h3 { margin: 0 0 4px; font: 500 22px/1.2 var(--serif); }
.event-empty p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.event-empty .btn { white-space: nowrap; }
.update-card .resource-link { display: inline-block; margin: 8px 14px 0 0; }
.hero { padding: 28px 0 24px; }
.hero-grid { gap: 32px; }
.hero h1 { font-size: clamp(42px, 5vw, 62px); margin: 8px 0 12px; }
.hero p { font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.hero-links { margin-top: 12px; }
.hero-art { height: 270px; }
.homes-head { margin-bottom: 14px; }
.home-tools { margin: 12px 0 15px; padding: 10px 13px; }
.tracker-title { margin-bottom: 12px; }
#listed-group { margin-top: 16px; }
.homes.section { padding: 20px 0 32px; }
.homes-head h2 { font-size: 34px; }
.homes-head p { margin-top: 5px; }
@media(max-width:760px) {
    .homes.section { padding: 16px 0 24px; }
    .homes-head h2 { font-size: 30px; }
    .hero { padding: 18px 0 14px; }
    .hero-grid { grid-template-columns: 1fr; gap: 12px; }
    .hero h1 { font-size: 43px; line-height: .96; margin: 7px 0 9px; }
    .hero p { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
    .hero-links { display: none; }
    .hero-art { height: 135px; }
    .brand img { width: 122px; height: 60px; }
    .hero-brand-art { padding: 8px; border-top-right-radius: 58px; }
    .hero-brand-art::before { inset: 12px; border-top-right-radius: 45px; }
    .hero-brand-art .hero-logo { width: 92%; height: 92%; }
    .home-tools { margin: 10px 0 13px; padding: 9px; }
    .tracker-group { margin-top: 18px; }
    #listed-group { margin-top: 12px; }
    .homes-head { margin-bottom: 12px; }
    .home-tools { align-items: stretch; gap: 10px; }
    .control-field { flex: 1 1 140px; }
    .control-field select { width: 100%; }
    .latest-sale { flex: 1 0 100%; margin: 0; }
    .event-empty { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px; }
    .event-empty-mark { width: 38px; height: 38px; }
    .event-empty .btn { grid-column: 1 / -1; justify-self: start; }
    footer { padding: 21px 0; }
    .foot {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
    }
    .foot-links { justify-content: flex-start; gap: 12px 18px; }
}

/* Use desktop width efficiently for current listings */
@media(min-width:1000px) {
    .listed-grid .home-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch;
    }
    .homes .listed-grid .home-card .home-img {
        height: 100% !important;
        min-height: 245px;
        object-fit: cover;
    }
    .listed-grid .home-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 17px 20px;
    }
}

/* Practical home-tracker styling: quick-scan prices, status, and property facts */
.homes .price {
    color: var(--ink);
    font: 650 25px/1.15 var(--sans);
    letter-spacing: -.045em;
}
.homes .record-tag {
    padding: 5px 8px;
    border-radius: 3px;
    background: #e7ece4;
    color: #345242;
    font-size: 9px;
    letter-spacing: .1em;
}
.homes .home-facts {
    border-top: 0;
    gap: 8px;
    margin-top: 14px;
}
.homes .home-facts span {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 4px;
    background: #f1f2ed;
}
.homes .home-facts strong { font-size: 16px; }
.homes .home-facts small { color: #6b7169; font-size: 9px; letter-spacing: .08em; }
.homes .listed-by, .homes .sold-by { color: #626a62; }
@media(max-width:760px) {
    .homes .home-facts { gap: 6px; }
    .homes .home-facts span { padding: 8px 7px; }
    .homes .home-facts strong { font-size: 15px; }
}
/* Center sold carousel controls against their heading and center arrow glyphs */
.sold-group > .tracker-title { align-items: center; }
.sold-group .carousel-btn { display: grid; place-items: center; padding: 0; line-height: 1; }
.sold-group .carousel-btn svg { display: block; }
/* Unify supporting-section colors with the Mountain Reserves palette */
.updates { background: var(--paper); }
.update-card { background: #fff; border-color: #e4e2d9; }
.update-card .mini-icon,
.update-card:nth-child(2) .mini-icon { background: #e3e9dd; color: var(--green); }
.events { background: #edf0e8; }
footer { background: var(--paper); }
/* Mobile refinements: readable location banner and tighter home-first layout */
.topbar { gap: 8px; }
.topbar .topbar-separator { margin: 0 2px; }
@media(max-width:760px) {
    .topbar {
        height: auto;
        min-height: 0;
        padding: 7px 12px;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas: "name location" "established established";
        justify-content: center;
        gap: 2px 9px;
        font-size: 9px;
        line-height: 1.35;
        letter-spacing: .07em;
        text-align: center;
    }
    .topbar-name { grid-area: name; white-space: nowrap; }
    .topbar-location { grid-area: location; white-space: nowrap; }
    .topbar-established { grid-area: established; font-size: 8px; letter-spacing: .12em; }
    .topbar .topbar-separator { display: none; }
    .homes.section { padding: 13px 0 20px; }
    .homes-head { margin-bottom: 9px; }
    .homes-head h2 { margin: 4px 0; font-size: 27px; line-height: 1.08; }
    .homes-head p { max-width: 340px; font-size: 13px; line-height: 1.45; }
    .home-tools { margin: 9px 0 11px; padding: 8px; }
}
@media(max-width:760px) {
    .topbar {
        grid-template-columns: auto auto auto;
        grid-template-areas: "name divider location" "established established established";
        column-gap: 7px;
    }
    .topbar .topbar-separator-first {
        display: block;
        grid-area: divider;
        margin: 0;
        color: #c0a17d;
        align-self: center;
    }
    .topbar .topbar-separator-second { display: none; }
}
@media(max-width:760px) {
    .nav .links { justify-content: center; }
}
/* Compact neighborhood logo in the footer */
.foot-brand { display: inline-block; width: 142px; }
.foot-brand img {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
@media(max-width:760px) {
    .foot-brand { width: 126px; }
    .foot-brand img { height: 78px; }
}
/* Compact footer proportions */
footer { padding: 12px 0; }
.foot { gap: 12px; }
.foot-brand { width: 108px; }
.foot-brand img { height: 62px; }
.foot-about { gap: 0; }
.foot-about p { font-size: 11px; line-height: 1.35; }
.foot-links { gap: 8px 14px; }
@media(max-width:760px) {
    footer { padding: 12px 0; }
    .foot { gap: 8px; }
    .foot-brand { width: 100px; }
    .foot-brand img { height: 58px; }
    .foot-links { gap: 7px 12px; }
}
/* Clear, compact footer layout on phones */
@media(max-width:760px) {
    footer { padding: 12px 0; }
    .foot { gap: 10px; }
    .foot-about {
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: center;
        gap: 0 10px;
    }
    .foot-brand { width: 76px; }
    .foot-brand img { height: 48px; }
    .foot-about p { font-size: 10px; line-height: 1.35; }
    .foot-links {
        display: grid;
        grid-template-columns: repeat(3, max-content);
        justify-content: start;
        align-items: center;
        gap: 7px 14px;
        font-size: 10px;
        line-height: 1.35;
    }
    .foot-links > a:last-child { grid-column: 1 / -1; }
    .foot-links .foot-social { justify-self: start; }
}
@media(max-width:760px) {
    .foot-about { grid-template-columns: 66px minmax(0, 1fr); gap: 0 9px; }
    .foot-brand { width: 66px; }
    .foot-brand img { height: 43px; }
    .foot-about p { max-width: 220px; font-size: 10px; }
    .foot-links {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px 8px;
        font-size: 10px;
    }
    .foot-links > a { min-width: 0; }
    .foot-links > a:last-child { padding-top: 2px; }
    .foot-links .foot-social { justify-self: start; }
}
/* Expandable About this site note keeps the footer useful and compact */
.foot-site-note {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 9px;
    color: var(--muted);
    font-size: 10px;
}
.foot-site-note summary {
    width: fit-content;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
}
.foot-site-note summary::marker { color: var(--moss); }
.foot-site-note p {
    max-width: 760px;
    margin: 7px 0 0;
    font-size: 10px;
    line-height: 1.55;
}
@media(max-width:760px) {
    .foot-site-note { padding-top: 7px; font-size: 10px; }
    .foot-site-note p { margin-top: 6px; }
}
.homes .agent-link { text-decoration: underline; text-decoration-color: #c9c7bb; text-underline-offset: 2px; }
.homes .agent-link:hover { color: var(--orange); text-decoration-color: currentColor; }
.foot-site-note .about-site-link { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.foot-site-note { width: 100%; }
.foot-site-note p { max-width: none; }

/* Editorial polish: make the home tracker the clear centerpiece. */
:root {
    --paper: #faf9f6;
    --ink: #1b2c24;
    --green: #20382e;
    --moss: #907452;
    --orange: #907452;
    --line: #ddd9cf;
    --muted: #666b63;
}

body { font-size: 16px; line-height: 1.6; }

.homes {
    background: #edf0e9;
}

.homes.section { padding: 36px 0 46px; }
.homes-head { margin-bottom: 18px; }
.homes-head h2 {
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1.08;
    margin: 8px 0 7px;
}
.homes-head p { font-size: 16px; line-height: 1.55; }

.home-tools {
    margin: 18px 0 24px;
    padding: 15px 17px;
    gap: 14px 20px;
    background: #faf9f6;
    border-color: #d9d6cc;
    border-radius: 8px;
}
.control-field { gap: 6px; }
.control-field label { font-size: 12px; color: #4f5b52; }
.control-field select {
    min-height: 44px;
    min-width: 190px;
    padding: 8px 34px 8px 12px;
    font-size: 14px;
}
.latest-sale { font-size: 13px; }

.tracker-group { margin-top: 34px; }
.listed-group { margin-top: 34px; }
.tracker-title { margin-bottom: 16px; }
.tracker-title h3 { font-size: clamp(29px, 3.2vw, 36px); }
.live-count, .carousel-count { font-size: 13px; }
.carousel-btn { width: 40px; height: 40px; }
.carousel-btn svg { width: 18px; height: 18px; }
.sold-grid, .listed-grid { gap: 20px; }

.homes .tracker-group .home-card {
    border: 1px solid #e0ddd4;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(25, 40, 33, .07);
}
.homes .home-img,
.homes .home-card:first-child .home-img,
.sold-card .home-img,
.homes .listed-grid .home-card .home-img {
    height: 248px !important;
    object-fit: cover;
}
.home-content, .sold-card .home-content, .listed-grid .home-content {
    padding: 21px 22px;
}
.homes .record-tag {
    margin-bottom: 7px;
    padding: 4px 8px;
    font-size: 10px;
    letter-spacing: .11em;
}
.homes .price {
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -.04em;
}
.homes .home-content h4 {
    margin: 6px 0 2px;
    font-size: 16px;
    line-height: 1.35;
}
.homes .home-content p:not(.sold-by):not(.listed-by) {
    color: #5f675f;
    font-size: 13px;
    line-height: 1.55;
}
.homes .sold-by, .homes .listed-by {
    margin-top: 12px !important;
    color: #586158;
    font-size: 12px !important;
    line-height: 1.55;
}
.homes .home-facts,
.sold-card .home-facts,
.listed-grid .home-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.homes .home-facts span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 12px;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
}
.homes .home-facts span:first-child { padding-left: 0; }
.homes .home-facts span + span { border-left: 1px solid var(--line); }
.homes .home-facts strong {
    color: var(--ink);
    font: 600 18px/1.2 var(--sans);
    letter-spacing: -.02em;
}
.homes .home-facts small {
    color: #676d65;
    font: 600 10px/1.4 var(--sans);
    letter-spacing: .09em;
    text-transform: uppercase;
}

.updates { padding: 52px 0; }
.updates-grid { gap: 18px; }
.update-card {
    padding: 26px;
    border-radius: 8px;
    background: #fff;
}
.update-card h3 { font-size: 25px; line-height: 1.2; }
.update-card p { color: #555f57; font-size: 15px; line-height: 1.65; }
.update-card a { font-size: 13px; }
.events { background: #edf0e9; }
.events.section { padding: 32px 0; }
.event-empty { border-radius: 8px; }
.event-empty p { color: #555f57; font-size: 15px; }
.event-section-head { margin-bottom: 16px; }
.event-header-actions { display: flex; align-items: center; gap: 20px; }
.event-carousel-controls { display: flex; align-items: center; gap: 8px; }
.event-carousel-controls .carousel-count { margin-right: 2px; }
.event-carousel-controls .carousel-btn:disabled { cursor: not-allowed; opacity: .45; }
.event-carousel-controls .carousel-btn:disabled:hover { background: transparent; color: var(--green); }
.event-carousel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.community-event[hidden] { display: none; }
.community-event {
    display: grid;
    grid-template-columns: minmax(112px, 136px) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid #deded4;
    border-radius: 10px;
    background: #fffefa;
    box-shadow: 0 12px 30px #243a320d;
}
.community-event-image-link {
    display: grid;
    height: 100%;
    min-height: 148px;
    place-items: center;
    background: #f1e8d8;
    padding: 0;
    border: 0;
    cursor: zoom-in;
}
.community-event-image-link:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.community-event-image {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    object-position: center;
}
.community-event-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px clamp(14px, 2vw, 22px);
}
.community-event-date {
    display: grid;
    flex: 0 0 64px;
    min-height: 78px;
    align-content: center;
    justify-items: center;
    border: 1px solid #ded6c7;
    border-radius: 8px;
    background: #f4f1e9;
    color: var(--green);
}
.community-event-date span,
.community-event-date small {
    color: #8d7658;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}
.community-event-date strong { font: 500 30px/1.05 var(--serif); }
.community-event-details .eyebrow { margin-bottom: 4px; }
.community-event-details h3 { margin: 0 0 5px; font: 500 clamp(24px, 2.4vw, 29px)/1.1 var(--serif); }
.community-event-details p { max-width: 440px; margin: 0; color: #555f57; font-size: 14px; line-height: 1.45; }
.community-event-location { display: inline-block; margin-top: 8px; color: var(--green); font-size: 12px; font-weight: 700; text-decoration: underline; text-decoration-color: #a9ad9f; text-underline-offset: 4px; }
.flyer-modal {
    max-width: min(94vw, 760px);
    max-height: 94vh;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
}
.flyer-modal::backdrop { background: rgb(18 28 23 / 78%); backdrop-filter: blur(3px); }
.flyer-modal-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f1e8d8;
    box-shadow: 0 24px 70px #0008;
}
.flyer-modal-inner > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 94vw;
    max-height: 92vh;
    object-fit: contain;
}
.flyer-modal-close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 7px 13px;
    border: 1px solid var(--green);
    border-radius: 3px;
    background: var(--paper);
    color: var(--green);
    font: 600 14px/1 var(--sans);
    box-shadow: 0 2px 8px #19282133;
    cursor: pointer;
}
.flyer-modal-close:hover { background: #efeee8; }
.flyer-modal-close span:first-child { font-size: 23px; font-weight: 400; line-height: .8; }
.flyer-modal-close:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

footer { font-size: 13px; }
.foot-about p, .foot-links { font-size: 13px; }

@media (max-width: 760px) {
    body { font-size: 16px; }
    .topbar {
        padding: 8px 10px;
        font-size: 10px;
        line-height: 1.45;
        letter-spacing: .055em;
    }
    .topbar-established { font-size: 9px; }
    .nav { min-height: 68px; }
    .nav .links { gap: 20px; padding: 5px 0 9px; }
    .nav .links a { font-size: 13px; }

    .homes.section { padding: 25px 0 34px; }
    .homes-head { margin-bottom: 13px; }
    .homes-head h2 { font-size: 32px; line-height: 1.08; }
    .homes-head p { font-size: 15px; line-height: 1.55; }
    .home-tools { margin: 13px 0 18px; padding: 12px; gap: 10px; }
    .control-field { flex-basis: calc(50% - 5px); }
    .control-field label { font-size: 12px; }
    .control-field select { min-width: 0; width: 100%; min-height: 46px; font-size: 14px; }
    .latest-sale { font-size: 13px; line-height: 1.45; }
    .tracker-group, .listed-group { margin-top: 25px; }
    .tracker-title { align-items: center; gap: 10px; margin-bottom: 13px; }
    .tracker-title h3 { font-size: 30px; }
    .live-count, .carousel-count { font-size: 12px; }
    .carousel-controls { gap: 7px; }
    .carousel-btn { width: 38px; height: 38px; }
    .sold-grid, .listed-grid { gap: 16px; }
    .homes .home-img,
    .homes .home-card:first-child .home-img,
    .sold-card .home-img,
    .homes .listed-grid .home-card .home-img { height: 230px !important; }
    .home-content, .sold-card .home-content, .listed-grid .home-content { padding: 19px; }
    .homes .price { font-size: 28px; }
    .homes .home-content h4 { font-size: 16px; }
    .homes .home-content p:not(.sold-by):not(.listed-by) { font-size: 14px; }
    .homes .sold-by, .homes .listed-by { font-size: 13px !important; }
    .homes .home-facts { margin-top: 15px; padding-top: 12px; }
    .homes .home-facts span { padding: 0 8px; }
    .homes .home-facts strong { font-size: 17px; }
    .homes .home-facts small { font-size: 10px; }

    .updates { padding: 38px 0; }
    .updates-grid { gap: 13px; }
    .update-card { padding: 21px; }
    .update-card h3 { font-size: 24px; }
    .update-card p { font-size: 16px; line-height: 1.6; }
    .update-card a { font-size: 14px; }
    .events.section { padding: 26px 0; }
    .section-head { align-items: flex-start; gap: 14px; }
    .section-head h2 { font-size: 34px; line-height: 1.08; }
    .section-head .text-link { flex: 0 0 auto; max-width: 110px; line-height: 1.4; }
    .event-carousel-controls { gap: 6px; }
    .event-section-head { flex-wrap: wrap; margin-bottom: 13px; }
    .event-section-head > div:first-child { flex: 1 1 100%; }
    .event-header-actions { flex: 1 0 100%; justify-content: space-between; gap: 12px; }
    .event-carousel-controls { margin-left: auto; }
    .event-carousel { grid-template-columns: 1fr; gap: 12px; }
    .community-event { grid-template-columns: 96px minmax(0, 1fr); }
    .community-event-image-link { min-height: 130px; padding: 5px; }
    .community-event-image { max-height: 150px; }
    .community-event-content { align-items: flex-start; gap: 8px; padding: 11px 10px; }
    .community-event-date { flex-basis: 42px; min-height: 60px; border-radius: 6px; }
    .community-event-date span, .community-event-date small { font-size: 9px; }
    .community-event-date strong { font-size: 24px; }
    .community-event-details .eyebrow { font-size: 9px; margin-bottom: 4px; }
    .community-event-details h3 { font-size: 22px; margin-bottom: 4px; }
    .community-event-details p { font-size: 12px; line-height: 1.4; }
    .community-event-location { margin-top: 6px; font-size: 10px; line-height: 1.35; }
    .event-empty { padding: 19px; }
    .event-empty h3 { font-size: 23px; }
    .event-empty p { font-size: 15px; line-height: 1.55; }
    footer { padding: 16px 0; }
    .foot-about p, .foot-links { font-size: 12px; }
    .foot-links { gap: 9px 14px; }
}

@media (max-width: 390px) {
    .wrap { width: calc(100% - 30px); }
    .topbar { font-size: 9px; }
    .homes-head h2 { font-size: 30px; }
    .tracker-title h3 { font-size: 27px; }
    .home-content, .sold-card .home-content, .listed-grid .home-content { padding: 17px; }
    .homes .home-facts span { padding: 0 6px; }
    .homes .home-facts strong { font-size: 16px; }
}

/* Featured Matterport tour */
.tour-feature {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin: 26px 0 8px;
    padding: 20px 22px;
    border: 1px solid #d8ddd3;
    border-radius: 9px;
    background: #eef0e9;
}
.tour-feature-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #dfe6da;
    color: var(--green);
}
.tour-feature-icon svg { width: 23px; height: 23px; }
.tour-feature-copy .eyebrow { margin-bottom: 4px; }
.tour-feature-copy h3 {
    margin: 0;
    color: var(--ink);
    font: 600 22px/1.2 var(--serif);
}
.tour-feature-copy p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}
.tour-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 5px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, transform .2s;
}
.tour-feature-link:hover, .tour-feature-link:focus-visible {
    background: #304b3e;
    transform: translateY(-1px);
}
@media (max-width: 760px) {
    .tour-feature { gap: 13px; padding: 18px; }
    .tour-feature-copy h3 { font-size: 21px; }
}
@media (max-width: 520px) {
    .tour-feature { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 17px; }
    .tour-feature-icon { width: 40px; height: 40px; }
    .tour-feature-copy h3 { font-size: 20px; }
    .tour-feature-copy p { font-size: 14px; }
    .tour-feature-link { grid-column: 1 / -1; justify-content: center; width: 100%; }
}
