:root {
    --canvas: #faf8f2;
    --paper: #fffefa;
    --ink: #182b27;
    --muted: #4d6259;
    --forest: #173e38;
    --deep: #102b26;
    --mint: #eff5ed;
    --line: #c8d1c7;
    --copper: #a34328;
    --radius: 18px;
    --display: Georgia, 'Times New Roman', serif;
    --body: "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.6 var(--body); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.09; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 7.3vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: 1.22rem; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #a34328; outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 8; background: white; color: var(--deep); padding: .6rem 1rem; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.wrap { max-width: 1312px; width: calc(100% - 96px); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .site-nav, .wordmark { display: flex; align-items: center; }
.header-inner { min-height: 76px; justify-content: space-between; gap: .7rem 2rem; }
.wordmark { gap: .7rem; font-size: 1.22rem; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.wordmark strong { font-weight: 800; }
.brand-mark { width: 37px; height: 37px; background: var(--forest); color: var(--canvas); border-radius: 9px; display: inline-flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 8px; }
.brand-mark span { width: 6px; background: currentColor; height: 68%; clip-path: polygon(0 28%,100% 0,100% 100%,0 100%); }
.brand-mark span:nth-child(2) { height: 100%; }
.brand-mark span:nth-child(3) { height: 83%; clip-path: polygon(0 0,100% 30%,100% 100%,0 100%); }
.site-nav { gap: clamp(.9rem, 3vw, 2.6rem); font-size: .9rem; }
.site-nav a:not(.button) { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav [aria-current="page"] { font-weight: 800; }
.site-nav a:not(.button):hover { text-decoration: underline; }
.button { min-height: 48px; padding: .64rem 1.16rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 8px; border: 1px solid transparent; font-weight: 700; line-height: 1.25; font-size: .94rem; text-decoration: none; cursor: pointer; transition: background .16s ease, color .16s ease; }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--deep); }
.button-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.button-outline:hover { background: var(--mint); }
.button-light { background: var(--paper); color: var(--forest); }
.button-light:hover { background: #e5eee2; }
.button-full { width: 100%; }
.hero { position: relative; overflow: hidden; min-height: 524px; display: grid; align-items: center; background: #263c39; color: white; isolation: isolate; }
.hero-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 26, .92), rgba(8, 28, 26, .68) 47%, rgba(8, 28, 26, .20)), linear-gradient(0deg, rgba(8, 28, 26, .45), transparent 42%); }
.hero-content { padding-block: 72px 95px; }
.hero h1 { max-width: 820px; font-size: clamp(3.35rem, 7.3vw, 6.5rem); }
.hero p { max-width: 510px; color: #fff; margin-top: 1.25rem; font-size: clamp(1rem, 2vw, 1.17rem); }
.hero-caption { position: absolute; right: clamp(18px, 4vw, 60px); bottom: 63px; font-size: .74rem; color: #fff; }
.directory-offset { position: relative; margin-top: -44px; }
.filter-box { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 33px rgba(32, 50, 44, .09); }
.filter-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: .75rem; align-items: end; }
.field { min-width: 0; display: flex; flex-direction: column; gap: .35rem; }
.field > span, .field > label { color: var(--muted); font-size: .81rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; background: #fff; color: var(--ink); border: 1px solid #819489; border-radius: 8px; padding: .62rem .75rem; }
.field textarea { min-height: 104px; resize: vertical; }
.field small, .small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.section { padding-block: clamp(45px, 7vw, 95px); }
.section-tight { padding-block: clamp(35px, 5vw, 70px); }
.section-head { margin-bottom: 25px; display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.section-head p, .page-intro p { margin-top: .65rem; max-width: 670px; color: var(--muted); }
.page-intro { padding-block: clamp(33px, 6vw, 76px) clamp(24px, 4vw, 42px); }
.page-intro h1, .detail h1 { font-size: clamp(2.4rem, 5.8vw, 5.2rem); }
.eyebrow { color: var(--copper); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; margin-bottom: .55rem; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.card { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 16/10; display: block; overflow: hidden; background: #e8ece5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-media:hover img { transform: scale(1.04); }
.card-label { position: absolute; top: 12px; left: 12px; display: inline-flex; padding: .32rem .56rem; border-radius: 5px; background: var(--paper); color: var(--deep); font-size: .75rem; font-weight: 700; }
.card-body { padding: 1rem 1.15rem 1.15rem; flex: 1; display: flex; flex-direction: column; gap: .65rem; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-loc { color: var(--muted); font-size: .84rem; }
.card-price { font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.card-facts { color: var(--muted); display: flex; flex-wrap: wrap; gap: .14rem .58rem; font-size: .82rem; }
.card-facts span:not(:last-child)::after { content: '·'; margin-left: .58rem; }
.rental-note { padding: .64rem .72rem; border-radius: 7px; color: var(--deep); background: var(--mint); font-size: .84rem; font-weight: 700; }
.card-action { margin-top: auto; align-self: flex-start; color: var(--forest); min-height: 40px; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; }
.band { background: var(--mint); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.step { border-top: 2px solid #8dafa1; padding-top: 1.15rem; }
.step p { color: var(--muted); margin-top: .55rem; max-width: 42ch; }
.cta { padding: clamp(24px, 6vw, 60px); border-radius: var(--radius); background: var(--forest); color: white; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.cta p { margin-top: .45rem; color: #f2f7ef; }
.cta .button { flex-shrink: 0; }
.site-footer { background: var(--deep); color: #f6f6ee; }
.footer-inner { padding-block: 35px; display: flex; justify-content: space-between; align-items: start; gap: 1.25rem; }
.footer-inner p { margin-top: .55rem; color: #d0ded3; font-size: .87rem; }
.footer-credit { padding-block: .9rem 1.15rem; border-top: 1px solid #ffffff38; }
.footer-credit p { margin: 0; color: #d0ded3; font-size: .88rem; }
.footer-credit a { display: inline-flex; align-items: center; min-height: 24px; color: #fff; }
.site-footer nav { display: flex; gap: .75rem 1.3rem; flex-wrap: wrap; }
.site-footer nav a { color: #fff; font-size: .88rem; display: inline-flex; align-items: center; min-height: 37px; }
.detail { padding-bottom: 65px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 23px; align-items: start; }
.detail-grid > * { min-width: 0; }
.detail-hero { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: #e8ece5; }
.detail-copy { display: grid; gap: 18px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 2.6vw, 28px); }
.panel h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); margin-bottom: .68rem; }
.panel p + p { margin-top: .6rem; }
.detail-side { display: grid; gap: 14px; }
.stacked-form { display: grid; gap: .8rem; }
.stacked-form .button { margin-top: .2rem; }
.form-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.meta-grid > div { border-top: 1px solid var(--line); padding-top: .55rem; min-width: 0; }
.meta-grid dt { color: var(--muted); font-size: .8rem; }
.meta-grid dd { font-weight: 700; overflow-wrap: anywhere; }
.detail-price { color: var(--forest); font: 2rem/1.1 var(--display); font-weight: 700; margin-bottom: .65rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.pill { padding: .25rem .58rem; background: var(--mint); color: var(--deep); border-radius: 5px; font-size: .81rem; font-weight: 700; }
.sample-pill { background: #f6e2d7; color: #6f2e1b; }
.notice { border-radius: 8px; padding: .65rem .85rem; border: 1px solid var(--line); background: var(--mint); color: var(--deep); overflow-wrap: anywhere; }
.notice.error { background: #ffedec; color: #791d14; border-color: #bd6e65; }
.notice ul { margin: .4rem 0 0; }
.flash-wrap { display: grid; gap: .5rem; margin-top: 12px; }
.breadcrumb { color: var(--muted); font-size: .85rem; margin-bottom: .7rem; }
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 1.15rem 0 .48rem; }
.prose p + p { margin-top: .65rem; }
.empty { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem; background: var(--paper); }
.result-meta { color: var(--muted); font-size: .86rem; margin: 1.1rem 0; }
.form-shell { max-width: 760px; }
.form-shell .panel { margin-bottom: 45px; }
@media (max-width: 1000px) {
    .wrap { width: calc(100% - 56px); }
    .filter-form { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .filter-form .button { grid-column: 1 / -1; }
}
@media (max-width: 735px) {
    .wrap { width: calc(100% - 34px); }
    .header-inner { flex-wrap: wrap; padding-block: 9px; }
    .site-nav { gap: .7rem; justify-content: space-between; }
    .site-nav .button { min-height: 44px; padding-inline: .64rem; }
    .hero { min-height: 435px; }
    .hero-content { padding-block: 51px 85px; }
    .hero h1 { font-size: clamp(3.05rem, 11vw, 4.7rem); }
    .hero::after { background: linear-gradient(90deg, rgba(8,28,26,.88), rgba(8,28,26,.53)), linear-gradient(0deg, rgba(8,28,26,.43), transparent 40%); }
    .hero-caption { bottom: 57px; }
    .filter-box { padding: 13px; }
    .filter-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .section-head, .cta, .footer-inner { align-items: start; flex-direction: column; }
    .detail-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 480px) {
    .site-nav { width: 100%; font-size: .84rem; }
    .cards, .steps { grid-template-columns: minmax(0,1fr); }
    .section-head a.button { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.filter-wide .filter-form { grid-template-columns: repeat(6,minmax(0,1fr)); }
.filter-wide .filter-form .button { grid-column: 1 / -1; }
.community-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); gap: 0 1.15rem; }
.community-links a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: .3rem .1rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.community-links a:hover { text-decoration: underline; }
.missing-photo { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .87rem; }
.empty h2 { font-size: 1.65rem; margin-bottom: .55rem; }
.intro-copy, .guide-end { margin-top: 1.4rem; }
.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }
@media (max-width: 1000px) { .filter-wide .filter-form { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 735px) { .filter-wide .filter-form, .community-links { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.property-figure { margin: 0; }
.property-figure figcaption { color: var(--muted); font-size: .8rem; padding-top: .4rem; }
.photo-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.photo-gallery img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; border-radius: 8px; }
.property-video { border-radius: 8px; width: 100%; }
.listing-description { white-space: pre-line; }
.property-meta { margin-top: 1rem; }
.income-panel { background: var(--mint); }
.permit-qr { margin-top: .7rem; }
.offer-overview, .offer-form, .offer-note { margin-top: .85rem; }
.countdown { margin-top: .85rem; font-size: .9rem; color: var(--forest); font-weight: 800; font-variant-numeric: tabular-nums; }
.button:disabled { opacity: .65; cursor: default; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.auth-links { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; margin-top: .85rem; }
.offer-jump { display: none; }
#offer { scroll-margin-top: 1rem; }
@media (max-width: 735px) {
    .offer-jump { display: inline-flex; margin-top: .75rem; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.buyer-match { margin: 1.5rem auto 3rem; scroll-margin-top: 1rem; }
.buyer-match > p { margin: .6rem 0 1rem; }
