/* ==========================================================================
   Kwon Home Group — brand site
   - Brand: KHG Brand Guide V1.0. Ink/Paper foundation, Volt signature,
     Cobalt labels, Race Red urgency. 70 paper / 20 ink / 10 accent.
   - Type: Archivo (display Expanded 900 uppercase, body 400/600),
     Space Mono for eyebrows/codes/spec data.
   - Look: hard grid, hard-edged rectangles, no rounded corners, no shadows,
     no gradients (except ink gradients over photography for legibility).
   ========================================================================== */

:root {
  --ink: #111214;
  --paper: #ffffff;
  --bone: #f2f1ec;
  --volt: #ff2e88; /* matches the 124 Chant listing-site accent */
  --cobalt: #1b3fe0;
  --red: #e4002b;
  --concrete-1: #e4e3de;
  --concrete-2: #c4c3bc;
  --concrete-3: #86857e;
  --concrete-4: #3a3a38;

  --line: rgba(17, 18, 20, 0.14);
  --line-strong: rgba(17, 18, 20, 0.25);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted: rgba(17, 18, 20, 0.62);
  --muted-light: rgba(255, 255, 255, 0.66);

  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", "SFMono-Regular", Menlo, monospace;

  --max: 1200px;
  --pad: clamp(1.25rem, 5vw, 3rem);
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- type primitives ---------- */

.display-type {
  font-family: var(--sans);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 1.1rem;
}
.eyebrow-volt { color: var(--volt); }
.eyebrow-chip {
  color: var(--ink);
  background: var(--volt);
  display: inline-block;
  padding: 0.3em 0.6em;
}

.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- section scaffolding ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) var(--pad); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.alt-bg { background: var(--bone); }
.ink-bg { background: var(--ink); color: var(--paper); }

.section-title {
  font-family: var(--sans);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.0;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}
.ink-bg .section-title { color: var(--paper); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4.5vw, 3.2rem);
}
.section-head .head-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--volt);
  padding-bottom: 0.35rem;
  white-space: nowrap;
}
.section-lede {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1.1rem;
  font-size: 1rem;
}
.ink-bg .section-lede { color: var(--muted-light); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

.btn-volt { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.btn-volt:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn-ghost-dark { border-color: var(--line-light); color: var(--paper); }
.btn-ghost-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--paper); color: var(--ink); }

.arw { transition: transform 0.2s ease; }
.btn:hover .arw { transform: translateX(4px); }

/* ---------- barcode motif ---------- */

.barcode { height: 34px; display: flex; align-items: stretch; gap: 1.5px; }
.barcode i { display: block; background: currentColor; width: 2px; }
.barcode.sm { height: 22px; }

/* ---------- status chips ---------- */

.chip {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 0.42em 0.7em;
  display: inline-block;
}
.chip-volt { background: var(--volt); color: var(--ink); }
.chip-red { background: var(--red); color: var(--paper); }

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink);
}
.topbar-inner {
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.topbar-brand {
  font-family: var(--sans);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  white-space: nowrap;
}
.topbar-nav { margin-left: auto; display: flex; gap: 1.5rem; }
.topbar-nav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
  transition: opacity 0.2s ease;
  padding: 0.4rem 0;
}
.topbar-nav a:hover { opacity: 1; }
.topbar-nav a.active { opacity: 1; border-bottom: 2px solid var(--volt); }
.topbar-cta { display: flex; align-items: center; gap: 1rem; }
.topbar-phone { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; }

.menu-btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 0.55rem 0.8rem;
}

/* mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  left: auto;
  width: min(520px, 100%);
  z-index: 70;
  background: var(--ink);
  color: var(--paper);
  padding: calc(1.2rem + env(safe-area-inset-top)) var(--pad) calc(1.4rem + env(safe-area-inset-bottom));
  flex-direction: column;
  border-left: 1px solid var(--line-light);
  box-shadow: 0 0 0 100vmax rgba(17, 18, 20, 0.5);
}
.mobile-nav.open { display: flex; }
.mobile-nav .mn-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.mobile-nav .mn-brand {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1rem;
}
.mobile-nav .mn-close { border: 1px solid var(--line-light); color: var(--paper); padding: 0.55rem 0.8rem; font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-nav nav { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.mobile-nav nav a {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(1.2rem, 4.8vw, 1.55rem); line-height: 1.2;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line-light);
  flex: 0 0 auto; min-height: 44px; display: flex; align-items: center;
}
.mobile-nav nav a.active { color: var(--volt); }
.mobile-nav .mn-foot { flex: 0 0 auto; margin-top: auto; padding-top: 1.4rem; font-family: var(--mono); font-size: 0.78rem; color: var(--muted-light); line-height: 2; }

@media (max-width: 1000px) {
  .topbar-nav, .topbar-cta .btn { display: none; }
  .topbar-phone { display: none; }
  .menu-btn { margin-left: auto; }
}

/* ==========================================================================
   Hero — homepage (photo, ink gradient for legibility)
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  min-height: clamp(600px, 92vh, 950px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(12deg, rgba(17, 18, 20, 0.92) 18%, rgba(17, 18, 20, 0.45) 55%, rgba(17, 18, 20, 0.25) 100%);
}
.hero-top {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 2.6rem) var(--pad) 0;
}
.hero-loc {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light);
}
.hero-loc b { color: var(--volt); font-weight: 700; }
.hero-inner {
  position: relative; z-index: 2;
  margin-top: auto;
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
  padding: 0 var(--pad) clamp(2.5rem, 6vw, 4.5rem);
}
.hero-eyebrow { color: var(--volt); margin-bottom: 1.4rem; }
.hero-h1 {
  font-family: var(--sans);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.9;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  max-width: 14ch;
}
.hero-h1 .volt-dot { color: var(--volt); }
.hero-specs {
  font-family: var(--mono);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  font-size: clamp(0.72rem, 1.3vw, 0.86rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-light);
  margin: 1.8rem 0 2.2rem;
}
.hero-specs .spec-divider { width: 1px; height: 1em; background: rgba(255, 255, 255, 0.4); }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* interior page hero (short, ink) */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 7rem) var(--pad) clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .section-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.025em; line-height: 0.92;
  font-size: clamp(2.6rem, 7.5vw, 5.5rem);
  max-width: 16ch;
}
.page-hero .eyebrow { color: var(--volt); }
.page-hero .hero-sub { color: var(--muted-light); max-width: 52ch; margin-top: 1.4rem; font-size: 1.02rem; }
.page-hero .watermark {
  position: absolute; right: -3vw; bottom: -6vh; z-index: 1;
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.8;
  font-size: clamp(8rem, 22vw, 20rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
  pointer-events: none; white-space: nowrap;
}

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) var(--pad); }
.stats-band .section-inner { max-width: var(--max); }
.stats-head {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem;
}
.stats-head .eyebrow { color: var(--volt); margin-bottom: 0; }
.stats-head p { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted-light); max-width: 44ch; }
.stat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 1.6rem 1.1rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stat-cell .v {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 0.9; letter-spacing: -0.02em;
}
.stat-cell .v .u { color: var(--volt); }
.stat-cell .l {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-light); margin-top: 0.7rem;
}
.stat-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.stat-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .stat-grid.cols-5, .stat-grid.cols-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .stat-grid, .stat-grid.cols-4, .stat-grid.cols-5, .stat-grid.cols-6 { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Accolades marquee
   ========================================================================== */

.acc { background: var(--bone); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.acc-track { display: flex; white-space: nowrap; animation: acc-scroll 40s linear infinite; }
.acc:hover .acc-track { animation-play-state: paused; }
@keyframes acc-scroll { to { transform: translateX(-50%); } }
.acc-item {
  display: flex; align-items: center;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 0;
}
.acc-item .s { color: var(--cobalt); margin: 0 2rem; }
@media (prefers-reduced-motion: reduce) { .acc-track { animation: none; flex-wrap: wrap; white-space: normal; } }

/* ==========================================================================
   Featured listing split
   ========================================================================== */

.feat-grid { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--ink); }
.feat-visual { position: relative; min-height: 520px; background: var(--ink); }
.feat-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-visual .chip { position: absolute; top: 16px; left: 16px; z-index: 3; }
.feat-visual .over {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.6rem; color: var(--paper);
  background: linear-gradient(0deg, rgba(17, 18, 20, 0.9), rgba(17, 18, 20, 0));
}
.feat-visual .over .ov-loc { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); margin-bottom: 0.5rem; }
.feat-visual .over .ov-title {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 0.95;
}
.feat-body { padding: clamp(2rem, 4vw, 3.2rem); background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.feat-body h3 {
  font-family: var(--sans); font-stretch: 112%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.02;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0.7rem 0 1.4rem;
}
.feat-oh {
  display: inline-flex; align-items: center; gap: 0.5em; align-self: flex-start;
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--volt); color: var(--ink); padding: 0.55em 0.9em; margin-bottom: 1.2rem;
}
.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 1.6rem; }
.spec-row > div { padding: 1rem 0.9rem; border-right: 1px solid var(--line); }
.spec-row > div:last-child { border-right: none; }
.spec-row .n { font-family: var(--sans); font-stretch: 112%; font-weight: 900; font-size: 1.4rem; letter-spacing: -0.01em; }
.spec-row .k { font-family: var(--mono); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
.feat-body .desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.8rem; }
.feat-price { font-family: var(--sans); font-stretch: 112%; font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1.4rem; }
@media (max-width: 840px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } .feat-grid > * { min-width: 0; } .feat-visual { min-height: 0; width: 100%; aspect-ratio: 3/2; } }

/* ==========================================================================
   Listing cards
   ========================================================================== */

