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

:root {
  --cream: #faf7f2;
  --warm-white: #fff9f4;
  --brown: #3d2b1f;
  --brown-light: #6b4c38;
  --accent: #c17f3e;
  --accent-light: #f0e0c8;
  --text: #2c1f14;
  --text-muted: #7a6055;
  --border: #e8ddd4;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 100;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--brown);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 500 !important;
}

.nav-cta:hover { background: var(--brown-light) !important; }

/* BUTTONS */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--brown); }

.btn-secondary {
  background: transparent;
  color: var(--brown);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid var(--brown);
  display: inline-block;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--brown); color: #fff; }

/* SECTIONS */
section { padding: 80px 5%; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 600px;
  margin-bottom: 48px;
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  padding-left: 5%;
  padding-right: 5%;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 620px;
}

/* NEIGHBOURHOOD STAT PILLS */
.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill {
  background: var(--accent-light);
  color: var(--brown-light);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* CONTENT GRID */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--brown);
  margin: 40px 0 14px;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.prose ul {
  list-style: none;
  margin-bottom: 16px;
}

.prose ul li {
  color: var(--text-muted);
  font-size: 0.97rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* SIDEBAR */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.sidebar-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 16px;
}

.sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.sidebar-stat:last-child { border-bottom: none; }

.sidebar-stat .label { color: var(--text-muted); }

.sidebar-stat .value {
  font-weight: 500;
  color: var(--brown);
}

.agent-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.agent-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.agent-mini .name {
  font-weight: 500;
  color: var(--brown);
  font-size: 0.95rem;
  display: block;
}

.agent-mini .title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* NEIGHBOURHOOD CARDS GRID */
.hood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hood-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.hood-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(61,43,31,0.1);
}

.hood-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.hood-body { padding: 20px; }

.hood-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.hood-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hood-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* CTA STRIP */
.cta-strip {
  background: var(--brown);
  padding: 64px 5%;
  text-align: center;
}

.cta-strip .section-tag { color: var(--accent); }
.cta-strip .section-title { color: #fff; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.6); margin-bottom: 32px; font-size: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* FOOTER */
footer {
  background: #251810;
  padding: 40px 5%;
  text-align: center;
}

footer p { color: rgba(255,255,255,0.35); font-size: 0.85rem; line-height: 1.8; }
footer a { color: var(--accent); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hood-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .hood-grid { grid-template-columns: 1fr; }
}
