@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --red: #dc2035;
    --ink: #242424;
    --muted: #6c6c69;
    --paper: #f5f4f0;
    --line: #dcdcd6
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: '', Arial, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
select {
    touch-action: manipulation
}

button {
    cursor: pointer
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2 {
    font-family: Manrope, Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1.03
}

h1 {
    font-size: clamp(44px, 6.6vw, 96px)
}

h2 {
    font-size: clamp(36px, 4.4vw, 64px)
}

h3 {
    font-size: 22px;
    letter-spacing: -.035em
}

em {
    font-style: normal;
    color: var(--red)
}

p {
    line-height: 1.7;
    color: var(--muted)
}

.preview {
    padding: 9px 5%;
    font-size: 10px;
    letter-spacing: .13em;
    background: var(--red);
    color: white;
    display: flex;
    justify-content: space-between
}

.preview span {
    letter-spacing: .02em
}

header {
    padding: 20px 5%;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    width: 190px;
    height: 65px;
    object-fit: contain
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
    color: #fff;
    font-size: 13px
}

.nav-cta {
    border: 1px solid #777;
    padding: 14px 22px
}

nav a:hover {
    color: #ff6b7b
}

.menu {
    display: none
}

.wrap {
    width: 90%;
    max-width: 1440px;
    margin: auto
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--red)
}

.hero {
    padding: 65px 0 40px
}

.hero-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: end
}

.hero-top p {
    max-width: 350px;
    font-size: 16px;
    margin: 26px 0
}

.button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    padding: 18px 24px;
    background: var(--ink);
    color: white;
    border: 0;
    font-size: 12px;
    font-weight: 700
}

.red {
    background: var(--red)
}

.line-link {
    font-size: 13px;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 8px;
    display: inline-block
}

.hero-image {
    position: relative;
    margin-top: 45px;
    height: 430px;
    overflow: hidden;
    background: var(--paper)
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo-caption {
    position: absolute;
    bottom: 22px;
    left: 25px;
    color: white;
    font-size: 10px;
    letter-spacing: .13em;
    background: #222a;
    padding: 10px
}

.search-box {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    padding: 25px;
    margin: -35px auto 0;
    width: 94%;
    box-shadow: 0 12px 30px #00000008
}

.tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 22px
}

.tabs button {
    background: none;
    border: 0;
    padding: 0 0 10px;
    color: var(--muted)
}

.tabs button.active {
    color: var(--ink);
    border-bottom: 2px solid var(--red)
}

.search-fields {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr auto;
    gap: 18px;
    align-items: end
}

label {
    display: block;
    font-size: 11px;
    letter-spacing: .05em
}

select,
input,
textarea {
    width: 100%;
    background: white;
    border: 1px solid var(--line);
    padding: 13px;
    margin-top: 9px;
    color: var(--ink);
    border-radius: 0
}

.section {
    padding: 85px 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 35px
}

.section-head p {
    max-width: 340px;
    font-size: 14px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--paper)
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.property:hover img {
    transform: scale(1.04)
}

.badge {
    position: absolute;
    left: 16px;
    top: 16px;
    background: white;
    padding: 8px 11px;
    font-size: 10px;
    letter-spacing: .08em
}

.save {
    position: absolute;
    right: 14px;
    top: 14px;
    border: 0;
    background: white;
    font-size: 23px;
    width: 36px;
    height: 36px
}

.property .eyebrow {
    margin: 22px 0 10px;
    font-size: 10px
}

.property h3 {
    margin-bottom: 12px
}

.property p {
    font-size: 12px
}

.property-foot {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 18px;
    font-size: 13px
}

.fine {
    font-size: 11px;
    margin-top: 22px
}

.offwhite {
    background: var(--paper)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center
}

.split>img {
    width: 100%;
    height: 480px;
    object-fit: cover
}

.split p {
    margin: 25px 0
}

.stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin: 30px 0
}

.stats strong {
    font-family: Manrope;
    font-size: 36px;
    letter-spacing: -.05em
}

.stats span {
    display: block;
    font-size: 11px;
    color: var(--muted)
}

.service-list {
    border-top: 1px solid var(--line);
    margin-top: 45px
}

.service-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 30px;
    gap: 30px;
    border-bottom: 1px solid var(--line);
    padding: 30px 0;
    align-items: center
}

.service-row p {
    font-size: 13px
}

.service-row:hover h3 {
    color: var(--red)
}

.num {
    color: var(--red);
    font-size: 12px
}

.districts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line)
}

.district {
    background: white;
    padding: 30px
}

.district h3 {
    margin: 14px 0
}

.district p {
    font-size: 12px
}

.district a {
    display: block;
    margin-top: 25px;
    font-size: 12px
}

.article img {
    width: 100%;
    height: 230px;
    object-fit: cover
}

.article .eyebrow {
    margin: 24px 0 14px
}

.article h3 {
    margin-bottom: 15px
}

.article p {
    font-size: 13px
}

.article a {
    display: block;
    margin-top: 20px
}

.page-hero {
    padding: 65px 0 50px;
    border-bottom: 1px solid var(--line)
}

.page-hero p {
    max-width: 600px;
    margin-top: 25px
}

.crumb {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 30px
}

.filters {
    background: var(--paper);
    padding: 24px;
    margin-bottom: 30px
}

.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 12px
}

.results-bar select {
    width: 180px;
    margin: 0
}

.empty {
    padding: 55px;
    text-align: center;
    background: var(--paper);
    grid-column: 1/-1
}

.detail-hero {
    height: 500px;
    width: 100%;
    object-fit: cover;
    margin-top: 30px
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 70px
}

