:root {
    color-scheme: light;
    --wine: #770e0e;
    --wine-dark: #2b2b2a;
    --wine-soft: #97908b;
    --ink: #2b2b2a;
    --muted: #97908b;
    --paper: #efe8e6;
    --paper-deep: #e8ddda;
    --white: #fffdfb;
    --line: rgba(43, 43, 42, .16);
    --serif: "Adobe Myungjo Std", "Adobe Myeongjo Std", "Adobe Myeongjo", "Noto Serif", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button,
a,
summary,
select,
input {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid #c99370;
    outline-offset: 4px;
}

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 12px;
    left: 12px;
    padding: 10px 15px;
    transform: translateY(-160%);
    background: var(--white);
    color: var(--wine);
}

.skip-link:focus {
    transform: translateY(0);
}

.maintenance-screen {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 12% 12%, rgba(119, 14, 14, .08), transparent 32%),
        linear-gradient(145deg, var(--paper), var(--white));
}

.maintenance-card {
    position: relative;
    display: grid;
    justify-items: center;
    width: min(100%, 760px);
    padding: clamp(36px, 8vw, 82px) clamp(24px, 9vw, 96px);
    border: 1px solid var(--line);
    border-top: 6px solid var(--wine);
    background: rgba(255, 253, 251, .96);
    box-shadow: 0 24px 70px rgba(43, 43, 42, .1);
    text-align: center;
}

.maintenance-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
}

.maintenance-divider {
    width: 48px;
    height: 2px;
    margin-bottom: 26px;
    background: var(--wine);
}

.maintenance-message {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.site-header {
    position: relative;
    z-index: 5;
    height: 82px;
    background: var(--paper);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    display: grid;
    place-items: center;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1;
}

.brand-mark img {
    display: block;
    width: 60px;
    height: auto;
}

.brand-name {
    display: grid;
    gap: 1px;
    color: var(--wine);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.15;
}

.brand-name span {
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .31em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    color: #5f5854;
    font-size: 13px;
}

.desktop-nav > a:not(.nav-cta):hover,
.footer-column a:hover {
    color: var(--wine);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 11px 17px;
    border: 1px solid var(--wine);
    color: var(--wine);
    transition: background .2s ease, color .2s ease;
}

.nav-cta:hover {
    background: var(--wine);
    color: var(--white);
}

.nav-cta span,
.text-link span,
.card-link span {
    font-size: 16px;
}

.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    display: flex;
    min-height: 280px;
    align-items: center;
    background: var(--wine);
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 128px));
    padding-block: 34px 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--wine-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.4;
}

.eyebrow-light {
    color: rgba(255, 253, 251, .72);
}

.eyebrow-light span {
    display: inline-block;
    width: 21px;
    height: 1px;
    margin: 0 8px 3px 0;
    background: currentColor;
}

.hero h1 {
    max-width: none;
    margin: 0 0 20px;
    font-family: var(--serif);
    font-size: clamp(30px, 4.5vw, 36px);
    font-weight: 400;
    letter-spacing: .13em;
    line-height: 1.2;
    white-space: nowrap;
}

.section-heading h2 em,
.valuation h2 em,
.about-heading h2 em,
.review-invite h2 em {
    font-weight: 400;
}

.hero-blueprint {
    position: absolute;
    top: 50%;
    right: clamp(-158px, 1.7vw, -176px);
    width: clamp(220px, 32vw, 460px);
    transform: translateY(-50%);
    color: rgba(246, 222, 211, .35);
    pointer-events: none;
}

.hero-blueprint svg {
    display: block;
    width: 80%;
    padding-top: 70px;
    height: auto;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.property-search {
    display: grid;
    width: min(100%, 760px);
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: stretch;
    gap: 12px;
    padding: 13px;
    background: #f1ebea;
    color: var(--ink);
}

.search-filter {
    min-width: 0;
    margin: 0;
    padding: 0 12px 0 0;
    border: 0;
    border-right: 1px solid var(--line);
}

.search-filter legend {
    margin-bottom: 5px;
    color: var(--wine);
    font-size: 10px;
    font-weight: 700;
}

.search-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}

