/* === EDROZO REALTY — DESIGN SYSTEM === */

:root {
  --red:        #D32D27;
  --red-dark:   #AE241F;
  --black:      #262122;
  --charcoal:   #2A2A2A;
  --muted:      #6B6B6B;
  --cream:      #FBFBFB;
  --paper:      #FBFBFB;
  --border:     #E5E5E5;
  --soft:       #FAFAFA;
  --shadow-sm:  0 1px 2px rgba(10,10,10,0.04), 0 2px 8px rgba(10,10,10,0.04);
  --shadow-md:  0 4px 16px rgba(10,10,10,0.08), 0 12px 32px rgba(10,10,10,0.06);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem);    font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }

p  { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  margin: 0 0 1rem;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--black); color: var(--paper); border-color: var(--black); }
/* White text where the button sits on a dark section. */
.home-hero .btn-primary, .meet .btn-primary, .service-card .btn-primary,
.page-header .btn-primary, .value-hero .btn-primary, .value-promise-section .btn-primary,
.home-contact .btn-primary, .listing-section--alt .btn-primary,
.tour-launch .btn-primary, .tour-card .btn-primary { color: var(--paper); }
/* On dark sections a black fill would vanish, so hover inverts to a white fill. */
.home-hero .btn-primary:hover, .meet .btn-primary:hover, .service-card .btn-primary:hover,
.page-header .btn-primary:hover, .value-hero .btn-primary:hover, .value-promise-section .btn-primary:hover,
.home-contact .btn-primary:hover, .listing-section--alt .btn-primary:hover,
.tour-launch .btn-primary:hover, .tour-card .btn-primary:hover { background: var(--paper); color: var(--black); border-color: var(--paper); }
/* Section divider between the dark Services block and the white Expertise section (homepage). */
.expertise { border-top: 3px solid var(--red); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--paper); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--paper); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
}
.btn-link:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

