/* Wiechart Real Estate — site styles
   Palette: Blue Ridge slate ink, Shenandoah forest green accent, brass for "new".
   Type: Cormorant Garamond (display), Figtree (body), IBM Plex Mono (figures).
   Look: photo-led, editorial serif headlines, generous white space. */

:root {
  --bg: #F3F5F2; --surface: #FFFFFF; --ink: #15222A; --muted: #56646B; --line: #D9DFDA;
  --accent: #2D5A4B; --accent-hover: #23493D; --on-accent: #FFFFFF; --brass: #8E6526;
  --tint: #E6ECE7; --ridge1: #CBD6D0; --ridge2: #A9BCB3; --ridge3: #7F9A8E;
  --notice: #15222A; --on-notice: #E8EDE9; --review: #8E6526; --ok: #2D6A4F; --err: #A33A2B;
  --shadow: 0 1px 2px rgba(21,34,42,.06), 0 8px 24px rgba(21,34,42,.07);
  --display: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F171B; --surface: #16222A; --ink: #E7ECE8; --muted: #9BA9AD; --line: #27363E;
    --accent: #78B19A; --accent-hover: #8FC2AD; --on-accent: #0D1A16; --brass: #D5A85F;
    --tint: #18262D; --ridge1: #1C2D33; --ridge2: #22383C; --ridge3: #2C4A47;
    --notice: #2D5A4B; --on-notice: #F0F4F1; --review: #6B4C1D; --ok: #7CC4A0; --err: #F08A7A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { transition: none !important } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased }
img { max-width: 100%; height: auto }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -.01em }
p { margin: 0 }
a { color: var(--accent) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px }
[hidden] { display: none !important }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 6px }
.skip:focus { left: 8px }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.narrow { max-width: 720px }
.muted { color: var(--muted) }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; margin-top: 16px }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--body); padding: 14px 20px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s; white-space: nowrap }
.btn-primary { background: var(--accent); color: var(--on-accent) }
.btn-primary:hover { background: var(--accent-hover) }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line) }
.btn-ghost:hover { border-color: var(--ink) }
.btn-light { background: var(--on-notice); color: var(--notice) }
.btn-outline-light { color: var(--on-notice); border-color: rgba(255,255,255,.35) }
.btn-outline-light:hover { border-color: var(--on-notice) }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.linkbtn { color: var(--accent); font: 600 .88rem var(--body); text-decoration: none; padding: 6px }

/* Notices */
.notice { background: var(--notice); color: var(--on-notice); font-size: .82rem }
.notice.review { background: var(--review); color: #fff }
.notice .wrap { padding-block: 8px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap }
.notice b { font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
header.site .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; position: relative }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink) }
.brand-mark { width: 38px; height: 38px; flex: none }
.brand-name { font-family: var(--display); font-size: 1.25rem; font-weight: 600; line-height: 1; display: block }
.brand-sub { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 500 }
nav.main { display: flex; gap: 2px; margin-left: auto }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; padding: 8px 11px; border-radius: 6px }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--tint) }
.header-cta { display: flex; gap: 8px }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; color: var(--ink); cursor: pointer }
@media (max-width: 1080px) { .header-cta .btn-ghost { display: none } .header-cta .btn-ghost.show-sm { display: inline-flex } }
@media (max-width: 900px) {
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)) }
  nav.main.open { display: flex }
  nav.main a { padding: 12px }
  .menu-btn { display: block }
}
@media (max-width: 480px) { .header-cta .btn-primary { display: none } .brand-sub { display: none } }

/* Hero */
.hero { position: relative; background: var(--surface); overflow: hidden }
.hero > .wrap { position: relative; z-index: 2; padding-block: 72px 40px }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); max-width: 15ch }
.hero h1 em, .lp h1 em { font-style: italic; font-weight: 400; color: var(--accent) }
.ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; z-index: 1; display: block }
.ridges .r1 { fill: var(--ridge1) } .ridges .r2 { fill: var(--ridge2) } .ridges .r3 { fill: var(--ridge3) }
.hero-foot { margin-top: 120px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .88rem }
.hero-foot span { display: flex; align-items: center; gap: 8px }