.search-options label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #817c77;
    cursor: pointer;
    font-size: 10px;
}

.search-options input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--wine);
}

.search-options label:focus-within {
    color: var(--wine);
}

.search-multi-picker {
    position: relative;
}

.search-multi-picker > summary {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--ink);
    cursor: pointer;
    font-size: 10px;
    list-style: none;
}

.search-multi-picker > summary::-webkit-details-marker {
    display: none;
}

.search-multi-picker > summary::after {
    content: "⌄";
    color: var(--wine);
    font-size: 14px;
}

.search-multi-count {
    margin-left: auto;
    color: var(--wine);
    font-size: 9px;
    font-weight: 700;
}

.search-multi-panel {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    left: -12px;
    width: min(280px, calc(100vw - 48px));
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(43, 43, 42, .16);
}

.search-multi-options {
    display: grid;
    max-height: 220px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    overflow-y: auto;
}

.search-multi-options label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid transparent;
    color: #817c77;
    cursor: pointer;
    font-size: 10px;
}

.search-multi-options input {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--wine);
}

.search-multi-options input:checked + span {
    color: var(--wine);
    font-weight: 600;
}

.search-multi-options input:disabled + span {
    opacity: .48;
}

.search-multi-hint {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.search-multi-selected {
    display: flex;
    min-height: 0;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.search-multi-selected:empty {
    display: none;
}

.search-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border: 1px solid rgba(124, 45, 45, .2);
    border-radius: 999px;
    background: var(--white);
    color: var(--wine);
    cursor: pointer;
    font-size: 9px;
    line-height: 1.4;
}

.search-chip span {
    font-size: 12px;
}

.search-button {
    min-width: 72px;
    min-height: 40px;
    align-self: center;
    padding: 0 12px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: none;
}

.search-page-hero {
    padding-block: 42px;
    background: var(--wine);
    color: var(--white);
}

.search-page-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 400;
    letter-spacing: -.025em;
}

.search-page-hero .property-search {
    width: 100%;
    margin-top: 20px;
}

.search-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 25px;
    background: var(--white);
    color: var(--muted);
    text-align: center;
}

.search-empty-results,
.search-notice {
    margin: 0;
    padding: 18px 20px;
    background: var(--white);
    color: var(--muted);
}

.search-notice {
    margin-bottom: 12px;
    border-left: 3px solid var(--wine);
}

.button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0 22px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.button-dark {
    background: var(--wine);
    color: var(--white);
}

.button-dark:hover {
    background: var(--wine-dark);
}

.section {
    padding-block: 88px;
}