.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { border: 1px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; transition: transform 0.25s ease; }
.card:hover { transform: translateY(-4px); }
.card-visual { position: relative; aspect-ratio: 3/2; background: var(--concrete-1); overflow: hidden; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-visual img { transform: scale(1.04); }
.card-visual .chip { position: absolute; top: 12px; left: 12px; z-index: 3; }
.card-body { padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-oh {
  margin-top: auto; align-self: flex-start;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--volt); color: var(--ink); padding: 0.45em 0.7em;
}
.card-oh .oh-lead, .feat-oh .oh-lead { margin-right: 0.4em; }
.card-oh .oh-seg + .oh-seg::before,
.feat-oh .oh-seg + .oh-seg::before { content: "·\00a0"; margin-left: 0.35em; opacity: 0.55; }
/* Just Reduced price-drop badge */
.just-reduced { display: inline-flex; align-items: center; gap: 0.5em; margin: 0.4rem 0 0.1rem; }
.jr-tag { background: var(--volt); color: var(--ink); font-family: var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.32em 0.6em; }
.jr-note { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: var(--volt); }
.jr-card { display: inline-flex; align-items: center; gap: 0.45em; margin-top: 0.1rem; align-self: flex-start; flex-wrap: wrap; }
.jr-card .jr-tag { font-size: 0.54rem; }
.jr-card .jr-note { color: var(--cobalt); font-size: 0.6rem; }
/* Open-house band: header + day labels must be ink (dark) on the volt band, not volt-on-volt */
.proofbar[data-oh-group] b { color: var(--ink); }
.proofbar[data-oh-group] .oh-item { margin-left: 0.4em; }
.proofbar[data-oh-group] .oh-item b { margin-right: 0.5em; }
.card-loc { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cobalt); }
.card-title {
  font-family: var(--sans); font-stretch: 112%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
  font-size: 1.25rem; line-height: 1;
}
.card-price { font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; margin-top: 0.2rem; }
.card-specs {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 0.8rem; margin-top: auto;
  display: flex; gap: 0.8rem; flex-wrap: wrap;
}
@media (max-width: 900px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .listing-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Method flow (PREP → CLOSE)
   ========================================================================== */

.flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.flow-step { padding: 1.6rem 1.2rem 2rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.flow-step .no { font-family: var(--mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; color: var(--volt); }
.flow-step .nm {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
  font-size: 1.5rem; margin: 0.7rem 0 0.5rem;
}
.flow-step p { color: var(--muted-light); font-size: 0.82rem; }
.flow-step.final { background: var(--volt); color: var(--ink); }
.flow-step.final .no { color: var(--ink); }
.flow-step.final p { color: rgba(17, 18, 20, 0.7); }
@media (max-width: 820px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* light variant (paper ground) */
.flow.on-paper { border-color: var(--ink); }
.flow.on-paper .flow-step { border-color: var(--ink); }
.flow.on-paper .flow-step .no { color: var(--cobalt); }
.flow.on-paper .flow-step p { color: var(--muted); }

/* ==========================================================================
   Communities index
   ========================================================================== */

.hood-list { border-top: 1px solid var(--ink); }
.hood {
  display: grid;
  grid-template-columns: 52px 44px 1.1fr 2fr auto;
  gap: 1.4rem; align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--ink);
  transition: padding-left 0.25s ease;
}
.hood:hover { padding-left: 0.8rem; }
.hood .no { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; color: var(--cobalt); }
.hood .ic svg { display: block; }
.hood .nm {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1;
}
.hood .ds { color: var(--muted); font-size: 0.9rem; }
.hood .go { font-family: var(--mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.hood:hover .go { color: var(--cobalt); }
@media (max-width: 780px) {
  .hood { grid-template-columns: 40px 1fr; gap: 0.4rem 1rem; }
  .hood .ic { display: none; }
  .hood .ds { grid-column: 2; }
  .hood .go { grid-column: 2; margin-top: 0.3rem; }
}

/* community detail blocks (communities.html) */
.comm-block {
  display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink);
  margin-bottom: 1.5rem;
}
.comm-block:nth-child(even) .comm-body { order: -1; }
.comm-visual { position: relative; min-height: 340px; background: var(--concrete-1); }
.comm-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comm-body { padding: clamp(1.8rem, 3.5vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.comm-body h3 {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 0.95;
  margin: 0.6rem 0 1rem;
}
.comm-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.comm-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.comm-tags span {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line-strong); padding: 0.4em 0.7em;
}
@media (max-width: 840px) {
  .comm-block { grid-template-columns: 1fr; }
  .comm-block:nth-child(even) .comm-body { order: 0; }
  .comm-visual { min-height: 0; aspect-ratio: 3/2; }
}

/* ==========================================================================
   Buy / Sell split
   ========================================================================== */

.bs { display: grid; grid-template-columns: 1fr 1fr; }
.bs-block {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--pad);
  min-height: clamp(300px, 36vw, 440px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.bs-buy { background: var(--bone); color: var(--ink); }
.bs-sell { background: var(--ink); color: var(--paper); }
.bs-block h3 {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 0.92;
  margin: 1.2rem 0 1rem;
}
.bs-block p { max-width: 34ch; font-size: 0.95rem; }
.bs-sell p { color: var(--muted-light); }
.bs-buy p { color: var(--muted); }
.bs-block .bs-foot { margin-top: 2rem; }
.bs-sell .eyebrow { color: var(--volt); }
@media (max-width: 760px) { .bs { grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { border: 1px solid var(--ink); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; background: var(--paper); }
.quote .stars { letter-spacing: 2px; margin-bottom: 1rem; font-size: 0.9rem; }
.quote p { font-size: 1rem; line-height: 1.55; }
.quote .by {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt);
  margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
@media (max-width: 820px) { .testi-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Team / agents
   ========================================================================== */

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.agent { border: 1px solid var(--line-light); padding: clamp(1.8rem, 3vw, 2.6rem); display: flex; gap: 1.6rem; align-items: center; }
.agent-photo {
  width: 110px; height: 110px; border-radius: 50%;
  flex-shrink: 0; overflow: hidden; background: var(--concrete-4);
}
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-photo.placeholder { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.agent .nm {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
  font-size: 1.6rem; line-height: 1;
}
.agent .ti { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); margin-top: 0.5rem; }
.agent .ct { font-family: var(--mono); font-size: 0.74rem; color: var(--muted-light); margin-top: 0.9rem; line-height: 1.8; }
.agent .ct a:hover { color: var(--paper); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } .agent { flex-direction: column; text-align: center; } }

/* light variant */
.team-grid.on-paper .agent { border-color: var(--ink); }
.team-grid.on-paper .agent .ti { color: var(--cobalt); }
.team-grid.on-paper .agent .ct { color: var(--muted); }
.team-grid.on-paper .agent .ct a:hover { color: var(--ink); }

/* ==========================================================================
   Forms (Netlify-ready)
   ========================================================================== */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.45rem; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  padding: 0.9rem 1rem;
  font-family: var(--mono); font-size: 0.85rem; color: var(--ink);
  border-radius: 0;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cobalt); outline-offset: 1px; border-color: var(--ink); }
.form-disc { font-family: var(--mono); font-size: 0.6rem; line-height: 1.6; color: var(--muted); margin-top: 0.9rem; max-width: 60ch; }
.form-ok {
  display: none;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--volt); color: var(--ink);
  padding: 1rem 1.2rem; margin-top: 1rem;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* dark ground form */
.ink-bg .field label { color: var(--muted-light); }
.ink-bg .field input, .ink-bg .field select, .ink-bg .field textarea {
  background: transparent; border-color: var(--line-light); color: var(--paper);
}
.ink-bg .field input::placeholder, .ink-bg .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.ink-bg .form-disc { color: rgba(255, 255, 255, 0.45); }

/* ==========================================================================
   Newsletter band (volt)
   ========================================================================== */

.news { background: var(--ink); color: var(--paper); }
.news-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; max-width: var(--max); margin: 0 auto; }
.news h2 {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: var(--paper);
}
.news h2 .hl { color: var(--volt); }
.news .sub { font-family: var(--mono); font-size: 0.8rem; margin-top: 1rem; max-width: 38ch; color: var(--muted-light); }
.news form { display: flex; flex-direction: column; gap: 0.8rem; }
.news .row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.news input {
  flex: 1; min-width: 170px;
  background: transparent; border: 1px solid var(--line-light);
  padding: 0.9rem 1rem; font-family: var(--mono); font-size: 0.85rem; color: var(--paper);
  border-radius: 0;
}
.news input::placeholder { color: rgba(255, 255, 255, 0.45); }
.news input:focus { outline: 2px solid var(--volt); outline-offset: 1px; }
.news .form-disc { color: rgba(255, 255, 255, 0.45); }
@media (max-width: 760px) { .news-inner { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list { border-top: 1px solid var(--ink); }
.faq { border-bottom: 1px solid var(--ink); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.3rem 0;
  font-family: var(--sans); font-stretch: 112%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .fx { font-family: var(--mono); font-weight: 700; color: var(--cobalt); flex-shrink: 0; }
.faq[open] summary .fx { color: var(--red); }
.faq .fa { padding: 0 0 1.4rem; color: var(--muted); max-width: 68ch; font-size: 0.95rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 6vw, 5rem) var(--pad) 2.5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-light);
}
.footer-brand .bn {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.3rem;
}
.footer-brand p { color: var(--muted-light); font-size: 0.86rem; margin-top: 1rem; max-width: 34ch; }
.footer-soc { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-soc a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.05em; color: var(--muted-light);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-soc a:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.footer-col h4 {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--volt); margin-bottom: 1.1rem;
}
.footer-col a, .footer-col p { display: block; color: var(--muted-light); font-size: 0.84rem; margin-bottom: 0.7rem; font-family: var(--mono); }
.footer-col a:hover { color: var(--paper); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.8rem;
  font-family: var(--mono); font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.4); line-height: 1.7;
}
.footer-legal .dre { max-width: 64ch; }
@media (max-width: 820px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-top > * { min-width: 0; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 360px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Misc composition helpers
   ========================================================================== */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 840px) { .two-col { grid-template-columns: 1fr; } }

.photo-frame { position: relative; border: 1px solid var(--ink); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .pf-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--paper); border: 1px solid var(--ink);
  padding: 0.9rem 1.1rem;
}
.photo-frame .pf-badge .b1 { font-family: var(--sans); font-stretch: 112%; font-weight: 900; font-size: 1.2rem; }
.photo-frame .pf-badge .b2 { font-family: var(--mono); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }

/* ==========================================================================
   Find-your-guide cards (Buyers / Sellers / Press)
   ========================================================================== */

.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gcard { position: relative; border: 1px solid var(--ink); display: block; overflow: hidden; }
.gcard .gc-img { aspect-ratio: 4/5; overflow: hidden; background: var(--concrete-1); }
.gcard .gc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gcard:hover .gc-img img { transform: scale(1.04); }
.gcard .gc-label {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}
.gcard .gc-label .t {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.3rem;
}
.gcard .gc-label .a { font-family: var(--mono); font-weight: 700; color: var(--volt); }
@media (max-width: 820px) { .guide-cards { grid-template-columns: 1fr; } .gcard .gc-img { aspect-ratio: 16/9; } }

/* ==========================================================================
   Press-logo band (as featured in)
   ========================================================================== */

.logo-band { background: var(--ink); padding: 2.2rem var(--pad); }
.logo-band-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap;
}
.logo-band .lb-label {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light);
}
.logo-band img { height: 26px; width: auto; opacity: 0.85; }
.logo-band img.tall { height: 34px; }
@media (max-width: 640px) { .logo-band-inner { justify-content: center; } }

/* ==========================================================================
   Press cards (success page)
   ========================================================================== */

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pcard { border: 1px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; transition: transform 0.25s ease; }
.pcard:hover { transform: translateY(-4px); }
.pcard .pc-img { aspect-ratio: 3/2; overflow: hidden; background: var(--concrete-1); }
.pcard .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pc-body { padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.pcard .pc-src { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cobalt); }
.pcard .pc-title {
  font-family: var(--sans); font-stretch: 112%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.15rem; line-height: 1.05;
}
.pcard .pc-more { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); margin-top: auto; padding-top: 0.8rem; }
@media (max-width: 820px) { .press-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Video / blog feature split
   ========================================================================== */

.vid-feature { display: grid; grid-template-columns: 1.35fr 1fr; border: 1px solid var(--ink); }
.vid-feature .vf-img { position: relative; min-height: 320px; background: var(--ink); }
.vid-feature .vf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vid-feature .vf-img .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.vid-feature .vf-img .play span {
  width: 74px; height: 74px; background: var(--volt); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.vid-feature .vf-body { padding: clamp(2rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.vid-feature .vf-body h3 {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0.7rem 0 1.1rem;
}
.vid-feature .vf-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
@media (max-width: 840px) { .vid-feature { grid-template-columns: 1fr; } .vid-feature .vf-img { min-height: 0; aspect-ratio: 16/9; } }

/* ==========================================================================
   Sold records (spec-sheet rows)
   ========================================================================== */

.sold-list { border-top: 1px solid var(--ink); }
.sold-row {
  display: grid; grid-template-columns: auto 1.4fr 1fr 1.2fr auto; gap: 1.4rem;
  align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--ink);
  transition: padding-left 0.25s ease;
}
.sold-row:hover { padding-left: 0.8rem; }
.sold-row .chip { flex-shrink: 0; }
.sold-row .ad {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1;
}
.sold-row .pr { font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: 1.15rem; }
.sold-row .sp { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sold-row .ct { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 780px) {
  .sold-row { grid-template-columns: auto 1fr; gap: 0.4rem 1rem; }
  .sold-row .pr, .sold-row .sp, .sold-row .ct { grid-column: 2; }
}

/* ==========================================================================
   Hero social links row
   ========================================================================== */

.hero-social { display: flex; gap: 0.7rem; margin-top: 2rem; }
.hero-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  color: var(--paper);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero-social a:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }

.checklist { list-style: none; border-top: 1px solid var(--ink); }
.checklist li {
  display: grid; grid-template-columns: 30px 200px 1fr; gap: 1.2rem;
  align-items: baseline;
  padding: 1.1rem 0; border-bottom: 1px solid var(--ink);
}
.checklist .ck { font-family: var(--mono); font-size: 0.85rem; color: var(--cobalt); }
.checklist .ct2 { font-family: var(--sans); font-stretch: 112%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1rem; }
.checklist p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) { .checklist li { grid-template-columns: 30px 1fr; } .checklist p { grid-column: 2; } }

/* compact community-guide rows (neighborhoods index) */
.hood.compact { grid-template-columns: 52px 1fr auto; }

/* ==========================================================================
   Neighborhood guide pages
   ========================================================================== */

.hero.short { min-height: clamp(440px, 62vh, 680px); }
.hero .hero-h1.md { font-size: clamp(2.6rem, 8vw, 6rem); }

.guide-copy { max-width: 76ch; }
.guide-copy p { color: var(--muted); font-size: 1rem; margin-bottom: 1.1rem; }
.ink-bg .guide-copy p { color: var(--muted-light); }
.guide-copy .gsub {
  font-family: var(--sans); font-stretch: 112%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.05rem;
  margin: 1.6rem 0 0.5rem; color: var(--ink);
}
.ink-bg .guide-copy .gsub { color: var(--paper); }
.guide-copy ul { list-style: none; margin: 0 0 1.1rem; }
.guide-copy ul li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.5rem;
  color: var(--muted); font-size: 0.98rem;
}
.guide-copy ul li::before { content: "\25A0"; position: absolute; left: 0; top: 0.1em; font-size: 0.6em; color: var(--volt); }
.ink-bg .guide-copy ul li { color: var(--muted-light); }

/* long sub-tract lists flow into columns */
.guide-copy ul.cols { columns: 2; column-gap: 3rem; }
@media (max-width: 700px) { .guide-copy ul.cols { columns: 1; } }

/* data tables (market snapshots) */
.gtable-wrap { overflow-x: auto; border: 1px solid var(--ink); }
.gtable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gtable th, .gtable td {
  text-align: left; padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line); font-size: 0.9rem;
}
.gtable th, .gtable tr:first-child td {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--ink);
}
.gtable tr:last-child td { border-bottom: none; }

/* topbar Properties dropdown (Featured / Sold, like the live submenu) */
.nav-sub { position: relative; display: inline-flex; }
.nav-sub > a { padding-right: 1.1em; }
.nav-sub > a::after {
  content: ""; position: absolute; right: 0.15em; top: 50%;
  width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.nav-sub .sub {
  position: absolute; top: 100%; left: -1rem; z-index: 70;
  min-width: 200px; padding: 0.4rem 0;
  background: var(--paper); border: 1px solid var(--ink);
  display: none; flex-direction: column;
}
.nav-sub:hover .sub, .nav-sub:focus-within .sub { display: flex; }
.nav-sub .sub a { padding: 0.6rem 1rem; opacity: 0.8; }
.nav-sub .sub a:hover { opacity: 1; background: var(--bone); }

/* property-page photo gallery */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gal-cell { aspect-ratio: 4/3; overflow: hidden; background: var(--concrete-1); border: 1px solid var(--ink); }
.gal-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gal-cell:hover img { transform: scale(1.04); }
.gal-grid .gal-cell:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 760px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } .gal-grid .gal-cell:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 4/3; } }