/* Search */
.search { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px; display: grid; grid-template-columns: 1.4fr 1.1fr 1fr .8fr auto; gap: 6px; max-width: 1040px }
.search-inline { margin-top: 0; max-width: none; grid-template-columns: 1.3fr 1.1fr 1fr .7fr .8fr auto; margin-bottom: 24px }
.field { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 8px; min-width: 0 }
.field:hover { background: var(--tint) }
.field label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.field select { border: 0; background: transparent; font: 500 1rem var(--body); color: var(--ink); padding: 2px 0; width: 100%; min-width: 0 }
.field select:focus { outline: none }
.field:focus-within { outline: 2px solid var(--accent) }
.search .btn { padding: 16px 26px; align-self: stretch }
@media (max-width: 900px) { .search, .search-inline { grid-template-columns: 1fr 1fr } .search .btn { grid-column: 1 / -1 } }
@media (max-width: 420px) { .search, .search-inline { grid-template-columns: 1fr } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px }
.chip { font: 500 .88rem var(--body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none }
.chip:hover { border-color: var(--accent); color: var(--accent) }

/* Sections */
.band { padding-block: 80px }
.band.tight { padding-block: 48px 72px }
.band.alt { background: var(--surface); border-block: 1px solid var(--line) }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 8px }
.sec-head p { color: var(--muted); max-width: 52ch; margin-top: 10px }

/* Page header + breadcrumbs */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line) }
.page-head .wrap { padding-block: 32px 44px }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 8px; max-width: 22ch }
.crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; color: var(--muted) }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6 }
.crumbs a { color: var(--muted); text-decoration: none }
.crumbs a:hover { color: var(--accent); text-decoration: underline }