.section-properties {
    background: var(--paper);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-heading .eyebrow {
    margin-bottom: 9px;
}

.section-heading h2,
.about-heading h2,
.review-invite h2 {
    margin: 0;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(33px, 4vw, 46px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.13;
}

.section-heading h2 em {
    color: inherit;
    font-style: normal;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(118, 44, 48, .35);
    color: var(--wine);
    font-size: 12px;
    font-weight: 600;
}

.text-link:hover,
.card-link:hover {
    color: #a64d4e;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.property-card {
    min-width: 0;
    background: var(--white);
    transition: transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 32px rgba(49, 37, 34, .1);
}

.property-image {
    position: relative;
    display: block;
    aspect-ratio: 1.32 / 1;
    overflow: hidden;
    background: #d9cfcb;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.035);
}

.property-tag {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 5px 8px;
    background: var(--white);
    color: var(--wine);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.property-favorite {
    position: absolute;
    top: 10px;
    right: 12px;
    color: var(--white);
    font-size: 23px;
    line-height: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .35);
}

.property-info {
    padding: 16px 16px 17px;
}

.property-price {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.15;
}

.property-price-note {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
}

.property-expenses {
    margin: 3px 0 13px;
    color: var(--muted);
    font-size: 10px;
}

.property-kind {
    margin: 0 0 4px;
    color: var(--wine-soft);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .03em;
}

.property-info h3 {
    min-height: 38px;
    margin: 0 0 11px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin: 0;
    padding: 0 0 13px;
    border-bottom: 1px solid var(--line);
    color: #706963;
    font-size: 10px;
    list-style: none;
}

.property-features span {
    margin-right: 3px;
    color: var(--wine-soft);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 600;
}

.frequent-searches {
    margin-top: 31px;
}

.frequent-searches > p {
    margin: 0 0 11px;
    color: var(--muted);
    font-size: 12px;
}

.frequent-searches > div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.frequent-searches a {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 10px 13px;
    background: rgba(255, 253, 251, .75);
    color: #6d6660;
    font-size: 11px;
    transition: color .2s ease, background .2s ease;
}

.frequent-searches a:hover {
    background: var(--white);
    color: var(--wine);
}

.frequent-searches a span {
    color: var(--wine-soft);
}

.mobile-link {
    display: none;
}

.valuation {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.valuation-inner {
    position: relative;
    z-index: 1;
    padding-block: 84px 88px;
    text-align: center;
}

.valuation .eyebrow {
    margin-bottom: 16px;
}

.valuation h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 60px);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.06;
}

.valuation h2 em {
    color: #d9b8a9;
}

.valuation-inner > p:not(.eyebrow) {
    margin: 19px 0 27px;
    color: rgba(255, 253, 251, .72);
    font-size: 13px;
}

.button-accent {
    min-height: 51px;
    background: var(--wine);
    color: var(--white);
}

.button-accent:hover {
    background: #934247;
}

.valuation-dialog {
    width: min(680px, calc(100% - 32px));
    max-width: 680px;
    max-height: min(780px, calc(100dvh - 32px));
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.valuation-dialog::backdrop {
    background: rgba(25, 27, 29, .72);
    backdrop-filter: blur(3px);
}

.valuation-dialog-header {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.valuation-dialog-header > img {
    flex: 0 0 auto;
}

.valuation-dialog-header .eyebrow {
    margin: 0 0 3px;
    color: var(--wine);
    font-size: 9px;
    letter-spacing: .13em;
}

.valuation-dialog-header h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.15;
}

.valuation-dialog-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 27px;
    line-height: 1;
}

.valuation-dialog-close:hover {
    background: var(--white);
}

.valuation-dialog-content {
    padding: 22px 24px 25px;
}

.valuation-flash {
    max-width: 760px;
    margin: 0 auto 18px;
    padding: 12px 15px;
    border: 1px solid #b6d2bd;
    border-radius: 4px;
    background: #edf5ef;
    color: #255232;
    font-size: 13px;
    line-height: 1.5;
}

.valuation-flash.is-error {
    border-color: #e3b8b2;
    background: #fbefed;
    color: var(--wine);
}

.valuation-flash p {
    margin: 0;
}

.valuation-flash p + p {
    margin-top: 5px;
}

.valuation-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.valuation-form > label {
    display: grid;
    align-content: start;
    gap: 6px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}

.valuation-form input:not([type="checkbox"]),
.valuation-form textarea {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.valuation-form textarea {
    resize: vertical;
}

.valuation-form input:focus,
.valuation-form textarea:focus,
.valuation-dialog-close:focus-visible {
    outline: 2px solid var(--wine);
    outline-offset: 2px;
}

.valuation-form .valuation-message,
.valuation-form .valuation-consent,
.valuation-form > button {
    grid-column: 1 / -1;
}

.valuation-message-hint {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

.valuation-form .valuation-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.valuation-consent input {
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: var(--wine);
}

.valuation-consent .valuation-field-error {
    flex-basis: 100%;
}

.valuation-field-error {
    color: var(--wine);
    font-size: 11px;
    font-weight: 400;
}

.valuation-form > button {
    justify-self: center;
    min-width: 220px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
}

.valuation-required {
    color: #c62828;
    font-weight: 700;
}

.valuation-required-note {
    grid-column: 1 / -1;
    margin: -5px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.button-accent span,
.button-outline span {
    font-size: 16px;
}

.valuation-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgba(255, 255, 255, .035);
    font-family: var(--serif);
    font-size: min(60vw, 560px);
    line-height: 1;
    transform: translate(-50%, -57%);
}

.valuation-note {
    position: absolute;
    right: 25px;
    bottom: 23px;
    color: rgba(255, 255, 255, .35);
    font-size: 9px;
    letter-spacing: .16em;
}

.section-about {
    background: var(--paper);
}

.about-heading {
    display: grid;
    grid-template-columns: 1fr 1.15fr .8fr;
    align-items: end;
    gap: 35px;
    margin-bottom: 38px;
}

.about-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -24px;
}

.about-heading h2 {
    font-size: clamp(34px, 3.8vw, 46px);
}

.about-heading h2 em {
    color: #9b7770;
}

.about-intro {
    max-width: 255px;
    margin: 0 0 4px;
    color: #756d68;
    font-size: 13px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    position: relative;
    min-height: 190px;
    padding: 25px 24px 23px;
    border-top: 2px solid var(--wine);
    background: rgba(255, 253, 251, .75);
}

.value-number {
    position: absolute;
    top: 19px;
    right: 21px;
    color: #b6a5a0;
    font-family: var(--serif);
    font-size: 12px;
}

.value-icon {
    display: grid;
    width: 33px;
    height: 33px;
    margin-bottom: 15px;
    place-items: center;
    border: 1px solid rgba(118, 44, 48, .3);
    border-radius: 50%;
    color: var(--wine);
    font-size: 16px;
}

.value-card h3 {
    margin: 0 0 7px;
    font-size: 14px;
    font-weight: 700;
}

.value-card p {
    max-width: 310px;
    margin: 0;
    color: #7d756f;
    font-size: 11px;
    line-height: 1.65;
}

.reviews {
    background: var(--paper-deep);
}

.reviews-inner {
    position: relative;
    display: grid;
    min-height: 240px;
    grid-template-columns: .78fr 1.22fr;
    align-items: center;
    padding-block: 45px;
}

.review-score {
    padding: 0 48px 0 10%;
    border-right: 1px solid rgba(118, 44, 48, .35);
    text-align: center;
}

.review-score .eyebrow {
    margin-bottom: 4px;
    color: #9b7770;
    font-size: 9px;
}

.score-number {
    color: var(--wine);
    font-family: var(--serif);
    font-size: 83px;
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .98;
}

.score-number span {
    margin-left: 4px;
    color: #a17d76;
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: 0;
}

.score-stars {
    display: inline-block;
    margin: 7px 5px 0 0;
    color: var(--wine);
    font-size: 14px;
    letter-spacing: .08em;
}

.score-count {
    display: inline;
    color: #8d817a;
    font-size: 10px;
}

.review-invite {
    padding-left: 58px;
}

.review-invite .eyebrow {
    margin-bottom: 12px;
}

.review-invite h2 {
    margin-bottom: 21px;
    font-size: clamp(29px, 3.3vw, 39px);
}

.review-invite h2 em {
    color: #9b7770;
}

.button-outline {
    min-height: 42px;
    border-color: rgba(118, 44, 48, .35);
    color: var(--wine);
    font-size: 10px;
}

.button-outline:hover {
    border-color: var(--wine);
    background: var(--wine);
    color: var(--white);
}

.review-mark {
    position: absolute;
    top: 9px;
    right: 16px;
    color: rgba(118, 44, 48, .09);
    font-family: var(--serif);
    font-size: 125px;
    line-height: 1;
}

.site-footer {
    background: var(--ink);
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    padding-block: 57px 49px;
}

.brand-light .brand-mark,
.brand-light .brand-name {
    color: #f1d9cc;
}

.footer-intro > p {
    margin: 17px 0 0 101px;
    color: rgba(255, 253, 251, .58);
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.45;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 253, 251, .7);
    font-size: 11px;
}

.footer-column h2 {
    margin: 0 0 5px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
}

.footer-column a {
    transition: color .2s ease;
}

.footer-column > a > span {
    display: inline-block;
    width: 22px;
    color: #d4a99b;
    font-size: 14px;
}

.footer-links a:hover {
    color: #e5bcb0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-block: 16px 19px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 253, 251, .45);
    font-size: 10px;
}

@media (max-width: 980px) {
    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .property-image {
        aspect-ratio: 1.55 / 1;
    }

    .about-heading {
        grid-template-columns: 1fr 1fr;
    }

    .about-intro {
        grid-column: 2;
        margin-top: -30px;
    }
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 68px;
    }

    .container {
        width: min(100% - 40px, 540px);
    }

    .site-header {
        height: 68px;
    }

    .brand-mark img {
        width: 80px;
    }

    .footer-intro > p {
        margin-left: 91px;
    }

    .brand-name {
        font-size: 11px;
    }

    .brand-name span {
        font-size: 7px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        position: relative;
        display: block;
    }

    .mobile-nav summary {
        display: grid;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-items: center;
        gap: 5px;
        cursor: pointer;
        list-style: none;
    }

    .mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav summary span {
        width: 20px;
        height: 1px;
        background: var(--wine);
    }

    .mobile-nav nav {
        position: absolute;
        top: calc(100% + 13px);
        right: -9px;
        display: grid;
        width: min(280px, calc(100vw - 40px));
        padding: 9px;
        border: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 15px 35px rgba(49, 37, 34, .14);
    }

    .mobile-nav nav a {
        padding: 13px 12px;
        color: var(--ink);
        font-size: 13px;
    }

    .mobile-nav nav a:hover {
        background: var(--paper);
        color: var(--wine);
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        width: min(100% - 40px, 540px);
        padding-block: 42px;
    }

    .hero h1 {
        margin-bottom: 18px;
        font-size: clamp(25px, 7vw, 34px);
        letter-spacing: .04em;
        white-space: normal;
    }

    .hero-blueprint {
        top: 58%;
        right: 14px;
        width: clamp(160px, 38vw, 220px);
        transform: translateY(-25%);
    }

    .property-search {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
    }

    .search-filter {
        padding: 0 0 8px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .search-filter:nth-child(3) {
        grid-column: 1 / -1;
    }

    .search-multi-panel {
        left: 0;
    }

    .search-page-hero {
        padding-block: 30px;
    }

    .search-page-hero .property-search {
        margin-top: 16px;
    }

    .search-button {
        grid-column: 1 / -1;
        min-height: 44px;
    }

    .section {
        padding-block: 62px;
    }

    .section-heading {
        align-items: start;
        margin-bottom: 23px;
    }

    .section-heading h2 {
        font-size: 37px;
    }

    .desktop-link {
        display: none;
    }

    .property-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .property-image {
        aspect-ratio: 1.55 / 1;
    }

    .property-tag {
        top: 8px;
        left: 8px;
        padding: 4px 6px;
        font-size: 8px;
    }

    .property-favorite {
        top: 7px;
        right: 8px;
        font-size: 20px;
    }

    .property-info {
        padding: 12px 11px 13px;
    }

    .property-price {
        font-size: 18px;
    }

    .property-expenses {
        margin: 3px 0 10px;
        font-size: 9px;
    }

    .property-info h3 {
        min-height: 36px;
        margin-bottom: 8px;
        font-size: 11px;
    }

    .property-features {
        gap: 4px 7px;
        font-size: 9px;
    }

    .card-link {
        margin-top: 10px;
        font-size: 10px;
    }

    .frequent-searches {
        margin-top: 24px;
    }

    .frequent-searches > div {
        display: grid;
    }

    .frequent-searches a {
        justify-content: space-between;
        padding: 10px;
        font-size: 10px;
    }

    .mobile-link {
        display: inline-flex;
        margin-top: 23px;
    }

    .valuation-inner {
        padding-block: 65px 70px;
    }

    .valuation h2 {
        font-size: 47px;
    }

    .valuation-inner > p:not(.eyebrow) {
        font-size: 12px;
    }

    .valuation-dialog {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
    }

    .valuation-dialog-header {
        gap: 10px;
        padding: 15px 16px;
    }

    .valuation-dialog-header h2 {
        font-size: 24px;
    }

    .valuation-dialog-content {
        padding: 17px 16px 20px;
    }

    .valuation-form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .desktop-break {
        display: none;
    }

    .valuation-note {
        right: 13px;
        bottom: 12px;
        font-size: 8px;
    }

    .about-heading {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 25px;
    }

    .about-heading .eyebrow {
        grid-column: auto;
        margin-bottom: 0;
    }

    .about-heading h2 {
        font-size: 38px;
    }

    .about-intro {
        grid-column: auto;
        margin: 0;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .value-card {
        min-height: 0;
        padding: 20px;
    }

    .value-card p {
        max-width: 390px;
    }

    .reviews-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 38px;
    }

    .review-score {
        padding: 0 0 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(118, 44, 48, .3);
        text-align: left;
    }

    .score-number {
        display: inline-block;
        margin-right: 9px;
        font-size: 63px;
        vertical-align: middle;
    }

    .score-stars {
        margin-top: 0;
        vertical-align: middle;
    }

    .score-count {
        vertical-align: middle;
    }

    .review-invite {
        padding-left: 0;
    }

    .review-invite h2 {
        font-size: 33px;
    }

    .review-mark {
        top: 2px;
        right: 9px;
        font-size: 95px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 31px 20px;
        padding-block: 41px 34px;
    }

    .footer-intro {
        grid-column: 1 / -1;
    }

    .footer-intro > p {
        margin-left: 46px;
        font-size: 14px;
    }

    .footer-column {
        gap: 9px;
        font-size: 10px;
    }

    .footer-column h2 {
        font-size: 19px;
    }

    .footer-bottom {
        gap: 12px;
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 30px);
    }

    .property-info h3 {
        min-height: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-intro {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }
}

.property-detail {
    padding-block: 27px 90px;
    background: var(--paper);
}

.property-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 11px;
}