/* === CALLOUT BAR (sole header — WHITE with color logo, drop-shadow + red baseline so it never blends on scroll) === */
.callout-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  color: var(--charcoal);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.callout-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.callout-bar__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.callout-bar__brand img {
  height: 40px;
  width: auto;
}
.callout-bar__contact {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.callout-bar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--black);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.callout-bar__contact a:hover { color: var(--red); }
.callout-bar__contact svg {
  width: 15px;
  height: 15px;
  color: var(--red);
}
@media (max-width: 760px) {
  .callout-bar__inner { padding: 0.7rem 1rem; gap: 0.75rem; }
  .callout-bar__brand img { height: 32px; }
  .callout-bar__contact { gap: 0.85rem; }
  .callout-bar__contact a { font-size: 0.68rem; letter-spacing: 0.04em; }
  .callout-bar__contact a span.label { display: none; }
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.1rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1.5rem;
}
.brand { justify-self: center; line-height: 0; }
.brand img { height: 56px; width: auto; }
.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-left  { justify-self: end; }
.nav-right { justify-self: start; }
.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--charcoal);
}
.nav a:hover { color: var(--red); }
.nav .phone {
  color: var(--black);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.95rem;
}
@media (max-width: 880px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; }
  .nav-left { display: none; }
  .nav-right { justify-self: end; gap: 1.25rem; }
  .nav-right a:not(.phone) { display: none; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--paper);
  overflow: hidden;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
}
.hero__text {
  display: flex;
  align-items: center;
  padding: 6rem var(--gutter);
  position: relative;
}
.hero__text-inner { max-width: 36rem; width: 100%; }
.hero__text::before {
  content: '';
  position: absolute;
  left: var(--gutter);
  bottom: 4rem;
  width: 64px;
  height: 2px;
  background: var(--red);
}
@media (max-width: 880px) {
  .hero__text { padding: 4rem var(--gutter); }
  .hero__text::before { display: none; }
}
.hero__photo {
  position: relative;
  background: var(--cream);
  min-height: 88vh;
  overflow: hidden;
}
@media (max-width: 880px) {
  .hero__photo { min-height: 56vh; order: -1; }
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero h1 {
  color: var(--black);
  max-width: 12ch;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.hero__sub {
  max-width: 44ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--charcoal);
  margin-bottom: 2.5rem;
  line-height: 1.55;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 880px) { .hero__ctas { justify-content: flex-start; } }

/* === SECTION SHELL === */
section { padding: 4rem 0; }
@media (max-width: 620px) { section { padding: 2.75rem 0; } }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.section-head > div {
  flex: 1;
  min-width: 0;
}
.section-head h2 { margin: 0; max-width: none; }
.section-head .eyebrow { margin: 0 0 0.75rem; }

/* === FEATURED LISTING === */
.featured {
  background: var(--paper);
}
.listing-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (max-width: 880px) { .listing-card { grid-template-columns: 1fr; } }

.listing-card__photo {
  position: relative;
  min-height: 460px;
  background: var(--cream);
  overflow: hidden;
}
.listing-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.listing-card__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--red);
  color: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
}
.listing-card__body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.listing-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.6rem;
}
.listing-card__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.listing-card__price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  color: var(--black);
  font-weight: 500;
  margin: 0 0 0.25rem;
}
.listing-card__addr {
  font-size: 1.05rem;
  color: var(--charcoal);
  margin: 0 0 1.5rem;
}
.listing-card__addr small {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.listing-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 1.25rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.listing-stats > div { line-height: 1.2; }
.listing-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  font-weight: 500;
}
.listing-stats span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.listing-card__desc {
  color: var(--charcoal);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.listing-card__cta {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 560px) {
  .listing-card__body { padding: 2.25rem 1.5rem; }
  .listing-card__photo { min-height: 320px; }
  .listing-card__cta { justify-content: stretch; }
  .listing-card__cta .btn { flex: 1; text-align: center; }
}
/* No-listing fallback: shown in the Featured section when an agent has no listing to feature,
   so the section stays useful instead of empty or showing a fake placeholder listing. */
.featured-cta {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-md);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.featured-cta h2 { margin: 0.5rem 0 1rem; }
.featured-cta p { color: var(--charcoal); max-width: 52ch; margin: 0 auto 1.75rem; line-height: 1.65; }
.featured-cta__actions { display: flex; gap: 1.25rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.featured-cta__link { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* === INSIGHTS (KCM feed) === */
.insights {
  background: var(--paper);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) { .insight-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.insight-card__photo {
  aspect-ratio: 16 / 10;
  background: var(--cream);
  overflow: hidden;
}
.insight-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.insight-card:hover .insight-card__photo img { transform: scale(1.04); }

.insight-card__body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.insight-card__date {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.insight-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  margin: 0 0 1.5rem;
  line-height: 1.3;
  flex: 1;
}
.insight-card__cta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  align-self: flex-start;
}

/* === SERVICES (Buyer / Seller pair) === */
.services {
  background: var(--paper);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 880px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: var(--black);
  color: var(--paper);
  border: 1px solid var(--black);
  display: flex;
  flex-direction: column;
}
.service-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  flex: none; /* eyebrow must not absorb slack — only the body <p> flexes, so headings stay aligned across cards */
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500;
  margin: 0 0 1.25rem;
  color: var(--paper);
}
.service-card p:not(.service-card__num) {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin: 0 0 2rem;
  flex: 1; /* only the body paragraph absorbs slack, so eyebrows + headings align across cards */
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.service-card ul li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: start;
  gap: 0.8rem;
}
.service-card ul li::before {
  content: '\2014';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}
.service-card .btn-outline {
  border-color: var(--paper);
  color: var(--paper);
}
.service-card .btn-outline:hover {
  background: var(--paper);
  color: var(--black);
}
.service-card__cta {
  align-self: flex-end;
}

/* === WHY WORK WITH ME (dark section, no card borders — strong contrast with Expertise) === */
.why {
  background: var(--black);
  color: var(--paper);
}
.why .eyebrow { color: var(--red); }
.why h2 { color: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: transparent;
  padding: 2.5rem 2rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  position: relative;
}
.why-card:last-child { border-right: none; }
@media (max-width: 1080px) {
  .why-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .why-card { border-right: none; }
}
.why-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  margin: 0 0 1.5rem;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 0.85rem;
  color: var(--paper);
  line-height: 1.3;
}
.why-card p:not(.why-card__num) {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* === ABOUT TEASER === */
.about {
  background: var(--paper);
}

/* === PAGE HEADER (inner pages — black + red italic, matches home-value hero) === */
.page-header {
  background: var(--black);
  color: var(--paper);
  border-bottom: none;
  padding: 6rem 0 4.5rem;
}
.page-header .eyebrow { color: var(--red); }
.page-header h1 {
  color: var(--paper);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 400;
  margin: 0.5rem 0 1.25rem;
  max-width: 22ch;
  line-height: 1.08;
}
.page-header h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.page-header p {
  max-width: 60ch;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.65;
}

/* === LISTINGS PAGE === */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) { .listings-grid { grid-template-columns: 1fr; } }

.listing-tile {
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.listing-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing-tile__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.listing-tile__photo img { width: 100%; height: 100%; object-fit: cover; }
.listing-tile__photo .listing-card__badge { top: 1rem; left: 1rem; }
.listing-tile__body { padding: 1.75rem 2rem 2rem; }
.listing-tile__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--black);
  margin: 0 0 0.25rem;
}
.listing-tile__addr {
  color: var(--charcoal);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.listing-tile__stats {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.listing-tile__stats strong { color: var(--black); font-weight: 600; }

.empty-state {
  background: var(--paper);
  border: 1px dashed var(--border);
  text-align: center;
  padding: 5rem 2rem;
}
.empty-state h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.empty-state p { color: var(--muted); max-width: 44ch; margin: 0 auto 2rem; }

/* === LISTING DETAIL (rebuilt to match Aryeo / brealproductions presentation pattern) === */

/* Sticky property sub-nav — Zillow-style: address left, centered links with active underline */
.listing-nav {
  position: sticky;
  top: 51px; /* below the callout bar */
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.listing-nav__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 0;
  padding-bottom: 0;
}
@media (max-width: 880px) {
  .listing-nav__inner { grid-template-columns: 1fr; gap: 0; padding-top: 0.5rem; padding-bottom: 0; }
}
.listing-nav__addr {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  padding: 1rem 0;
}
@media (max-width: 880px) { .listing-nav__addr { font-size: 0.85rem; padding: 0 0 0.25rem; } }
.listing-nav__links {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 880px) {
  .listing-nav__links { overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; flex-wrap: nowrap; }
}
.listing-nav__links a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  padding: 1.15rem 1.1rem 1.05rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
  white-space: nowrap;
}
.listing-nav__links a:hover { color: var(--black); }
.listing-nav__links a.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}
@media (max-width: 880px) { .listing-nav__links a { padding: 0.85rem 0.85rem 0.75rem; font-size: 0.8rem; } }