/* Toolbar + grid */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px }
.count { font-weight: 600 } .count small { font-weight: 400; color: var(--muted) }
.tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center }
.tools label { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: center }
.tools select { font: 500 .9rem var(--body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px }
.active-coll { font-size: .85rem; padding: 6px 10px; border-radius: 999px; background: var(--tint); color: var(--accent); font-weight: 600 }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px }
.card .ph { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r); overflow: hidden; background: var(--tint) }
.card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease }
.card:hover .ph img { transform: scale(1.03) }
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px }
.pill { font: 600 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 5px; background: rgba(255,255,255,.92); color: #15222A }
.pill.new { background: #8E6526; color: #fff }
.pill.sample { font-family: var(--mono); font-weight: 500 }
.card .price { font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1 }
.card h2, .card h3 { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0 }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r) }
.card h2 a:focus-visible::after, .card h3 a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px }
.card .loc { color: var(--muted); font-size: .9rem; margin-top: 2px }
.facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: .8rem; font-variant-numeric: tabular-nums; padding-top: 10px; border-top: 1px solid var(--line) }
.facts b { font-weight: 500 }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted) }
.empty strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.3rem; margin-bottom: 6px }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
@media (max-width: 900px) { .collections { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 420px) { .collections { grid-template-columns: 1fr } }
.coll { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 190px; padding: 22px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s }
.coll:hover { border-color: var(--accent); transform: translateY(-2px) }
.coll .n { font-family: var(--mono); font-size: .78rem; color: var(--muted) }
.coll-h { display: block; font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.15 }
.coll-p { display: block; color: var(--muted); font-size: .9rem; margin-top: 6px }
.coll .go { font-weight: 600; color: var(--accent); font-size: .9rem }

/* Communities */
.comms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line) }
@media (max-width: 760px) { .comms { grid-template-columns: 1fr } }
.comm { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-content: start }
.comms .comm:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line) }
@media (max-width: 760px) { .comms .comm:nth-child(even) { padding-left: 0; border-left: 0 } .comm { padding-right: 0 } }
.comm .pin { grid-row: 1 / 5; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--accent) }
.comm .county { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.comm h3 { font-size: 1.5rem }
.comm p { color: var(--muted); max-width: 52ch }
.comm .more { font-weight: 600; font-size: .9rem; text-decoration: none; margin-top: 6px }
.also { margin-top: 24px; color: var(--muted) }
.county-block { display: grid; gap: 20px; margin-bottom: 56px }
.county-block h2 { font-size: clamp(1.6rem, 3vw, 2.1rem) }
.county-block h2 a { color: var(--ink); text-decoration: none }
.county-block h2 a:hover { color: var(--accent) }

/* Buy / sell panels */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px }
@media (max-width: 820px) { .split { grid-template-columns: 1fr } }
.panel { padding: 36px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 18px }
@media (max-width: 480px) { .panel { padding: 24px } }
.panel.dark { background: var(--notice); color: var(--on-notice); border-color: transparent }
.panel.dark .eyebrow, .panel.dark .ticks span { color: color-mix(in srgb, var(--on-notice) 72%, transparent) }
.panel-h { font-size: clamp(1.6rem, 2.8vw, 2.1rem) }
.panel .btn { align-self: flex-start; margin-top: auto }
.panel.dark .btn-primary { background: var(--on-notice); color: var(--notice) }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px }
.ticks b { display: block; font-weight: 600 }
.ticks span:not(.tick) { color: var(--muted); font-size: .93rem }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); margin-top: 2px }
.panel.dark .tick { background: rgba(255,255,255,.12); color: var(--on-notice) }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 32px } }
.portrait { aspect-ratio: 800 / 912; max-width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--tint) }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block }
.about-h { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 8px 0 18px }
.about p:not(.eyebrow) { color: var(--muted); max-width: 60ch }
.about p + p { margin-top: 14px }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; border-block: 1px solid var(--line) }
.stats div { padding: 18px 16px 18px 0; min-width: 0 }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--line) }
.stats dt { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.stats dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap }
.stats.stack, .side-card .stats { grid-template-columns: 1fr }
.stats.stack div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line) }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr } .stats div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line) } }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px }
.cred { font-size: .85rem; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface) }
.licenses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0 }
@media (max-width: 620px) { .licenses { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.licenses div { min-width: 0 }
.licenses dt { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.licenses dd { margin: 2px 0 0; font-family: var(--mono); font-size: .82rem; overflow-wrap: anywhere }

/* Contact + forms */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; gap: 32px } }
.contact .intro > p:not(.eyebrow) { color: var(--muted) }
.cinfo { margin: 28px 0 0; display: grid; gap: 16px }
.cinfo div { display: grid; gap: 2px }
.cinfo dt { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.cinfo dd { margin: 0; font-weight: 500; overflow-wrap: anywhere }
form.lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 32px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow) }
form.lead.compact { grid-template-columns: 1fr; padding: 24px; gap: 12px }
@media (max-width: 560px) { form.lead { grid-template-columns: 1fr; padding: 22px } }
form.lead .full { grid-column: 1 / -1 }
.form-title { font-size: 1.35rem; grid-column: 1 / -1 }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0 }
.f label, .f legend { font-size: .85rem; font-weight: 600; padding: 0 }
.f legend { margin-bottom: 6px }
.f input, .f select, .f textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100% }
.f textarea { min-height: 110px; resize: vertical }
.compact .f textarea { min-height: 80px }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent }
.f [aria-invalid="true"] { border-color: var(--err) }
.err { color: var(--err); font-size: .82rem }
.err:empty { display: none }
.seg { display: flex; flex-wrap: wrap; gap: 8px }
.seg label { font-weight: 500; font-size: .92rem; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--bg) }
.seg input { accent-color: var(--accent); width: auto; margin: 0 }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--tint) }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between }
.compact .form-foot { flex-direction: column-reverse; align-items: stretch }
.fine { font-size: .8rem; color: var(--muted); max-width: 46ch }
.form-status { padding: 14px 16px; border-radius: 8px; background: var(--tint); border-left: 3px solid var(--ok); font-size: .92rem }
.form-status.is-error { border-left-color: var(--err) }