/* ==========================================================================
   Blog
   ========================================================================== */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-grid .pcard.hidden { display: none; }
.pcard .pc-date { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }

.article-hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.article-hero .ah-photo { position: absolute; inset: 0; }
.article-hero .ah-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-hero .ah-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(8deg, rgba(17,18,20,.94) 25%, rgba(17,18,20,.55) 65%, rgba(17,18,20,.3)); }
.article-hero .ah-inner {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto;
  padding: clamp(7rem, 18vw, 14rem) var(--pad) clamp(2.5rem, 5vw, 4rem);
}
.article-hero h1 {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem); max-width: 26ch;
}
.article-hero .ah-meta { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); margin-top: 1.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.article-hero .ah-meta b { color: var(--volt); }

.article-body { max-width: 76ch; margin: 0 auto; }
.article-body p { color: var(--text, rgba(17,18,20,.78)); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.2rem; }
.article-body h2, .article-body h3 {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.05;
  margin: 2.4rem 0 1rem;
}
.article-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.article-body h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.article-body h2::before, .article-body h3::before {
  content: ""; display: block; width: 44px; height: 3px; background: var(--volt); margin-bottom: 0.7rem;
}
.article-body a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.3rem; }
.article-body li { margin-bottom: 0.5rem; font-size: 1.02rem; line-height: 1.65; color: rgba(17,18,20,.78); }
.article-body img { width: 100%; height: auto; border: 1px solid var(--ink); margin: 1.6rem 0; }
.article-body blockquote {
  border-left: 3px solid var(--volt); padding: 0.4rem 0 0.4rem 1.4rem; margin: 1.8rem 0;
  font-family: var(--sans); font-stretch: 112%; font-weight: 700; font-size: 1.15rem;
}
.article-body table { border-collapse: collapse; width: 100%; margin: 1.6rem 0; font-variant-numeric: tabular-nums; }
.article-body td, .article-body th { border: 1px solid var(--line-strong); padding: 0.6rem 0.9rem; font-size: 0.92rem; }

