:root {
    --paper: #fbfaf7;
    --paper-soft: #f2eee6;
    --ink: #181614;
    --muted: #6b655d;
    --line: #e2dacd;
    --accent: #876d3f;
    --accent-dark: #463720;
    --sage: #50645f;
    --clay: #a46c51;
    --white: #ffffff;
    --night: #11110f;
    --shadow: 0 18px 48px rgba(34, 29, 22, .12);
    --container: min(1180px, calc(100vw - 40px));
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

body.modal-open,
body.nav-open {
    overflow: hidden;
}

img,
picture {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

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

p,
h1,
h2,
h3 {
    margin-top: 0;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 1000;
    transform: translateY(-160%);
    background: var(--night);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 6px;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 247, .92);
    border-bottom: 1px solid rgba(226, 218, 205, .78);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--ink);
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: .06em;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 15px;
    line-height: 1.1;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    font-size: 14px;
    color: rgba(24, 22, 20, .82);
}

.site-nav a {
    position: relative;
    white-space: nowrap;
    transition: color 180ms ease;
}

.mobile-home-link {
    display: none;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
    transform: scaleX(1);
}

.site-nav a.is-active {
    color: var(--ink);
    font-weight: 800;
}

.menu-button {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    cursor: pointer;
    position: relative;
}

.menu-button span {
    position: absolute;
    width: 20px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 160ms ease;
}

.menu-button span:nth-child(1) {
    transform: translateY(-7px);
}

.menu-button span:nth-child(3) {
    transform: translateY(7px);
}

.nav-open .menu-button span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-open .menu-button span:nth-child(2) {
    opacity: 0;
}

.nav-open .menu-button span:nth-child(3) {
    transform: rotate(-45deg);
}

.hero {
    min-height: calc(100svh - 76px);
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--night);
}

.hero-media,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media img {
    object-fit: cover;
    object-position: center;
    filter: saturate(.94) contrast(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 10, .80), rgba(12, 12, 10, .34) 48%, rgba(12, 12, 10, .16)),
    linear-gradient(180deg, rgba(12, 12, 10, .14), rgba(12, 12, 10, .64));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 96px 0 112px;
    color: var(--white);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #d8c7a6;
}

.hero h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(64px, 11vw, 136px);
    font-weight: 400;
    line-height: .9;
}

.hero-copy {
    max-width: 660px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(19px, 2vw, 26px);
}

.hero-search {
    width: min(860px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(160px, .55fr) auto;
    gap: 1px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 58px rgba(0, 0, 0, .22);
}

.hero-search label,
.filter-panel label,
.lead-form label {
    display: grid;
    gap: 7px;
}

.hero-search label {
    padding: 14px 16px;
    background: rgba(255, 255, 255, .92);
}

.hero-search span,
.filter-panel span,
.lead-form span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    padding: 12px 12px;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.hero-search input,
.hero-search select {
    border: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(135, 109, 63, .62);
    box-shadow: 0 0 0 4px rgba(135, 109, 63, .12);
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: transparent;
    color: var(--ink);
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 750;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.button-dark:hover {
    background: #2a261f;
}

.button-subtle {
    border-color: rgba(135, 109, 63, .24);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 241, 232, .88));
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.button-subtle:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    color: var(--white);
}

.hero-search .button {
    min-height: 100%;
    border: 0;
    border-radius: 0;
    padding-inline: 24px;
}

.band {
    border-bottom: 1px solid var(--line);
}

.metrics {
    background: var(--paper);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border-left: 1px solid var(--line);
}

.metrics-grid div {
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.metrics-grid strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 400;
}

.metrics-grid span {
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: clamp(72px, 8vw, 118px) 0;
}

.section.soft {
    background: var(--paper-soft);
}

.section-head {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-head.narrow {
    max-width: 680px;
}

.section-head h2,
.split-head h2,
.image-band h2,
.about-grid h2,
.valuation-grid h2,
.faq-grid h2,
.contact-grid h2 {
    margin-bottom: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 400;
    line-height: 1;
}

.section-head p,
.image-band p,
.about-grid p,
.valuation-grid p,
.contact-grid p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.search-system {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.filter-panel {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(16px);
}

.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.filter-title strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
}

.filter-title span {
    color: var(--muted);
    font-size: 13px;
}

.filter-grid {
    display: grid;
    gap: 12px;
}

.filter-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.switches label {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.switches input {
    width: 16px;
    height: 16px;
    padding: 0;
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.results-area {
    min-width: 0;
}

.map-panel {
    height: 360px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper-soft);
}

.map-panel iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

.listing-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.listing-card:hover,
.listing-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(135, 109, 63, .58);
    box-shadow: var(--shadow);
    outline: none;
}

.listing-media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #e8e1d6;
}