/* Hero — full-bleed photo with address overlay */
.listing-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
  color: var(--paper);
  padding: 0 0 3rem;
}
.listing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.listing-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,33,34,0.15) 0%, rgba(38,33,34,0.55) 70%, rgba(38,33,34,0.78) 100%);
}
.listing-hero__caption {
  position: relative;
  z-index: 1;
  width: 100%;
}
.listing-hero__caption .eyebrow {
  color: var(--red);
  margin: 0 0 0.5rem;
}
.listing-hero h1 {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.08;
}
.listing-hero__sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

/* Overview section */
.listing-overview {
  padding: 3.5rem 0 4rem;
  background: var(--paper);
}
.listing-overview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.listing-overview__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--black);
  margin: 0 0 0.25rem;
}
.listing-overview__addr {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.listing-overview__desc {
  max-width: 72ch;
  margin-top: 2rem;
}
.listing-overview__desc p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
}

/* Reusable section shell for listing page */
.listing-section { padding: 4.5rem 0; }
.listing-section--alt { background: var(--black); color: var(--paper); }
.listing-section--alt .eyebrow { color: var(--red); }
.listing-section--alt h2 { color: var(--paper); }
.listing-section--alt .section-head .eyebrow::before,
.listing-section--alt .section-head .eyebrow::after {
  background: var(--red);
}

/* Image gallery (mosaic — lead photo + 5 thumbnails) */
.listing-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: clamp(440px, 60vh, 640px);
}
.listing-gallery__tile {
  display: block;
  overflow: hidden;
  position: relative;
  background: var(--black);
}
.listing-gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.listing-gallery__tile:hover img { transform: scale(1.05); }
.listing-gallery__tile--lead { grid-row: span 2; }
.listing-gallery__tile--more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--paper);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.listing-gallery__tile--more:hover { background: var(--red); }
.listing-gallery__tile--more small {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.35rem;
}
@media (max-width: 760px) {
  .listing-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px 160px;
    height: auto;
  }
  .listing-gallery__tile--lead { grid-row: span 1; grid-column: span 2; height: 280px; }
}

/* Floor plans */
.floor-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .floor-plan-grid { grid-template-columns: 1fr; } }
.floor-plan-tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.floor-plan-tile__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--black);
}
.listing-section--alt .floor-plan-tile__label { color: var(--paper); }
.floor-plan-tile__img {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.2s ease;
  border: 1px solid var(--border);
}
.listing-section--alt .floor-plan-tile__img { border-color: rgba(255,255,255,0.15); }
.floor-plan-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
}
.floor-plan-tile:hover .floor-plan-tile__img { transform: scale(1.02); }
.floor-plan-tile__placeholder {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 3D tour — placeholder version + live Zillow embed variant */
.tour-frame {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 5rem 2rem;
  text-align: center;
}
.tour-frame__placeholder p {
  margin: 0 0 1rem;
  color: var(--charcoal);
}
.tour-frame__placeholder p:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
}
.tour-frame__placeholder .btn { margin-top: 1rem; }

.tour-frame--live {
  padding: 0;
  overflow: hidden;
  background: var(--black);
}
.tour-frame--live iframe { display: block; width: 100%; border: 0; }
.tour-frame__caption {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.tour-frame__caption a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  margin-left: 0.5rem;
}
.tour-frame__caption a:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

/* Click-to-launch tour card (replaces unreliable Zillow iframe; CAPTCHA-proof) */
.tour-launch {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.tour-launch__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-launch:hover .tour-launch__bg { transform: scale(1.04); }
.tour-launch__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--paper);
}
.tour-launch__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--red);
  background: var(--paper);
  border-radius: 50%;
  padding: 14px 12px 14px 18px;
}
.tour-launch__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: var(--paper);
}
.tour-launch__caption {
  margin: 0 0 1.75rem;
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
}
.tour-launch__btn { pointer-events: none; /* parent <a> is the clickable */ }
.tour-launch__attrib {
  margin: 1.25rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* Map */
.map-frame {
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
}
.map-frame iframe { display: block; }
.listing-section--alt .map-frame { border-color: rgba(255,255,255,0.2); }

/* Contact: agent card + form */
.listing-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 880px) {
  .listing-contact__grid { grid-template-columns: 1fr; gap: 2rem; }
}
.listing-contact__agent {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 2.5rem 2rem;
  text-align: center;
}
.agent-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
}
.agent-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.listing-contact__agent h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  color: var(--black);
}
.agent-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.agent-link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--black);
  font-size: 1rem;
}
.agent-link:hover { color: var(--red); }
.agent-link:last-of-type { border-bottom: none; }

/* === ZILLOW-STYLE TOP MOSAIC (5 tiles: 1 big + 4 small w/ "see all" overlay) === */
.listing-top {
  background: var(--paper);
  padding: 2.5rem 0 0;
}
.listing-top__gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
  height: clamp(420px, 56vh, 600px);
}
@media (max-width: 880px) {
  .listing-top__gallery { grid-template-columns: 1fr; height: auto; }
}
.listing-top__lead {
  position: relative;
  border: none;
  padding: 0;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}
.listing-top__lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.listing-top__lead:hover img { transform: scale(1.03); }
@media (max-width: 880px) { .listing-top__lead { aspect-ratio: 4 / 3; } }

.listing-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--red);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 2px;
}

.listing-top__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 880px) {
  .listing-top__thumbs { grid-template-rows: 200px 200px; }
}
.listing-top__thumb {
  position: relative;
  border: none;
  padding: 0;
  background: var(--black);
  overflow: hidden;
  cursor: pointer;
}
.listing-top__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.listing-top__thumb:hover img { transform: scale(1.05); }