.property-breadcrumb a {
    color: var(--wine);
}

.property-detail-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin: 30px 0 24px;
}

.property-detail-heading .eyebrow {
    margin-bottom: 7px;
}

.property-detail-heading h1 {
    margin: 0;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 400;
    letter-spacing: -.03em;
    line-height: 1.12;
}

.property-detail-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.property-detail-location span {
    color: var(--wine);
    font-size: 16px;
}

.property-back-link {
    flex-shrink: 0;
    margin-bottom: 4px;
}

.property-gallery {
    --property-gallery-thumbnail-width: 150px;
    position: relative;
    padding-right: calc(var(--property-gallery-thumbnail-width) + 10px);
    margin-bottom: 44px;
}

.property-gallery-main {
    position: relative;
    min-width: 0;
    aspect-ratio: 1.8 / 1;
    overflow: hidden;
    background: var(--paper-deep);
}

.property-gallery-main > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-open {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.property-gallery-open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-open:focus-visible {
    z-index: 1;
    outline-offset: -4px;
}

.property-gallery-counter {
    position: absolute;
    right: 15px;
    bottom: 14px;
    padding: 6px 9px;
    background: rgba(43, 43, 42, .72);
    color: var(--white);
    font-size: 10px;
}

.property-gallery-note {
    position: absolute;
    bottom: 14px;
    left: 15px;
    padding: 6px 9px;
    background: rgba(43, 43, 42, .72);
    color: var(--white);
    font-size: 10px;
}

.property-gallery-control {
    position: absolute;
    top: 50%;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 253, 251, .92);
    color: var(--ink);
    cursor: pointer;
    font-size: 27px;
    line-height: 1;
}

