:root {
  --bg: #f7f4ec;
  --surface: #fffdf8;
  --surface-alt: #efe6d4;
  --ink: #1f2933;
  --muted: #596775;
  --line: #d8ccb4;
  --brand: #9f4f2d;
  --brand-dark: #6f341b;
  --accent: #245c4f;
  --shadow: 0 18px 40px rgba(31, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(36, 92, 79, 0.08), transparent 34%),
    radial-gradient(circle at top left, rgba(159, 79, 45, 0.12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(241, 223, 195, 0.62), transparent 20%),
    radial-gradient(circle at 20% 62%, rgba(150, 179, 137, 0.15), transparent 16%),
    repeating-linear-gradient(90deg, rgba(31, 41, 51, 0.02) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #faf6ef 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 3.5rem;
}

.subpage-header {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 2.5rem;
  border-bottom: 1px solid rgba(216, 204, 180, 0.65);
}

.site-header::before,
.subpage-header::before {
  content: "";
  position: absolute;
  inset: auto auto -3rem -2rem;
  width: 20rem;
  height: 20rem;
  background:
    radial-gradient(circle at 35% 35%, rgba(150, 179, 137, 0.35), transparent 40%),
    radial-gradient(circle at 70% 55%, rgba(91, 120, 103, 0.22), transparent 45%);
  filter: blur(8px);
  pointer-events: none;
}

.site-header::after,
.subpage-header::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: 1rem;
  width: 18rem;
  height: 18rem;
  background:
    repeating-linear-gradient(135deg, rgba(31, 41, 51, 0.06) 0 1px, transparent 1px 12px);
  opacity: 0.25;
  transform: rotate(-8deg);
  pointer-events: none;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0 2rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-rail {
  display: grid;
  gap: 1rem;
}

.page-hero {
  max-width: 48rem;
  padding: 0.5rem 0 1rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.cta-inner h2 {
  margin: 0;
  line-height: 1.02;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.hero-text {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  font-size: 1.14rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
}

.hero-card,
.info-card,
.listing-card {
  background: var(--surface);
  border: 1px solid rgba(216, 204, 180, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-sketch {
  display: block;
}

.hero-sketch-frame {
  position: relative;
  width: 100%;
  min-height: 14rem;
  border: 1px solid rgba(111, 52, 27, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(239, 230, 212, 0.88)),
    repeating-linear-gradient(0deg, rgba(31, 41, 51, 0.045) 0 1px, transparent 1px 16px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-sketch-sunwash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 18%, rgba(241, 223, 195, 0.95), transparent 20%),
    radial-gradient(circle at 20% 76%, rgba(150, 179, 137, 0.28), transparent 18%);
}

.hero-sketch-house {
  position: absolute;
  left: 29%;
  top: 24%;
  width: 40%;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(250, 247, 239, 0.94), rgba(250, 247, 239, 0.94)),
    linear-gradient(155deg, transparent 0 47%, rgba(31, 41, 51, 0.35) 47% 49%, transparent 49%),
    linear-gradient(25deg, transparent 0 52%, rgba(31, 41, 51, 0.22) 52% 54%, transparent 54%);
  border: 2px solid rgba(31, 41, 51, 0.24);
  border-bottom-width: 3px;
  border-radius: 4px 4px 8px 8px;
}

.hero-sketch-house::before {
  content: "";
  position: absolute;
  left: 12%;
  top: -20%;
  width: 76%;
  height: 38%;
  background:
    linear-gradient(180deg, rgba(111, 52, 27, 0.78), rgba(111, 52, 27, 0.7));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hero-sketch-house::after {
  content: "";
  position: absolute;
  inset: 18% 11% 14% 11%;
  background:
    linear-gradient(90deg, transparent 0 11%, rgba(31, 41, 51, 0.26) 11% 13%, transparent 13% 34%, rgba(31, 41, 51, 0.26) 34% 36%, transparent 36% 62%, rgba(31, 41, 51, 0.26) 62% 64%, transparent 64% 88%, rgba(31, 41, 51, 0.26) 88% 90%, transparent 90%),
    linear-gradient(0deg, transparent 0 22%, rgba(31, 41, 51, 0.2) 22% 24%, transparent 24% 58%, rgba(31, 41, 51, 0.2) 58% 60%, transparent 60%);
}

.hero-sketch-porch {
  position: absolute;
  left: 33%;
  top: 58%;
  width: 31%;
  height: 10%;
  border: 2px solid rgba(31, 41, 51, 0.2);
  border-top-width: 1px;
  border-radius: 0 0 12px 12px;
  background:
    repeating-linear-gradient(90deg, rgba(31, 41, 51, 0.16) 0 2px, transparent 2px 17%);
}

.hero-sketch-tree {
  position: absolute;
  top: 18%;
  width: 22%;
  height: 52%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 48%, rgba(91, 120, 103, 0.5), transparent 46%),
    radial-gradient(circle at 62% 35%, rgba(150, 179, 137, 0.42), transparent 36%);
  filter: blur(1px);
}

.tree-left {
  left: 6%;
}

.tree-right {
  right: 4%;
  width: 18%;
  height: 58%;
}

.hero-sketch-fence {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 24%;
  height: 10%;
  background:
    repeating-linear-gradient(90deg, rgba(31, 41, 51, 0.17) 0 2px, transparent 2px 10%),
    linear-gradient(0deg, transparent 0 55%, rgba(31, 41, 51, 0.18) 55% 58%, transparent 58%);
  opacity: 0.8;
}

.hero-sketch-water {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -1%;
  height: 28%;
  background:
    radial-gradient(circle at 30% 30%, rgba(91, 120, 103, 0.22), transparent 18%),
    radial-gradient(circle at 68% 35%, rgba(91, 120, 103, 0.18), transparent 14%),
    linear-gradient(180deg, rgba(126, 148, 150, 0.4), rgba(83, 106, 109, 0.18));
  border-top: 1px solid rgba(31, 41, 51, 0.1);
}

.hero-sketch-reeds {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 19%;
  height: 14%;
  background:
    repeating-linear-gradient(100deg, rgba(150, 179, 137, 0.45) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(82deg, rgba(91, 120, 103, 0.3) 0 1px, transparent 1px 14px);
  opacity: 0.65;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.trust-item {
  padding: 1rem 1.1rem;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(216, 204, 180, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  margin-bottom: 0.35rem;
}

.trust-item span {
  color: var(--muted);
  line-height: 1.55;
}

.hero-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.card-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
}

.section-ornament::before {
  content: "";
  position: absolute;
  inset: 2rem auto auto -3rem;
  width: 18rem;
  height: 18rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(150, 179, 137, 0.12), transparent 48%),
    repeating-linear-gradient(135deg, rgba(31, 41, 51, 0.035) 0 1px, transparent 1px 12px);
  opacity: 0.9;
  pointer-events: none;
}

.section-ornament::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: 1.5rem;
  width: 17rem;
  height: 9rem;
  background:
    radial-gradient(circle at 30% 45%, rgba(241, 223, 195, 0.55), transparent 34%),
    linear-gradient(0deg, transparent 0 55%, rgba(31, 41, 51, 0.06) 55% 57%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(31, 41, 51, 0.045) 0 1px, transparent 1px 14px);
  opacity: 0.85;
  pointer-events: none;
}

.section-categories::after {
  border-radius: 60% 40% 20% 20%;
}

.section-cities::after {
  border-radius: 55% 45% 25% 25%;
}

.section-featured::after {
  border-radius: 50% 50% 18% 18%;
}

.section.alt {
  background: rgba(239, 230, 212, 0.55);
  border-top: 1px solid rgba(216, 204, 180, 0.7);
  border-bottom: 1px solid rgba(216, 204, 180, 0.7);
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading h2,
.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

.cards-featured {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.info-card,
.listing-card {
  padding: 1.4rem;
}

.info-card a,
.content-card a {
  font-weight: 700;
  color: var(--brand-dark);
}

.info-card h3,
.listing-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.info-card p,
.listing-card p,
.section-note,
.cta-inner p {
  color: var(--muted);
  line-height: 1.7;
}

.chip-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
}

.listing-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(36, 92, 79, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.location,
.listing-category {
  color: var(--muted);
}

.listing-card a {
  font-weight: 700;
  color: var(--brand-dark);
}

.listing-meta {
  display: block;
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.95rem;
}

.cta-band {
  background: linear-gradient(135deg, #f1dfc3 0%, #ecd1ba 100%);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.2rem;
}

.content-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(216, 204, 180, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin-top: 0;
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer {
  border-top: 1px solid rgba(216, 204, 180, 0.7);
  background: #f3ebdd;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0 1.3rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero,
  .trust-strip,
  .cards-3,
  .cta-inner,
  .two-col {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-sketch-frame {
    min-height: 12rem;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-bottom: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }
}