.listing-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-orientation: from-image;
    transition: transform 500ms ease;
}

.listing-card:hover .listing-media img {
    transform: scale(1.035);
}

.listing-media span {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(17, 17, 15, .78);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.image-empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--muted);
}

.listing-body {
    padding: 18px;
}

.listing-body p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
}

.listing-body h3 {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.25;
}

.listing-specs {
    min-height: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.listing-specs span {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    font-size: 12px;
}

.listing-body strong {
    font-size: 18px;
}

.empty-state {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.empty-state p {
    color: var(--muted);
}

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

.split-head a {
    color: var(--accent-dark);
    font-weight: 800;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1.1fr .8fr .8fr;
    gap: 20px;
}

.editorial-property {
    min-height: 420px;
    position: relative;
    display: grid;
    align-content: end;
    text-align: left;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--night);
    color: var(--white);
    padding: 24px;
    cursor: pointer;
}

.editorial-property:first-child {
    min-height: 520px;
}

.editorial-property img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-orientation: from-image;
    opacity: .76;
    transition: transform 500ms ease, opacity 200ms ease;
}

.editorial-property:hover img {
    transform: scale(1.035);
    opacity: .9;
}

.editorial-property::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .66));
}

.editorial-property span,
.editorial-property strong,
.editorial-property small {
    position: relative;
    z-index: 1;
}

.editorial-property span {
    margin-bottom: 8px;
    color: #e5d4b0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.editorial-property strong {
    max-width: 430px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.06;
}

.editorial-property small {
    margin-top: 12px;
    font-size: 15px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-grid article {
    min-height: 240px;
    padding: 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .45);
}

.service-grid span {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--accent);
    font-weight: 800;
}

.service-grid h3 {
    margin-bottom: 12px;
    font-size: 23px;
    line-height: 1.15;
}

.service-grid p {
    color: var(--muted);
}

.image-band {
    background: var(--night);
    color: var(--white);
}

.image-band .eyebrow {
    color: #d8c7a6;
}

.image-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr);
    gap: 70px;
    align-items: center;
}

.image-band p {
    color: rgba(255, 255, 255, .72);
}

.image-band .button-dark {
    margin-top: 12px;
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.process-list {
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, .20);
}

.process-list span {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .20);
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.about-grid,
.valuation-grid,
.faq-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr);
    gap: 70px;
    align-items: start;
}

.valuation-grid {
    align-items: center;
}

.values-list {
    display: grid;
    gap: 12px;
}