.property-gallery-previous {
    left: 14px;
}

.property-gallery-next {
    right: 14px;
}

.property-gallery-thumbnails {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: var(--property-gallery-thumbnail-width);
    height: 100%;
    min-height: 0;
}

.property-gallery-thumbnail {
    position: relative;
    min-width: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--paper-deep);
    cursor: pointer;
    opacity: .76;
}

.property-gallery-thumbnail.is-active {
    border-color: var(--wine);
    opacity: 1;
}

.property-gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.property-gallery-thumbnail[hidden] {
    display: none;
}

.property-gallery-thumbnail-more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgb(43 43 42 / 58%);
    color: var(--white);
    font-size: clamp(12px, 1.4vw, 18px);
    font-weight: 600;
    text-align: center;
}

.property-gallery-thumbnail-more[hidden] {
    display: none;
}

.property-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #171615;
    color: var(--white);
}

.property-lightbox::backdrop {
    background: #171615;
}

.property-lightbox-content {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: minmax(50px, 1fr) minmax(0, 1200px) minmax(50px, 1fr);
    align-items: center;
    justify-items: center;
    padding: 70px 20px 30px;
}

.property-lightbox-figure {
    display: grid;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    grid-column: 2;
    grid-row: 1;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    margin: 0;
}

.property-lightbox-figure img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.property-lightbox-figure figcaption {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    color: rgba(255, 253, 251, .76);
    font-size: 12px;
}

