:root {
  --ink: #181716;
  --night: #080807;
  --bone: #f4f0e8;
  --paper: #fffdf8;
  --clay: #8b7357;
  --canyon: #6f5c45;
  --sage: #3f4a3f;
  --brass: #c8a96a;
  --line: rgba(24, 23, 22, 0.12);
  --shadow: 0 24px 80px rgba(8, 8, 7, 0.16);
  color: var(--ink);
  background: var(--bone);
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: Inter, "Aptos", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bone);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 7, 0.9);
  color: white;
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: clamp(150px, 16vw, 220px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.039rem;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: white;
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.039rem;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.nav-cta,
.primary-button {
  background: var(--brass);
  color: var(--night);
}

.secondary-button {
  border-color: rgba(255, 255, 255, 0.46);
  color: white;
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.54)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1800&q=82") center/cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.2), rgba(8, 8, 7, 0.9)),
    linear-gradient(90deg, rgba(8, 8, 7, 0.8), rgba(8, 8, 7, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.neighborhood h2,
.valuation h2,
.contact-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.625rem, 4.1vw, 3.34rem);
  line-height: 1.1;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-search {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr auto;
  gap: 12px;
  max-width: 930px;
  margin-top: 38px;
  padding: 14px;
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(29, 28, 26, 0.76);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  color: var(--ink);
  padding: 0 12px;
  font-size: 0.94rem;
  letter-spacing: 0;
  text-transform: none;
}

.hero-search button,
.guide-form button,
.valuation-actions button {
  min-height: 46px;
  border: 0;
  background: var(--ink);
  color: white;
  padding: 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.039rem;
  text-transform: uppercase;
  cursor: pointer;
}

.section,
.search-section,
.guides-section,
.neighborhood,
.valuation,
.details-section,
.contact-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  transform: translateY(-26px);
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat {
  display: grid;
  gap: 8px;
  background: var(--paper);
  padding: 28px;
}

.stat strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
}

.stat span {
  color: rgba(29, 28, 26, 0.62);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.constrained {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.neighborhood h2,
.valuation h2,
.contact-band h2 {
  font-size: clamp(1.5rem, 2.45vw, 1.97rem);
  line-height: 1.04;
}

.featured-grid,
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.property-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(29, 28, 26, 0.08);
}

.property-card img {
  aspect-ratio: 1.35;
  height: auto;
  object-fit: cover;
  background: #d7d0c2;
}

.property-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.property-body h3 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 500;
  line-height: 1.12;
}

.property-body p {
  margin: 0;
  color: rgba(29, 28, 26, 0.66);
  line-height: 1.55;
}

.property-body strong {
  color: var(--canyon);
  font-size: 1.2rem;
}

.property-city {
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-meta span {
  border: 1px solid var(--line);
  padding: 7px 9px;
  color: rgba(29, 28, 26, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-description {
  min-height: 72px;
}

.search-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #080807 0%, #11100e 100%);
  color: white;
}

.search-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
}

.filter-panel,
.results-panel,
.guide-form,
.lead-capture-card,
.valuation-card,
.feature-panel,
.faq-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 253, 248, 0.055);
}

.filter-panel {
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.filter-panel label {
  color: rgba(255, 255, 255, 0.74);
}

.filter-panel input,
.filter-panel select {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  color: white;
}

.filter-panel option {
  color: var(--ink);
}

.filter-header,
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.filter-header h3 {
  margin: 0;
}

.filter-header button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: white;
  padding: 8px 10px;
  cursor: pointer;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.results-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.map-panel {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(63, 74, 63, 0.44), rgba(139, 115, 87, 0.28)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px),
    #20231f;
}

.map-copy {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
}

.map-copy span,
.map-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.map-copy strong {
  display: block;
  margin: 6px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.97rem;
  line-height: 1.04;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid white;
  border-radius: 999px;
  background: var(--clay);
  box-shadow: 0 0 0 10px rgba(185, 145, 84, 0.18);
}

.pin-one {
  top: 32%;
  left: 58%;
}

.pin-two {
  top: 54%;
  left: 74%;
}

.pin-three {
  top: 44%;
  left: 42%;
}

.results-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.results-header a {
  color: var(--brass);
  font-weight: 900;
}

.search-section .property-card {
  background: var(--paper);
  color: var(--ink);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px;
  color: rgba(255, 255, 255, 0.78);
}

.neighborhood,
.valuation,
.guides-layout,
.details-grid,
.contact-band {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: start;
}

.guides-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.guides-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.article-grid {
  display: grid;
  gap: 18px;
}

.comparison-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(29, 28, 26, 0.07);
}

.comparison-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.comparison-content {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta span {
  width: max-content;
  background: rgba(63, 74, 63, 0.12);
  color: var(--sage);
  padding: 7px 9px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-card h3,
.lead-capture-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.08;
}

.comparison-card p,
.lead-capture-card p {
  margin: 0;
  color: rgba(29, 28, 26, 0.66);
  line-height: 1.62;
}

.comparison-card strong {
  color: var(--canyon);
  line-height: 1.45;
}

.comparison-card a {
  width: max-content;
  color: var(--night);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.039rem;
  text-transform: uppercase;
}

.video-briefs {
  margin-top: 62px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(29, 28, 26, 0.08);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--night);
  object-fit: cover;
}