/* Prose pages */
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; gap: 32px } }
.prose { max-width: 68ch; font-size: 1.05rem }
.prose h2 { font-size: 1.7rem; margin: 40px 0 12px }
.prose h2:first-child { margin-top: 0 }
.prose h3 { font-size: 1.25rem; margin: 28px 0 8px }
.prose p, .prose ul, .prose ol { margin: 0 0 16px }
.prose li { margin-bottom: 8px }
.prose .ticks { margin-bottom: 16px }
.steps { padding-left: 1.4em }
.steps li::marker { font-family: var(--mono); color: var(--accent) }
.side-card { position: sticky; top: 96px; padding: 24px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px }
.side-h { font-size: 1.25rem }
.side-card p { color: var(--muted); font-size: .95rem }
.side-card .btn { justify-self: start }
.link-list { list-style: none; margin: 0; padding: 0; display: grid }
.link-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500 }
.article-list { display: grid; gap: 32px; max-width: 760px }
.article-item h2 { font-size: 1.6rem; margin: 4px 0 8px }
.article-item h2 a { color: var(--ink); text-decoration: none }

/* CTA band */
.cta-band { background: var(--notice); color: var(--on-notice) }
.cta-band .wrap { padding-block: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem) }
.cta-band p { opacity: .8; margin-top: 8px }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px }

/* Listing detail */
.listing .wrap { padding-block: 28px 64px }
.l-media { position: relative; aspect-ratio: 16 / 8; max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--tint) }
@media (max-width: 620px) { .l-media { aspect-ratio: 4 / 3 } }
.l-media img { width: 100%; height: 100%; object-fit: cover; display: block }
.l-sample { position: absolute; left: 14px; top: 14px }
.l-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; margin-top: 32px; align-items: start }
@media (max-width: 860px) { .l-body { grid-template-columns: 1fr } }
.l-price { font-family: var(--display); font-size: 2.4rem; font-weight: 600; line-height: 1 }
.l-title { font-size: 1.6rem; margin-top: 12px }
.l-loc { color: var(--muted); margin-top: 4px }
.l-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 22px 0 }
@media (max-width: 420px) { .l-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.l-facts div { background: var(--surface); padding: 14px; min-width: 0 }
.l-facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600 }
.l-facts dd { margin: 4px 0 0; font-family: var(--mono); font-size: 1.05rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere }
.l-body p:not(.l-price) { color: var(--muted) }
.l-feat { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px }
.l-feat li { font-size: .85rem; padding: 6px 10px; border-radius: 6px; background: var(--tint) }
.l-attr { margin-top: 22px; font-size: .78rem; border-top: 1px solid var(--line); padding-top: 14px }
.l-body aside { position: sticky; top: 96px }

/* Ad landing page */
.lp-hero > .wrap { padding-block: 56px 200px }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start }
@media (max-width: 860px) { .lp-grid { grid-template-columns: 1fr } .lp-hero > .wrap { padding-bottom: 140px } }
.lp-ticks { margin-top: 28px }
.lp-agent { display: flex; gap: 14px; align-items: center; margin-top: 32px }
.lp-agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20% }
.lp-agent b { display: block }
.lp-agent span { color: var(--muted); font-size: .9rem }

/* Footer */
footer.site { background: var(--notice); color: var(--on-notice); padding-block: 56px 32px }
footer.site.mini { padding-block: 24px }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr } }
.foot-h { font-family: var(--body); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; opacity: .75; font-weight: 600 }
footer a { color: var(--on-notice); text-decoration: none; opacity: .9 }
footer a:hover { opacity: 1; text-decoration: underline }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem }
.foot-blurb { margin-top: 16px; max-width: 40ch; opacity: .8; font-size: .92rem }
.foot-contact { margin-top: 16px; font-size: .92rem; overflow-wrap: anywhere }
footer .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; opacity: .8; display: grid; gap: 8px }
footer.mini .legal { margin: 0; padding-top: 0; border: 0 }
footer .brand { color: var(--on-notice) }
footer .brand-sub { color: var(--on-notice); opacity: .7 }