.property-lightbox-close,
.property-lightbox-control {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 253, 251, .38);
    background: rgba(255, 253, 251, .1);
    color: var(--white);
    cursor: pointer;
}

.property-lightbox-close {
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.property-lightbox-control {
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
}

.property-lightbox-previous {
    left: 24px;
}

.property-lightbox-next {
    right: 24px;
}

.property-lightbox-close:hover,
.property-lightbox-control:hover {
    background: rgba(255, 253, 251, .22);
}

.property-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: clamp(32px, 6vw, 78px);
}

.property-detail-main {
    min-width: 0;
}

.property-summary {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.property-summary .eyebrow {
    margin-bottom: 8px;
}

.property-summary h2,
.property-detail-section h2 {
    margin: 0;
    color: var(--wine);
    font-family: var(--serif);
    font-size: clamp(22px, 2.5vw, 29px);
    font-weight: 400;
    line-height: 1.25;
}

.property-summary h2 span {
    color: var(--wine-soft);
}

.property-reference {
    flex-shrink: 0;
    margin: 0;
    color: var(--muted);
    font-size: 10px;
}

.property-reference strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 12px;
}

.property-detail-section {
    padding-block: 31px;
    border-bottom: 1px solid var(--line);
}

.property-detail-section .eyebrow {
    margin-bottom: 8px;
}