.video-card div {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.video-card span {
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.08;
}

.video-card p {
  margin: 0;
  color: rgba(29, 28, 26, 0.66);
  line-height: 1.55;
}

.lead-capture-card {
  align-self: start;
  display: grid;
  gap: 16px;
  border-color: var(--line);
  background: linear-gradient(180deg, #11100e, #080807);
  color: white;
  padding: 28px;
  box-shadow: var(--shadow);
}

.lead-capture-card label {
  color: rgba(255, 255, 255, 0.78);
}

.lead-capture-card input,
.lead-capture-card select {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
  color: white;
}

.lead-capture-card option {
  color: var(--ink);
}

.lead-capture-card button {
  min-height: 46px;
  border: 0;
  background: var(--brass);
  color: var(--night);
  padding: 0 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.039rem;
  text-transform: uppercase;
  cursor: pointer;
}

.lead-capture-card .form-message {
  color: #f2ddb0;
}

.neighborhood-copy > p,
.valuation-intro > p,
.contact-band p {
  color: rgba(29, 28, 26, 0.68);
  font-size: 1.05rem;
  line-height: 1.7;
}

.spotlight-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.spotlight-list article {
  border-left: 4px solid var(--brass);
  background: rgba(255, 253, 248, 0.82);
  padding: 18px;
}

.spotlight-list h3,
.guide-form h3,
.feature-panel h3,
.faq-panel h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
}

.spotlight-list p,
.guide-form p {
  margin: 0;
  color: rgba(29, 28, 26, 0.66);
  line-height: 1.55;
}

.guide-form,
.valuation-card,
.feature-panel,
.faq-panel {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: 0 12px 42px rgba(29, 28, 26, 0.08);
  padding: 28px;
}

.guide-form {
  display: grid;
  gap: 18px;
}

.neighborhood-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.neighborhood-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(29, 28, 26, 0.07);
}

.neighborhood-media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  min-height: 190px;
}

.neighborhood-media img,
.video-poster {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.video-poster {
  display: grid;
  align-items: end;
  background-position: center;
  background-size: cover;
  position: relative;
}

.video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.1), rgba(8, 8, 7, 0.64));
}

.video-poster span {
  position: relative;
  z-index: 1;
  color: white;
  padding: 12px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.neighborhood-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.neighborhood-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.08;
}

.neighborhood-card-body p {
  margin: 0;
  color: rgba(29, 28, 26, 0.66);
  line-height: 1.55;
}

.neighborhood-card-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(29, 28, 26, 0.78);
}

.guide-form button {
  background: var(--sage);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--sage);
  font-weight: 900;
}

.valuation {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: #e8e2d8;
}

.valuation-card {
  display: grid;
  gap: 20px;
}

.progress {
  display: grid;
  gap: 10px;
}

.progress span {
  color: rgba(29, 28, 26, 0.64);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.progress div {
  height: 8px;
  background: rgba(29, 28, 26, 0.12);
}

.progress i {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--clay);
  transition: width 220ms ease;
}

.valuation-field {
  color: var(--ink);
  font-size: 0.86rem;
}

.valuation-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.valuation-actions button {
  flex: 1;
}

.valuation-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.success-state {
  border: 1px solid rgba(63, 74, 63, 0.28);
  background: rgba(63, 74, 63, 0.1);
  padding: 18px;
}

.success-state strong {
  color: var(--sage);
  font-size: 1.08rem;
}

.success-state p,
.fine-print {
  color: rgba(29, 28, 26, 0.62);
}

.fine-print {
  margin: 0;
  font-size: 0.82rem;
}

.details-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.feature-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.feature-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.feature-panel li span {
  width: 11px;
  height: 11px;
  background: var(--brass);
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

details:first-child {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

details p {
  margin: 10px 0 0;
  color: rgba(29, 28, 26, 0.66);
  line-height: 1.6;
}

.contact-band {
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-band .primary-button {
  justify-self: end;
}

.footer {
  display: grid;
  gap: 8px;
  padding: 34px 20px 46px;
  background: #080807;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo {
  width: min(260px, 72vw);
  height: auto;
  object-fit: contain;
}

.exp-logo {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: white;
  color: #17458f;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0;
}

.agent-line {
  color: white;
  font-weight: 800;
}

.footer p {
  margin: 0;
}

.footer a {
  color: white;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-search,
  .search-layout,
  .neighborhood,
  .valuation,
  .guides-layout,
  .details-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .listing-grid,
  .intro-band,
  .video-grid,
  .neighborhood-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    grid-template-columns: 1fr;
  }

  .comparison-card img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .contact-band .primary-button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    padding: 12px 14px;
  }

  .brand {
    max-width: 170px;
  }

  .brand img {
    width: 168px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding: 92px 0 36px;
  }

  .hero h1 {
    font-size: 2.625rem;
    line-height: 1.1;
  }

  .section-heading h2,
  .neighborhood h2,
  .valuation h2,
  .contact-band h2 {
    font-size: 1.5rem;
    line-height: 1.04;
  }

  .section,
  .search-section,
  .guides-section,
  .neighborhood,
  .valuation,
  .details-section,
  .contact-band {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  .search-section,
  .valuation {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .neighborhood-media {
    grid-template-columns: 1fr;
  }

  .neighborhood-media img,
  .video-poster {
    min-height: 180px;
  }

  .intro-band {
    width: calc(100% - 28px);
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  .filter-header,
  .results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .map-copy strong {
    font-size: 1.45rem;
  }

  .guide-form,
  .lead-capture-card,
  .valuation-card,
  .feature-panel,
  .faq-panel {
    padding: 22px;
  }
}