/* logo image lockups (replaces the text wordmark) */
.topbar-brand img { height: 42px; width: auto; display: block; }
.mn-brand img { height: 36px; width: auto; display: block; }
.footer-brand .bn img { height: 52px; width: auto; display: block; }

/* Selling / Buying split panels — photo backdrops at 40% opacity */
.bs-block { position: relative; overflow: hidden; }
.bs-block .bs-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.4; z-index: 0;
}
.bs-block > *:not(.bs-bg) { position: relative; z-index: 1; }

/* featured-listing toggle tabs */
.feat-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.feat-tabs button {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.7rem 1.1rem; border: 1px solid var(--ink); background: transparent;
  cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.feat-tabs button:hover { background: var(--bone); }
.feat-tabs button.active { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.feat-panel[hidden] { display: none; }

/* selling/buying panels: larger, higher-contrast copy over the photo layer */
.bs-block p { font-size: 1.25rem; font-weight: 500; line-height: 1.5; max-width: 30ch; }
.bs-sell p { color: rgba(255, 255, 255, 0.95); }
.bs-buy p { color: rgba(17, 18, 20, 0.9); }
.bs-block .eyebrow { font-size: 0.78rem; }

/* ==========================================================================
   Photo lightbox (property galleries)
   ========================================================================== */

.gal-more { text-align: center; margin-top: 1.6rem; }
.lb {
  position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 12, 0.96);
  display: none; flex-direction: column;
}
.lb.open { display: flex; }
.lb-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem clamp(1rem, 3vw, 2rem); color: var(--paper);
}
.lb-count { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; }
.lb-actions { display: flex; gap: 0.6rem; }
.lb-actions button {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4); color: var(--paper); padding: 0.55rem 0.9rem;
}
.lb-actions button:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 clamp(3.4rem, 7vw, 5rem); }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.4); color: var(--paper); font-size: 1.1rem;
  background: rgba(17,18,20,0.5);
}
.lb-nav:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.lb-prev { left: clamp(0.6rem, 2vw, 1.6rem); }
.lb-next { right: clamp(0.6rem, 2vw, 1.6rem); }
.lb-grid {
  flex: 1; overflow-y: auto; padding: 0 clamp(1rem, 3vw, 2rem) 2rem;
  display: none; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px;
  align-content: start;
}
.lb.gridmode .lb-grid { display: grid; }
.lb.gridmode .lb-stage, .lb.gridmode .lb-nav { display: none; }
.lb-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; border: 1px solid rgba(255,255,255,0.15); }
.lb-grid img:hover { border-color: var(--volt); }

/* property media sections */
.media-frame { border: 1px solid var(--ink); background: var(--ink); }
.media-frame iframe { width: 100%; height: clamp(340px, 56vw, 620px); border: 0; display: block; }
.floorplan-frame { border: 1px solid var(--ink); background: var(--paper); }
.floorplan-frame img { width: 100%; height: auto; }

/* ==========================================================================
   Success page — interactive credibility sections
   ========================================================================== */