/* ================= Editorial refresh ================= */
h1, h2, h3 { font-weight: 500; letter-spacing: -.005em }
h1 em, h2 em, .display-h em { font-style: italic; color: var(--accent) }
.display-h { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.04 }
.sec-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem) }
.page-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); line-height: 1.02 }
.about-h { font-size: clamp(2.2rem, 4.4vw, 3.2rem) }

/* Header: wordmark + uppercase nav */
header.site { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: transparent }
header.site .wrap { min-height: 78px }
.brand-name { font-size: 1.85rem; font-weight: 600; letter-spacing: .01em }
.brand-sub { font-size: .66rem; letter-spacing: .32em; margin-top: 2px }
nav.main a { text-transform: uppercase; font-size: .76rem; letter-spacing: .14em; font-weight: 500; padding: 8px 12px }
nav.main a:hover, nav.main a[aria-current="page"] { background: transparent; color: var(--accent) }
nav.main a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent) }
footer .brand-name { font-size: 2rem }

/* Buttons */
.btn { border-radius: 4px; letter-spacing: .02em }
.btn-lg { padding: 18px 30px; font-size: 1rem }
.btn-dark-sm { background: var(--ink); color: var(--bg); padding: 11px 16px; font-size: .85rem; border-radius: 6px }
.btn-dark-sm:hover { background: var(--accent) }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 30%, transparent) }

/* Photo hero */
.hero-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(820px, calc(100vh - 110px)); background: var(--bg) }
.hero-photo { position: relative; overflow: hidden; background: var(--tint) }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30% }
.hero-copy { align-self: center; padding-block: 64px; padding-left: clamp(24px, 6vw, 96px); padding-right: max(16px, env(safe-area-inset-right, 0px)); max-width: 760px }
.hero-copy h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: .98; margin-top: 18px }
.hero-copy .lede { font-size: 1.15rem; margin-top: 26px; max-width: 52ch }
.hero-copy .dot-tags { display: none }
.dot-tags { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.dot-tags li { display: flex; align-items: center; gap: 9px }
.dot-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass) }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0 }
  .hero-photo { width: 100%; height: min(72vh, 110vw) }
  .hero-copy { padding: 36px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)) }
}

/* Search band */
.search-band { background: linear-gradient(180deg, var(--tint), var(--bg)); border-top: 1px solid var(--line) }
.search-band .wrap { padding-block: 64px 56px }
.search-band .search { margin-top: 26px; max-width: none; border-radius: 12px }

/* Listing cards */
.card { padding: 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; gap: 12px; transition: box-shadow .2s, transform .2s }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px) }
.card > div:not(.ph), .card .facts { padding-inline: 6px }
.card .ph { border-radius: 10px }
.card:hover .ph img { transform: scale(1.04) }
.price-chip { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.95); color: #15222A; font: 600 1rem/1 var(--body); font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px rgba(0,0,0,.12) }
.pill { border-radius: 999px; padding: 7px 11px; font-size: .68rem }
.card .loc { display: flex; align-items: center; gap: 5px }
.card .loc svg { width: 13px; height: 13px; flex: none }
.card h2, .card h3 { font-size: 1.05rem }
.facts { border-top: 0; padding-top: 0; color: var(--muted) }

/* Seller section with arch photo */
.seller-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center }
@media (max-width: 860px) { .seller-grid { grid-template-columns: 1fr } }
.arch { position: relative; aspect-ratio: 5 / 6; max-width: 100%; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--tint) }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block }
.arch-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 280px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.95); color: #15222A; font-size: .8rem; line-height: 1.35 }
.arch-tag b { display: block; font-size: .88rem }
.seller .lede { max-width: 54ch }
.seller .stats { margin-top: 30px }

/* Collections & communities: lighter */
.coll { border-radius: 16px; background: var(--surface) }
.coll-h { font-size: 1.7rem; font-weight: 500 }
.comm h3 { font-size: 1.9rem }
.page-head { background: var(--bg); border-bottom: 0 }
.page-head .wrap { padding-block: 40px 28px }

