:root {
  --ink: #16140f;
  --ink-soft: #2a271f;
  --paper: #faf8f3;
  --cream: #f1ece1;
  --gold: #b3925a;
  --gold-deep: #96773f;
  --gold-pale: #e6d9bd;
  --text: #43403a;
  --muted: #837d70;
  --line: rgba(22, 20, 15, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.12; letter-spacing: -0.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; color: var(--gold-deep); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 1.4rem; }
h2.light { color: var(--paper); }
h2.light em { color: var(--gold-pale); }

.container { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.container.narrow { width: min(880px, calc(100% - 3rem)); }

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.desktop-only { display: inline; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); }
.eyebrow.light { color: var(--gold-pale); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(150, 119, 63, 0.55); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn.full { width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 1.4rem 0;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.85rem 0;
}
.header-inner {
  width: min(1320px, calc(100% - 3rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: flex; align-items: center; }
/* Horizontal DYG × Compass Sports & Entertainment lockup (viewBox cropped to the artwork, 1031×312). Height drives the width. */
.brand-lockup {
  display: block;
  height: 62px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s var(--ease);
}
.brand-lockup.large { height: 88px; }
.brand:hover .brand-lockup { opacity: 0.8; }
.site-header .brand { color: #fff; }
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .brand-lockup { content: url('/assets/logo-lockup.svg'); }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  color: rgba(255,255,255,0.92);
}
.site-header.scrolled .main-nav a { color: var(--ink-soft); }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid var(--gold); color: var(--gold) !important; padding: 0.65rem 1.3rem; }
.nav-cta:hover { background: var(--gold); color: #fff !important; }

.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
}
.site-header.scrolled .phone-link { color: var(--ink); }
.phone-link svg { width: 15px; height: 15px; stroke: var(--gold); }

.menu-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; padding: 4px; }
.menu-toggle span { width: 24px; height: 1.5px; background: currentColor; transition: all 0.3s var(--ease); }
.site-header .menu-toggle { color: #fff; }
.site-header.scrolled .menu-toggle { color: var(--ink); }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--ink);
  display: grid;
  place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s var(--ease);
}
.mobile-drawer.open { clip-path: inset(0); }
.mobile-drawer nav { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.mobile-drawer a {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
}
.mobile-drawer.open a { opacity: 1; transform: none; }
.mobile-drawer a:hover { color: var(--gold-pale); }
.drawer-phone { font-size: 0.85rem !important; letter-spacing: 0.2em; color: var(--gold-pale) !important; font-family: var(--sans) !important; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 115%; object-fit: cover; animation: heroDrift 22s var(--ease) forwards; }
@keyframes heroDrift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(12,11,8,0.62), rgba(12,11,8,0.28) 42%, rgba(12,11,8,0.72));
}
.hero-content { padding: 7rem 1.5rem 5rem; max-width: 900px; }
.hero-content .eyebrow::before { display: none; }
.hero-content .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: var(--gold); }
.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1.4rem;
}
.hero h1 em { color: var(--gold-pale); }
.hero-tagline {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  margin-bottom: 2.6rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 3px; height: 8px;
  border-radius: 2px;
  background: var(--gold-pale);
  animation: cueDrop 1.8s infinite;
}
@keyframes cueDrop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.stats-band { background: var(--ink); color: var(--paper); padding: 3.4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-value { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); color: var(--gold-pale); display: block; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(250,248,243,0.65); margin-top: 0.4rem; display: block; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-media { position: relative; padding-bottom: 4.5rem; }
.about-main { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.about-inset {
  position: absolute;
  bottom: 0; right: -8%;
  width: 52%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 8px solid var(--paper);
  box-shadow: 0 30px 60px -25px rgba(22,20,15,0.45);
}
.about-badge {
  position: absolute;
  top: -1.4rem; left: -1.4rem;
  background: var(--gold);
  color: #fff;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.badge-number { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.badge-text { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.9; line-height: 1.5; }
.about-copy p + p { margin-top: 1rem; }
.lead { font-size: 1.06rem; color: var(--ink-soft); }

.check-list { list-style: none; margin: 1.8rem 0 2.2rem; display: grid; gap: 0.7rem; }
.check-list li { padding-left: 1.9rem; position: relative; font-size: 0.95rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.48em;
  width: 1em; height: 1em;
  border-radius: 50%;
  background: var(--gold) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M5 13l4 4L19 7"/></svg>') center/60% no-repeat;
}

.listings { background: var(--cream); }
.filter-tabs { display: inline-flex; border: 1px solid var(--line); background: var(--paper); }
.tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.tab.active { background: var(--ink); color: var(--paper); }

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.listing-card {
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 35px -18px rgba(22,20,15,0.25);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), opacity 0.3s;
}
.listing-card:hover { transform: translateY(-8px); box-shadow: 0 32px 55px -22px rgba(22,20,15,0.38); }
.listing-card.hidden-by-filter { display: none; }
.listing-media { position: relative; overflow: hidden; }
.listing-media img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.listing-card:hover .listing-media img { transform: scale(1.07); }
.status-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(250,248,243,0.94);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
}
.status-badge.soon { background: var(--gold); color: #fff; }
.listing-price {
  position: absolute;
  bottom: 1rem; left: 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.35rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.listing-body { padding: 1.5rem 1.5rem 1.7rem; }
.listing-body h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.listing-loc { font-size: 0.85rem; color: var(--muted); }
.listing-specs {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.listing-specs li { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.listing-specs li + li { border-left: 1px solid var(--line); padding-left: 0.9rem; }

.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.service-card {
  border: 1px solid var(--line);
  padding: 2.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--paper);
  transition: all 0.4s var(--ease);
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -25px rgba(150,119,63,0.4);
}
.service-icon { width: 46px; height: 46px; color: var(--gold-deep); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { font-size: 0.9rem; color: var(--muted); flex-grow: 1; }
.service-link { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }

.valuation { background: var(--ink) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><path d="M60 0l60 60-60 60L0 60z" fill="none" stroke="rgba(179,146,90,0.09)" stroke-width="1"/></svg>'); }
.valuation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  color: rgba(250,248,243,0.85);
}
.valuation-copy h2 { color: var(--paper); }
.valuation-copy p { margin-top: 0.4rem; }
.valuation-form { display: flex; flex-direction: column; gap: 0.9rem; }
.valuation-form input {
  background: rgba(250,248,243,0.06);
  border: 1px solid rgba(250,248,243,0.22);
  color: var(--paper);
  padding: 1rem 1.2rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.valuation-form input::placeholder { color: rgba(250,248,243,0.45); }
.valuation-form input:focus { outline: none; border-color: var(--gold); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.agent-card { text-align: left; transition: transform 0.4s var(--ease); }
.agent-card:hover { transform: translateY(-6px); }
.agent-photo {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: var(--cream);
}
.agent-photo img {
  width: 100%;
  aspect-ratio: 4/4.7;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.agent-card:hover .agent-photo img { transform: scale(1.06); filter: saturate(1); }
.agent-flag {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--gold);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
}
.agent-card h3 { font-size: 1.15rem; }
.agent-role { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-top: 0.25rem; }
.agent-license { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.agent-links { display: flex; gap: 1rem; margin-top: 0.5rem; font-size: 0.84rem; }
.agent-links a { color: var(--muted); border-bottom: 1px solid transparent; }
.agent-links a:hover { color: var(--gold-deep); border-color: var(--gold); }
.agent-phone { display: inline-block; margin-top: 0.35rem; font-size: 0.86rem; color: var(--muted); }
.agent-phone:hover { color: var(--gold-deep); }

.neighborhoods { background: var(--cream); }
.hood-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1.6rem; }
.hood-card { position: relative; overflow: hidden; display: block; }
.hood-card.tall { grid-row: span 2; }
.hood-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.hood-card:hover img { transform: scale(1.08); }
.hood-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  background: linear-gradient(to top, rgba(12,11,8,0.72), transparent 55%);
}
.hood-name { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.hood-count { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-pale); margin-top: 0.3rem; }

.testimonials { background: var(--ink); }
.slider { position: relative; min-height: 320px; }
.slides { position: relative; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  text-align: center;
  padding: 0 1rem;
}
.slide.active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.slide p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--paper);
}
.slide cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-pale);
}
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 2.6rem; }
.slider-btn {
  width: 46px; height: 46px;
  border: 1px solid rgba(250,248,243,0.3);
  background: none;
  color: var(--paper);
  font-size: 1rem;
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); }
.dots { display: flex; gap: 0.6rem; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-pale);
  background: none;
  padding: 0;
  transition: all 0.3s;
}
.dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.25); }