.proofbar {
  position: sticky; top: 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.proofbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.55rem var(--pad);
  display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.proofbar b { color: var(--volt); font-weight: 700; }
@media (max-width: 720px) { .proofbar-inner span:nth-child(n+4) { display: none; } }

/* trophy / prestige cards */
.prestige-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trophy {
  border: 1px solid var(--ink); padding: 1.8rem 1.6rem; background: var(--paper);
  position: relative; overflow: hidden; transition: transform 0.25s ease;
}
.trophy:hover { transform: translateY(-4px); }
.trophy .t-year {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; background: var(--ink); color: var(--paper);
  display: inline-block; padding: 0.35em 0.6em; margin-bottom: 1.2rem;
}
.trophy .t-big {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.02em; line-height: 0.9;
}
.trophy .t-big .u { color: var(--volt); }
.trophy .t-label { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); margin-top: 0.8rem; line-height: 1.7; }
@media (max-width: 860px) { .prestige-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prestige-grid { grid-template-columns: 1fr; } }

/* choose-your-path cards */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.path-card {
  position: relative; border: 1px solid var(--ink); background: var(--paper);
  padding: 2.2rem 1.8rem; overflow: hidden; cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.path-card .p-num {
  position: absolute; right: -0.05em; top: -0.18em;
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  font-size: 7rem; line-height: 1; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(17,18,20,0.12);
  pointer-events: none; transition: -webkit-text-stroke-color 0.25s ease;
}
.path-card:hover { transform: translateY(-5px); }
.path-card:hover .p-num { -webkit-text-stroke-color: var(--volt); }
.path-card .p-kicker { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 0.9rem; }
.path-card h3 {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.02;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); max-width: 12ch;
}
.path-card .p-short { color: var(--muted); font-size: 0.92rem; margin-top: 0.9rem; }
.path-card ul {
  list-style: none; margin: 0; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.3s ease;
}
.path-card:hover ul, .path-card.open ul { max-height: 340px; opacity: 1; margin-top: 1.1rem; }
.path-card ul li {
  position: relative; padding-left: 1.3rem; margin-bottom: 0.4rem;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.03em; color: var(--text, #2b2721);
}
.path-card ul li::before { content: "\25A0"; position: absolute; left: 0; top: 0.15em; font-size: 0.55em; color: var(--volt); }
.path-card .btn { margin-top: 1.4rem; }
@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr; } .path-card ul { max-height: none; opacity: 1; margin-top: 1.1rem; } }