.detail-section {
    border-bottom: 1px solid var(--line);
    padding: 28px 0
}

.detail-section h3 {
    margin-bottom: 20px
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.facts span {
    font-size: 12px;
    color: var(--muted)
}

.facts b {
    display: block;
    margin-top: 6px;
    font-size: 16px
}

.sticky-panel {
    background: var(--paper);
    padding: 30px;
    align-self: start;
    position: sticky;
    top: 20px
}

.sticky-panel p {
    margin: 15px 0 25px;
    font-size: 13px
}

.sticky-panel .button {
    width: 100%
}

.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 45px
}

.process>div {
    border-top: 2px solid var(--red);
    padding-top: 25px
}

.process h3 {
    margin: 18px 0
}

.process p {
    font-size: 13px
}

.contact-list>div {
    padding: 25px 0;
    border-bottom: 1px solid var(--line)
}

.contact-list b {
    display: block;
    font-size: 10px;
    letter-spacing: .1em;
    margin-bottom: 10px;
    color: var(--muted)
}

.contact-list a {
    font-size: 24px
}

.contact-card {
    background: var(--paper);
    padding: 40px
}

.contact-card p {
    margin: 20px 0
}

details {
    border-bottom: 1px solid var(--line);
    padding: 24px 0
}

summary {
    cursor: pointer;
    font-size: 20px;
    letter-spacing: -.03em
}

details p {
    margin-top: 20px;
    max-width: 800px
}

.reading {
    max-width: 780px;
    margin: auto
}

.reading p {
    margin: 25px 0
}

.reading h3 {
    margin-top: 40px
}

.reading ul {
    color: var(--muted);
    line-height: 1.8
}

.portrait {
    height: 380px !important;
    object-position: top
}

.team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.team h3 {
    margin: 24px 0 10px
}

.team p {
    font-size: 13px
}

footer {
    background: var(--ink);
    color: white;
    padding: 65px 5% 20px
}

.footer-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-bottom: 55px;
    border-bottom: 1px solid #555
}

.footer-top h2 {
    font-size: clamp(32px, 4vw, 58px)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 45px 0
}

.footer-grid b {
    font-size: 10px;
    letter-spacing: .12em;
    color: #aaa;
    display: block;
    margin-bottom: 20px
}

.footer-grid a {
    display: block;
    font-size: 13px;
    margin: 12px 0
}

.footer-grid p {
    font-size: 12px;
    color: #aaa;
    margin-top: 20px
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #aaa
}

dialog {
    border: 0;
    max-width: 520px;
    width: 92%;
    padding: 40px;
    max-height: 90vh;
    overflow: auto
}

dialog::backdrop {
    background: #0009
}

dialog h2 {
    font-size: 44px
}

.close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: 0;
    font-size: 30px
}

dialog label {
    margin: 17px 0
}

.consent {
    display: flex;
    gap: 12px;
    line-height: 1.5;
    letter-spacing: 0
}

.consent input {
    width: 16px;
    margin: 0
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 15px 25px;
    font-size: 13px;
    z-index: 10
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px
}

@media(max-width:900px) {
    nav {
        gap: 18px
    }

    .hero-top {
        gap: 30px
    }

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .split {
        gap: 35px
    }

    .districts {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .search-fields {
        grid-template-columns: 1fr 1fr
    }

    .service-row {
        grid-template-columns: 35px 1fr 1.3fr 20px
    }
}

@media(max-width:600px) {
    .preview span {
        display: none
    }

    header {
        padding: 15px 5%;
        position: relative
    }

    .logo {
        width: 155px;
        height: 52px
    }

    .menu {
        display: block;
        color: white;
        border: 1px solid #777;
        background: none;
        padding: 10px
    }

    nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--ink);
        padding: 25px;
        z-index: 5;
        flex-direction: column;
        align-items: stretch
    }

    nav.open {
        display: flex
    }

    .hero {
        padding-top: 45px
    }

    .hero-top,
    .split,
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .hero-top p {
        margin: 0 0 22px
    }

    .hero-image {
        height: 300px;
        margin-top: 30px
    }

    .search-box {
        width: 100%;
        margin: 0;
        box-shadow: none;
        padding: 20px
    }

    .section {
        padding: 55px 0
    }

    .section-head {
        display: block
    }

    .section-head p,
    .section-head>a {
        margin-top: 20px;
        display: block
    }

    .cards,
    .process,
    .team {
        grid-template-columns: 1fr
    }

    .property-image {
        height: 300px
    }

    .split>img {
        height: 320px
    }

    .service-row {
        grid-template-columns: 25px 1fr 20px;
        gap: 15px
    }

    .service-row p {
        grid-column: 2;
        grid-row: 2
    }

    .service-row>span:last-child {
        grid-column: 3;
        grid-row: 1
    }

    .districts {
        grid-template-columns: 1fr 1fr
    }

    .district {
        padding: 20px
    }

    .footer-top {
        display: block
    }

    .footer-top .button {
        margin-top: 25px
    }

    .footer-grid {
        gap: 25px
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 20px;
        line-height: 1.5
    }

    .detail-hero {
        height: 300px
    }

    .facts {
        grid-template-columns: repeat(2, 1fr)
    }

    .contact-card {
        padding: 25px
    }

    .results-bar {
        gap: 12px
    }

    .results-bar select {
        width: 145px
    }

    .search-fields {
        gap: 12px
    }

    .search-fields .button {
        padding: 15px 12px;
        gap: 10px
    }

    .stats {
        gap: 35px
    }

    .page-hero {
        padding: 45px 0
    }

    .sticky-panel {
        position: static
    }

    dialog {
        padding: 30px
    }
}

.logo {
    transform: scale(1.6)
}