/* Full-bleed photo hero */
.photo-hero { position: relative; isolation: isolate; color: #fff; background: #1d2a24; overflow: hidden }
.photo-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; z-index: -2 }
.photo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,22,18,.78) 0%, rgba(12,22,18,.55) 42%, rgba(12,22,18,.12) 78%), linear-gradient(0deg, rgba(12,22,18,.55) 0%, rgba(12,22,18,0) 45%) }
.photo-hero-inner { padding-block: clamp(96px, 16vh, 180px) 56px }
.photo-hero .eyebrow { color: rgba(255,255,255,.82) }
.photo-hero h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: .98; max-width: 13ch; margin-top: 16px; color: #fff }
.photo-hero h1 em { color: #EBD3A0 }
.photo-hero .lede { color: rgba(255,255,255,.88); max-width: 50ch; margin-top: 22px }
.photo-hero .search { margin-top: 36px; color: var(--ink) }
.photo-hero .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(6px) }
.photo-hero .chip:hover { background: rgba(255,255,255,.26); color: #fff; border-color: #fff }
@media (max-width: 620px) { .photo-hero::before { background: linear-gradient(0deg, rgba(12,22,18,.88) 0%, rgba(12,22,18,.6) 55%, rgba(12,22,18,.3) 100%) } .photo-hero-inner { padding-top: 140px } }

/* Meet Dan section (reuses the split layout) */
.hero-split.meet { min-height: 0; background: var(--surface); border-bottom: 1px solid var(--line) }
.hero-split.meet .hero-photo { min-height: 640px }
@media (max-width: 860px) { .hero-split.meet .hero-photo { min-height: 0 } }
.meet-h { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; margin-top: 16px }
@media (max-width: 420px) { .photo-hero .search { grid-template-columns: 1fr 1fr } .photo-hero .search .btn { grid-column: 1 / -1 } }

/* ================= Logo ================= */
.brand { gap: 12px; align-items: center }
.brand .brand-mark { width: 30px; height: 39px; color: var(--accent); flex: none }
.brand-text { display: flex; flex-direction: column; align-items: stretch }
.brand .brand-name { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1; margin-right: -.2em }
.brand .brand-sub { display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: .58rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin-right: -.38em }
.brand .brand-sub::before, .brand .brand-sub::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5 }
footer .brand .brand-mark, footer .brand .brand-sub { color: var(--on-notice) }
footer .brand .brand-name { font-size: 1.7rem }
@media (max-width: 480px) { .brand .brand-sub { display: flex } .brand .brand-name { font-size: 1.3rem } .brand .brand-mark { width: 26px; height: 34px } }

/* ================= Listings-first pieces ================= */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px }
.tabs button { font: 600 .82rem var(--body); letter-spacing: .04em; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer }
.tabs button:hover { border-color: var(--accent); color: var(--accent) }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg) }
.tab-more { margin-top: 28px; text-align: center }

.ask-tile { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 28px; border-radius: 16px; background: var(--notice); color: var(--on-notice); min-height: 100% }
.ask-tile .eyebrow { color: color-mix(in srgb, var(--on-notice) 70%, transparent) }
.ask-tile h3 { font-size: 2rem; line-height: 1.05 }
.ask-tile h3 em { color: #EBD3A0 }
.ask-tile p:not(.eyebrow) { opacity: .85; font-size: .95rem }
.ask-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px }
.ask-tile .btn-primary { background: var(--on-notice); color: var(--notice) }
.ask-tile .btn-ghost { color: var(--on-notice); border-color: rgba(255,255,255,.35) }

.area-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
@media (max-width: 1000px) { .area-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 480px) { .area-cards { grid-template-columns: 1fr } }
.area-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 220px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .15s, transform .15s }
.area-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; border-radius: 999px 999px 0 0; border: 1px solid var(--line) }
.area-card:hover { border-color: var(--accent); transform: translateY(-2px) }
.area-state { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.area-name { font-family: var(--display); font-size: 2.1rem; font-weight: 500; line-height: 1.02; margin-top: 4px }
.area-tag { color: var(--muted); font-size: .9rem }
.area-count { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--accent); font-size: .92rem }