/* market tiles + tooltips */
.market-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.market-col h4 { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 1rem; }
.tile-list { display: flex; flex-direction: column; }
.tile {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 0.9rem; border: 1px solid var(--ink); margin-bottom: -1px;
  font-family: var(--sans); font-stretch: 112%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 0.95rem;
  background: var(--paper); transition: background 0.2s ease;
}
.tile:hover { background: var(--bone); z-index: 2; }
.tile .go { font-family: var(--mono); font-size: 0.62rem; color: var(--volt); font-weight: 700; }
.tile[data-tip]::after {
  content: attr(data-tip);
  position: absolute; left: 0; right: 0; top: calc(100% - 1px); z-index: 5;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: 0.8rem; line-height: 1.5; padding: 0.8rem 0.9rem;
  opacity: 0; pointer-events: none; transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tile[data-tip]:hover::after { opacity: 1; transform: none; }
@media (max-width: 860px) { .market-cols { grid-template-columns: 1fr; } }

.intel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.intel {
  border: 1px solid var(--line-strong); padding: 1.3rem 1.2rem; background: var(--paper);
}
.intel .i-t { font-family: var(--sans); font-stretch: 112%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1rem; }
.intel p { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }
@media (max-width: 860px) { .intel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .intel-grid { grid-template-columns: 1fr; } }

/* market command center dashboard */
.dash { background: var(--ink); color: var(--paper); }
.dash-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  background: var(--volt); color: var(--ink); padding: 0.45em 0.8em;
}
.dash-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.dash-card { border: 1px solid var(--line-light); padding: 1.4rem 1.3rem; }
.dash-card .d-t { font-family: var(--sans); font-stretch: 118%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.05rem; }
.dash-card p { color: var(--muted-light); font-size: 0.82rem; margin-top: 0.5rem; }
.dash-bars { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.dash-bar { height: 5px; background: rgba(255,255,255,0.12); overflow: hidden; }
.dash-bar i { display: block; height: 100%; background: var(--volt); width: 0; transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dash-card.in .dash-bar i { width: var(--w, 60%); }
.dash-bar:nth-child(2) i { background: var(--cobalt); }
.dash-bar:nth-child(3) i { background: var(--paper); }
@media (max-width: 860px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dash-grid { grid-template-columns: 1fr; } }

/* difference cards */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* media wall */
.wall { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.wall-featured { position: relative; border: 1px solid var(--ink); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.wall-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.wall-featured:hover img { transform: scale(1.04); }
.wall-featured .wf-body { position: relative; z-index: 2; padding: 1.8rem; color: var(--paper); background: linear-gradient(0deg, rgba(17,18,20,0.92), rgba(17,18,20,0)); }
.wall-side { display: flex; flex-direction: column; gap: 1.5rem; }
@media (max-width: 860px) { .wall { grid-template-columns: 1fr; } }

/* count-up stats */
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.number-card { border: 1px solid var(--line-light); padding: 1.8rem 1.4rem; }
.number-card .n-v {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: -0.02em; line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.number-card .n-v .u { color: var(--volt); }
.number-card .n-l { font-family: var(--mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); margin-top: 0.8rem; }
@media (max-width: 860px) { .numbers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .numbers-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Seller's guide page
   ========================================================================== */

/* sticky phase side-nav (wide screens only) */
.phase-nav {
  position: fixed; left: clamp(0.6rem, 1.6vw, 1.6rem); top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 0.55rem;
}
.phase-nav a {
  font-family: var(--mono); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding-left: 0.9rem; position: relative;
}
.phase-nav a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; background: var(--concrete-2); transition: background 0.2s, height 0.2s;
}
.phase-nav a.active { color: var(--ink); }
.phase-nav a.active::before { background: var(--volt); height: 14px; }
@media (max-width: 1500px) { .phase-nav { display: none; } }

/* floating CTA */
.fab {
  position: fixed; right: clamp(0.8rem, 2vw, 1.6rem); bottom: clamp(0.8rem, 2vw, 1.6rem);
  z-index: 75;
}
@media (max-width: 640px) { .fab .btn { padding: 0.8rem 1.1rem; font-size: 0.62rem; } }

/* phase blocks */
.phase {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.6rem;
  padding: 2rem 0; border-bottom: 1px solid var(--ink); align-items: start;
}
.phase .ph-no {
  font-family: var(--sans); font-stretch: 125%; font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.85; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.phase:hover .ph-no { -webkit-text-stroke-color: var(--volt); }
.phase h3 {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.015em; font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}
.phase .ph-tag { font-family: var(--mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 0.5rem; }
.phase p { color: var(--muted); font-size: 0.95rem; margin-top: 0.6rem; max-width: 62ch; }
@media (max-width: 640px) { .phase { grid-template-columns: 1fr; gap: 0.6rem; } }

/* marketing channel cards — hover reveal */
.mk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.mk-card {
  border: 1px solid var(--ink); background: var(--paper); padding: 1.3rem 1.2rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.mk-card .mk-no { font-family: var(--mono); font-size: 0.6rem; font-weight: 700; color: var(--volt); }
.mk-card .mk-t {
  font-family: var(--sans); font-stretch: 112%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 0.98rem; margin-top: 0.5rem;
}
.mk-card p {
  font-size: 0.82rem; color: var(--muted);
  max-height: 0; opacity: 0; overflow: hidden; margin: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}
.mk-card:hover { background: var(--bone); transform: translateY(-3px); }
.mk-card:hover p, .mk-card.open p { max-height: 130px; opacity: 1; margin-top: 0.5rem; }
@media (max-width: 980px) { .mk-grid { grid-template-columns: repeat(2, 1fr); } .mk-card p { max-height: none; opacity: 1; margin-top: 0.5rem; } }
@media (max-width: 520px) { .mk-grid { grid-template-columns: 1fr; } }

/* before / after slider */
.ba { position: relative; border: 1px solid var(--ink); aspect-ratio: 16/8; overflow: hidden; user-select: none; }
.ba .ba-layer { position: absolute; inset: 0; }
.ba .ba-before {
  background: var(--concrete-1);
  background-image: repeating-linear-gradient(-45deg, rgba(17,18,20,.06) 0 2px, transparent 2px 12px);
  display: flex; align-items: center; justify-content: center;
}
.ba .ba-after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.ba .ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba .ba-label {
  position: absolute; top: 14px; font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase; padding: 0.4em 0.7em; z-index: 3;
}
.ba .ba-label.l { left: 14px; background: var(--ink); color: var(--paper); }
.ba .ba-label.r { right: 14px; background: var(--volt); color: var(--ink); }
.ba .ba-divider { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; background: var(--volt); z-index: 2; }
.ba input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 4; margin: 0;
}
.ba .ba-ph-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--concrete-3); }


/* ==========================================================================
   Buyer's guide page
   ========================================================================== */

/* pre-approval vs pre-qualification comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare-card { border: 1px solid var(--ink); padding: 1.8rem 1.6rem; background: var(--paper); }
.compare-card.win { background: var(--ink); color: var(--paper); position: relative; }
.compare-card.win::after {
  content: "What Sellers Expect"; position: absolute; top: -1px; right: -1px;
  font-family: var(--mono); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; background: var(--volt); color: var(--ink); padding: 0.45em 0.8em;
}
.compare-card h3 { font-family: var(--sans); font-stretch: 118%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.3rem; }
.compare-card ul { list-style: none; margin: 1.2rem 0 0; }
.compare-card li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; font-size: 0.92rem; }
.compare-card li::before { content: "\2717"; position: absolute; left: 0; font-family: var(--mono); font-weight: 700; color: var(--red); }
.compare-card.win li::before { content: "\2713"; color: var(--volt); }
.compare-card.win li { color: var(--muted-light); }
.compare-card:not(.win) li { color: var(--muted); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* loan journey strip */
.journey { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.journey span {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 0.6em 0.9em; background: var(--paper);
}
.journey i { font-style: normal; color: var(--volt); font-weight: 700; }

/* offer strength meter */
.meter-toggles { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.meter-toggle {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--line-light); color: var(--muted-light); padding: 0.65em 1em;
  background: transparent; transition: all 0.2s ease;
}
.meter-toggle.on { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.meter-track { height: 12px; background: rgba(255,255,255,0.12); margin-top: 1.6rem; overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--red); transition: width 0.5s cubic-bezier(0.2,0.7,0.2,1), background 0.5s ease; }
.meter-label { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; margin-top: 0.8rem; color: var(--paper); }
.meter-label b { color: var(--volt); }

/* escrow timeline */
.esc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--ink); }
.esc-cell { padding: 1.4rem 1.2rem 1.6rem; border-right: 1px solid var(--ink); position: relative; }
.esc-cell:last-child { border-right: none; }
.esc-cell .e-day { font-family: var(--mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; background: var(--ink); color: var(--paper); display: inline-block; padding: 0.4em 0.7em; }
.esc-cell:last-child .e-day { background: var(--volt); color: var(--ink); }
.esc-cell .e-t { font-family: var(--sans); font-stretch: 112%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 0.95rem; margin-top: 0.9rem; }
.esc-cell p { color: var(--muted); font-size: 0.8rem; margin-top: 0.4rem; }
@media (max-width: 900px) { .esc-grid { grid-template-columns: 1fr; } .esc-cell { border-right: none; border-bottom: 1px solid var(--ink); } .esc-cell:last-child { border-bottom: none; } }

/* guide download modal */
.gmodal { position: fixed; inset: 0; z-index: 85; background: rgba(10,10,12,0.9); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.gmodal.open { display: flex; }
.gmodal-box { background: var(--paper); border: 1px solid var(--ink); max-width: 860px; width: 100%; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1.2fr; }
.gmodal-side { background: var(--ink); color: var(--paper); padding: 2rem 1.8rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; position: relative; overflow: hidden; }
.gmodal-side .gm-word { position: absolute; top: -0.2em; left: -0.05em; font-family: var(--sans); font-stretch: 125%; font-weight: 900; font-size: 5rem; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.12); text-transform: uppercase; }
.gmodal-side h3 { font-family: var(--sans); font-stretch: 118%; font-weight: 900; text-transform: uppercase; letter-spacing: -0.015em; font-size: 1.5rem; line-height: 1; }
.gmodal-side p { color: var(--muted-light); font-size: 0.85rem; margin-top: 0.8rem; }
.gmodal-form { padding: 2rem 1.8rem; position: relative; }
.gmodal-close { position: absolute; top: 0.9rem; right: 0.9rem; font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--ink); padding: 0.5rem 0.8rem; cursor: pointer; background: var(--paper); }
.gmodal-close:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) { .gmodal-box { grid-template-columns: 1fr; } .gmodal-side { min-height: 160px; } }

/* ==========================================================================
   Neighborhood guide v2 layout
   ========================================================================== */

/* at-a-glance facts: text values, not big numerals */
.gv-glance .stat-cell .v.gv-fact {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.35; letter-spacing: 0;
  font-stretch: 112%; font-weight: 800; text-transform: none;
  min-height: 2.7em; display: flex; align-items: flex-end;
}
.gv-glance .stat-grid { gap: 1px; }

/* highlight card grids (schools, amenities, sub-tracts) */
.gv-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.gv-card { background: var(--paper); padding: 1.5rem 1.4rem 1.6rem; }
.alt-bg .gv-card { background: var(--bone); }
.gv-card h3 {
  font-family: var(--sans); font-stretch: 118%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1rem;
  line-height: 1.25; margin: 0 0 0.65rem;
  padding-left: 0.85rem; border-left: 3px solid var(--volt);
}
.gv-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0 0 0.6rem; }
.gv-card p:last-child { margin-bottom: 0; }
.gv-card ul { list-style: none; padding: 0; margin: 0.2rem 0 0; }
.gv-card li { font-size: 0.92rem; color: var(--muted); padding: 0.3rem 0 0.3rem 1.1rem; position: relative; }
.gv-card li::before { content: "\25A0"; position: absolute; left: 0; top: 0.42rem; font-size: 0.5rem; color: var(--volt); }
.gv-cards.compact .gv-card { padding: 1.15rem 1.1rem 1.25rem; }
.gv-cards.compact .gv-card h3 { font-size: 0.88rem; }
.gv-cards.compact .gv-card p { font-size: 0.86rem; }

/* pull quote band */
.gv-quote { background: var(--paper); padding: clamp(3rem, 6vw, 4.5rem) var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gv-quote .section-inner { max-width: var(--max); margin: 0 auto; }
.gv-quote .gq-mark { color: var(--volt); font-size: 1rem; display: block; margin-bottom: 1rem; }
.gv-quote blockquote {
  margin: 0; font-family: var(--sans); font-stretch: 122%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.015em;
  font-size: clamp(1.4rem, 3.4vw, 2.5rem); line-height: 1.12; max-width: 30ch;
}
.gv-quote .gq-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.gv-quote .gq-tags span {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 0.4rem 0.7rem;
}

/* trivia accordion on ink sections */
.ink-bg .faq { border-color: var(--line-light); }
.ink-bg .faq .fa { color: var(--muted-light); }
.ink-bg .faq summary .fx { color: var(--volt); }
.ink-bg .faq[open] summary .fx { color: var(--volt); }
.gv-faq { max-width: 60rem; }

/* guide headings inside prose keep hierarchy */
h3.gsub { margin: 1.8rem 0 0.6rem; }

@media (max-width: 900px) {
  .gv-glance .stat-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .gv-cards { grid-template-columns: 1fr; }
}

/* consistent button alignment inside card rows (success / sellers / buyers) */
.path-card { display: flex; flex-direction: column; align-items: flex-start; }
.path-card .btn { margin-top: auto; }
.path-card .p-short, .path-card ul { margin-bottom: 1.2rem; }
.path-card .btn { white-space: normal; text-align: left; line-height: 1.35; }

/* before/after slider: real before image + note */
.ba .ba-before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-note { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.9rem; }

/* serpentine loan journey */
.journey.snake { display: grid; gap: 16px 26px; counter-reset: jr; }
.journey.snake span {
  margin: 0; position: relative; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px;
}
.journey.snake span::before {
  counter-increment: jr; content: counter(jr, decimal-leading-zero);
  font-size: 0.58rem; color: var(--volt); font-weight: 700;
}
.journey.snake span::after {
  font-family: var(--mono); font-weight: 700; color: var(--volt);
  position: absolute; pointer-events: none;
}
.journey.snake span.jr-r::after { content: "\2192"; right: -21px; top: 50%; transform: translateY(-50%); }
.journey.snake span.jr-l::after { content: "\2190"; left: -21px; top: 50%; transform: translateY(-50%); }
.journey.snake span.jr-d::after { content: "\2193"; bottom: -15px; left: 50%; transform: translateX(-50%); }

/* testimonials load-more */
.testi-more { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.testi-count { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.testi-grid .quote[hidden] { display: none; }

/* sold archive: branded fallback when no property photo exists */
.ph-fallback {
  position: absolute; inset: 0;
  background: var(--concrete-1);
  background-image: repeating-linear-gradient(-45deg, rgba(17,18,20,.05) 0 2px, transparent 2px 11px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem;
}
.ph-fallback span {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.ph-fallback b {
  font-family: var(--sans); font-stretch: 122%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.3rem;
  color: rgba(17, 18, 20, 0.28);
}

/* sold archive: filters + pagination */
.sold-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.sc-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sc-city {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.6rem 1rem; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.sc-city:hover { background: var(--bone); }
.sc-city.on { background: var(--ink); color: var(--paper); }
.sc-count { font-family: var(--mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sold-pager { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 2.2rem; }
.sold-pager button {
  min-width: 44px; min-height: 44px; padding: 0.5rem 0.8rem; cursor: pointer;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
}
.sold-pager button:hover { background: var(--bone); }
.sold-pager button[aria-current="page"] { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.sold-pager button:disabled { opacity: 0.35; cursor: default; }
.sold-pager .pg-gap { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); padding: 0 0.2rem; }
#soldGrid .card[hidden] { display: none; }

/* mobile: shared min-content blowout guards */
.two-col > * { min-width: 0; }
.section-inner { min-width: 0; }
.feat-visual img, .gc-img img, .card-visual img { max-width: 100%; }
@media (max-width: 520px) {
  .spec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-row > div { border-bottom: 1px solid var(--line); }
  .spec-row > div:nth-child(even) { border-right: none; }
  .spec-row > div:nth-last-child(-n+2) { border-bottom: none; }
}

/* responsive utility columns (replace inline fixed grids) */
[data-cols="2"] { grid-template-columns: 1fr 1fr; }
[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { [data-cols="3"]:not(.spec-row) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .spec-row[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } .spec-row[data-cols="3"] > div { border-bottom: none; } }
@media (max-width: 760px) { [data-cols="2"] { grid-template-columns: minmax(0, 1fr); } [data-cols="2"] > * { min-width: 0; } }

/* very narrow screens: keep display type inside the viewport */
@media (max-width: 375px) {
  .section-title { font-size: clamp(1.45rem, 8.6vw, 1.9rem); overflow-wrap: break-word; }
  .hero-h1 { font-size: clamp(1.9rem, 11vw, 2.6rem) !important; }
}

/* before/after pair navigation */
.ba-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1rem; }
.ba-arrow {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.ba-arrow:hover { background: var(--volt); border-color: var(--volt); color: #fff; }
.ba-arrow:disabled { opacity: 0.3; cursor: default; }
.ba-nav[hidden] { display: none; }
.ba-count { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
