:root {
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}
body { font-family: var(--sans), "DM Sans", sans-serif; background: #F7F2EC; }
.site { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 242, 236, 0.94); backdrop-filter: blur(10px);
  padding: 16px 0 14px; margin-bottom: 8px;
  border-bottom: 1px solid #E7DDD3;
}
.wordmark-link { text-decoration: none; color: inherit; flex-shrink: 0; }
.wordmark { display: flex; flex-direction: column; line-height: 1; padding-right: 16px; border-right: 1px solid #E4D9CF; }
.wm-name { font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: #2C241F; }
.wm-sub { margin-top: 5px; font-size: 10px; letter-spacing: 0.28em; color: #76604F; font-weight: 500; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; }
.nav-links a, .menu-panel a, .foot-links a {
  color: #5C5148; text-decoration: none; font-size: 14.5px; font-weight: 500; letter-spacing: 0;
}
.nav-links a:hover, .menu-panel a:hover, .foot-links a:hover { color: #8A6552; }
.nav-links a[aria-current="page"] { color: #2C241F; box-shadow: inset 0 -1px 0 #8A6552; }
.nav-side { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: #8A7568; font-size: 13px; }
.lang-toggle button {
  font: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: #8A7568; background: transparent; border: 0; min-width: 0; min-height: 36px;
  padding: 4px; cursor: pointer;
}
.lang-toggle button.is-active { background: transparent; color: #2C241F; font-weight: 700; }
.nav-cta { padding: 10px 16px; margin: 0; font-size: 14px; white-space: nowrap; }
.menu-btn {
  display: none; font: inherit; color: #2C241F; background: transparent;
  border: 1px solid #CDBFB2; border-radius: 999px; min-height: 40px; padding: 0 14px;
}
.menu-panel { display: none; }

a.btn, .btn, .submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; padding: 12px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em; text-transform: none;
  margin: 0; background: #8A6552; color: #FFFCF8; border: 1px solid #8A6552; cursor: pointer;
}
a.btn:hover, .btn:hover, .submit-btn:hover { background: #745444; color: #fff; border-color: #745444; }
.submit-btn { width: 100%; }
.row-actions .submit-btn, .view-toggle .submit-btn, .filter-bar .btn, .home-search .btn { width: auto; }
a.btn.alt, .btn.alt, .ghost-btn {
  background: transparent; color: #3C322C; border: 1px solid #CDBFB2; font-weight: 600;
}
a.btn.alt:hover, .btn.alt:hover, .ghost-btn:hover { background: #F3EBE3; color: #2C241F; border-color: #8A6552; }
.textme { position: relative; display: inline-flex; }
.textme-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 14px;
  box-shadow: 0 12px 30px rgba(80, 55, 35, 0.12); padding: 10px 12px; white-space: nowrap;
}
.textme-pop a { color: #2C241F; font-weight: 600; text-decoration: none; }
.textme-pop button {
  font: inherit; font-size: 13px; font-weight: 600; border-radius: 999px;
  border: 1px solid #CDBFB2; background: transparent; padding: 6px 10px; cursor: pointer; color: #3C322C;
}

.page-kicker, .eyebrow {
  letter-spacing: 0.16em; font-size: 11px; color: #8A6552; text-transform: uppercase; margin-bottom: 10px; font-weight: 600;
}
.page h1, .hero h1, .split-copy h1, .hero-copy h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; color: #2C241F;
}
h1, h2, h3, .tagline, .page-title { font-family: var(--serif); font-weight: 500; color: #2C241F; }
.lede { font-size: 16.5px; line-height: 1.6; color: #4E433C; max-width: 640px; }
.page { padding-bottom: 12px; }
.section { margin: 28px 0; padding: 8px 0; }
.section h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; margin-bottom: 8px; }
.stack { display: grid; gap: 14px; margin-top: 18px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.cred-line { margin-top: 18px; font-size: 11px; letter-spacing: 0.14em; color: #8A7568; text-transform: uppercase; }

.hero-card, .split {
  display: grid; grid-template-columns: 1fr; width: 100%; min-height: 0;
  margin: 12px 0 28px; position: relative;
  background: #FFFCF8; border: 1px solid #E8DFD6; border-radius: 28px; overflow: hidden;
  box-shadow: 0 18px 48px rgba(80, 55, 35, 0.06);
}
.hero-copy, .split-copy {
  position: relative; z-index: 1;
  background:
    linear-gradient(100deg, rgba(255,252,248,0.97) 0%, rgba(255,252,248,0.9) 46%, rgba(255,252,248,0.62) 100%),
    url("/assets/places/skyline-dusk.webp") right center / cover no-repeat;
  color: #2C241F;
  padding: 36px 28px 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy h1, .hero-copy p, .split-copy h1, .split-copy p, .split-copy .tagline { color: #4E433C; }
.hero-copy h1, .split-copy h1 { color: #2C241F; }
.split-copy .page-kicker, .hero-copy .page-kicker { color: #8A6552; }
.split-copy .btn, .hero-copy .btn { background: #8A6552; color: #FFFCF8; border-color: #8A6552; }
.split-copy .btn.alt, .hero-copy .btn.alt { background: rgba(255,252,248,0.7); color: #3C322C; border-color: #CDBFB2; }
.hero-photo, .split-photo { min-height: 320px; background: #F3EBE3; position: relative; z-index: 1; }
.hero-photo img, .split-photo img, .split-photo picture { width: 100%; height: 100%; display: block; }
.hero-photo img, .split-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%; min-height: 320px;
}
.split-photo.frame-contain { background: #F3EBE3; min-height: 0; }
.split-photo.frame-contain img { object-fit: contain; object-position: center center; background: #F3EBE3; height: auto; min-height: 0; width: 100%; border-radius: 0; }
.split-photo.frame-face img, .hero-photo.frame-face img { object-position: center 16%; }
.split-photo.frame-desk img { object-position: center 24%; }
.split-photo.frame-seated img { object-position: center 40%; }
.inline-photo { margin: 0 0 16px; background: #F3EBE3; border-radius: 20px; overflow: hidden; }
.inline-photo img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 18%; display: block; }
.inline-photo.frame-seated img { object-position: center 42%; max-height: 640px; }

.audience-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 8px 0 28px; }
.audience-card {
  display: flex; gap: 12px; align-items: flex-start; text-decoration: none; text-align: left;
  background: #FFFCF8; border: 1px solid #E8DFD6; border-radius: 18px; padding: 16px 16px 14px;
  box-shadow: 0 8px 24px rgba(80, 55, 35, 0.04);
}
.audience-card:hover { border-color: #CDBFB2; }
.audience-card .ico {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #E7DDD3; display: grid; place-items: center; flex-shrink: 0; color: #8A6552;
}
.audience-card .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.audience-card h2 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0 0 4px; }
.audience-card p { color: #7A6A60; font-size: 14px; margin: 0; }
.audience-card .go { margin-left: auto; color: #8A7568; align-self: center; }

.band-blush {
  background: #F3EBE3; border-radius: 32px; padding: 32px 22px; margin: 10px 0 28px; position: relative;
}
.leaves { position: absolute; width: 90px; height: 160px; color: #8A9A72; opacity: 0.55; pointer-events: none; }
.leaves-left { left: 0; top: 12px; }
.leaves-right { right: 0; bottom: 8px; transform: scaleX(-1); }
.discover { display: grid; gap: 18px; position: relative; z-index: 1; }
.home-search { display: flex; gap: 8px; margin-top: 16px; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 999px; padding: 6px 6px 6px 16px; }
.home-search input { border: 0; background: transparent; padding: 8px 0; font: inherit; font-size: 15px; width: 100%; color: #2C241F; }
.home-search input:focus { outline: none; }
.place-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.place-card { display: block; text-decoration: none; color: inherit; }
.place-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; display: block; background: #E7DDD3; }
.place-card span { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area-tile { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 140px; text-decoration: none; }
.area-tile img { width: 100%; height: 160px; object-fit: cover; display: block; }
.area-tile span {
  position: absolute; left: 12px; bottom: 12px; color: #fff; font-weight: 600; font-size: 15px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.why-row { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
.why-item { text-align: center; padding: 8px; }
.why-item .ico { width: 42px; height: 42px; margin: 0 auto 8px; color: #8A6552; }
.why-item .ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.why-item h3 { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.why-item p { color: #7A6A60; font-size: 14.5px; }
.note-grid { display: grid; gap: 18px; align-items: center; }
.note-card h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(28px, 4vw, 40px); }
.tag-once { font-family: var(--serif); font-style: italic; color: #8A6552; margin-top: 10px; }
.review-link { display: inline-flex; margin-top: 12px; color: #8A6552; font-weight: 600; }
.cta-band {
  display: grid; gap: 16px; align-items: center;
  margin: 28px 0; padding: 28px 22px; border-radius: 28px; overflow: hidden; position: relative;
  background:
    linear-gradient(90deg, rgba(247,242,236,0.94) 0%, rgba(247,242,236,0.82) 55%, rgba(247,242,236,0.55) 100%),
    url("/assets/places/skyline-dusk.webp") center / cover no-repeat;
  border: 1px solid #E8DFD6;
}
.ask-card {
  display: block; text-decoration: none; color: inherit; background: #FFFCF8;
  border: 1px solid #E8DFD6; border-radius: 22px; padding: 22px; box-shadow: 0 10px 28px rgba(80,55,35,0.05);
}
.ask-card h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 8px; }
.check-grid { display: grid; gap: 8px 18px; }
.check-grid li { list-style: none; padding-left: 22px; position: relative; color: #4E433C; }
.check-grid li::before { content: "✓"; position: absolute; left: 0; color: #7E8B68; }

.steps-4 { display: grid; gap: 14px; }
.step-card { background: #FFFCF8; border: 1px solid #E8DFD6; border-radius: 18px; padding: 16px; }
.step-card .num {
  width: 28px; height: 28px; border-radius: 50%; background: #F3EBE3; color: #8A6552;
  display: grid; place-items: center; font-size: 13px; font-weight: 600; margin-bottom: 8px;
}
.rent-band {
  display: grid; gap: 16px; margin: 28px 0; padding: 22px; border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(247,242,236,0.94), rgba(247,242,236,0.78)),
    url("/assets/places/skyline-dusk.webp") left center / cover no-repeat;
  border: 1px solid #E8DFD6;
}
.rent-band form, .match-form { display: grid; gap: 10px; }
.filter-bar {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  background: #FFFCF8; border: 1px solid #E8DFD6; border-radius: 20px; padding: 12px;
  box-shadow: 0 8px 24px rgba(80,55,35,0.04); margin: 8px 0 14px;
}
.filter-bar label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8A7568; }
.filter-bar select, .filter-bar input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #E7DDD3;
  border-radius: 0; padding: 6px 0 8px; font: inherit; font-size: 15px; color: #2C241F;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.chips button, .chip {
  font: inherit; font-size: 13px; border: 1px solid #E7DDD3; background: #FFFCF8; color: #4E433C;
  border-radius: 999px; padding: 8px 12px; cursor: pointer; text-decoration: none;
}
.chips button.is-on, .chip.is-on { background: #8A6552; color: #FFFCF8; border-color: #8A6552; }
.coming {
  background: #FFFCF8; border: 1px solid #E8DFD6; border-radius: 22px; padding: 22px;
  box-shadow: 0 10px 28px rgba(80,55,35,0.05);
}
.search-stage { display: grid; gap: 14px; }
.band-hero {
  position: relative;
  border-radius: 28px; overflow: hidden; margin: 12px 0 16px; padding: 42px 28px;
  background: #F8F1EA;
  border: 1px solid #E8DFD6;
}
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: 0; }
.band-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(248,241,234,0.96) 0%, rgba(248,241,234,0.82) 58%, rgba(248,241,234,0.45) 100%);
}
.band-hero > :not(.hero-sky) { position: relative; z-index: 2; }
.band-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; max-width: 640px; }

.chooser { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
.choice, .mini, .card {
  background: #FFFCF8; border: 1px solid #E8DFD6; border-radius: 18px; padding: 18px;
  box-shadow: 0 8px 24px rgba(80,55,35,0.04);
}
.choice { display: block; text-align: left; text-decoration: none; }
.choice h2, .mini h3 { font-family: var(--serif); font-weight: 500; }
.choice h2 { font-size: 28px; margin-bottom: 6px; }
.mini h3 { font-size: 22px; margin-bottom: 6px; }
.mini p, .prose p { color: #4E433C; line-height: 1.55; }
.cards-3, .cards-2 { display: grid; gap: 12px; }
.quote { border-left: 1px solid #E7DDD3; padding: 4px 0 4px 14px; margin: 0 0 14px; }
.steps-list { list-style: none; display: grid; gap: 10px; }
.steps-list li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; }
.num { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #E7DDD3; display: grid; place-items: center; font-size: 13px; }
.banner { border: 1px solid #E7DDD3; border-radius: 14px; padding: 12px 14px; background: #FFFCF8; color: #4E433C; font-size: 14.5px; }
.search-layout { display: grid; gap: 14px; }
.filters { display: grid; grid-template-columns: 1fr; gap: 10px; text-align: left; }
.listing-grid { display: grid; gap: 12px; }
.listing-card {
  display: block; position: relative; text-decoration: none; text-align: left;
  background: #FFFCF8; border: 1px solid #E8DFD6; border-radius: 16px; overflow: hidden; color: #302E2A;
}
.card-hit {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: stretch;
  width: 100%; text-align: left; text-decoration: none; background: #FFFCF8; color: #302E2A; border: 0; padding: 0;
}
.listing-card img, .card-hit img { width: 112px; height: 140px; min-height: 0; max-width: none; object-fit: cover; display: block; }
.listing-card div, .card-hit > div { padding: 10px 36px 12px 0; min-width: 0; color: #302E2A; }
.muted { color: #7A6A60; font-size: 13.5px; }
.pill { display: inline-block; border: 1px solid #E7DDD3; border-radius: 999px; padding: 2px 8px; font-size: 11px; letter-spacing: 0.06em; margin-right: 6px; color: #8A6552; }
.map-wrap { height: 460px; border-radius: 22px; overflow: hidden; border: 1px solid #E8DFD6; }
.map-wrap .leaflet-container { height: 100%; width: 100%; background: #F3EBE3; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; background: #F3EBE3; }
.gallery img:first-child { height: 448px; grid-row: span 2; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.view-toggle { display: flex; gap: 8px; }
.view-toggle .submit-btn, .view-toggle .ghost-btn { width: auto; margin: 0; padding: 8px 14px; }
.note { color: #7A6A60; font-size: 13px; margin-top: 8px; }
.site-foot { text-align: left; margin-top: 36px; padding: 28px 0 12px; border-top: 1px solid #E7DDD3; color: #5C5148; }
.foot-grid { display: grid; gap: 22px; }
.foot-id { margin-top: 12px; font-weight: 600; color: #2C241F; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.foot-end { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot-social { display: flex; align-items: center; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border: 1px solid #E7DDD3; border-radius: 50%; display: grid; place-items: center; color: #5C5148; }
.foot-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search-icon {
  width: 36px; height: 36px; border: 1px solid #E7DDD3; background: #FFFCF8; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer; color: #5C5148;
}
.search-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search-pop { position: fixed; inset: 0; z-index: 50; }
.search-backdrop { position: absolute; inset: 0; background: rgba(44, 36, 31, 0.28); border: 0; }
.search-panel {
  position: relative; margin: 12vh auto 0; width: min(640px, calc(100% - 28px));
  background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 18px; padding: 16px;
  box-shadow: 0 18px 48px rgba(80,55,35,0.12);
}
.search-panel input { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #E7DDD3; border-radius: 12px; background: #fff; color: #2C241F; }
.search-panel ul { list-style: none; margin-top: 12px; max-height: 50vh; overflow: auto; }
.search-panel a { display: block; padding: 8px 0; text-decoration: none; border-bottom: 1px solid #F3EBE3; }
.search-panel strong { display: block; color: #2C241F; }
.search-panel span { display: block; color: #7A6A60; font-size: 13px; }
.resource-tools { display: grid; gap: 10px; margin: 18px 0; }
.resource-tools input { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #E7DDD3; border-radius: 12px; background: #FFFCF8; color: #2C241F; }
.resource-tools .chips button.is-on { background: #8A6552; color: #FFFCF8; border-color: #8A6552; }
.prose-p { margin: 0 0 12px; line-height: 1.6; color: #4E433C; max-width: 680px; }
.faq summary::after { color: #8A6552; }

@media (min-width: 800px) {
  .audience-row, .cards-2, .place-row { grid-template-columns: 1fr 1fr; }
  .cards-3, .why-row { grid-template-columns: 1fr 1fr 1fr; }
  .audience-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .why-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .place-row { grid-template-columns: 1fr 1fr 1fr; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .discover, .note-grid, .rent-band, .cta-band, .search-stage { grid-template-columns: 1.1fr 0.9fr; }
  .steps-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1.3fr 0.8fr 0.6fr 0.6fr 0.9fr auto; align-items: end; }
  .foot-grid { grid-template-columns: 1.3fr 1.4fr 0.7fr 0.8fr auto; }
  .search-layout { grid-template-columns: 300px 1fr; align-items: start; }
  .card-hit { grid-template-columns: 160px minmax(0, 1fr); }
  .listing-card img, .card-hit img { width: 160px; height: 148px; }
  .hero-card, .split { grid-template-columns: 0.86fr 1.14fr; min-height: 520px; }
  .hero-photo img, .split-photo img { min-height: 100%; border-radius: 0 46% 46% 0 / 0 28% 28% 0; }
  .split-photo.frame-contain, .split-photo.frame-contain img { min-height: 0; border-radius: 0; }
  .split-photo.frame-contain img { height: 760px; max-height: 760px; object-fit: contain; }
  .rent-band form { grid-template-columns: 1fr 1fr; }
}
.nav-primary { display: none; }
.admin-btn { background: #7A2E3A; color: #fff; border-radius: 999px; padding: 8px 12px; text-decoration: none; font-weight: 700; }
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-primary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
  .nav-primary a, .nav-primary button { color: #302E2A; text-decoration: none; font-weight: 600; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 999px; padding: 8px 12px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .menu-panel.open {
    display: grid; gap: 12px; background: #FFFCF8; border: 1px solid #E8DFD6;
    border-radius: 18px; padding: 16px; margin-bottom: 16px;
  }
  .wordmark { border-right: 0; padding-right: 0; }
  a.nav-cta, .nav-cta { display: inline-flex; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery img:first-child { height: 200px; grid-row: auto; }
}
@media (max-width: 640px) {
  .site { width: min(1180px, calc(100% - 24px)); }
  .wm-name { font-size: 26px; }
  .hero-copy, .split-copy { padding: 28px 20px 26px; }
}

/* Warmth: closer to Leslie’s mockup. Light type, blush ground, pale skyline only at the edge. */
body { background: #F6EEE7; color: #6A5B52; }
.nav { background: rgba(246, 238, 231, 0.92); border-bottom: 1px solid #E7D9CC; padding: 18px 0 16px; }
.wordmark { border-right: 1px solid #E4D5C8; padding-right: 18px; gap: 7px; }
.wm-name { font-weight: 400; font-size: 30px; color: #3A302A; letter-spacing: -0.015em; }
.wm-rule { display: flex; align-items: center; gap: 8px; width: 100%; }
.wm-rule::before, .wm-rule::after { content: ""; height: 1px; background: #CDB9A8; flex: 1; }
.wm-sub { margin: 0; font-size: 9px; letter-spacing: 0.34em; font-weight: 500; color: #76604F; }
.nav-links a, .menu-panel a, .foot-links a { color: #7A685C; font-weight: 400; font-size: 15px; }
h1, h2, h3, .tagline, .page-title,
.page h1, .hero h1, .split-copy h1, .hero-copy h1, .section h2, .band-hero h1 {
  font-weight: 400; color: #3A302A; letter-spacing: -0.02em;
}
.page h1, .hero h1, .split-copy h1, .hero-copy h1, .band-hero h1 {
  font-size: clamp(40px, 4.8vw, 62px); line-height: 1.16;
}
.lede, .hero-copy p, .split-copy p { color: #6A5B52; font-weight: 400; line-height: 1.65; }
.page-kicker, .eyebrow { color: #A08B7A; font-weight: 500; letter-spacing: 0.22em; }
a.btn, .btn, .submit-btn { font-weight: 500; padding: 13px 20px; background: #8A6552; box-shadow: 0 8px 18px rgba(138, 101, 82, 0.16); }
a.btn.alt, .btn.alt, .ghost-btn { font-weight: 500; background: rgba(255,252,248,0.55); box-shadow: none; }
.hero-card, .split {
  background: #F8F1EA;
  border: 1px solid #EFE3D8;
  box-shadow: 0 18px 40px rgba(140, 100, 70, 0.06);
  min-height: 0;
}
.hero-card::before, .split::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 34%;
  background:
    linear-gradient(90deg, #F8F1EA 0%, rgba(248,241,234,0.82) 18%, rgba(248,241,234,0.35) 70%, rgba(248,241,234,0.15) 100%),
    url("/assets/places/skyline-dusk.webp") right center / cover no-repeat;
  filter: saturate(0.4) brightness(1.35);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero-copy, .split-copy {
  background: linear-gradient(90deg, #F8F1EA 0%, #F8F1EA 78%, rgba(248,241,234,0.92) 100%);
  padding: 52px 48px 44px 32px;
  z-index: 1;
}
.hero-photo, .split-photo { background: #F8F1EA; z-index: 1; }
.hero-photo img, .split-photo:not(.frame-contain) img {
  clip-path: ellipse(68% 78% at 46% 50%);
  border-radius: 0 !important;
  object-fit: cover;
}
.brush { position: relative; white-space: nowrap; }
.brush::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -6%;
  bottom: -0.08em;
  height: 0.42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M2 10c16-6 28-8 46-4 14 3 24 2 40-3 10-2 18-1 30 2' stroke='%23B08E78' stroke-width='3.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.audience-card, .mini, .card, .choice, .step-card, .coming, .ask-card {
  border-radius: 16px;
  border-color: #EFE3D8;
  box-shadow: 0 10px 28px rgba(140, 100, 70, 0.05);
}
.audience-card .ico, .why-item .ico {
  background: #FBF7F3;
  border-color: #E7D9CC;
}
.section { margin: 48px 0; }
.band-blush { background: #EFE3D8; border-radius: 40px; padding: 48px 28px; }
.area-tile { border-radius: 18px; }
.area-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(90, 55, 35, 0.42));
  pointer-events: none;
}
.area-tile span { z-index: 1; font-weight: 500; }
.sign {
  font-family: "Great Vibes", cursive;
  font-size: 46px;
  color: #8A6552;
  line-height: 1;
  margin: 8px 0 4px;
  font-weight: 400;
}
.hydrangea { width: min(240px, 70%); margin: 12px auto 0; display: block; }
.note-grid { align-items: end; }
.cta-band, .rent-band {
  background:
    linear-gradient(100deg, rgba(248, 241, 234, 0.96) 0%, rgba(248, 241, 234, 0.82) 58%, rgba(248, 241, 234, 0.45) 100%),
    url("/assets/places/skyline-dusk.webp") right center / cover no-repeat;
  border-color: #EFE3D8;
}
@media (min-width: 800px) {
  .hero-photo img, .split-photo:not(.frame-contain) img {
    clip-path: ellipse(70% 82% at 44% 50%);
    border-radius: 0 !important;
    min-height: 520px;
  }
  .hydrangea { width: 260px; margin: 0 8px 0 auto; }
}
@media (max-width: 1040px) {
  .wordmark { border-right: 0; }
  .wm-name { font-size: 26px; }
}

.skip { position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px; }
.skip:focus { top: 8px; z-index: 9; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246,238,231,.94); }
.tools-menu { position: relative; }
.tools-panel { position: absolute; top: 100%; left: 0; width: 280px; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 8px; display: grid; gap: 4px; }
.tools-panel a { display: grid; padding: 8px; }
.tools-panel span { color: #7A6A60; font-size: 13px; }
.count { background: #8A6552; color: #fff; border-radius: 99px; padding: 0 6px; font-size: 12px; }
.scrim { position: fixed; inset: 0; background: rgba(44,36,31,.25); border: 0; }
.menu-panel.open { display: grid; }
.search-shell { padding: 0; }
.search-app { min-height: calc(100dvh - 76px); }
.search-top, .more-filters, .map-tools, .search-main { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 12px; }
.search-main { padding: 0; width: 100%; }
.search-top input, .more-filters input, .more-filters select, .search-top select, .save-search input, .save-search select, .card input, .card select, .card textarea {
  font: inherit; font-size: 16px; color: #302E2A; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 12px; padding: 10px 12px; width: 100%; max-width: 100%;
}
.den-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.filter-footer { position: sticky; bottom: 0; display: flex; gap: 8px; width: 100%; padding: 10px 0; background: #F3EFE5; }
.gallery-main { position: relative; }
.gallery-main img { width: 100%; height: min(62vh, 520px); object-fit: cover; background: #F3EBE3; }
.gallery-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; }
.thumbs button { border: 0; padding: 0; background: none; width: 72px; flex: 0 0 auto; }
.thumbs img { width: 72px; height: 54px; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: #302E2A; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100dvh; object-fit: contain; }
.search-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 46%); min-height: 70vh; }
.map-libre { height: 70vh; min-height: 420px; }
.suggest { position: relative; flex: 1; min-width: 180px; }
.suggest-list { position: absolute; z-index: 6; background: #fff; border: 1px solid #E7DDD3; width: 100%; margin: 0; padding: 4px; list-style: none; max-height: 280px; overflow: auto; }
.suggest-list button { width: 100%; text-align: left; background: none; border: 0; padding: 8px; min-height: 40px; display: flex; flex-direction: column; gap: 2px; }
.suggest-list button[aria-selected="true"] { background: #F3EFE5; }
.suggest-list small { color: #5C5148; }
.place-row { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.place-chip { display: inline-flex; align-items: center; gap: 6px; background: #F3EFE5; border: 1px solid #4F5733; color: #302E2A; border-radius: 999px; padding: 4px 8px; }
.place-chip select, .place-chip button { min-height: 32px; }
.place-chip button { border: 0; background: transparent; color: #7A2E3A; }
.show-btn { background: #2F6B45; color: #fff; border: 0; border-radius: 999px; min-height: 40px; padding: 0 14px; }
.showing-panel, .showing-card { background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 12px; margin: 8px 12px; }
.showing-panel textarea { width: 100%; }
.preview-btn { position: absolute; left: 8px; bottom: 8px; background: #F3EFE5; color: #302E2A; border: 1px solid #4F5733; border-radius: 999px; min-height: 32px; padding: 0 10px; }
.desk-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.desk-list li { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 12px; padding: 12px; }
.search-app { overflow-x: clip; position: relative; }
.sheet-row { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.sheet-row button { background: #FFFCF8; color: #302E2A; border: 1px solid #CDBFB2; border-radius: 999px; min-height: 40px; padding: 0 14px; }
.sheet-row button.is-on { background: #4F5733; color: #FFFCF8; border-color: #4F5733; }
.filter-sheet { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 18px; padding: 14px; max-height: 70dvh; overflow: auto; box-shadow: 0 12px 40px rgba(48, 46, 42, 0.16); }
.filter-sheet h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 8px; }
.filter-sheet label { display: grid; gap: 4px; margin: 8px 0; }
.sheet-x { float: right; border: 0; background: transparent; color: #7A2E3A; min-height: 36px; }
.map-stack { position: relative; }
.map-bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.price-bubble { position: absolute; transform: translate(-50%, -50%); background: #302E2A; color: #FFFCF8; border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.price-bubble.is-cluster { background: #4F5733; min-width: 46px; text-align: center; padding: 8px 10px; font-size: 13px; }
.snap-row { display: none; }
.peek-line { display: none; margin: 0; }
@media (min-width: 801px) {
  .filter-sheet { left: 16px; right: auto; width: min(420px, calc(100% - 32px)); bottom: auto; top: 148px; }
}
@media (max-width: 800px) {
  .snap-row { display: flex; gap: 6px; }
  .snap-row button { border: 1px solid #CDBFB2; background: transparent; border-radius: 999px; min-height: 32px; padding: 0 10px; }
  .snap-row button.is-on { background: #7A2E3A; color: #FFFCF8; border-color: #7A2E3A; }
  .peek-line { display: block; }
  .quick-view.is-peek { height: 108px; max-height: 108px; }
  .quick-view.is-peek .sheet-body { display: none; }
  .quick-view.is-half { height: 46dvh; max-height: 46dvh; }
  .quick-view.is-full { top: 8px; bottom: auto; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
}
.listing-card { position: relative; background: #FFFCF8; color: #302E2A; }
.card-hit, .card-hit strong, .card-hit p { color: #302E2A; }
.card-hit .muted, .listing-card .muted { color: #5C5148; }
.save-search { background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 12px; padding: 8px 10px; }
.save-search summary { cursor: pointer; font-weight: 600; color: #302E2A; }
.search-body.is-list, .search-body.is-feed { grid-template-columns: 1fr; }
.search-body.is-list .map-col, .search-body.is-feed .map-col { display: none; }
.search-body.is-map { grid-template-columns: 1fr; }
.search-body.is-map .results { display: none; }
.feed-row .listing-card { grid-template-columns: 1fr; }
.feed-row .listing-card img { width: 100%; height: 240px; }
.map-stack { display: grid; }
.heart { position: absolute; top: 8px; right: 8px; border: 0; background: #fff; border-radius: 99px; width: 32px; height: 32px; }
.was { margin-left: 8px; color: #7A6A60; text-decoration: line-through; }
.feed-row, .ig-feed { display: grid; }
.ig-feed { height: calc(100dvh - 150px); overflow-y: auto; scroll-snap-type: y mandatory; border-radius: 16px; }
.ig-slide { min-height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: #FFFCF8; color: #302E2A; }
.ig-slide img, .ig-photo-empty { width: 100%; height: 58dvh; object-fit: cover; background: #F3EBE3; }
.ig-body { padding: 12px 12px 20px; }
.ig-price { font-size: 22px; font-weight: 700; }
.quick-view { position: fixed; right: 12px; bottom: 76px; width: min(420px, calc(100% - 24px)); background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 12px; z-index: 40; max-height: min(70dvh, 640px); overflow: auto; }
.quick-view img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.home-row, .area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.mini-card, .area-grid a { display: grid; gap: 4px; }
.mini-card img, .area-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; }
.home-chips a { border: 1px solid #E7DDD3; border-radius: 99px; padding: 6px 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bottom-nav, .install-prompt, .mobile-bar { display: none; }
.steps { display: flex; gap: 16px; padding-left: 18px; }
@media (max-width: 800px) {
  .search-body, .search-body.is-split { grid-template-columns: 1fr; }
  .search-body.is-split .map-col { display: none; }
  .hide-mobile { display: none; }
  .search-top, .more-filters, .map-tools, .row-actions { align-items: stretch; }
  .search-top > *, .more-filters > *, .save-search, .suggest { flex: 1 1 100%; min-width: 0; }
  .map-libre, .map-wrap { height: 70dvh; min-height: 320px; width: 100%; }
  .listing-card { display: block; }
  .card-hit { display: flex; flex-direction: column; grid-template-columns: none; }
  .listing-card img, .card-hit img { width: 100%; height: 168px; max-height: 168px; max-width: 100%; }
  .listing-card div, .card-hit > div { padding: 10px 40px 12px 12px; }
  .nav { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; padding-top: 8px; margin-bottom: 0; background: #F7F2EC; }
  .wordmark { border-right: 0; padding-right: 0; }
  .nav-side { grid-column: 1 / -1; justify-content: flex-start; }
  .bottom-nav, .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center;
    background: #FFFCF8; border-top: 1px solid #E7DDD3;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    min-height: calc(48px + env(safe-area-inset-bottom));
    z-index: 80;
  }
  .bottom-nav a { color: #302E2A; text-decoration: none; font-size: 13px; font-weight: 600; padding: 8px 4px; }
  .search-app, .page, main { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  iframe[src*="netlify"], #netlify-drawer-controller, .netlify-drawer { display: none !important; }
  .install-prompt { display: grid; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 72px; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 12px; z-index: 26; }
  .nav { grid-template-columns: 1fr; }
  .nav-primary { grid-column: 1 / -1; }
  .quick-view { left: 0; right: 0; bottom: 0; width: auto; border-radius: 16px 16px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* ---- Home page fixes (Nov 21, items 1-15) ---- */
/* 1: logo beside the name, a little bigger */
.nav .wordmark-link { display: inline-flex; align-items: center; gap: 10px; }
.nav-logo { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.nav .wm-name { font-size: 32px; }
@media (max-width: 1040px) { .nav .wm-name { font-size: 28px; } }
@media (max-width: 640px) { .nav-logo { width: 54px; height: 54px; } .nav .wordmark-link { gap: 8px; } .nav .wm-name { font-size: 27px; } }
/* 2: hero search, slim button instead of a big blob */
.home-search { align-items: center; border-radius: 14px; padding: 8px; box-shadow: 0 6px 18px rgba(48,46,42,.06); }
.home-search .btn[type="submit"] { height: 42px; padding: 0 22px; margin: 0; border-radius: 10px; box-shadow: none; font-size: 15px; line-height: 42px; flex-shrink: 0; width: auto; }
/* 3: Rent and Buy side by side, on top of the search */
.home-search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 10px; }
.home-search > .chips { grid-column: 1 / -1; display: inline-flex; flex-wrap: nowrap; justify-self: start; gap: 0; margin: 0; padding: 3px; background: #F3EBE3; border-radius: 10px; }
.home-search > .chips button { margin: 0; border: 0; border-radius: 8px; padding: 7px 20px; background: transparent; min-width: 84px; font-size: 14px; }
.home-search > .chips button.is-on { background: #8A6552; color: #FFFCF8; }
@media (max-width: 640px) {
  .home-search { grid-template-columns: minmax(0, 1fr); }
  .home-search > .chips { justify-self: stretch; }
  .home-search > .chips button { flex: 1; }
  .home-search .btn[type="submit"] { width: 100%; }
}
/* 4: location and max price as two clearly labelled, separate fields */
.home-search .hs-field { display: grid; gap: 2px; min-width: 0; background: #FFFFFF; border: 1px solid #E7DDD3; border-radius: 10px; padding: 6px 12px; }
.home-search .hs-field:focus-within { border-color: #8A6552; }
.home-search .hs-field label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #76604F; font-weight: 500; }
.home-search .hs-field input { padding: 2px 0; font-size: 15px; min-width: 0; }
.home-search .hs-max { width: 170px; background: #F8F3EE; }
.home-search .hs-money { display: flex; align-items: center; gap: 4px; color: #6A5B52; font-size: 15px; }
.home-search .btn[type="submit"] { align-self: stretch; height: auto; min-height: 42px; line-height: 1; }
@media (max-width: 640px) {
  .home-search .hs-max { width: auto; }
  .home-search .btn[type="submit"] { height: 44px; }
}
/* 10: Browse by area, grouped, bigger cards */
.browse-areas .area-group { margin-top: 18px; }
.browse-areas .area-group h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; color: #302E2A; margin: 0 0 10px; }
.browse-areas .area-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.browse-areas .area-grid a { display: grid; gap: 6px; font-size: 15px; color: #302E2A; }
.browse-areas .area-grid img, .browse-areas .area-fallback { width: 100%; height: 170px; border-radius: 14px; object-fit: cover; }
.browse-areas .area-fallback { display: flex; align-items: flex-end; padding: 14px 16px; box-sizing: border-box; background: linear-gradient(140deg, #F3EFE5 0%, #E8E4D3 60%, #D7D9BF 100%); border: 1px solid #E2DCCB; }
.browse-areas .area-fallback span { display: inline-block; text-decoration: none; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #4F5733; font-weight: 500; }
@media (max-width: 640px) {
  .browse-areas .area-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .browse-areas .area-grid img, .browse-areas .area-fallback { height: 120px; }
  .browse-areas .area-fallback span { font-size: 9.5px; letter-spacing: .16em; }
  .browse-areas .area-grid a { font-size: 14px; }
}
.browse-areas .area-grid a { text-decoration: none; } .browse-areas .area-grid a > span:last-of-type { text-decoration: underline; text-underline-offset: 3px; }
/* 11: home worth as a big rectangle, first-home questionnaire under it */
.worth-wide .worth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px 28px; align-items: center; padding: 28px 32px; border-radius: 16px; }
.worth-wide .worth-card h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 0 0 6px; }
.worth-wide .worth-card p { margin: 0; }
.worth-wide .worth-form { display: flex; gap: 10px; }
.worth-wide .worth-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; font: inherit; font-size: 16px; border: 1px solid #E7DDD3; border-radius: 10px; background: #fff; }
.worth-wide .worth-form .btn { width: auto; margin: 0; height: 48px; padding: 0 22px; border-radius: 10px; box-shadow: none; white-space: nowrap; }
.first-home { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; margin-top: 12px; padding: 16px 20px; border: 1px solid #E7DDD3; border-radius: 12px; background: rgba(255,252,248,.7); }
.first-home p { margin: 0; font-family: var(--serif); font-size: 20px; color: #302E2A; }
.first-home .btn { width: auto; margin: 0; border-radius: 10px; padding: 10px 18px; }
@media (max-width: 800px) {
  .worth-wide .worth-card { grid-template-columns: 1fr; padding: 22px 18px; }
  .worth-wide .worth-form { flex-direction: column; }
  .worth-wide .worth-form .btn { width: 100%; }
  .first-home .btn { width: 100%; text-align: center; }
}
/* 12: two small rectangle buttons beside the name; mortgage calculator placeholder */
.name-btns { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.name-btns a { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid #CDBFB2; border-radius: 6px; background: #FFFCF8; color: #302E2A; text-decoration: none; font-size: 13.5px; font-weight: 500; white-space: nowrap; line-height: 1.1; }
.name-btns a:hover { border-color: #8A6552; color: #8A6552; }
@media (max-width: 800px) { .name-btns { grid-column: 1 / -1; } .name-btns a { padding: 8px 12px; font-size: 14px; } }
.mortgage-soon .choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 24px; border-style: dashed; }
.mortgage-soon h2 { margin: 0; }
.mortgage-soon .soon-tag { margin: 0; padding: 6px 12px; border-radius: 6px; background: #EEEADB; color: #4F5733; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 800px) { .nav-side { gap: 10px; } .nav-side .nav-cta, .nav-side .menu-btn { padding: 8px 14px; font-size: 14px; } }
/* 13: review cards (render only when lib/home-reviews.ts has entries) */
.review-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 6px 0 14px; }
.review-card { margin: 0; padding: 18px; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 14px; display: grid; gap: 10px; align-content: start; }
.review-stars { color: #B8860B; letter-spacing: 2px; font-size: 16px; }
.review-stars span { color: #E2D8CC; }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: #302E2A; }
.review-card figcaption { font-weight: 500; color: #4F5733; font-size: 14px; }
/* Compact mobile header (<=800px): row 1 logo+name | Text me + Menu; row 2 four equal buttons */
.nb-mobile, .menu-lang, .name-btns .nb-mobile { display: none; }
@media (max-width: 800px) {
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 8px 8px; padding: 8px 0; margin-bottom: 0; }
  .nav .wordmark-link { grid-column: 1; grid-row: 1; gap: 8px; min-width: 0; }
  .nav-logo { width: 40px; height: 40px; }
  .nav .wordmark { gap: 3px; }
  .nav .wm-name { font-size: 22px; white-space: nowrap; }
  .nav .wm-sub { font-size: 7.5px; letter-spacing: .3em; }
  .nav-side { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 6px; flex-wrap: nowrap; }
  .nav-side .lang-toggle { display: none; }
  .nav-side .nav-cta, .nav-side .menu-btn, .nav-side .admin-btn { height: 34px; padding: 0 12px; font-size: 13px; font-weight: 500; line-height: 1; border-radius: 8px; box-shadow: none; display: inline-flex; align-items: center; margin: 0; }
  .name-btns { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; gap: 6px; width: 100%; }
  .name-btns > a, .name-btns .tools-menu > button { box-sizing: border-box; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font: 500 12.5px/1 var(--font-dm, "DM Sans"), sans-serif; color: #302E2A; background: #FFFCF8; border: 1px solid #CDBFB2; border-radius: 6px; white-space: nowrap; text-decoration: none; cursor: pointer; }
  .name-btns .tools-menu { display: block; position: relative; }
  .name-btns .tools-menu > button { width: 100%; }
  .name-btns .tools-panel { right: 0; left: auto; width: min(260px, calc(100vw - 24px)); z-index: 40; box-shadow: 0 10px 24px rgba(48,46,42,.12); }
  .name-btns .count { font-size: 10.5px; padding: 0 5px; line-height: 16px; }
  .nb-mobile, .name-btns .nb-mobile { display: inline-flex; }
  .name-btns .tools-menu.nb-mobile { display: block; }
  .nav-primary { display: none !important; }
  .menu-lang { display: inline-flex; padding: 4px 0 8px; font-size: 15px; }
}
@media (max-width: 400px) {
  :lang(es) .name-btns > a, :lang(es) .name-btns .tools-menu > button { font-size: 11.5px; padding: 0 6px; }
}
.name-btns .tools-panel a { display: block; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.name-btns .tools-panel a:hover { background: #F3EBE3; }
@media (max-width: 1040px) { .menu-panel.open { position: relative; z-index: 31; } }

/* Area photo credits */
.browse-areas .area-credit { order: 3; font-size: 10.7px; line-height: 1.3; color: #6b675f; text-decoration: none; }
.browse-areas .area-credits-link { margin: 14px 0 0; font-size: 13px; text-align: right; }
.browse-areas .area-credits-link a { color: #545C33; text-decoration: underline; }
.photo-credits .credit-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.photo-credits .credit-list li { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid rgba(48,46,42,.12); padding-bottom: 12px; min-width: 0; }
.photo-credits .credit-list img { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; flex: none; }
.photo-credits .credit-list div { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
@media (max-width: 480px) { .photo-credits .credit-list img { width: 88px; height: 60px; } }

/* 1.1 map: price pills, credit, search this area */
.map-stack { position: relative; }
.map-bubbles { pointer-events: none; }
.map-bubbles .price-bubble { pointer-events: auto; border: 0; cursor: pointer; background: #8A6552; color: #FFFFFF; font-family: var(--sans); line-height: 1.2; box-shadow: 0 1px 3px rgba(44, 36, 31, 0.25); }
.map-bubbles .price-bubble.is-cluster { background: #2C241F; }
.map-bubbles .price-bubble.is-active { background: #2C241F; outline: 2px solid #FFFCF8; z-index: 2; transform: translate(-50%, -50%) scale(1.12); }
.map-credit { position: absolute; right: 6px; bottom: 6px; margin: 0; padding: 2px 6px; border-radius: 6px; background: rgba(255, 252, 248, 0.88); font-size: 11px; line-height: 1.3; z-index: 3; }
.map-credit a { color: #4E433C; text-decoration: none; }
.search-area-btn { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 4; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #E7DDD3; background: #FFFCF8; color: #2C241F; font: 500 14px var(--sans); box-shadow: 0 2px 8px rgba(44, 36, 31, 0.18); cursor: pointer; }
.map-wrap .map-fill { position: absolute; inset: 0; }
.map-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: #8A6552; border: 3px solid #FFFCF8; box-shadow: 0 1px 4px rgba(44, 36, 31, 0.3); }
.map-dot.is-active { background: #2C241F; }

/* 1.2 Phone header: one row, max 64px. Wordmark left; Saved + Menu right. Everything else lives in the Menu drawer and the bottom bar. */
.saved-heart { display: none; }
@media (max-width: 800px) {
  .nav { grid-template-rows: auto; padding: 8px 0; min-height: 0; max-height: 64px; box-sizing: border-box; }
  .nav .name-btns { display: none !important; }
  .nav-side .nav-cta { display: none; }
  .saved-heart { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; height: 44px; padding: 0 10px; box-sizing: border-box; border: 1px solid #E7DDD3; border-radius: 12px; background: #FFFCF8; color: #8A6552; font-size: 18px; text-decoration: none; }
  .saved-heart .count { font-size: 11px; line-height: 16px; padding: 0 5px; }
  .nav-side .menu-btn { height: 44px; min-height: 44px; border-radius: 12px; padding: 0 14px; }
  .nav-logo { width: 36px; height: 36px; }
  .nav .wm-name { font-size: 21px; }
  .menu-panel .btn { min-height: 44px; }
}

/* 1.4 Hero search on phones: Rent/Buy on top, full-width field, then Max price + Search in one row */
.home-search .hs-max select { border: 0; background-color: transparent; min-height: 0; padding: 2px 28px 2px 0; border-radius: 0; font-size: 15px; background-position: right 0 center; }
@media (max-width: 800px) {
  .home-search { grid-template-columns: minmax(0, 1fr) auto; }
  .home-search > .chips { grid-column: 1 / -1; }
  .home-search .hs-loc { grid-column: 1 / -1; }
  .home-search .hs-loc input { font-size: 15px; text-overflow: clip; }
  .home-search .hs-max { grid-column: 1; }
  .home-search .btn[type="submit"] { grid-column: 2; width: auto; min-height: 48px; height: auto; padding: 0 22px; align-self: stretch; }
}
@media (max-width: 360px) { .home-search .hs-loc input { font-size: 14px; } }

/* 1.6 Form controls in Leslie's palette, site-wide */
input:where([type="text"], [type="email"], [type="tel"], [type="number"], [type="search"], [type="date"], [type="password"], [type="url"], :not([type])), select, textarea {
  box-sizing: border-box; min-height: 44px; border-radius: 12px; background-color: #FFFCF8; border: 1px solid #E7DDD3; color: #2C241F; font: inherit; font-size: 16px; padding: 0 12px;
}
textarea { padding: 10px 12px; min-height: 96px; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A6552' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 40px; height: 24px; margin: 0 8px 0 0; border-radius: 999px; background: #E7DDD3; border: 1px solid #D9CCC0; cursor: pointer; vertical-align: middle; transition: background-color .15s ease;
}
input[type="checkbox"]::before { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #FFFCF8; box-shadow: 0 1px 2px rgba(44, 36, 31, .25); transition: transform .15s ease; }
input[type="checkbox"]:checked { background: #8A6552; border-color: #8A6552; }
input[type="checkbox"]:checked::before { transform: translateX(16px); }
input[type="radio"] { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0 8px 0 0; border-radius: 50%; border: 1px solid #D9CCC0; background: #FFFCF8; vertical-align: middle; cursor: pointer; }
input[type="radio"]:checked { border: 7px solid #8A6552; }
input:focus, select:focus, textarea:focus, button:focus, a:focus { outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #8A6552; outline-offset: 2px; }
input:where([type="text"], [type="email"], [type="tel"], [type="number"], [type="search"], [type="date"], :not([type])):focus, select:focus, textarea:focus { border-color: #8A6552; }
@media (prefers-reduced-motion: reduce) { input[type="checkbox"], input[type="checkbox"]::before { transition: none; } }
.home-search .hs-field input, .home-search .hs-field select { min-height: 28px; }

/* 1.5 Browse by area tiles: one 4:3 ratio, 16px radius, name overlaid at the bottom, credit below */
.browse-areas .area-grid a { display: grid; grid-template-rows: auto auto; gap: 4px; position: relative; }
.browse-areas .area-grid img { grid-area: 1 / 1; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; display: block; }
.browse-areas .area-grid a > span { grid-area: 1 / 1; align-self: end; margin: 0; padding: 28px 12px 10px; border-radius: 0 0 16px 16px; background: linear-gradient(to top, rgba(44, 36, 31, .78), rgba(44, 36, 31, 0)); color: #FFFFFF; font-weight: 500; font-size: 15px; line-height: 1.25; }
.browse-areas .area-grid a > span:last-of-type { text-decoration: none; }
.browse-areas .area-grid a:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.browse-areas .area-grid .area-credit { grid-row: 2; }
@media (max-width: 800px) { .browse-areas .area-grid img { height: auto; } .browse-areas .area-grid a > span { font-size: 13.5px; padding: 22px 8px 8px; } }
/* Tools in the desktop nav reads as a link, not a boxed browser button */
.nav-links .tools-menu > button, .nav-primary .tools-menu > button { appearance: none; border: 0; background: transparent; padding: 0; margin: 0; font: inherit; font-size: 15px; color: #7A685C; cursor: pointer; min-height: 44px; }
.nav-links .tools-menu > button:hover, .nav-links .tools-menu > button[aria-expanded="true"] { color: #8A6552; }
.skip { top: -100px; }

/* Home: Leslie's headshot card (photo shown whole, never cropped) */
.meet-leslie { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; margin-top: 22px; padding: 16px; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; }
.meet-leslie img { width: 132px; height: auto; aspect-ratio: 1122 / 1402; border-radius: 12px; display: block; }
.meet-leslie h2 { margin: 0 0 6px; }
.meet-leslie p { margin: 0 0 12px; }
.meet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 480px) { .meet-leslie { grid-template-columns: 104px 1fr; gap: 14px; padding: 14px; } .meet-leslie img { width: 104px; } .meet-actions .btn { min-height: 44px; } }

/* 3.1 Filter chip bar: one row of pills; active = accent border + 12% tint; only the ✕ clears */
.chip-bar { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 2px 0 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chip-bar::-webkit-scrollbar { display: none; }
.fchip { display: inline-flex; align-items: center; flex: 0 0 auto; border: 1px solid #CDBFB2; border-radius: 999px; background: #FFFCF8; }
.fchip button, .sheet-row .fchip button { border: 0; background: transparent; color: #2C241F; min-height: 40px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.fchip.is-on { border-color: #8A6552; background: rgba(138, 101, 82, 0.12); }
.fchip.is-on button { color: #2C241F; font-weight: 600; }
.fchip .fchip-x, .sheet-row .fchip .fchip-x { padding: 0 12px 0 2px; min-width: 32px; font-weight: 400; color: #8A6552; }
.filter-sheet .chips button.is-on, .more-filters .chips button.is-on { border-color: #8A6552; background: rgba(138, 101, 82, 0.12); color: #2C241F; }
@media (max-width: 800px) {
  .search-top > .chip-bar { flex: 1 1 100%; }
  .filter-sheet { left: 0; right: 0; bottom: 0; border-radius: 18px 18px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; max-height: 80dvh; }
}

/* 3.4 Area chips and editor */
.place-row { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.place-chip { position: relative; }
.place-chip .place-name { color: #2C241F; font-weight: 600; padding: 0 4px; }
.area-editor { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; width: min(320px, 86vw); background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 12px; box-shadow: 0 12px 40px rgba(44, 36, 31, 0.16); display: grid; gap: 8px; }
.area-editor label { display: grid; gap: 4px; }
.area-editor .chips button { color: #2C241F; border: 1px solid #CDBFB2; border-radius: 999px; padding: 0 12px; }
.area-editor .row-actions button { color: #2C241F; }

/* 3.5 Cards: one photo ratio, price large, tags, one spec row, brokerage line */
.card-photo { position: relative; display: block; flex: 0 0 auto; }
.listing-card .card-photo img, .card-hit .card-photo img { aspect-ratio: 4 / 3; height: auto; max-height: none; object-fit: cover; }
.card-nophoto { display: grid; place-items: center; aspect-ratio: 4 / 3; width: 160px; background: #E7DDD3; color: #5C5148; font-size: 13px; }
.card-num { position: absolute; top: 8px; left: 8px; min-width: 28px; height: 28px; border-radius: 99px; background: #2C241F; color: #FFFCF8; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.card-price { font-family: var(--serif); font-size: 24px; line-height: 1.1; display: block; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.card-tags:empty { display: none; }
.card-spec { font-weight: 600; margin: 2px 0; }
.card-brokerage { font-size: 13px; }
.empty-state .row-actions { margin-top: 8px; }
@media (max-width: 800px) {
  .listing-card .card-photo img, .card-hit .card-photo img { width: 100%; height: auto; max-height: none; }
  .card-nophoto { width: 100%; }
  /* Phone: List | Map | Feed as a bar pinned above the site bar */
  .search-app .results .view-toggle { display: none; }
  .view-bar { position: fixed; z-index: 70; left: 50%; transform: translateX(-50%); bottom: calc(68px + env(safe-area-inset-bottom)); display: flex; background: #2C241F; border-radius: 999px; padding: 4px; gap: 2px; box-shadow: 0 8px 24px rgba(44, 36, 31, 0.25); }
  .view-bar button { min-height: 40px; min-width: 76px; border-radius: 999px; border: 0; background: transparent; color: #FFFCF8; font: inherit; font-weight: 600; }
  .view-bar button.is-on { background: #FFFCF8; color: #2C241F; }
  .search-app { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
}
@media (min-width: 801px) {
  .search-body.is-split { grid-template-columns: minmax(0, 40%) minmax(0, 60%); }
}

/* 4.1 Listing page: content left, sticky request card right; phone bottom bar with price */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: 16px; }
.listing-main { min-width: 0; }
.request-card { position: sticky; top: 16px; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 16px; box-shadow: 0 8px 28px rgba(44, 36, 31, 0.08); max-height: calc(100vh - 32px); overflow: auto; }
.request-price { font-family: var(--serif); font-size: 28px; margin: 0 0 10px; }
.request-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.request-actions .btn { width: 100%; margin: 0; min-height: 44px; padding: 0 10px; font-size: 14px; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.request-actions .btn:first-child, .request-actions .btn:nth-child(2) { grid-column: span 1; }
.request-close { display: none; }
.showing-form fieldset { border: 0; padding: 0; margin: 0; }
.radio-chip { display: inline-flex !important; align-items: center; gap: 6px; border: 1px solid #CDBFB2; border-radius: 999px; padding: 6px 12px; min-height: 40px; }
.icon-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0; }
.icon-row li { background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 999px; padding: 8px 12px; font-weight: 600; }
.key-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 8px 0 16px; }
.key-facts div { display: grid; grid-template-columns: 44% 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid #E7DDD3; }
.key-facts dt { color: #5C5148; }
.key-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.included-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; }
table.rooms { width: 100%; border-collapse: collapse; font-size: 14px; }
table.rooms th, table.rooms td { text-align: left; padding: 8px; border-bottom: 1px solid #E7DDD3; vertical-align: top; }
.feature-list { columns: 2; padding-left: 18px; }
.money-box { margin: 16px 0; }
.money-box h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.money-line { display: grid; grid-template-columns: 1fr 150px; align-items: center; gap: 8px; padding: 6px 0; border: 0; margin: 0; }
.money-line legend { padding: 0; margin-bottom: 6px; }
fieldset.money-line { grid-template-columns: 1fr; }
.money-input { display: inline-flex; align-items: center; gap: 4px; }
.money-input input { width: 100%; text-align: right; }
.money-total { display: flex; justify-content: space-between; font-size: 20px; border-top: 2px solid #2C241F; padding-top: 10px; margin-top: 8px; }
.money-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.money-out div { background: #F6EEE7; border-radius: 12px; padding: 10px 12px; }
.money-out dt { color: #5C5148; font-size: 14px; }
.money-out dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-family: var(--serif); }
.rate-compact { display: flex; gap: 8px; flex-wrap: wrap; }
.rate-compact button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #CDBFB2; background: #FFFCF8; color: #2C241F; font: inherit; }
.rate-compact button.is-on { border-color: #8A6552; background: rgba(138, 101, 82, 0.12); font-weight: 600; }
.rate-note summary { cursor: pointer; margin-top: 10px; color: #8A6552; font-weight: 600; }
/* 4.7 Similar homes */
.similar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.similar-card { display: grid; gap: 4px; color: #2C241F; text-decoration: none; }
.similar-card img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 16px; }
.similar-card strong { font-family: var(--serif); font-size: 20px; }
.listing-bar { display: none; }
@media (min-width: 801px) { .view-bar { display: none; } }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .request-card { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; top: auto; max-height: 88dvh; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform 0.25s ease; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .request-card.is-open { transform: none; }
  .request-close { display: inline-flex; float: right; }
  .similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .key-facts { grid-template-columns: 1fr; }
  .money-out { grid-template-columns: 1fr; }
  .listing-bar { position: fixed; z-index: 85; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #FFFCF8; border-top: 1px solid #E7DDD3; }
  .listing-bar strong { flex: 1; font-family: var(--serif); font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .listing-bar .btn { width: auto; margin: 0; min-height: 44px; padding: 0 14px; }
  .feature-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .request-card { transition: none; } }
/* 5.5 Saved panel */
.saved-tabs { margin: 12px 0 20px; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.saved-home { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.saved-home img, .saved-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #E7DDD3; }
.saved-ph { display: grid; place-items: center; font-size: 32px; color: #8A6552; }
.saved-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.saved-price { font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; margin: 0; }
.saved-home.is-gone .saved-body { opacity: .85; }
.saved-searches { list-style: none; padding: 0; display: grid; gap: 12px; }
.heart.is-on { color: #8A6552; }
.unsub .card { max-width: 560px; margin: 40px auto; }
/* 6.1 Tool result card */
.tool-result { background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 22px 20px; margin: 18px 0; box-shadow: 0 8px 24px rgba(44,36,31,.06); }
.tool-result-label { margin: 0; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #8A6552; }
.tool-result-value { margin: 6px 0 4px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; color: #2C241F; overflow-wrap: anywhere; }
.tool-result-sub { margin: 0 0 10px; font-size: 1.05rem; }
.tool-result-note { margin: 0 0 12px; font-size: .9rem; color: #5f5149; }
.tool-result details { margin: 8px 0 12px; }
.tool-result details ul { margin: 8px 0 0; padding-left: 18px; }
.tool-result-action { margin-top: 12px; }
.tool-result-action .btn { width: auto; }
.comp-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.comp-list li { background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 12px; padding: 10px 12px; }
@media (max-width: 800px) { .tool-result { padding: 18px 16px; } .tool-result-action .btn { width: 100%; text-align: center; } }
/* 6.2 Market pages */
.market-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.table-wrap { overflow-x: auto; }
.market-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.market-table th, .market-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #E7DDD3; }
.market-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.market-links a { display: inline-block; padding: 8px 14px; border: 1px solid #E7DDD3; border-radius: 99px; background: #FFFCF8; }
/* 6.4 Home rails */
.rails { display: grid; gap: 26px; margin: 26px 0; }
.rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rail-head h2 { margin: 0 0 10px; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail-card { scroll-snap-align: start; display: grid; gap: 4px; align-content: start; background: #FFFCF8; border: 1px solid #E7DDD3; border-radius: 16px; padding: 8px 8px 12px; color: inherit; text-decoration: none; }
.rail-card img, .rail-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #E7DDD3; display: block; }
.rail-card strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; padding: 4px 4px 0; }
.rail-card span { padding: 0 4px; font-size: .92rem; }
.rail-ph-text { display: grid; place-items: center; color: #8A6552; font-family: "Playfair Display", Georgia, serif; }
.rail-map { place-items: center; text-align: center; min-height: 200px; background: #F6EEE7; }
.rail-map span { font-size: 2rem; }
.rail-skel .skel-line { height: 12px; border-radius: 6px; background: #E7DDD3; margin: 6px 4px 0; }
.rail-skel .skel-line.short { width: 60%; }
.rail-skel .rail-ph, .rail-skel .skel-line { animation: skel 1.2s ease-in-out infinite; }
@keyframes skel { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .rail-skel .rail-ph, .rail-skel .skel-line { animation: none; } }
.rail-empty { margin: 0; padding: 18px; background: #FFFCF8; border: 1px dashed #E7DDD3; border-radius: 16px; }
@media (max-width: 800px) { .rail-track { grid-auto-columns: 72%; } }
/* 6.5 About card */
.about-card { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 22px; align-items: start; margin: 24px 0; }
.about-card img { width: 100%; height: auto; border-radius: 16px; display: block; }
.about-facts { display: grid; gap: 8px; margin: 10px 0 16px; }
.about-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.about-facts dt { color: #8A6552; }
.about-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .about-card { grid-template-columns: 1fr; } .about-card img { max-width: 260px; } }
/* 7.1 Desk */
.desk-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 12px 0 20px; }
.desk-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.desk-table th, .desk-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid #E7DDD3; }
.desk-leads { list-style: none; padding: 0; display: grid; gap: 12px; }
/* 7.2 Showing mode */
.showing-list { list-style: none; padding: 0; display: grid; gap: 16px; margin-top: 16px; }
.showing-card { position: relative; display: grid; gap: 6px; }
.showing-num { position: absolute; top: 12px; left: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: #2C241F; color: #FFFCF8; display: grid; place-items: center; font-weight: 700; }
.showing-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; }
.showing-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.showing-card h2 { font-size: 1.2rem; margin: 6px 0 0; }
.map-num { width: 28px; height: 28px; border-radius: 50%; background: #8A6552; color: #FFFCF8; display: grid; place-items: center; font: 700 14px "DM Sans", sans-serif; border: 2px solid #FFFCF8; }
@media (max-width: 600px) { .showing-photos { grid-template-columns: 1fr 1fr; } .showing-photos img:first-child { grid-column: 1 / -1; } }
/* 7.3 Quick notes */
.quick-notes { margin-top: 16px; border: 2px dashed #8A6552; }
.qn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; }
.qn-grid dt { font-size: .8rem; color: #6b5a4f; } .qn-grid dd { margin: 0; font-weight: 600; }
.gone-notice { position: fixed; z-index: 40; top: 76px; left: 50%; transform: translateX(-50%); background: #2C241F; color: #FFFCF8; padding: 10px 14px; border-radius: 16px; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 24px); }
.gone-notice button { background: none; border: 0; color: inherit; font-size: 1.2rem; cursor: pointer; min-width: 32px; min-height: 32px; }
