/* Sterling Row Estates — luxury property demo */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@400;500;600&display=swap");

:root {
  --re-black: #0a0a0a;
  --re-stone: #e7e5e0;
  --re-warm: #c4b8a5;
  --re-muted: #8a8580;
  --re-line: #d4d0c8;
  --re-white: #fafaf8;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--re-black);
  background: var(--re-white);
}

img { max-width: 100%; display: block; }

.re-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.re-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--re-line);
}

.re-logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--re-black);
  text-decoration: none;
}

.re-nav a {
  margin-left: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--re-muted);
  text-decoration: none;
}

.re-nav a:hover { color: var(--re-black); }

.re-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 3rem 1.25rem 4rem;
}

.re-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.re-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.75) 100%);
}

.re-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.re-hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.5rem;
  max-width: 14ch;
  line-height: 1.1;
}

.re-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 40ch;
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.re-link {
  display: inline-block;
  color: var(--re-black);
  background: var(--re-warm);
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.re-link:hover { background: #fff; }

.re-section { padding: 4rem 0; }

.re-section h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  text-align: center;
  margin: 0 0 2.5rem;
  font-weight: 400;
}

.re-listings {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .re-listings { grid-template-columns: repeat(3, 1fr); }
}

.re-listing {
  background: #fff;
  border: 1px solid var(--re-line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.re-listing:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.re-listing img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.re-listing-body { padding: 1.25rem 1.15rem 1.5rem; }

.re-listing-body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.re-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--re-black);
  margin: 0 0 0.35rem;
}

.re-meta {
  font-size: 0.8125rem;
  color: var(--re-muted);
  margin: 0;
}

.re-about {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .re-about { grid-template-columns: 1fr 1fr; }
}

.re-about p { color: var(--re-muted); margin: 0 0 1rem; }

.re-about-img img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--re-line);
}

.re-footer {
  border-top: 1px solid var(--re-line);
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--re-muted);
  text-align: center;
}

.re-demo-strip {
  font-size: 0.6875rem;
  padding: 1rem;
  text-align: center;
  background: var(--re-stone);
  color: var(--re-muted);
}

.re-demo-strip a { color: var(--re-black); font-weight: 600; text-decoration: none; }