.property-detail-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 20px 0 0;
}

.property-detail-features > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-block: 13px;
    border-bottom: 1px solid var(--line);
}

.property-detail-features dt {
    color: var(--muted);
    font-size: 12px;
}

.property-detail-features dd {
    margin: 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.property-location-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr);
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 12px;
    background: var(--white);
}

.property-location-map {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    background: var(--paper-deep);
}

.property-location-map .leaflet-container {
    width: 100%;
    height: 220px;
    background: var(--paper-deep);
    font-family: var(--sans);
}

.property-map-marker {
    border: 0;
    background: transparent;
}

.property-map-marker__logo {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    transform: rotate(-45deg);
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 0;
    background: var(--wine);
    box-shadow: 0 2px 8px rgba(43, 43, 42, .35);
}

.property-map-marker__logo img {
    display: block;
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    border-radius: 50%;
    background: var(--white);
    object-fit: contain;
}

.property-location-card strong {
    color: var(--ink);
    font-size: 13px;
}

.property-location-card p,
.property-description > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.property-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: var(--wine);
    font-size: 11px;
    font-weight: 600;
}

.property-map-link:hover {
    text-decoration: underline;
}

.property-description > p:not(.eyebrow) {
    margin: 17px 0 0;
    color: var(--ink);
}

