:root {
  --bg: #f7f6ee; --surface: #fffef9; --forest: #0c4738; --sage: #456b58;
  --ink: #152520; --muted: #526158; --line: #dce2da; --error: #a03531;
  --space: 24px; --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.65 Manrope, sans-serif; }
::selection { background: var(--forest); color: var(--surface); }
a { color: var(--forest); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.preview-note { padding: 10px 20px; font-size: 13px; text-align: center; background: var(--forest); color: var(--surface); }
.preview-note a { color: inherit; padding-block: 10px; }
.site-header { min-height: 88px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { font-size: 28px; font-weight: 600; text-decoration: none; }
.tagline { font-size: 12px; color: var(--muted); }
nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 20px; }
nav a { padding-block: 12px; }
h1,h2 { font-family: 'Noto Serif', serif; font-weight: 400; text-wrap: balance; }
.hero-preview { position: relative; min-height: 620px; overflow: hidden; display: grid; align-items: center; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 68%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 25%, #f7f6eef2 42%, #f7f6ee12 78%); }
.hero-copy { z-index: 1; padding-block: 72px; }
.eyebrow { letter-spacing: .16em; font-size: 12px; font-weight: 600; color: var(--forest); }
h1 { font-size: clamp(48px, 5.4vw, 78px); line-height: 1.12; letter-spacing: -.03em; margin: 16px 0 24px; max-width: 880px; }
h1 .heading-accent { color: var(--sage); }
.heading-first { display: block; }
.description { color: var(--muted); max-width: 78ch; margin-bottom: 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
button,.button { min-height: 48px; padding: 12px 22px; border: 1px solid var(--forest); border-radius: var(--radius); background: var(--forest); color: var(--surface); font: 600 14px/1.5 Manrope,sans-serif; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; white-space: nowrap; }
.secondary { background: var(--surface); color: var(--forest); }
.button:hover { background: #092e28; color: var(--surface); }
button:disabled { cursor: not-allowed; background: #dce2da; color: #47574c; border-color: #9aa99e; }
.caption { color: var(--muted); font-size: 13px; max-width: 68ch; }
.image-note { padding-block: 12px; }
.preview-footer { padding-block: 32px; font-size: 13px; color: var(--muted); }
.skip { position: fixed; top: -100px; left: 12px; z-index: 10; padding: 12px; background: var(--surface); }
.skip:focus { top: 12px; }
.specimen { padding-block: 40px; }
.specimen h1 { font-size: clamp(34px, 5vw, 56px); }
.specimen h2 { margin-top: 48px; }
.specimen > p { max-width: 72ch; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
label { display: grid; gap: 8px; min-width: 0; }
input,select { width: 100%; min-width: 0; min-height: 48px; padding: 12px; font: inherit; border: 1px solid #829489; border-radius: var(--radius); color: var(--ink); background: var(--surface); caret-color: var(--forest); }
input::placeholder { color: #59675f; }
[aria-invalid=true] { border-color: var(--error); }
.error { color: var(--error); font-size: 14px; }
.empty { padding-block: 36px; }
@media(max-width: 1199px) { .container { width: calc(100% - 48px); } .hero-preview { min-height: 580px; } h1 { max-width: 720px; } }
@media(max-width: 767px) {
 .container { width: calc(100% - 36px); }
 .site-header { gap: 8px 16px; padding-block: 16px; }
 .brand { font-size: 25px; } nav { margin-left: 0; width: 100%; gap: 16px; }
 .hero-preview { min-height: 640px; align-items: start; }
 .hero-image { width: 100%; object-position: 60% 50%; }
 .hero-wash { background: linear-gradient(120deg,#f7f6eefc 12%,#f7f6eee8 48%,#f7f6ee20 95%); }
 .hero-copy { padding-block: 36px 56px; }
 h1 { font-size: clamp(40px,10.6vw,54px); max-width: 360px; }
 .heading-middle,.heading-accent { display: block; }
 .description { max-width: 36ch; }
 .hero-copy .actions { flex-direction: column; align-items: start; }
 .caption { max-width: 36ch; }
 .fields { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.listing-preview { padding-block: 24px 56px; }
.listing-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 48px; }
.listing-layout > * { min-width: 0; }
.listing-preview h1 { font-size: clamp(32px,3.2vw,48px); overflow-wrap: anywhere; }
.listing-gallery figure { margin: 0 0 24px; }
.listing-gallery img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.listing-gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.listing-category { color: var(--forest); font-weight: 600; }
.listing-price { color: var(--forest); font-weight: 600; font-size: 24px; }
.listing-facts { display: flex; flex-wrap: wrap; gap: 24px; padding-block: 20px; border-block: 1px solid var(--line); }
.listing-facts dt { font-size: 13px; color: var(--muted); }
.listing-facts dd { margin: 0; }
.listing-description { white-space: pre-line; overflow-wrap: anywhere; }
.listing-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-block: 32px; }
.listing-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.listing-card img { display: block; width: 100%; height: 230px; object-fit: cover; }
.listing-card-copy { padding: 20px; }
.listing-card h2 { font-size: 23px; line-height: 1.4; overflow-wrap: anywhere; }
.listing-card h2 a { color: var(--forest); text-decoration: none; }
.listing-card .listing-price { font-size: 20px; }
@media(min-width:768px) and (max-width:1023px) { .listing-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .listing-cards { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x proximity; padding-bottom: 16px; } .listing-card { flex: 0 0 min(88%,360px); scroll-snap-align: start; } }
@media(max-width:767px) { .listing-layout { grid-template-columns: minmax(0,1fr); gap: 16px; } }