.values-list article {
    display: grid;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.values-list strong {
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.values-list span {
    font-size: 20px;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.lead-form label:has(textarea),
.lead-form .wide-field,
.lead-form button,
.form-note {
    grid-column: 1 / -1;
}

.lead-form textarea {
    resize: vertical;
}

.form-note {
    margin: 0;
    color: var(--sage);
    font-size: 14px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

details p {
    margin: 12px 0 0;
    color: var(--muted);
}

.contact {
    background: var(--night);
    color: var(--white);
}

.contact .eyebrow {
    color: #d8c7a6;
}

.contact p {
    color: rgba(255, 255, 255, .72);
}

.contact .lead-form {
    background: #1c1c19;
    border-color: rgba(255, 255, 255, .14);
}

.contact input,
.contact select,
.contact textarea {
    background: #11110f;
    border-color: rgba(255, 255, 255, .16);
    color: var(--white);
}

.office-location {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(260px, 4fr) minmax(0, 6fr);
    gap: 22px;
    align-items: center;
    margin-top: 6px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
}

.office-copy {
    display: grid;
    gap: 8px;
    align-content: center;
    justify-items: start;
    text-align: left;
    padding-inline: 10px 18px;
}

.office-copy span {
    color: #d8c7a6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.office-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.08;
}

.office-copy a {
    width: fit-content;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: var(--white);
    font-weight: 800;
}

.office-location iframe {
    width: 100%;
    min-height: 340px;
    border: 0;
    border-radius: 6px;
    filter: saturate(.9) contrast(.98);
}

.site-footer {
    padding: 56px 0 34px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(270px, 1.35fr) repeat(3, minmax(150px, .65fr));
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.site-footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 0;
    color: var(--ink);
}

.site-footer .brand span:not(.brand-mark) {
    padding-left: 2px;
}

.footer-brand {
    display: grid;
    gap: 18px;
    max-width: 410px;
}

.footer-brand p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-links strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    color: var(--muted);
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.footer-links a {
    width: fit-content;
}

.site-footer a:hover {
    color: var(--ink);
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-actions a {
    min-height: 40px;
    display: inline-grid;
    place-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
}

.footer-actions a:first-child {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.footer-actions a:hover {
    transform: translateY(-1px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.footer-bottom a,
.footer-bottom button {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.sticky-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: grid;
    gap: 8px;
}

.sticky-contact a {
    min-width: 112px;
    display: grid;
    place-items: center;
    min-height: 44px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    font-weight: 800;
}

.sticky-contact a:first-child {
    background: #1f7a4d;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
}

.modal.show {
    display: grid;
    place-items: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 14, 12, .72);
    backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative;
    width: min(1180px, calc(100vw - 28px));
    max-height: calc(100svh - 28px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    margin: 0;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .7fr);
    align-items: start;
    gap: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.detail-main {
    min-width: 0;
    padding: 18px 18px 34px;
}

.detail-side {
    min-width: 0;
    display: grid;
    gap: 30px;
    padding: 34px 28px 34px;
    border-left: 1px solid var(--line);
    background: var(--white);
}

.detail-gallery {
    min-width: 0;
    padding: 0;
}

.detail-hero {
    position: relative;
    height: min(66svh, 620px);
    min-height: 360px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--night);
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-orientation: from-image;
    background: var(--night);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    background: rgba(17, 17, 15, .72);
    color: var(--white);
    cursor: pointer;
}

.gallery-nav.prev {
    left: 14px;
}

.gallery-nav.next {
    right: 14px;
}

.fullscreen-button {
    position: absolute;
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    background: rgba(17, 17, 15, .72);
    color: var(--white);
    padding: 9px 12px;
    cursor: pointer;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumbs button {
    width: 82px;
    height: 62px;
    flex: 0 0 auto;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: var(--paper-soft);
}

.gallery-thumbs button.active {
    border-color: var(--accent);
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-orientation: from-image;
}

.detail-summary {
    min-width: 0;
    padding: 0;
    background: transparent;
}

.detail-summary .eyebrow {
    margin-bottom: 12px;
}

.detail-summary h2 {
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    max-width: 100%;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 400;
    line-height: 1.03;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.detail-price {
    display: block;
    margin: 18px 0;
    font-size: 26px;
}

.detail-actions {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-actions .button,
.detail-actions button {
    width: 100%;
}

.detail-actions .button-sahibinden {
    grid-column: 1 / -1;
}

.agent-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 18px;
}

.agent-avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
}

.agent-card strong,
.agent-card span {
    display: block;
}

.agent-card span {
    color: var(--muted);
    font-size: 14px;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.detail-table th,
.detail-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.detail-table th {
    width: 42%;
    color: var(--muted);
    font-weight: 700;
}

.detail-section {
    margin-top: 36px;
    padding-top: 0;
    border-top: 0;
    position: relative;
}

.detail-section::before {
    content: "";
    display: block;
    width: min(100%, 220px);
    height: 1px;
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--accent), rgba(135, 109, 63, .28), transparent);
}

.detail-gallery + .detail-section {
    margin-top: 30px;
}

.detail-main .detail-section:first-of-type::before,
.detail-side .detail-section:first-of-type::before {
    display: none;
}

.detail-section h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
}

.description {
    white-space: pre-wrap;
    color: var(--muted);
}

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-pills span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--muted);
    font-size: 13px;
}

.calculator {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.calculator-output {
    padding: 12px;
    border-radius: 8px;
    background: var(--paper-soft);
    font-weight: 800;
}

.modal-panel.fullscreen {
    width: 100vw;
    height: 100svh;
    max-height: none;
    border-radius: 0;
    background: var(--night);
}

.modal-panel.fullscreen .detail-summary,
.modal-panel.fullscreen .detail-side,
.modal-panel.fullscreen .detail-main > .detail-section,
.modal-panel.fullscreen .gallery-thumbs,
.modal-panel.fullscreen .modal-close {
    display: none;
}

.modal-panel.fullscreen .detail-grid,
.modal-panel.fullscreen .detail-main,
.modal-panel.fullscreen .detail-gallery {
    display: block;
    height: 100%;
    padding: 0;
}

.modal-panel.fullscreen .detail-hero {
    width: 100vw;
    height: 100svh;
    min-height: 0;
    border-radius: 0;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .site-nav {
        gap: 12px;
        font-size: 13px;
    }

    .search-system,
    .about-grid,
    .valuation-grid,
    .faq-grid,
    .contact-grid,
    .image-band-inner,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

    .detail-side {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    :root {
        --container: min(100vw - 28px, 1180px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.nav-open main,
    body.nav-open .site-footer,
    body.nav-open .sticky-contact {
        visibility: hidden;
    }

    .site-header {
        z-index: 300;
    }

    .nav-open .site-header {
        position: fixed;
        inset: 0;
        overflow: hidden;
        border-bottom: 0;
        background: var(--paper);
    }

    .header-inner {
        min-height: 68px;
    }

    .nav-open .brand {
        position: fixed;
        top: 13px;
        left: 14px;
        z-index: 125;
        max-width: calc(100vw - 88px);
    }

    .menu-button {
        display: grid;
        z-index: 125;
    }

    .nav-open .menu-button {
        position: fixed;
        top: 12px;
        right: 14px;
        background: var(--white);
        box-shadow: 0 14px 34px rgba(34, 29, 22, .12);
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 115;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: var(--paper);
        color: var(--ink);
        font-size: clamp(22px, 6.2vw, 30px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        visibility: hidden;
        overflow-y: auto;
        padding: 104px 28px 52px;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .site-nav a {
        white-space: normal;
        text-align: center;
        line-height: 1.1;
        padding: 8px 12px;
        border: 1px solid transparent;
        border-radius: 8px;
    }

    .mobile-home-link {
        display: inline-block;
    }

    .site-nav a::after {
        display: none;
    }

    .site-nav a.is-active {
        border-color: var(--line);
        background: var(--white);
        box-shadow: 0 10px 28px rgba(34, 29, 22, .08);
    }

    .nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding: 92px 0 94px;
    }

    .hero-search {
        grid-template-columns: 1fr;
    }

    .hero-search .button {
        min-height: 56px;
    }

    .metrics-grid,
    .listing-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        border-left: 0;
    }

    .metrics-grid div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .split-head {
        display: grid;
        align-items: start;
    }

    .editorial-property,
    .editorial-property:first-child {
        min-height: 380px;
    }

    .lead-form {
        grid-template-columns: 1fr;
    }

    .office-location {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .section {
        padding: 62px 0;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-content {
        padding-bottom: 136px;
    }

    .hero-copy,
    .section-head p,
    .image-band p,
    .about-grid p,
    .valuation-grid p,
    .contact-grid p {
        font-size: 16px;
    }

    .office-location {
        padding: 12px;
    }

    .office-location iframe {
        min-height: 300px;
    }

    .filter-grid.compact,
    .filter-actions,
    .switches,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .sticky-contact {
        left: 10px;
        right: 10px;
        bottom: 10px;
        grid-template-columns: 1fr 1fr;
    }

    .sticky-contact a {
        min-width: 0;
    }

    .site-footer {
        padding-bottom: 86px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .modal-panel {
        width: 100vw;
        max-height: 100svh;
        min-height: 100svh;
        border-radius: 0;
    }

    .detail-main {
        padding: 10px 10px 22px;
    }

    .detail-side {
        padding: 22px 16px 34px;
    }

    .detail-summary h2 {
        font-size: clamp(28px, 9vw, 38px);
    }

    .detail-hero {
        min-height: 280px;
        height: 48svh;
    }

    .detail-section {
        margin-top: 30px;
    }

    .detail-actions {
        grid-template-columns: 1fr;
    }
}