.listing-top__thumb--more img { opacity: 0.5; }
.listing-top__see-all {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  background: var(--paper);
  color: var(--black);
  padding: 0.7rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background 0.2s ease, color 0.2s ease;
}
.listing-top__see-all:hover { background: var(--red); color: var(--paper); }
.listing-top__see-all svg { width: 14px; height: 14px; }

/* === LISTING META: price + stats + sticky Request a Tour sidebar === */
.listing-meta {
  background: var(--paper);
  padding: 3rem 0 4.5rem;
}
.listing-meta__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 980px) {
  .listing-meta__grid { grid-template-columns: 1fr; }
}
.listing-meta__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--black);
  margin: 0 0 0.5rem;
  line-height: 1;
}
.listing-meta__addr {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 0.25rem;
  color: var(--black);
}
.listing-meta__mls {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: middle;
  padding: 0.25rem 0.6rem;
  background: var(--border);
  border-radius: 2px;
}
.listing-meta__sub {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 2rem;
}
.listing-meta__desc { margin-top: 2rem; max-width: 65ch; }
.listing-meta__desc p { font-size: 1.05rem; line-height: 1.75; color: var(--charcoal); }

/* Description expand — toggle button always sits at the bottom of the description */
.listing-desc-hidden p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.listing-desc-toggle {
  display: inline-block;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0 0 3px;
  margin-top: 0.25rem;
  letter-spacing: 0.01em;
}
.listing-desc-toggle:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

/* MLS listing attribution under the description (legally required for IDX sites) */
.listing-listed-by {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
.listing-listed-by strong { color: var(--black); font-weight: 600; }
.listing-listed-by a { color: var(--red); border-bottom: 1px solid var(--red); }
.listing-listed-by a:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

/* Tour-card "Listed by" label + MLS source line */
.tour-card__agent-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.tour-card__source {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* Facts & features — tabbed sub-menu (categories as pills, panel below) */
.facts-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.facts-tab {
  background: transparent;
  border: none;
  padding: 0.95rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
  white-space: nowrap;
}
.facts-tab:hover { color: var(--black); }
.facts-tab.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}
@media (max-width: 760px) {
  .facts-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .facts-tab { padding: 0.85rem 1rem; font-size: 0.72rem; }
}

.facts-panels { padding: 2rem 0 0; }
.facts-panel { display: none; }
.facts-panel.is-active { display: block; }

/* Each tab's panel contains multiple sub-groups (Zillow-style sectioning) */
.facts-group {
  margin: 0 0 2.75rem;
}
.facts-group:last-child { margin-bottom: 0; }
/* Sub-section header — sans-serif so it reads as a data label, not editorial */
.facts-group h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--black);
}
/* Full-line content paragraphs (Heating: Electric, Ceiling) */
.facts-group p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--charcoal);
}
.facts-group p strong {
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  margin-right: 0.4rem;
}
/* Label/value rows */
.facts-group ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3.5rem;
}
@media (max-width: 760px) { .facts-group ul { grid-template-columns: 1fr; gap: 0; } }
.facts-group li {
  padding: 0.9rem 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 1rem;
  align-items: baseline;
}
.facts-group li strong {
  color: var(--black);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
.facts-group li span {
  color: var(--charcoal);
  font-size: 0.98rem;
}

/* Intro paragraph at the top of a panel (Hidden Gems) */
.facts-intro {
  margin: 0 0 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 70ch;
}

/* Neighborhood + Map combined layout — content left, sticky map right */
.neighborhood-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 980px) {
  .neighborhood-layout { grid-template-columns: 1fr; gap: 2rem; }
}
.neighborhood-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0 0 1.5rem;
}

/* Sub-tabs inside the Neighborhood section (About / Schools / Nearby) */
.hood-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.hood-tab {
  background: transparent;
  border: none;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
  white-space: nowrap;
}
.hood-tab:hover { color: var(--black); }
.hood-tab.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}
@media (max-width: 760px) { .hood-tab { padding: 0.7rem 0.85rem; font-size: 0.72rem; } }

.hood-panel { display: none; }
.hood-panel.is-active { display: block; }
.hood-panel p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 1rem;
}
.hood-panel p strong { color: var(--black); font-weight: 600; }
.hood-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hood-panel > ul > li {
  padding: 0.7rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  align-items: baseline;
}
.hood-panel > ul > li strong {
  color: var(--black);
  font-weight: 600;
}
.hood-panel > ul > li span { color: var(--charcoal); }
.neighborhood-block {
  margin: 0 0 2.5rem;
}
.neighborhood-block:last-child { margin-bottom: 0; }
.neighborhood-block h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--black);
}
.neighborhood-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 1rem;
}
.neighborhood-block p strong { color: var(--black); font-weight: 600; }
.neighborhood-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.neighborhood-block ul li {
  padding: 0.65rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  align-items: baseline;
}
.neighborhood-block ul li strong {
  color: var(--black);
  font-weight: 600;
}
.neighborhood-block ul li span { color: var(--charcoal); }