.journal { background: var(--paper); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.post-card {
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -25px rgba(22,20,15,0.35); }
.post-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.post-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.post-meta { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.post-body h3 { font-size: 1.3rem; line-height: 1.3; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); }
.contact-info > p { margin-top: 0.4rem; }
.info-list { margin: 2rem 0; display: grid; gap: 1.2rem; }
.info-list div { display: flex; gap: 1.4rem; align-items: baseline; }
.info-list dt { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); min-width: 72px; }
.info-list dd { font-size: 0.98rem; color: var(--ink-soft); }
.socials { display: flex; gap: 0.8rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.contact-form {
  background: var(--cream);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.fine-print { font-size: 0.72rem; color: var(--muted); line-height: 1.6; }
.fine-print a, .footer-legal a { color: inherit; text-decoration: underline; }
.contact-form label.consent-check { flex-direction: row; align-items: flex-start; gap: 0.6rem; font-size: 0.74rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--muted); }
.consent-check input { width: auto; margin-top: 0.2rem; flex: none; }
.legal-page h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.legal-page p { margin-bottom: 0.8rem; line-height: 1.7; }
.form-success { color: var(--gold-deep); font-weight: 500; font-size: 0.95rem; }

.site-footer { background: var(--ink); color: rgba(250,248,243,0.7); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 4.5rem 0 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1.4rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 380px; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.9rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 0.6rem;
}
.footer-col a:hover { color: var(--gold-pale); }
.footer-disclaimer { border-top: 1px solid rgba(250,248,243,0.12); padding-top: 1.8rem; padding-bottom: 1.8rem; }
.footer-disclaimer p { font-size: 0.72rem; line-height: 1.8; color: rgba(250,248,243,0.42); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(250,248,243,0.55);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (max-width: 1024px) {
  .main-nav, .phone-link { display: none; }
  .menu-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-inset { right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-grid, .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .hood-grid { grid-template-columns: repeat(2, 1fr); }
  .hood-card.tall { grid-row: span 1; }
  .valuation-inner, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .desktop-only { display: none; }
  .brand-lockup { height: 46px; }
  .brand-lockup.large { height: 68px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .listing-grid, .journal-grid, .services-grid, .hood-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-badge { left: 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
}

/* ---------- CMS-driven additions & live forms ---------- */
.phone-link span { display: inline; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error { color: #b3402f; font-weight: 500; font-size: 0.92rem; line-height: 1.5; }
.valuation-form .form-error { color: #f0b7ab; }
.btn[aria-busy="true"], .btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.listing-link { display: inline-block; margin-top: 0.9rem; }
.post-excerpt { font-size: 0.9rem; color: var(--muted); margin: 0.4rem 0 0.8rem; line-height: 1.6; }
.cite-context::before { content: " · "; }
.cite-context { font-style: normal; opacity: 0.8; }
.status-badge.sold { background: var(--ink); color: var(--paper); }

/* ---------- Generated sub-pages (listings, neighborhoods, news) ---------- */
.subpage { padding-top: 96px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; padding-top: 2.2rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs a { color: var(--muted); border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { color: var(--gold-deep); border-color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--ink); }
.crumb-sep { opacity: 0.45; }

.subpage-head { padding-bottom: 0; }
.subpage-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.08; margin-top: 0.4rem; }
.subpage-head h1 em { font-style: italic; color: var(--gold-deep); }
.subpage-list { padding-top: 2.4rem; }

.detail { padding: 2.6rem 0 3.4rem; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: start; }
.detail-media { position: relative; overflow: hidden; }
.detail-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.detail-copy .eyebrow { margin-bottom: 0.6rem; }
.detail-copy h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; }
.detail-loc { color: var(--muted); margin-top: 0.5rem; }
.detail-price { font-family: var(--serif); font-size: 2rem; color: var(--gold-deep); margin-top: 1rem; }
.detail-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.6rem; margin: 1.6rem 0; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-specs .spec dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.detail-specs .spec dd { margin: 0.3rem 0 0; font-size: 1.05rem; color: var(--ink); }
.detail-body p { margin-bottom: 1rem; line-height: 1.75; }
.detail-body + .btn { margin-top: 0.6rem; }

.hood-listings { background: var(--cream); }
.hood-listings h2 { font-size: 1.6rem; margin-bottom: 1.6rem; }
.hood-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.hood-listing { display: block; position: relative; overflow: hidden; background: var(--paper); }
.hood-listing img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.hood-listing:hover img { transform: scale(1.06); }
.hood-listing-price { display: block; padding: 0.9rem 1.1rem 0.2rem; font-family: var(--serif); font-size: 1.15rem; color: var(--gold-deep); }
.hood-listing-address { display: block; padding: 0 1.1rem 1.1rem; font-size: 0.92rem; color: var(--ink); }

.article .article-head { max-width: 780px; padding-top: 2.6rem; }
.article .article-head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; margin-top: 0.6rem; }
.article-hero { width: 100%; max-width: 980px; aspect-ratio: 16/9; object-fit: cover; display: block; margin: 2.2rem auto; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { margin-bottom: 1.15rem; line-height: 1.8; font-size: 1.02rem; }

.subpage-cta { background: var(--ink); color: var(--paper); text-align: center; padding: 4.5rem 0; }
.subpage-cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--paper); }
.subpage-cta p { color: rgba(250, 248, 243, 0.72); max-width: 620px; margin: 0.9rem auto 1.8rem; line-height: 1.7; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hood-listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .subpage { padding-top: 78px; }
  .detail-specs { grid-template-columns: 1fr; }
  .hood-listing-grid { grid-template-columns: 1fr; }
}
/* Sub-pages have no dark hero behind the fixed header, so it is solid from the top. */
.subpage-body .site-header { background: rgba(250, 248, 243, 0.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 0.85rem 0; }
.subpage-body .site-header .brand { color: var(--ink); }
.subpage-body .site-header .brand-lockup { content: url('/assets/logo-lockup.svg'); }
.subpage-body .site-header .main-nav a { color: var(--ink-soft); }
.subpage-body .site-header .phone-link { color: var(--ink-soft); }
.subpage-body .menu-toggle span { background: var(--ink); }
/* Index-page cards use h2 for document structure, not the page-heading scale. */
.subpage-list .listing-card h2,
.subpage-list .post-card h2 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 0; }
.subpage-list .listing-card h2 a { color: inherit; }
.subpage-list .listing-card h2 a:hover { color: var(--gold-deep); }

/* ---------- Listing gallery ---------- */
.gallery-main { position: relative; overflow: hidden; }
.gallery-main img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.gallery-count { position: absolute; right: 1rem; bottom: 1rem; background: rgba(22,20,15,0.78); color: var(--paper); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.4rem 0.8rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.gallery-thumb { padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden; line-height: 0; opacity: 0.6; transition: opacity 0.3s var(--ease), outline-color 0.3s var(--ease); outline: 2px solid transparent; outline-offset: -2px; }
.gallery-thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb:focus-visible { opacity: 1; }
.gallery-thumb.active { opacity: 1; outline-color: var(--gold); }

/* ---------- Key details ---------- */
.detail-facts, .detail-story { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2.4rem; }
.detail-facts h2, .detail-story h2 { font-size: 1.5rem; margin-bottom: 1.4rem; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.4rem 2rem; }
.fact dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0.35rem 0 0; font-size: 1rem; color: var(--ink); }
.detail-story .detail-body { max-width: 760px; }

/* ---------- Grid / map switch ---------- */
.view-switch { display: inline-flex; margin-top: 1.6rem; border: 1px solid var(--line); }
.view-switch[hidden] { display: none; }
.view-switch .tab { background: none; border: 0; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.7rem 1.5rem; cursor: pointer; color: var(--muted); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.view-switch .tab.active { background: var(--ink); color: var(--paper); }

.subpage-map { padding-top: 2.2rem; }
.property-map { height: min(70vh, 620px); width: 100%; background: var(--cream); }
.map-note { margin-top: 1rem; font-size: 0.86rem; color: var(--muted); }
.map-pin { display: flex; align-items: center; justify-content: center; overflow: visible; }
.map-pin span { background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 0.7rem; font-weight: 500; padding: 0.3rem 0.55rem; white-space: nowrap; border: 1px solid var(--paper); box-shadow: 0 2px 10px rgba(22,20,15,0.3); }
.map-pin:hover { z-index: 1000 !important; }
.map-pin:hover span, .map-pin:focus span { background: var(--gold-deep); }
.leaflet-popup-content { margin: 0; width: 220px !important; }
.leaflet-popup-content-wrapper { border-radius: 0; padding: 0; overflow: hidden; }
.map-popup { display: block; color: var(--ink); }
.map-popup img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.map-popup-price { display: block; padding: 0.7rem 0.9rem 0.1rem; font-family: var(--serif); font-size: 1.1rem; color: var(--gold-deep); }
.map-popup-address { display: block; padding: 0 0.9rem; font-size: 0.92rem; }
.map-popup-location { display: block; padding: 0.1rem 0.9rem; font-size: 0.8rem; color: var(--muted); }
.map-popup-status { display: block; padding: 0.3rem 0.9rem 0.9rem; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }

@media (max-width: 640px) {
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .property-map { height: 62vh; }
}
/* Listing agent card */
.listing-agent { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.listing-agent-label { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.listing-agent-name { font-family: var(--serif); font-size: 1.2rem; margin-top: 0.5rem; }
.listing-agent-sub { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.listing-agent-line { display: block; margin-top: 0.5rem; font-size: 0.94rem; color: var(--text); border-bottom: 1px solid transparent; width: fit-content; }
.listing-agent-line:hover { color: var(--gold-deep); border-color: var(--gold); }
/* Team index + agent profile pages */
.subpage-list .agent-card h2 { font-size: 1.15rem; margin-bottom: 0; }
.subpage-list .agent-card h2 a { color: inherit; }
.subpage-list .agent-card h2 a:hover { color: var(--gold-deep); }
.subpage-list .agent-photo { display: block; }
.agent-card h3 a { color: inherit; }
.agent-card h3 a:hover { color: var(--gold-deep); }
.agent-detail .detail-media img { aspect-ratio: 4/4.7; }
.agent-detail .agent-license { margin-top: 0.4rem; }
/* Feed-driven listings */
.property-loading { padding: 4rem 0; color: var(--muted); }
.idx-attribution { margin-top: 1.6rem; font-size: 0.76rem; line-height: 1.6; color: var(--muted); }
