:root {
  --parchment: #f3ede3;
  --ivory: #fbf7f1;
  --paper: #fffaf4;
  --ink: #241c16;
  --body: #3d322b;
  --muted: #6b5e54;
  --copper: #a34a2c;
  --copper-dark: #823821;
  --copper-soft: #c46a4a;
  --pine: #1e3a32;
  --pine-deep: #14261f;
  --pine-mid: #2a4c42;
  --sage: #d5dfd2;
  --sage-deep: #b7c6b3;
  --line: #d9cbbe;
  --cream: #efe6d8;
  --shadow: 0 18px 40px rgba(36, 28, 22, 0.08);
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--parchment);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.4rem;
}
.wordmark {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  line-height: 1;
}
.wordmark .brand {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.wordmark .brand em { font-style: italic; font-weight: 500; color: var(--copper-dark); }
.wordmark .tag {
  margin-top: 0.22rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--copper-dark); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.header-phone {
  color: var(--pine) !important;
  font-weight: 700;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #fffaf4; }
.btn-primary:hover { background: var(--copper-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(251,247,241,0.45); }
.btn-ghost:hover { background: rgba(251,247,241,0.1); color: #fff; }
.btn-pine { background: var(--pine); color: var(--ivory); }
.btn-pine:hover { background: var(--pine-deep); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--pine);
  border-color: var(--sage-deep);
}
.btn-outline:hover { background: var(--sage); color: var(--pine-deep); }

/* Hero */
.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,38,31,0.28) 0%, rgba(20,38,31,0.35) 40%, rgba(20,38,31,0.88) 100%),
    linear-gradient(90deg, rgba(20,38,31,0.55), transparent 58%);
}
.hero .wrap { padding: 6.5rem 0 3.4rem; width: min(var(--max), calc(100% - 2.4rem)); }
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 0.9rem;
}
.hero h1 { color: #fffaf4; max-width: 16ch; }
.hero .lede {
  max-width: 38rem;
  font-size: 1.12rem;
  color: rgba(251,247,241,0.88);
  margin: 1rem 0 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.stats {
  background: var(--pine);
  color: #e7efe8;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding: 1.35rem 0 1.45rem;
}
.stats p { margin: 0; text-align: center; font-size: 0.95rem; }
.stats strong { display: block; color: #fff; font-weight: 700; font-size: 1rem; }

/* Sections */
.section { padding: 4.6rem 0; }
.section-tight { padding: 3.2rem 0; }
.section-ivory { background: var(--ivory); }
.section-sage { background: linear-gradient(180deg, #e7eee4, #dfe7dc); }
.section-pine { background: var(--pine-deep); color: #e8efe9; }
.section-pine h2, .section-pine h3 { color: #f7f3ec; }
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper-dark);
  margin-bottom: 0.55rem;
}
.lede-wide { max-width: 42rem; font-size: 1.12rem; }
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.split-visual img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.85rem;
  width: 0.7rem; height: 0.35rem;
  border-left: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(-45deg);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.home-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(36,28,22,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.home-card .photo { aspect-ratio: 3 / 2; background: var(--cream); overflow: hidden; }
.home-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.home-card .body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.home-card .city { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 700; }
.home-card h3 { font-size: 1.12rem; margin: 0; }
.home-card .facts {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem;
  color: var(--muted); font-size: 0.9rem;
}
.home-card .chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.25rem 0; }
.chip {
  background: var(--cream);
  color: var(--pine);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.chip-warn { background: #efe0d2; }
.home-card .blurb { font-size: 0.92rem; color: var(--body); margin: 0.15rem 0 0.5rem; }
.home-card .footer-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.7rem; margin-top: auto; padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}
.rent { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.rent span { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.card-cta { font-size: 0.88rem; font-weight: 700; text-decoration: none; color: var(--copper-dark); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  margin-bottom: 1.6rem; flex-wrap: wrap;
}
.section-head > div { flex: 1; min-width: min(100%, 28rem); max-width: 42rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--copper);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.45rem;
}

/* Filters */
.filters {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  margin: 0 0 1.5rem;
  align-items: end;
}
.filters label { display: grid; gap: 0.25rem; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.filters input, .filters select, .field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  min-width: 0;
}
.filters input, .filters select { min-width: 10rem; }
.results-count { color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem; }
.empty-state { padding: 2rem; background: var(--ivory); border-radius: var(--radius); border: 1px dashed var(--line); }

/* Contact / forms */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.2rem; }
.contact-card {
  background: var(--pine);
  color: #e8efe9;
  border-radius: 24px;
  padding: 1.7rem 1.6rem;
}
.contact-card h2 { color: #f7f3ec; }
.contact-card a { color: #f3d7c8; }
.contact-card .big {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.35rem;
}
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  display: grid;
  gap: 0.8rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field { display: grid; gap: 0.28rem; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.field textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Page hero (interior pages) */
.page-hero { padding: 3.6rem 0 2.2rem; }
.page-hero h1 { max-width: 18ch; }
.crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--copper-dark); }

/* Footer */
.site-footer {
  background: var(--pine-deep);
  color: #c9d6ce;
  padding: 3rem 0 1.4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(213,223,210,0.18);
}
.site-footer .wordmark .brand { color: #f7f3ec; }
.site-footer .wordmark .tag { color: #b7c6b3; }
.site-footer h3 { color: #f7f3ec; font-size: 1rem; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.3rem 0; }
.site-footer a { color: #e7efe8; text-decoration: none; }
.site-footer a:hover { color: #f3d7c8; }
.legal { padding-top: 1rem; font-size: 0.8rem; color: #93a59b; }

/* How it works extras */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.term {
  border-top: 3px solid var(--copper);
  background: var(--ivory);
  padding: 1.2rem 1.1rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.faq details p { margin: 0.6rem 0 0.2rem; }

@media (max-width: 900px) {
  .card-grid, .steps, .stats-inner, .split, .contact-grid, .footer-grid, .terms {
    grid-template-columns: 1fr 1fr;
  }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.2rem 1rem;
    gap: 0.65rem;
  }
  .nav.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .card-grid, .steps, .stats-inner, .terms { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .filters input, .filters select { min-width: 100%; }
  .filters { flex-direction: column; align-items: stretch; }
}

/* SEO / listing helpers */
.home-card .rent-in {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}
.state-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.state-index a {
  color: var(--pine);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--sage-deep);
  padding-bottom: 0.05rem;
}
.state-index a:hover { color: var(--copper-dark); border-color: var(--copper); }
.state-group { margin: 0 0 2.2rem; }
.state-heading {
  font-size: 1.45rem;
  margin: 0 0 0.9rem;
  padding-top: 0.4rem;
  scroll-margin-top: 5rem;
}
.state-group .card-grid { margin-top: 0; }

/* Inventory note: listed homes are only a portion */
.inventory-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.4rem;
  margin: 1.5rem 0 0;
  box-shadow: 0 8px 24px rgba(36,28,22,0.04);
}
.inventory-note.inventory-note-top { margin: 0 0 1.5rem; }
.section-ivory .inventory-note { background: #fffaf4; }
.inventory-note p { margin: 0 0 0.9rem; max-width: 46rem; }
.inventory-note p:last-child { margin-bottom: 0; }
.inventory-note-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0;
}
.inventory-note-cta a:not(.btn) {
  color: var(--pine);
  font-weight: 700;
  text-decoration: none;
}
.inventory-note-cta a:not(.btn):hover { color: var(--copper-dark); }