/* School cards — Zillow-style with rating circle on left */
.schools-list {
  display: flex !important;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 0.75rem !important;
}
.schools-list li {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  gap: 1rem !important;
  align-items: center;
  padding: 1rem 1.25rem !important;
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-bottom: 1px solid var(--border) !important;
}
.school__rating {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--black);
  color: var(--paper);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0;
  letter-spacing: 0;
}
.school__rating small {
  font-size: 0.6rem;
  margin-left: 1px;
  opacity: 0.7;
  font-weight: 400;
}
.school__body { line-height: 1.3; }
.school__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--black);
}
.school__meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.school__badge {
  background: var(--border);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
}
.schools-disclaimer {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
  font-style: italic;
  margin: 0.75rem 0 0 !important;
}

.neighborhood-map {
  position: sticky;
  top: 130px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
}
.neighborhood-map iframe { display: block; }
.neighborhood-map__caption {
  margin: 0;
  padding: 0.85rem 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (max-width: 980px) {
  .neighborhood-map { position: static; }
}

/* Legacy classes kept for fallback (old 3-card grid) — unused now */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .neighborhood-grid { grid-template-columns: 1fr; } }
.neighborhood-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 1.5rem 1.5rem 1.25rem;
}
.neighborhood-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--black);
  margin: 0 0 0.75rem;
}
.neighborhood-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0 0 1.25rem;
}
.neighborhood-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.neighborhood-card li {
  padding: 0.55rem 0;
  font-size: 0.92rem;
  border-bottom: 1px dotted var(--border);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.85rem;
  align-items: baseline;
}
.neighborhood-card li:last-child { border-bottom: none; }
.neighborhood-card li strong {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.neighborhood-card li span { color: var(--charcoal); }
/* Dark-section overrides */
.listing-section--alt .neighborhood-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.listing-section--alt .neighborhood-card h3 { color: var(--paper); }
.listing-section--alt .neighborhood-card p { color: rgba(255,255,255,0.78); }
.listing-section--alt .neighborhood-card ul { border-top-color: rgba(255,255,255,0.12); }
.listing-section--alt .neighborhood-card li { border-bottom-color: rgba(255,255,255,0.12); }
.listing-section--alt .neighborhood-card li strong { color: var(--red); }
.listing-section--alt .neighborhood-card li span { color: rgba(255,255,255,0.88); }

.tour-card {
  position: sticky;
  top: 130px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (max-width: 980px) { .tour-card { position: static; } }
.tour-card__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.tour-card__agent {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.tour-card__agent-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  margin: 0;
}
.tour-card__agent-role {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tour-card__agent-link {
  color: var(--black);
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.tour-card__agent-link:last-child { border-bottom: none; }
.tour-card__agent-link:hover { color: var(--red); }

/* === FLOATING "TOUR THIS HOME" BUTTON === */
.floating-tour-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  background: var(--red);
  color: var(--paper);
  padding: 0.95rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 6px 20px rgba(214, 51, 46, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.floating-tour-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 51, 46, 0.5);
  color: var(--paper);
}
.floating-tour-btn svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
@media (max-width: 560px) {
  .floating-tour-btn { bottom: 1rem; right: 1rem; padding: 0.85rem 1.2rem; font-size: 0.7rem; }
  .floating-tour-btn span { display: none; }
  .floating-tour-btn svg { width: 18px; height: 18px; }
}

/* === PHOTO GALLERY + LIGHTBOX (in-page, no external links) === */
.photo-gallery__count {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.photo-gallery__count strong { color: var(--black); }
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 880px) { .photo-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); } }

.photo-gallery__tile {
  border: none;
  padding: 0;
  background: var(--black);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}
.photo-gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s ease;
  display: block;
}
.photo-gallery__tile:hover img { transform: scale(1.06); }
.photo-gallery__tile:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem;
}
.photo-lightbox[hidden] { display: none; }
.photo-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.photo-lightbox__close,
.photo-lightbox__prev,
.photo-lightbox__next {
  position: fixed;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--paper);
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: var(--font-body);
}
.photo-lightbox__close { top: 1.5rem; right: 1.5rem; font-size: 1.5rem; }
.photo-lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.photo-lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.photo-lightbox__close:hover,
.photo-lightbox__prev:hover,
.photo-lightbox__next:hover { background: var(--red); border-color: var(--red); }
.photo-lightbox__counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 2px;
}
@media (max-width: 560px) {
  .photo-lightbox { padding: 1rem; }
  .photo-lightbox__close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; }
  .photo-lightbox__prev { left: 0.5rem; width: 40px; height: 40px; }
  .photo-lightbox__next { right: 0.5rem; width: 40px; height: 40px; }
}

/* === LEGACY LISTING DETAIL (kept for reference, no longer used) === */
.listing-detail-hero {
  background: var(--paper);
  padding: 3rem 0 0;
}
.listing-detail-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.listing-detail-meta h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  margin: 0.25rem 0 0;
  color: var(--black);
}
.listing-detail-meta .price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--black);
}
.listing-detail-meta .sub {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: clamp(400px, 60vh, 640px);
  margin-bottom: 4rem;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery > :nth-child(1) { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; height: auto; }
  .gallery > :nth-child(1) { grid-row: span 1; grid-column: span 2; height: 280px; }
  .gallery > :nth-child(n+5) { display: none; }
}

.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
@media (max-width: 880px) { .detail-grid { grid-template-columns: 1fr; gap: 2rem; } }

.detail-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  margin: 2rem 0;
}
@media (max-width: 760px) { .detail-stats { grid-template-columns: repeat(2, 1fr); } }
.detail-stats > div { line-height: 1.2; }
.detail-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  font-weight: 500;
}
.detail-stats span {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
}
@media (max-width: 560px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.feature-list li strong { color: var(--black); margin-right: 0.5rem; }

.mls-link {
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  letter-spacing: 0.02em;
}
.mls-link:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

.contact-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2.25rem 2rem;
  position: sticky;
  top: 100px;
}
.contact-card__photo {
  aspect-ratio: 1;
  width: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}