.property-contact-card {
    position: sticky;
    top: 24px;
    padding: 25px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(43, 43, 42, .06);
}

.property-operation {
    margin: 0 0 7px;
    color: var(--wine);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.property-detail-price {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 31px;
    line-height: 1.2;
}

.property-detail-price-note {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
}

.property-detail-expenses {
    margin: 5px 0 21px;
    color: var(--muted);
    font-size: 11px;
}

.property-contact-button {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-inline: 14px;
    font-size: 10px;
}

.property-inquiry {
    margin-top: 20px;
}

.property-inquiry .admin-flash {
    margin: 0 0 14px;
    padding: 11px;
    border: 1px solid #b6d2bd;
    border-radius: 5px;
    background: #edf5ef;
    color: #255232;
    font-size: 11px;
    line-height: 1.5;
}

.property-inquiry .admin-flash.is-error {
    border-color: #e3b8b2;
    background: #fbefed;
    color: var(--wine);
}

.property-inquiry-form {
    display: grid;
    gap: 12px;
}

.property-inquiry-form > label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
}

.property-inquiry-form input:not([type="checkbox"]),
.property-inquiry-form textarea {
    width: 100%;
    min-height: 39px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 11px;
}

.property-inquiry-form textarea {
    resize: vertical;
}

.property-inquiry-form .inquiry-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 400;
    line-height: 1.5;
}

.property-inquiry-form .inquiry-consent input {
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--wine);
}

.inquiry-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.property-feature-list {
    display: block;
    padding: 0;
    list-style: none;
}

.property-feature-list li {
    padding-block: 9px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.property-feature-list strong {
    color: var(--ink);
}

.property-contact-note {
    margin: 15px 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.property-contact-phone {
    color: var(--wine);
    font-size: 11px;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 980px) {
    .property-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 30px;
    }

    .property-gallery {
        --property-gallery-thumbnail-width: 120px;
    }
}

@media (max-width: 700px) {
    .property-detail {
        padding-block: 20px 62px;
    }

    .property-detail-heading {
        align-items: start;
        margin-block: 24px 18px;
    }

    .property-detail-heading h1 {
        font-size: 34px;
    }

    .property-back-link {
        display: none;
    }

    .property-gallery {
        position: static;
        padding-right: 0;
        margin-bottom: 25px;
    }

    .property-gallery-main {
        aspect-ratio: 1.25 / 1;
    }

    .property-lightbox-content {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        padding: 68px 8px 20px;
    }

    .property-lightbox-control {
        width: 36px;
        height: 36px;
        font-size: 26px;
    }

    .property-lightbox-previous {
        left: 8px;
    }

    .property-lightbox-next {
        right: 8px;
    }

    .property-lightbox-close {
        top: 14px;
        right: 14px;
    }

    .property-lightbox-figure figcaption {
        font-size: 10px;
    }

    .property-gallery-thumbnails {
        position: static;
        width: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: 68px;
        height: auto;
        gap: 8px;
    }

    .property-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .property-contact-card {
        position: static;
        grid-row: 1;
        padding: 20px;
    }

    .property-detail-main {
        grid-row: 2;
    }

    .property-summary {
        display: block;
    }

    .property-summary h2 {
        font-size: 23px;
    }

    .property-reference {
        margin-top: 15px;
    }

    .property-reference strong {
        display: inline;
        margin-left: 5px;
    }

    .property-detail-features {
        gap: 0 14px;
    }

    .property-location-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .property-location-map {
        min-height: 190px;
    }

    .property-location-map .leaflet-container {
        height: 190px;
    }
}