.buyer-band { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #1d2a24 }
.buyer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2 }
.buyer-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,22,18,.85), rgba(12,22,18,.55) 60%, rgba(12,22,18,.35)) }
.buyer-band .wrap { padding-block: 88px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px }
.buyer-band .eyebrow { color: rgba(255,255,255,.8) }
.buyer-band h2 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 22ch; margin-top: 10px; line-height: 1.05 }
.buyer-band h2 em { color: #EBD3A0 }
.buyer-band .btn-light { background: #fff; color: #15222A }
.buyer-band .btn-outline-light { color: #fff }

.l-cta { margin-top: 18px }
.call-bar { display: none }
@media (max-width: 760px) {
  .call-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--surface) 96%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(8px) }
  body:has(.call-bar) footer.site { padding-bottom: 96px }
}

/* ================= Brand palette from the logo =================
   Logo green #163022, logo gold #AD8D4F, logo cream #FCF9F5. */
:root {
  --bg: #FAF7F1; --surface: #FFFFFF; --ink: #17261E; --muted: #5E665F; --line: #E4DDD0;
  --accent: #1E3D2C; --accent-hover: #163022; --on-accent: #FFFFFF; --brass: #AD8D4F; --gold-text: #8C6E35;
  --tint: #F2EDE2; --notice: #163022; --on-notice: #F4EFE4; --review: #8C6E35; --ok: #2F6B4A;
  --shadow: 0 1px 2px rgba(22,48,34,.06), 0 10px 28px rgba(22,48,34,.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1813; --surface: #15211A; --ink: #EEE9DE; --muted: #A6ADA4; --line: #26342B;
    --accent: #C9AB6F; --accent-hover: #D8BC83; --on-accent: #15211A; --brass: #C9AB6F; --gold-text: #D3B57A;
    --tint: #1A281F; --notice: #163022; --on-notice: #F4EFE4; --review: #6E5524; --ok: #8CC7A4;
  }
  header.site .logo { content: url("/assets/img/logo-light.png") }
}
h1 em, h2 em, .display-h em, .meet-h em { color: var(--gold-text) }
.pill.new { background: var(--brass) }
.dot-tags li::before { background: var(--brass) }
.btn-dark-sm { background: var(--accent-hover); color: #F4EFE4 }
.btn-dark-sm:hover { background: var(--brass) }
.tabs button[aria-selected="true"] { background: var(--accent-hover); border-color: var(--accent-hover); color: #F4EFE4 }
.area-count, .coll .go, .comm .more { color: var(--accent) }
.stats dd { color: var(--accent) }
.ask-tile h3 em, .buyer-band h2 em, .photo-hero h1 em { color: #D9BE86 }
.notice b { color: #D9BE86 }

/* Logo image */
.brand { gap: 0 }
.brand .logo { display: block; height: 54px; width: auto }
footer .brand .logo { height: 64px }
@media (max-width: 480px) { .brand .logo { height: 42px } }
header.site .wrap { min-height: 92px }
.brand .logo { height: 68px }
footer .brand .logo { height: 76px }
@media (max-width: 900px) { header.site .wrap { min-height: 76px } .brand .logo { height: 54px } }
@media (max-width: 480px) { .brand .logo { height: 46px } }

/* Search inside the photo hero */
.hero-copy .hero-search { margin-top: 30px; grid-template-columns: 1fr 1fr; max-width: 640px }
.hero-copy .hero-search .btn { grid-column: 1 / -1 }
.hero-copy .chips { margin-top: 14px }
.hero-talk { margin-top: 18px; color: var(--muted); font-size: .95rem }
.hero-talk a { color: var(--accent); font-weight: 600 }
.hero-split { min-height: 0 }
.hero-copy { padding-block: 48px }
@media (min-width: 1200px) { .hero-copy .hero-search { grid-template-columns: 1.3fr 1fr 1fr .8fr; } .hero-copy .hero-search .btn { grid-column: 1 / -1 } }