.contact-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}
.contact-card .role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.contact-card a {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--black);
}
.contact-card a:hover { color: var(--red); }
.contact-card .btn { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* === FORMS === */
.form-shell {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: clamp(1.75rem, 4vw, 3rem);
}
/* Submit buttons always right-justified inside any form shell — site-wide rule */
.form-shell > form > button[type="submit"],
.contact-cta__form > button[type="submit"] {
  display: block;
  margin-left: auto;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 2px;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.form-success {
  display: none;
  background: var(--cream);
  border: 1px solid var(--red);
  padding: 2rem;
  text-align: center;
}
.form-success.show { display: block; }
.form-success h3 {
  color: var(--red);
  margin-bottom: 0.5rem;
}
.form-success p { color: var(--charcoal); margin: 0; }
form.hide { display: none; }

/* === SPLIT (about page) === */
.about-page {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  padding: 5rem 0;
}
@media (max-width: 880px) { .about-page { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-page__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.about-page__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%;
  filter: contrast(1.05) saturate(0.92);
}
.about-page__text h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.about-page__text h2:first-child { margin-top: 0; }
.about-page__text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.about-page__text .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--black);
  margin-top: 2.5rem;
}
.about-page__creds {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.about-page__creds dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.about-page__creds dd { margin: 0 0 1rem; color: var(--charcoal); }

/* === CONTACT CTA (about page top-of-page form, 2-col: intro left / form card right) === */
.contact-cta {
  background: var(--paper);
  padding: 5rem 0 5.5rem;
}
.contact-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-cta__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.contact-cta__intro {
  text-align: left;
}
.contact-cta__intro .eyebrow {
  color: var(--red);
  margin: 0 0 1rem;
}
.contact-cta__intro h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
  color: var(--black);
}
.contact-cta__intro h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.contact-cta__intro p {
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0;
}
.contact-cta__form-wrap {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 2.5rem 2.25rem 2rem;
}
.contact-cta__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
}
/* Floating-label fields — labels sit over the input and float up on focus/filled */
.contact-field {
  position: relative;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black);
  padding: 1.5rem 0 0.65rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
}
.contact-field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.contact-field label {
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.contact-field input:focus + label,
.contact-field input:not(:placeholder-shown) + label,
.contact-field textarea:focus + label,
.contact-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.4rem);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.contact-cta__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.contact-cta__direct {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-cta__direct a {
  color: var(--black);
  font-weight: 600;
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
}
.contact-cta__direct a:hover { color: var(--red); border-bottom-color: var(--red); }
.contact-cta__success {
  max-width: 620px;
  margin: 2rem auto 0;
}

/* === ABOUT BIO (was about-page; restructured for new layout) === */
.about-bio {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.about-bio__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 880px) {
  .about-bio__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-bio__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
  position: sticky;
  top: 100px;
}
.about-bio__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: contrast(1.05) saturate(0.92);
}
.about-bio__text .eyebrow {
  color: var(--red);
  margin: 0 0 0.75rem;
}
.about-bio__text h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin: 0 0 1.5rem;
}
.about-bio__text h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.about-bio__text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--black);
}
.about-bio__text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin: 0 0 1.25rem;
}
.about-bio__text .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--black);
  margin-top: 2.5rem;
}
.about-bio__creds {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  font-size: 0.92rem;
}
.about-bio__creds dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.about-bio__creds dd { margin: 0 0 1rem; color: var(--charcoal); }

/* === CONTACT PAGE (legacy; unused now that about.html has its own form) === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding: 5rem 0;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-aside h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--black);
  margin: 2rem 0 0.75rem;
}
.contact-aside h3:first-child { margin-top: 0; }
.contact-aside p, .contact-aside a {
  display: block;
  font-size: 1.1rem;
  color: var(--black);
  margin: 0 0 0.25rem;
}
.contact-aside small { color: var(--muted); font-size: 0.85rem; }

/* === HOME VALUE PAGE === */
.value-form-section {
  background: var(--paper);
  padding: 4.5rem 0;
}
.value-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .value-form-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.value-form-intro {
  text-align: left;
}
.value-form-intro .eyebrow { color: var(--red); margin: 0 0 1rem; }
.value-form-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
}
.value-form-intro p {
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0;
}
.value-form {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 2.5rem 2.25rem 2rem;
}
.field-optional {
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
}
.value-promise-section {
  background: var(--black);
  color: var(--paper);
  padding: 5rem 0;
}
.value-promise-section .eyebrow { color: var(--red); }
.value-promise-section h2 { color: var(--paper); }
.value-promise-section .section-head .eyebrow::before,
.value-promise-section .section-head .eyebrow::after { background: var(--red); }
.value-promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 1080px) { .value-promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-promise-grid { grid-template-columns: 1fr; } }

.value-promise-card {
  padding: 2.5rem 2rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.value-promise-card:last-child { border-right: none; }
@media (max-width: 1080px) {
  .value-promise-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) { .value-promise-card { border-right: none; } }
.value-promise-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  margin: 0 0 1.25rem;
}
.value-promise-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: var(--paper);
}
.value-promise-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.value-hero {
  background: var(--black);
  color: var(--paper);
  padding: 5rem 0 4rem;
}
.value-hero h1 { color: var(--paper); }
.value-hero h1 em { color: var(--red); }
.value-hero p { color: rgba(255,255,255,0.85); max-width: 56ch; }
.value-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding: 5rem 0;
  align-items: start;
}
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.value-promise h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 1rem;
}
.value-promise ol {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  counter-reset: step;
}
.value-promise ol li {
  counter-increment: step;
  position: relative;
  padding: 1rem 0 1rem 3.5rem;
  border-bottom: 1px solid var(--border);
}
.value-promise ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--red);
  font-weight: 500;
}
.value-promise ol li strong { display: block; color: var(--black); margin-bottom: 0.25rem; }
.value-promise ol li span { color: var(--charcoal); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.6s ease;
}
.about__photo:hover img { transform: scale(1.02); }
.about__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(214,51,46,0.08) 100%);
  pointer-events: none;
}
.about__text p {
  font-size: 1.08rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.about__signature {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--black);
}

/* === CTA STRIP (white, with red button — clean closing action) === */
.cta-strip {
  background: var(--paper);
  color: var(--black);
  text-align: center;
  padding: 5.5rem 0;
  border-top: 4px solid var(--red);
}
.cta-strip h2 { color: var(--black); margin-bottom: 1rem; }
.cta-strip p {
  color: var(--charcoal);
  max-width: 52ch;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
}

/* === TESTIMONIALS (BLACK section, WHITE cards — creates rhythm break before CTA) === */
.testimonials {
  background: var(--black);
  color: var(--paper);
}
.testimonials .eyebrow { color: var(--red); }
.testimonials h2 { color: var(--paper); }
.testimonials__rating { color: rgba(255,255,255,0.85); }
.testimonials__rating .sep { color: rgba(255,255,255,0.3); }
.testimonials__rating {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--charcoal);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.testimonials__rating strong {
  color: var(--red);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.testimonials__rating .sep { color: var(--border); margin: 0 0.25rem; }
.testimonials__rating strong { color: var(--red); }
.testimonials__rating a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-left: 0.5rem;
}
.testimonials__rating a:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 880px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: none;
  border-right: 1px solid rgba(255,255,255,0.15);
  padding: 3rem 2.25rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial:last-child { border-right: none; }
@media (max-width: 880px) {
  .testimonial { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .testimonial:last-child { border-bottom: none; }
}
.testimonial::before { display: none; }
.testimonial__stars {
  color: var(--red);
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.testimonial blockquote {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--paper);
  flex: 1;
}
.testimonial blockquote::before { content: '\201C'; color: var(--red); margin-right: 0.05em; }
.testimonial blockquote::after  { content: '\201D'; color: var(--red); margin-left: 0.05em; }
.testimonial__attrib {
  margin: 0;
  padding-top: 0;
  border-top: none;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.testimonial__attrib strong {
  display: block;
  color: var(--paper);
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.testimonial__attrib span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* === ARTICLE (KCM insights detail page) === */
.article-container { max-width: 720px; margin: 0 auto; }

.article-hero {
  background: var(--paper);
  padding: 4rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0.75rem 0 0;
  line-height: 1.2;
  color: var(--black);
}
.article-hero .eyebrow {
  color: var(--muted);
  margin: 0;
}

.article-hero-image {
  margin: 0;
  background: var(--cream);
}
.article-hero-image img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.article-body {
  background: var(--paper);
  padding: 4rem 0 2rem;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--charcoal);
}
.article-body p {
  margin: 0 0 1.5rem;
}
.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--black);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.article-body h2 { font-size: 1.75rem; }
.article-body h3 { font-size: 1.4rem; }
.article-body h4 { font-size: 1.2rem; }
.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--red-dark); }
.article-body strong { color: var(--black); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 2rem auto;
  border: 1px solid var(--border);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--charcoal);
}
.article-body iframe,
.article-body table { max-width: 100%; }
.article-body html,
.article-body body,
.article-body head { display: contents; }

.article-lede {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--black);
  margin: 0 0 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  background: var(--paper);
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
}
.source-credit {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 2rem;
}
.source-credit a { color: var(--charcoal); border-bottom: 1px solid var(--border); }
.source-credit a:hover { color: var(--red); border-bottom-color: var(--red); }

.article-pager {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* === FOOTER === */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  border-top: 1px solid var(--black);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--red); }
.site-footer h4 { color: var(--paper) !important; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
}
.footer-tagline {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15) !important; }
.footer-badges {
  display: inline-flex;
  gap: 0.85rem;
  align-items: center;
}
/* Real REALTOR + EHO logo images. JPGs are mostly black-on-white; we invert
   to render as white-on-transparent so they sit naturally on the black footer
   without awkward white sticker tiles. */
.footer-badge-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-badge-img:hover { opacity: 1; }
/* Footer social links (Facebook, Instagram, LinkedIn). Each link is hideable
   via the [hidden] attribute; flex 'gap' leaves no blank space for a hidden one,
   and the whole row collapses when none are set. */
.footer-social { display: inline-flex; gap: 0.65rem; align-items: center; }
.footer-social a {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a[hidden] { display: none; }
.footer-bottom .footer-social:not(:has(a:not([hidden]))) { display: none; }
/* legacy placeholder badge — kept in case any page still references it */
.badge-realtor {
  width: 32px;
  height: 32px;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-style: italic;
  border-radius: 2px;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1.6fr) 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: center;
}
@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .footer-logo { grid-column: 1 / -1; }
  .footer-tagline { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a:hover { color: var(--red); }
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
/* Broker info (copyright) on the LEFT; social + compliance icons clustered on the RIGHT.
   Right-cluster order: Facebook, Instagram, LinkedIn, REALTOR, Equal Housing. Nothing centered. */
.footer-bottom > span:not(.eho) { order: 1; }
.footer-bottom .footer-social { order: 2; margin-left: auto; }
.footer-bottom .footer-badges { order: 3; }
.footer-bottom .eho { order: 3; }
/* On phones, stack the footer-bottom cleanly: broker line, then the icon cluster, both left. */
@media (max-width: 620px) {
  .footer-bottom { gap: 1.1rem; }
  .footer-bottom .footer-social,
  .footer-bottom .footer-badges,
  .footer-bottom .eho { margin-left: 0; flex-basis: 100%; }
}
.eho {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.eho-mark {
  width: 22px; height: 22px;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.65rem;
  border-radius: 2px;
}

/* === HOME HERO (photo bg + content column with right-justified CTA inside) === */
.home-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38,33,34,0.92) 0%, rgba(38,33,34,0.82) 55%, rgba(38,33,34,0.68) 100%);
}
.home-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.home-hero__text {
  max-width: 58ch;
}
.home-hero .eyebrow {
  color: var(--red);
  margin-bottom: 1.25rem;
}
.home-hero h1 {
  color: var(--paper);
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 400;
  max-width: 18ch;
  margin: 0 0 1.5rem;
  line-height: 1.08;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.home-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.home-hero__sub {
  max-width: 56ch;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.home-hero__cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 2.5rem;
}
@media (max-width: 760px) {
  .home-hero { min-height: 64vh; padding: 4rem 0; }
  .home-hero__cta-row { justify-content: flex-start; }
}

/* === HOME CONTACT (early form on homepage — dark band like .realtor's navy) === */
.home-contact {
  background: var(--black);
  color: var(--paper);
  border-bottom: 1px solid var(--black);
}
.home-contact__head {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}
.home-contact__head .eyebrow { color: var(--red); }
.home-contact__head h2 {
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.home-contact__head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.home-contact__head p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}
.home-contact .form-shell {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  color: var(--charcoal);
}

/* === MEET MIA (BLACK section — visual break in the white run) === */
.meet {
  background: var(--black);
  color: var(--paper);
}
.meet .eyebrow { color: var(--red); }
.meet h2 { color: var(--paper); }
.meet__text p { color: rgba(255,255,255,0.95); }
.meet__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 880px) {
  .meet__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.meet__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
}
.meet__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: contrast(1.05) saturate(0.95);
}
.meet__text h2 {
  margin-bottom: 1.5rem;
}
.meet__text h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.meet__text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.meet__more {
  margin: 1rem 0 1.75rem;
}
.meet__more summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  display: inline-block;
  list-style: none;
  user-select: none;
}
.meet__more summary::-webkit-details-marker { display: none; }
.meet__more[open] summary { margin-bottom: 1.25rem; }
.meet__more[open] summary::after { content: " \2013 close"; }
.meet__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  justify-content: flex-end;
}

/* === EXPERTISE & COVERAGE (white section, red-topped bordered cards) === */
.expertise {
  background: var(--paper);
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) {
  .expertise-grid { grid-template-columns: 1fr; }
}
.expertise-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.expertise-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.expertise-card li {
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--charcoal);
  border-bottom: 1px dotted var(--border);
}
.expertise-card li:last-child { border-bottom: none; }
.expertise-card li::before {
  content: "\2014  ";
  color: var(--red);
  font-weight: 700;
}

/* === GALLERY === */
.gallery-section {
  background: var(--paper);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: clamp(420px, 56vh, 580px);
}
.gallery-tile {
  display: block;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  position: relative;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile:nth-child(1) { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 160px 160px;
    height: auto;
  }
  .gallery-tile:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .gallery-tile:nth-child(n+5) { display: none; }
}

/* === FINAL CTA two-button variant === */
.cta-strip__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === LEGAL PAGES (Privacy Policy, Terms and Conditions) === */
.legal {
  padding: 4.5rem 0 5.5rem;
  background: var(--paper);
}
.legal__body {
  max-width: 68ch;
  margin: 0 auto;
}
.legal__meta {
  font-size: 0.85rem;
  color: var(--muted);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--red);
}
.legal__body h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 2.75rem 0 0.9rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.legal__body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal__body h3 {
  font-size: 1.1rem;
  margin: 1.75rem 0 0.6rem;
}
.legal__body p,
.legal__body li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.legal__body ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal__body li { margin-bottom: 0.5rem; }
.legal__body a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
}
.legal__body a:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }
.legal__body strong { color: var(--black); font-weight: 600; }
.legal__callout {
  background: var(--soft);
  border-left: 3px solid var(--red);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.legal__callout p:last-child { margin-bottom: 0; }

/* === CONSENT CHECKBOX (SMS opt-in on lead forms) === */
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0 0;
}
.consent-field input[type="checkbox"] {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--red);
  cursor: pointer;
}
.consent-field label {
  position: static;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  cursor: pointer;
  pointer-events: auto;
  transform: none;
}
.consent-field a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
}
.consent-field a:hover { color: var(--red-dark); }

/* === FOOTER LEGAL LINKS === */
.footer-legal a { border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer-legal a:hover { color: var(--red); border-bottom-color: var(--red); }
/* The valuation form is block-flow with 1.5rem field margins, not a gapped grid,
   so the consent block needs its own bottom spacing above the submit button. */
.value-form .consent-field { margin-bottom: 1.5rem; }
