/* ============================================================
   sections.css — richer marketing + IDX components
   (search bar, listings, stats, category/town/guide grids,
    marketing capabilities, explore grid, affiliations, filters)
   Loaded after components.css.
   ============================================================ */

/* ---------- Property search bar ---------- */
.search-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 0.5rem;
  padding: 0.6rem;
  background: var(--color-warm-white);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.search-bar__field { display: flex; flex-direction: column; justify-content: center; padding: 0.35rem 0.75rem; border-right: 1px solid var(--color-rule); }
.search-bar__field:last-of-type { border-right: none; }
.search-bar__field label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-ink-40); margin-bottom: 0.15rem; }
.search-bar__field select,
.search-bar__field input {
  border: none; background: none; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--color-ink); width: 100%; padding: 0; cursor: pointer;
}
.search-bar__field input { cursor: text; }
.search-bar__field select:focus, .search-bar__field input:focus { outline: none; }
.search-bar .btn { white-space: nowrap; }

/* Hero variant: frosted glass over imagery */
.search-bar--hero {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

@media (max-width: 820px) {
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .btn { grid-column: 1 / -1; }
  .search-bar__field { border-right: none; border-bottom: 1px solid var(--color-rule); padding-block: 0.6rem; }
}
@media (max-width: 480px) {
  .search-bar { grid-template-columns: 1fr; }
}

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.stat-block { text-align: center; }
.stat-block__num { font-family: var(--font-display); font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: 500; line-height: 1; color: var(--color-ink); }
.stat-block__num span { color: var(--color-sage); }
.stat-block__label { margin-top: 0.6rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-ink-40); }
.stats-band--dark .stat-block__num { color: var(--color-warm-white); }
.stats-band--dark .stat-block__num span { color: var(--color-earth-light); }
.stats-band--dark .stat-block__label { color: var(--color-ink-20); }
@media (max-width: 700px) { .stats-band { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* ---------- Category / value cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cat-card {
  position: relative; background: var(--color-warm-white); border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-ink-20); }
.cat-card__icon { width: 42px; height: 42px; color: var(--color-sage); margin-bottom: 1.1rem; }
.cat-card__icon svg { width: 100%; height: 100%; }
.cat-card__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.cat-card__desc { font-size: 0.95rem; color: var(--color-ink-70); margin-bottom: 1.1rem; flex: 1; }
.cat-card .text-link { margin-top: auto; }
.cat-card--ocean .cat-card__icon { color: var(--color-ocean); }
.cat-card--earth .cat-card__icon { color: var(--color-earth); }
@media (max-width: 880px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Marketing capabilities ---------- */
.market-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2.5rem; }
.market-item { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.market-item__num { font-family: var(--font-display); font-size: 2rem; color: var(--color-ocean); line-height: 1; }
.market-item__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.4rem; }
.market-item__desc { font-size: 0.95rem; color: var(--color-ink-70); }
@media (max-width: 720px) { .market-grid { grid-template-columns: 1fr; } }

/* ---------- Town grid (community spotlight) ---------- */
.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.town-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow-sm);
}
.town-card__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 0.8s var(--ease); }
.town-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,24,22,0.78) 0%, rgba(20,24,22,0.15) 55%, transparent 100%); transition: background var(--transition); }
.town-card:hover .town-card__bg { transform: scale(1.08); }
.town-card:hover::before { background: linear-gradient(0deg, rgba(20,24,22,0.85) 0%, rgba(20,24,22,0.3) 70%, rgba(20,24,22,0.1) 100%); }
.town-card__body { padding: 1.25rem; color: #fff; }
.town-card__region { font-family: var(--font-body); font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(255,255,255,0.75); }
.town-card__name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin: 0.15rem 0 0.4rem; line-height: 1.05; }
.town-card__link { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--color-earth-light); }
.town-card:hover .town-card__link { color: #fff; }
@media (max-width: 920px) { .town-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .town-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Guide cards ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.guide-card { background: var(--color-warm-white); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.guide-card__media { aspect-ratio: 3 / 2; background-size: cover; background-position: center; }
.guide-card__body { padding: 1.4rem 1.4rem 1.6rem; }
.guide-card__title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.4rem; }
.guide-card__desc { font-size: 0.9rem; color: var(--color-ink-70); margin-bottom: 1rem; }
@media (max-width: 920px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .guide-grid { grid-template-columns: 1fr; } }

/* ---------- Explore category grid (community detail) ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.explore-item {
  display: flex; align-items: center; gap: 0.85rem; padding: 1.1rem 1.25rem;
  background: var(--color-warm-white); border: 1px solid var(--color-rule); border-radius: var(--radius);
  transition: border-color var(--transition-fast), transform var(--transition-fast); font-weight: 500; color: var(--color-ink);
}
.explore-item:hover { border-color: var(--color-sage); transform: translateX(3px); }
.explore-item svg { width: 22px; height: 22px; color: var(--color-sage); flex-shrink: 0; }
@media (max-width: 760px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .explore-grid { grid-template-columns: 1fr; } }

/* ---------- IDX: listing cards + filters ---------- */
.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-now) + 1rem); background: var(--color-warm-white); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: 1.5rem; }
.filters h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.filters .field { margin-bottom: 1rem; }
.filters__note { font-size: 0.78rem; color: var(--color-ink-40); margin-top: 0.5rem; line-height: 1.5; }

.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.listing-card { background: var(--color-warm-white); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.listing-card__media { position: relative; aspect-ratio: 3 / 2; background-size: cover; background-position: center; }
.listing-card__status { position: absolute; top: 0.9rem; left: 0.9rem; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: var(--radius); background: var(--color-sage); color: #fff; }
.listing-card__status--new { background: var(--color-ocean); }
.listing-card__fav { position: absolute; top: 0.75rem; right: 0.75rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,253,249,0.9); display: grid; place-items: center; color: var(--color-ink-40); }
.listing-card__fav:hover { color: var(--color-ocean); }
.listing-card__fav svg { width: 18px; height: 18px; }
.listing-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.listing-card__price { font-family: var(--font-display); font-size: 1.7rem; color: var(--color-ink); line-height: 1; }
.listing-card__addr { font-size: 0.92rem; color: var(--color-ink-70); margin: 0.4rem 0 0.9rem; }
.listing-card__meta { display: flex; gap: 1.1rem; font-size: 0.82rem; color: var(--color-ink-40); border-top: 1px solid var(--color-rule); padding-top: 0.85rem; }
.listing-card__meta b { color: var(--color-ink); font-weight: 600; }
.listings-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.listings-bar__count { font-size: 0.9rem; color: var(--color-ink-40); }
.idx-banner { background: var(--color-sage-pale); border: 1px dashed var(--color-sage-mid); border-radius: var(--radius-lg); padding: 1rem 1.25rem; font-size: 0.85rem; color: var(--color-sage); margin-bottom: 1.5rem; }
@media (max-width: 900px) {
  .listings-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
}
@media (max-width: 560px) { .listing-grid { grid-template-columns: 1fr; } }

/* ---------- Affiliations strip ---------- */
.affiliations { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; padding-block: 0.5rem; }
.affiliations__item { display: flex; align-items: center; gap: 0.6rem; color: var(--color-ink-40); font-size: 0.92rem; font-weight: 500; letter-spacing: 0; }
.affiliations__item svg { width: 30px; height: 30px; color: var(--color-ink-40); }
.footer .affiliations__item { color: var(--color-ink-20); }
.footer .affiliations__item svg { color: var(--color-ink-20); }

/* ---------- Section intro helper ---------- */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-feature__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background-size: cover; background-position: center; box-shadow: var(--shadow-md); }
@media (max-width: 880px) { .split-feature { grid-template-columns: 1fr; } }

/* ---------- Social row ---------- */
.social-row { display: flex; gap: 0.75rem; }
/* the social icons are gold (owner, 2026-11-01): the glyph and a soft ring of the same gold, filling on hover */
.social-row a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-gold) 55%, transparent); display: grid; place-items: center; color: var(--color-gold); transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
.social-row a:hover { background: var(--color-gold); color: #1e1c18; border-color: var(--color-gold); }
.social-row svg { width: 18px; height: 18px; }
.footer .social-row { margin-top: 1.25rem; }
.footer .social-row a { border-color: rgba(224,184,111,0.4); color: var(--color-gold); }
.footer .social-row a:hover { background: var(--color-gold); color: #1e1c18; }

/* ============================================================
   HOME CARDS + "HOMES FOR SALE" CAROUSEL (drawn by listings.js)
   ============================================================ */
.homes__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.homes__sub { color: var(--color-ink-70); margin-top: 0.6rem; max-width: 34rem; }
.homes__controls { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.homes__filters { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; }
.homes__filters button {
  padding: 0.6rem 1.05rem; border-radius: 999px; border: 1px solid var(--color-rule); background: var(--color-warm-white);
  font-size: 0.92rem; color: var(--color-ink-70); transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.homes__filters button:hover { border-color: var(--color-ink-20); color: var(--color-ink); }
.homes__filters button[aria-pressed="true"] { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-warm-white); }
.homes__arrows { display: flex; gap: 0.6rem; }

.homes-rail {
  --rail-inset: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  display: flex; gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-inset);
  padding: 0.5rem var(--rail-inset) 1.5rem; scrollbar-width: none;
}
.homes-rail::-webkit-scrollbar { display: none; }
.homes-rail:focus-visible { outline: 3px solid var(--color-ocean); outline-offset: -3px; }
.homes-rail .home-card { flex: 0 0 clamp(270px, 26vw, 360px); scroll-snap-align: start; }
.homes__foot { display: grid; gap: 1.1rem; justify-items: start; }
.homes__foot .rail-progress { width: 100%; }
.homes__sample-note { display: none; font-size: 0.85rem; color: var(--color-earth); background: var(--color-earth-pale); border: 1px dashed var(--color-earth-light); border-radius: var(--radius); padding: 0.6rem 0.9rem; }
.homes.is-sample .homes__sample-note { display: block; }

.home-card { background: var(--color-warm-white); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.home-card { position: relative; }
.home-card__body { position: relative; }
.home-card__link { display: block; color: inherit; }
.home-card__link::after { content: ''; position: absolute; inset: 0; }
.home-card__link:focus-visible { outline: none; }
.home-card__link:focus-visible::after { outline: 3px solid var(--color-ocean); outline-offset: -3px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.home-card__price, .home-card__addr { display: block; }
.home-card__strip a { flex: 0 0 100%; display: block; }
.home-card__strip a img { width: 100%; height: 100%; object-fit: cover; }
.home-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-sand); }
.home-card__media .home-card__strip { display: flex; height: 100%; }
.home-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.home-card:hover .home-card__media img { transform: scale(1.05); }
.home-card__status, .home-card__sample, .home-card__mine {
  position: absolute; left: 0.8rem; font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 999px;
}
.home-card__status { top: 0.8rem; background: var(--color-warm-white); color: var(--color-ink); }
.home-card__sample { top: 2.7rem; background: var(--color-earth); color: #fff; }
.home-card__mine { bottom: 0.8rem; background: var(--color-sage); color: #fff; }
.home-card--coast .home-card__mine { background: var(--color-ocean); }
.home-card__body { padding: 1.1rem 1.25rem 1.25rem; }
.home-card__price { font-family: var(--font-display); font-size: 1.9rem; color: var(--color-ink); line-height: 1.1; margin: 0; }
.home-card__addr { font-size: 0.95rem; color: var(--color-ink-70); margin: 0.15rem 0 0.7rem; }
.home-card__facts { margin: 0; display: flex; gap: 1rem; font-size: 0.92rem; color: var(--color-ink-70); padding-bottom: 0.8rem; border-bottom: 1px solid var(--color-rule); }
.home-card__facts b { color: var(--color-ink); font-weight: 600; }
.home-card__office { font-size: 0.76rem; color: var(--color-ink-40); margin-top: 0.7rem; }

@media (max-width: 640px) {
  .homes__arrows { display: none; }
  .homes-rail .home-card { flex-basis: 80vw; }
}

/* Rail controls shared by every carousel (arrows + progress line) */
.rail-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--color-ink-20); color: var(--color-ink);
  display: grid; place-items: center;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:hover:not(:disabled) { background: var(--color-brand); color: var(--color-warm-white); border-color: var(--color-brand); }
.rail-btn:disabled { opacity: 0.3; cursor: default; }
.rail-progress { height: 2px; background: var(--color-rule); border-radius: 2px; overflow: hidden; }
.rail-progress span { display: block; height: 100%; width: 100%; background: var(--color-brand); transform-origin: left; transform: scaleX(var(--rail-p, 0.3)); transition: transform 0.2s linear; }

/* ---------- Listing card photo carousel (gallery cards) ---------- */
/* Touch screens swipe the photos; with a mouse or keyboard the arrows move them,
   so the strip is not a scroll area a keyboard would need to reach. */
.home-card__strip { display: flex; height: 100%; overflow: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-card__strip::-webkit-scrollbar { display: none; }
.home-card__strip a { scroll-snap-align: start; }
.home-card__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%;
  background: rgba(251,251,249,0.92); color: var(--color-ink); display: grid; place-items: center;
  opacity: 0; transition: opacity var(--transition-fast); box-shadow: var(--shadow-sm);
}
.home-card__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-card__nav--prev { left: 0.6rem; } .home-card__nav--next { right: 0.6rem; }
.home-card:hover .home-card__nav, .home-card__nav:focus-visible { opacity: 1; }
/* Story bars: one per photo along the top; the current one fills while a
   hovered card plays (listings.js), earlier ones stay full */
.home-card__bars { position: absolute; top: 0.4rem; left: 0.6rem; right: 0.6rem; display: flex; gap: 4px; z-index: 2; pointer-events: none; }
.home-card__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.35); overflow: hidden; }
.home-card__bars b { display: block; height: 100%; width: 0; background: #fff; }
.home-card__bars i.is-on b, .home-card__bars i.is-past b { width: 100%; }
.home-card.is-playing .home-card__bars i.is-on b { animation: barFill 1.7s linear both; }
@keyframes barFill { from { width: 0; } to { width: 100%; } }
.home-card__count {
  position: absolute; bottom: 0.7rem; right: 0.8rem; z-index: 2; padding: 0.2rem 0.55rem; border-radius: 999px;
  background: rgba(16,39,42,0.55); color: #fff; font-size: 0.75rem; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.3s var(--ease); pointer-events: none;
}
.home-card:hover .home-card__count, .home-card.is-playing .home-card__count { opacity: 1; }
.home-card__status { z-index: 2; }
.home-card__strip a { overflow: hidden; }
.home-card__strip img { will-change: translate; }
/* On touch screens only the listings grid swipes photos; in a sideways
   rail the swipe belongs to the rail, so those cards show their first photo */
@media (hover: none) {
  .home-card__strip { overflow-x: hidden; }
  .browse__grid .home-card__strip { overflow-x: auto; }
  :not(.browse__grid) > .home-card .home-card__bars, :not(.browse__grid) > .home-card .home-card__count { display: none; }
  .browse__grid .home-card__count { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .home-card.is-playing .home-card__bars i.is-on b { animation: none; } }
@media (hover: none) { .home-card__nav { display: none; } }

/* ---------- Listings page search ---------- */
.browse-hero { padding-block: clamp(1.6rem, 3vw, 2.4rem); }
.browse-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; }
.browse-hero .breadcrumb { margin-bottom: 0.6rem; }
.browse-hero .page-hero__title { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; margin: 0; }
.browse-hero .page-hero__lead { max-width: 30rem; margin: 0; font-size: 1.02rem; color: var(--color-ink-70); }
.browse-hero__swipe { margin: 0; min-height: 54px; display: flex; align-items: flex-end; }
.browse-hero__swipe .btn { margin: 0; } /* the Swipe button's room, kept before it arrives (listings.js) */
.browse__grid { position: relative; }
.browse__bar { position: sticky; top: var(--nav-now); z-index: 50; background: rgba(251,251,249,0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-rule); }
.browse__fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; padding-block: 0.9rem; }
.browse__field span { display: block; font-size: 0.78rem; font-weight: 600; color: var(--color-ink-40); margin-bottom: 0.25rem; }
.browse__field select { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-warm-white); font: inherit; font-size: 0.95rem; color: var(--color-ink); }
.browse__field select:focus-visible { outline: 3px solid var(--color-ocean); outline-offset: 1px; }
.browse__results { padding-block: 2rem clamp(4rem, 8vw, 6rem); }
.browse__summary { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: 1.25rem; }
.browse__count { font-size: 1.1rem; margin: 0; }
.browse__count strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; color: var(--color-ink); }
.browse__clear { color: var(--color-ocean); border-bottom: 1px solid currentColor; font-size: 0.95rem; }
.browse__sample { display: none; margin-bottom: 1.5rem; }
.browse.is-sample .browse__sample { display: block; }
.browse__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.browse__empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--color-ink-20); border-radius: var(--radius-lg); }
.browse__empty p { max-width: 30rem; margin: 0.75rem auto 1.5rem; }
.browse__empty-near { font-family: var(--font-display); font-size: 1.35rem; color: var(--color-ink); margin-top: -0.5rem; }
.browse__empty-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.browse__more { text-align: center; margin-top: 2.5rem; }
@media (max-width: 980px) { .browse__fields { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .browse__fields { grid-template-columns: repeat(2, 1fr); } .browse__bar { position: static; } }

/* ---------- Save (heart) and the shortlist ---------- */
.home-card__save {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(251,251,249,0.92); color: var(--color-ink); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}
.home-card__save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.home-card__save:hover { transform: scale(1.08); }
.home-card__save[aria-pressed="true"] { color: #b4463a; }
.home-card__save[aria-pressed="true"] svg { fill: currentColor; animation: savePop 0.35s var(--ease); }
@keyframes savePop { 50% { transform: scale(1.3); } }

.shortlist-fab {
  position: fixed; left: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 901;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem; border-radius: 999px;
  background: var(--color-warm-white); color: var(--color-ink); border: 1px solid var(--color-rule); box-shadow: var(--shadow-lg);
  font-size: 0.95rem; font-weight: 600;
}
.shortlist-fab svg { width: 20px; height: 20px; fill: #b4463a; }
.shortlist-fab[hidden] { display: none; }
@media (max-width: 760px) { .shortlist-fab { bottom: calc(58px + 0.75rem + env(safe-area-inset-bottom, 0px)); } }

.shortlist { width: min(30rem, calc(100vw - 2rem)); max-height: calc(100svh - 2rem); margin: auto 0 auto auto; height: 100svh; max-height: 100svh;
  border: 0; padding: 1.75rem; background: var(--color-warm-white); color: var(--color-ink-70); box-shadow: var(--shadow-lg); }
.shortlist::backdrop { background: rgba(20,24,22,0.45); }
.shortlist__head { display: flex; justify-content: space-between; align-items: center; }
.shortlist__head h2 { font-size: 2rem; }
.shortlist__close { font-size: 2rem; line-height: 1; width: 44px; height: 44px; color: var(--color-ink); }
.shortlist__note { font-size: 0.85rem; color: var(--color-ink-40); }
.shortlist__list { display: grid; gap: 0.6rem; margin: 1rem 0 1.75rem; }
.shortlist__list li { display: flex; align-items: center; gap: 0.75rem; justify-content: space-between; border: 1px solid var(--color-rule); border-radius: var(--radius); padding: 0.5rem; background: var(--color-warm-white); }
.shortlist__list a { display: flex; align-items: center; gap: 0.8rem; color: var(--color-ink-70); }
.shortlist__list img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.shortlist__list b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--color-ink); }
.shortlist__list button { font-size: 0.85rem; color: var(--color-ink-40); border-bottom: 1px solid currentColor; margin-right: 0.4rem; }
.shortlist__form { border-top: 1px solid var(--color-rule); padding-top: 1.25rem; display: grid; gap: 0.8rem; }
.shortlist__form h3 { font-size: 1.6rem; }
.shortlist__form label span { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.3rem; }
.shortlist__form input { width: 100%; padding: 0.8rem 0.9rem; border: 1px solid var(--color-rule); border-radius: var(--radius); font: inherit; background: var(--color-warm-white); color: var(--color-ink); }
.shortlist__error { color: #a4402c; font-size: 0.9rem; }
.shortlist__done { font-size: 1.1rem; color: var(--color-ink); padding: 1rem 0; }
.shortlist__done:focus { outline: none; }

/* ---------- Listings page: List / Map ---------- */
.browse__views { margin-left: auto; display: inline-flex; padding: 0.25rem; border: 1px solid var(--color-rule); border-radius: 999px; background: var(--color-warm-white); }
.browse__views button { padding: 0.5rem 1.2rem; border-radius: 999px; font-size: 0.95rem; color: var(--color-ink-70); }
.browse__views button[aria-pressed="true"] { background: var(--color-brand); color: var(--color-warm-white); }
.browse__summary { flex-wrap: wrap; }
.browse__map { position: relative; }
.browse__panes { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
.browse__panes.is-single { grid-template-columns: minmax(0, 34rem); justify-content: center; }
.browse__map-note { font-size: 0.85rem; color: var(--color-ink-40); margin-top: 0.9rem; }
.pane { margin: 0; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-warm-white); }
.pane__title { display: flex; justify-content: space-between; align-items: baseline; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--color-rule); font-family: var(--font-display); font-size: 1.5rem; color: var(--color-ink); }
.pane__title span { font-family: var(--font-body); font-size: 0.9rem; color: var(--color-ink-40); }
.pane__stage { position: relative; }
.pane__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pane--north-georgia .pane__stage { background: linear-gradient(180deg, var(--color-warm-white), var(--color-sage-pale)); }
.pane--gulf-coast .pane__stage { background: var(--color-shell); }
.pane__ridge { fill: var(--color-sage); }
/* the map's mountains are evergreen: the pane keeps the pine and the moss in every season (the fall's rust is for the leaves, not the ridges), by day and after dark */
.pane--north-georgia { --color-sage: #3f5a44; --color-sage-mid: #6f8a68; --color-sage-pale: #eef2ea; }
:root:is([data-sky="dusk"], [data-sky="night"]) .pane--north-georgia { --color-sage: #a9c7a3; --color-sage-mid: #8fb088; --color-sage-pale: #1f4030; }
.pane__border { stroke: var(--color-ink-20); stroke-width: 2; stroke-dasharray: 10 8; fill: none; }
.pane__neighbor { fill: var(--color-ink-40); font-size: 22px; font-family: var(--font-body); }
.pane__water { fill: var(--color-ocean-pale); }
.pane__water-name { fill: var(--color-ocean); font-family: var(--font-display); font-style: italic; font-size: 34px; text-anchor: middle; opacity: 0.8; }
.pane__town { fill: var(--color-ink-40); }
.pane__town-name { fill: var(--color-ink-70); font-family: var(--font-body); font-size: 24px; font-weight: 500; paint-order: stroke; stroke: var(--color-warm-white); stroke-width: 5px; }
.pin {
  position: absolute; transform: translate(-50%, -100%); z-index: 2;
  padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--color-brand-ground); color: #fff;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 0; border-top-color: inherit; border-top-color: var(--color-ink); }
.pin--mine { background: var(--color-sage); }
.pane--gulf-coast .pin--mine { background: var(--color-ocean); }
.pin--mine::after { border-top-color: var(--color-sage); }
.pane--gulf-coast .pin--mine::after { border-top-color: var(--color-ocean); }
.pin:hover, .pin[aria-expanded="true"] { transform: translate(-50%, -100%) scale(1.1); z-index: 3; }
.pin[aria-expanded="true"] { background: var(--color-earth); }
.pin[aria-expanded="true"]::after { border-top-color: var(--color-earth); }
.pin-card { position: absolute; z-index: 10; width: 280px; filter: drop-shadow(0 18px 30px rgba(30,28,24,0.25)); }
.pin-card .home-card__facts { flex-wrap: wrap; }
@media (max-width: 760px) { .browse__panes { grid-template-columns: 1fr; } .browse__views { margin-left: 0; } }
.browse__grid[hidden] { display: none; }
@media (max-width: 760px) {
  .pane__town-name { font-size: 40px; stroke-width: 8px; }
  .pane__water-name { font-size: 48px; }
  .pane__neighbor { font-size: 34px; }
}

/* ============================================================
   SHOWCASE — full-screen slideshow of Amanda's listings (sellers)
   ============================================================ */
.showcase { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--color-brand-ground); padding: calc(var(--nav-height) + 3rem) 0 clamp(2.5rem, 7vh, 5rem); }
.showcase__still, .showcase__slide { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.showcase.has-slides .showcase__still { display: none; }
.showcase__slide { opacity: 0; transform: scale(1.12); transition: opacity 1.2s var(--ease), transform 7s linear; }
.showcase__slide.is-on { opacity: 1; transform: scale(1); }
.showcase::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,24,22,0.78) 0%, rgba(20,24,22,0.35) 55%, rgba(20,24,22,0.15) 100%), linear-gradient(0deg, rgba(20,24,22,0.55), transparent 45%); }
.showcase__copy { max-width: var(--max-width); }
.showcase__crumbs { color: rgba(255,255,255,0.8); text-transform: none; letter-spacing: 0; font-size: 0.9rem; }
.showcase__crumbs a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); }
.showcase__title { font-size: clamp(3.2rem, 8vw, 7rem); color: #fff; line-height: 0.95; margin-bottom: 1.1rem; max-width: 10ch; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.showcase__lead { font-size: 1.2rem; color: rgba(255,255,255,0.9); max-width: 30rem; margin-bottom: 1.8rem; }
.showcase__cta { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.showcase__link { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px; }

.showcase__now { position: absolute; right: max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter))); bottom: clamp(2.5rem, 7vh, 5rem); width: min(22rem, 40vw); }
.showcase__bars { display: flex; gap: 6px; margin-bottom: 0.9rem; }
.showcase__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.3); overflow: hidden; }
.showcase__bars i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.showcase__bars .is-done i { transform: scaleX(1); }
.showcase__bars .is-now i { animation: showBar 6s linear forwards; }
.showcase.is-paused .showcase__bars .is-now i { animation-play-state: paused; }
@keyframes showBar { to { transform: scaleX(1); } }
.showcase__card { --color-ink: #1e1c18; --color-ink-70: #3a372f; --color-ink-40: #6c6759; --color-ocean: #1f6f86; --color-sage: #3f5a44; display: block; padding: 1.25rem 1.4rem; border-radius: var(--radius-lg); background: rgba(251,251,249,0.94); color: var(--color-ink-70); box-shadow: var(--shadow-lg); transition: transform var(--transition-fast); }
.showcase__card:hover { transform: translateY(-3px); }
.showcase__card span { display: block; }
.showcase__status { font-size: 0.85rem; font-weight: 600; color: var(--color-ocean); }
.showcase__price { font-family: var(--font-display); font-size: 2.4rem; color: var(--color-ink); line-height: 1.1; }
.showcase__place { font-size: 1rem; margin-bottom: 0.6rem; }
.showcase__go { font-size: 0.9rem; font-weight: 600; color: var(--color-ink); }
.showcase__go::after { content: ' \2192'; }
.showcase__controls { display: flex; gap: 0.5rem; margin-top: 0.8rem; justify-content: flex-end; }
.showcase__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,0.5); background: rgba(20,24,22,0.35); }
.showcase__btn:hover { background: rgba(20,24,22,0.6); }
.showcase__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.showcase__pause .i-play { display: none; }
.showcase__pause[aria-pressed="true"] .i-play { display: inline; fill: currentColor; }
.showcase__pause[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 860px) {
  .showcase { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 2rem; }
  .showcase__now { position: relative; right: auto; bottom: auto; width: auto; margin-inline: var(--gutter); }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__slide { transition: opacity 0.01s; transform: none; }
  .showcase__bars .is-now i { animation: none; transform: scaleX(1); }
}

/* ---------- Choice chips (tour times on listing.html, alert frequency) ---------- */
.tour__chip { position: relative; cursor: pointer; }
.tour__chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tour__chip span { display: block; padding: 0.55rem 0.8rem; border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-cream); text-align: center; font-size: 0.9rem; transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast); }
.tour__chip--day span { padding: 0.5rem 0.3rem; font-size: 0.82rem; line-height: 1.3; }
.tour__chip--day b { display: block; font-size: 0.95rem; }
.tour__chip:hover span { border-color: var(--color-ink-20); }
.tour__chip input:checked + span { background: var(--tone); border-color: var(--tone); color: #fff; }
.tour__chip input:focus-visible + span { outline: 3px solid var(--color-ocean); outline-offset: 2px; }

/* ---------- New-listing alert card (listings page) ---------- */
.alert-card {
  display: flex; flex-direction: column; gap: 0.85rem; padding: 1.75rem 1.6rem; border-radius: var(--radius-lg);
  background: var(--color-brand-ground); color: rgba(255,255,255,0.85); position: relative; overflow: hidden;
}
.alert-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(45,107,138,0.45), transparent 60%), radial-gradient(90% 70% at 0% 100%, rgba(74,94,74,0.5), transparent 60%); pointer-events: none; }
.alert-card > * { position: relative; }
.alert-card__icon { width: 34px; height: 34px; fill: none; stroke: var(--color-earth-light); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.alert-card__title { font-size: clamp(1.7rem, 2.3vw, 2.1rem); color: #fff; line-height: 1.12; }
.alert-card__what { color: var(--color-earth-light); }
.alert-card__often { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.alert-card__often legend { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; padding: 0; }
.alert-card .tour__chip span { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: #fff; }
.alert-card .tour__chip input:checked + span { background: var(--color-warm-white); border-color: var(--color-warm-white); color: var(--color-ink); }
.alert-card__field span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.alert-card__field input { width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; font: inherit; }
.alert-card__field input::placeholder { color: rgba(255,255,255,0.55); }
.alert-card__field input:focus-visible { outline: 3px solid var(--color-earth-light); outline-offset: 2px; }
.alert-card__field input[aria-invalid="true"] { border-color: #f1a596; }
.alert-card__error { color: #f6b8ab; font-size: 0.9rem; }
.alert-card__fine { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.alert-card__done { font-size: 1.1rem; color: #fff; }
.alert-card__done:focus { outline: none; }
.alert-card.is-done .alert-card__often, .alert-card.is-done .alert-card__field, .alert-card.is-done .btn,
.alert-card.is-done .alert-card__fine, .alert-card.is-done .alert-card__error { display: none; }
.browse__empty .alert-card { max-width: 30rem; margin: 2rem auto 0; text-align: left; }

/* ---------- Rail motion (listings.js motion()) ---------- */
.is-moving-rail > * { transform: translateY(40px) skewX(var(--lean, 0deg)); opacity: 0; transition: transform 0.9s var(--ease-out-expo), opacity 0.7s var(--ease); }
.is-moving-rail.is-in > * { transform: skewX(var(--lean, 0deg)); opacity: 1; }
.is-moving-rail.is-in > *:nth-child(2) { transition-delay: 0.07s, 0.07s; }
.is-moving-rail.is-in > *:nth-child(3) { transition-delay: 0.14s, 0.14s; }
.is-moving-rail.is-in > *:nth-child(4) { transition-delay: 0.21s, 0.21s; }
.is-moving-rail.is-in > *:nth-child(n+5) { transition-delay: 0.28s, 0.28s; }
.is-moving-rail .home-card__strip img, .is-moving-rail .town-card__bg { transform: translateX(var(--drift, 0px)) scale(1.12); transition: transform 0.25s linear; }
.is-moving-rail .home-card:hover .home-card__strip img { transform: translateX(var(--drift, 0px)) scale(1.17); }
.is-moving-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.is-moving-rail.is-dragging * { pointer-events: none; }
@media (hover: hover) { .is-moving-rail { cursor: grab; } }

/* ---------- Pick up where you left off ---------- */
.homes--recent { background: var(--color-warm-white); border-bottom: 1px solid var(--color-rule); }
.homes__forget { font-size: 0.9rem; color: var(--color-ink-40); border-bottom: 1px solid currentColor; margin-left: 0.5rem; }
.homes__forget:hover { color: var(--color-ink); }

/* ---------- Shortlist: Compare ---------- */
.shortlist.is-comparing { width: min(64rem, calc(100vw - 2rem)); }
.shortlist__views { display: inline-flex; padding: 0.25rem; margin: 0.4rem 0 0.2rem; border: 1px solid var(--color-rule); border-radius: 999px; background: var(--color-warm-white); }
.shortlist__views[hidden] { display: none; }
.shortlist__views button { padding: 0.45rem 1.1rem; border-radius: 999px; font-size: 0.92rem; color: var(--color-ink-70); }
.shortlist__views button[aria-pressed="true"] { background: var(--color-brand-ground); color: #fff; }
.shortlist__list[hidden], .shortlist__compare[hidden] { display: none; }
.shortlist__compare { margin: 1rem 0 1.75rem; }
.shortlist__table-wrap { overflow-x: auto; border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-warm-white); }
.shortlist__table-wrap:focus-visible { outline: 3px solid var(--color-ocean); outline-offset: 2px; }
.shortlist__table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.shortlist__table th, .shortlist__table td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--color-rule); text-align: left; vertical-align: top; }
.shortlist__table thead th { vertical-align: bottom; min-width: 9.5rem; }
.shortlist__table thead a { display: block; color: var(--color-ink); font-weight: 600; font-size: 0.9rem; }
.shortlist__table thead img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; margin-bottom: 0.4rem; }
.shortlist__table tbody th { font-weight: 500; color: var(--color-ink-40); white-space: nowrap; font-size: 0.88rem; }
.shortlist__table td { color: var(--color-ink); font-variant-numeric: tabular-nums; }
.shortlist__table td.is-best { background: var(--color-sage-pale); color: var(--color-sage); font-weight: 600; }
.shortlist__table td.is-best::before { content: '\2713\00a0'; }
.shortlist__fine { font-size: 0.8rem; color: var(--color-ink-40); margin-top: 0.6rem; }
.shortlist__table tbody th, .shortlist__table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--color-warm-white); }
@media (max-width: 600px) {
  .shortlist { padding: 1.25rem; }
  .shortlist__table th, .shortlist__table td { padding: 0.55rem 0.6rem; }
  .shortlist__table tbody th { white-space: normal; width: 5.5rem; min-width: 5.5rem; font-size: 0.8rem; }
  .shortlist__table thead th:first-child { width: 5.5rem; min-width: 5.5rem; }
  .shortlist__table thead th { min-width: 8.5rem; }
  .shortlist__table thead img { height: 70px; }
}

/* ============================================================
   COVERFLOW ([data-flow]) — homepage homes for sale
   ============================================================ */
.flow { overflow: hidden; position: relative; isolation: isolate; }
.flow__stage.is-dragging .flow__card { transition: filter 0.9s var(--ease), opacity 0.6s var(--ease); }
.flow__stage.is-dragging { cursor: grabbing; }
/* the front home's photo, blurred, as soft light behind the carousel */
.flow__glow { position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; overflow: visible; }
.flow__glow img { position: absolute; left: 50%; top: 50%; width: min(1100px, 110vw); height: 120%; object-fit: cover; transform: translate(-50%, -50%) scale(1.1); filter: blur(70px) saturate(1.5); opacity: 0; transition: opacity 1.2s var(--ease); }
.flow__glow img.is-on { opacity: 0.38; }
@media (prefers-reduced-motion: reduce) { .flow__glow img { transition: none; } }
.flow .homes__head { margin-bottom: 1rem; }
.flow__stage {
  --w: min(620px, 74vw);
  position: relative; height: calc(var(--w) * 0.66 + 4rem); margin-top: 1rem;
  perspective: 1600px; perspective-origin: 50% 40%;
  touch-action: pan-y; user-select: none; outline: none;
}
.flow__stage:focus-visible .flow__card.is-front { outline: 3px solid var(--color-ocean); outline-offset: 6px; }
.flow__card {
  position: absolute; left: 50%; top: 2rem; width: var(--w); aspect-ratio: 3 / 2;
  margin-left: calc(var(--w) / -2); padding: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-sand); box-shadow: 0 40px 80px -40px rgba(20,24,22,0.55);
  transform: translateX(calc((var(--d) - var(--s, 0)) * var(--w) * 0.56)) translateZ(calc(var(--a) * -220px)) rotateY(calc((var(--d) - var(--s, 0)) * -32deg));
  filter: brightness(calc(1 - var(--a) * 0.22)) saturate(calc(1 - var(--a) * 0.25));
  transition: transform 0.9s var(--ease-out-expo), filter 0.9s var(--ease), opacity 0.6s var(--ease);
  cursor: pointer;
}
.flow__card.is-far { opacity: 0; pointer-events: none; }
.flow__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.08); transition: transform 6s linear; }
.flow__card.is-front img { transform: scale(1); }
.flow__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,24,22,0.35)); }
.flow__badge, .flow__mine { position: absolute; z-index: 1; left: 1rem; font-size: 0.82rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; }
.flow__badge { top: 1rem; background: var(--color-warm-white); color: var(--color-ink); }
.flow__mine { bottom: 1rem; background: var(--color-sage); color: #fff; }
.flow__card--coast .flow__mine { background: var(--color-ocean); }
/* reflection-like floor shadow under the front card */
.flow__stage::after { content: ''; position: absolute; left: 50%; bottom: 0; width: var(--w); height: 2.2rem; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 0%, rgba(20,24,22,0.22), transparent 70%); pointer-events: none; }

.flow__info { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; padding-top: 1.25rem; max-width: calc(min(620px, 74vw) + 2 * var(--gutter)); }
.flow__info.is-in .flow__text > * { animation: fadeUp 0.6s var(--ease) both; }
.flow__info.is-in .flow__text > *:nth-child(2) { animation-delay: 0.05s; }
.flow__info.is-in .flow__text > *:nth-child(3) { animation-delay: 0.1s; }
.flow__price { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--color-ink); line-height: 1; margin: 0 0 0.3rem; }
.flow__addr { font-size: 1.05rem; color: var(--color-ink-70); margin: 0; }
.flow__facts { font-size: 0.95rem; color: var(--color-ink-70); margin: 0.2rem 0 0; }
.flow__office { font-size: 0.78rem; color: var(--color-ink-40); margin: 0.4rem 0 0; }
.flow__acts { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.flow__save { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-rule); background: var(--color-warm-white); display: grid; place-items: center; color: var(--color-ink); }
.flow__save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.flow__save[aria-pressed="true"] { color: #b4463a; } .flow__save[aria-pressed="true"] svg { fill: currentColor; }

.flow__controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }
.flow__ticks { display: flex; gap: 6px; flex: 0 1 18rem; }
.flow__ticks span { flex: 1; height: 3px; border-radius: 3px; background: var(--color-rule); overflow: hidden; }
.flow__ticks i { display: block; height: 100%; background: var(--color-brand); transform-origin: left; transform: scaleX(0); }
.flow__ticks .is-now i { animation: showBar 5s linear forwards; }
.flow.is-paused .flow__ticks .is-now i { animation-play-state: paused; }
.flow__count { font-size: 0.9rem; color: var(--color-ink-70); min-width: 3.2rem; text-align: center; font-variant-numeric: tabular-nums; }
.flow__pause .i-play { display: none; }
.flow__pause[aria-pressed="true"] .i-play { display: inline; fill: currentColor; }
.flow__pause[aria-pressed="true"] .i-pause { display: none; }
.flow .homes__foot { margin-top: 1.5rem; }

@media (max-width: 640px) {
  .flow__stage { --w: 82vw; }
  .flow__card { transform: translateX(calc(var(--d) * var(--w) * 0.8)) translateZ(calc(var(--a) * -160px)) rotateY(calc(var(--d) * -24deg)); }
  .flow__acts { width: 100%; } .flow__acts .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .flow__card, .flow__card img { transition: none; }
  .flow__ticks .is-now i { animation: none; transform: scaleX(1); }
}
.flow.is-sample .homes__sample-note { display: block; }
.flow .homes__foot { justify-items: center; text-align: center; }

/* Finder: the "what I understood" row */
.finder__read > a { background: var(--color-sage-pale); }
.finder__chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.3rem; }
.finder__chips em { font-style: normal; font-size: 0.78rem; font-weight: 600; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--color-brand-ground); color: #fff; }

/* ============================================================
   JUST LISTED TICKER
   ============================================================ */
@media (max-width: 640px) {
}
@media (prefers-reduced-motion: reduce) {
}

/* ---------- Market numbers ---------- */
.market { background: var(--color-warm-white); border-block: 1px solid var(--color-rule); }
.market__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.market__src { color: var(--color-ink-40); margin: 0; }
.market__sample { display: none; margin-top: 1.25rem; }
.market.is-sample .market__sample { display: block; }
/* Two place cards, then every home on one shared price line */
.market__places { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.market__place { --tone: var(--color-sage); display: grid; grid-template-columns: 38% 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-warm-white); border: 1px solid var(--color-rule); }
.market__place--al { --tone: var(--color-ocean); }
.market__photo { background-size: cover; background-position: center; min-height: 15rem; transform: scale(1.08); transition: transform 1.6s var(--ease-out-expo); }
.market.is-in .market__photo { transform: none; }
.market__body { padding: clamp(1.2rem, 2.5vw, 1.8rem); }
.market__body h3 { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; font-weight: 500; color: var(--tone); margin: 0 0 0.3rem; }
.market__big { font-size: 1rem; color: var(--color-ink-70); margin: 0 0 1rem; }
.market__big b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 6vw, 4.8rem); line-height: 0.95; color: var(--color-ink); }
.market__body dl { margin: 0; display: grid; gap: 0.55rem; }
.market__body dl div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--color-rule); padding-top: 0.5rem; }
.market__body dt { font-size: 0.85rem; color: var(--color-ink-70); }
.market__body dd { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-variant-numeric: tabular-nums; color: var(--color-ink); }
.market__line { margin-top: clamp(2rem, 4vw, 3rem); }
.market__line-title { font-size: 0.9rem; color: var(--color-ink-70); margin-bottom: 2.6rem; }
.market__track { position: relative; height: 2px; background: var(--color-rule); margin: 0 0.6rem; }
.market__dot { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; translate: -50% -50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.25); opacity: 0; scale: 0.3; transition: opacity 0.4s var(--ease), scale 0.6s var(--ease-out-expo); transition-delay: calc(var(--i) * 70ms + 300ms); }
.market__dot--ga { background: var(--color-sage); } .market__dot--al { background: var(--color-ocean); }
.market__dot:hover, .market__dot:focus-visible { scale: 1.35; z-index: 2; outline: none; }
.market.is-in .market__dot { opacity: 1; scale: 1; }
.market__med { position: absolute; bottom: 14px; translate: -50% 0; font-size: 0.74rem; font-weight: 500; white-space: nowrap; padding: 0.15rem 0.5rem; border-radius: 99px; color: #fff; }
.market__med::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 12px; background: currentColor; }
.market__med--ga { background: var(--color-sage); } .market__med--al { background: var(--color-ocean); bottom: -36px; }
.market__med--ga::after { color: var(--color-sage); } .market__med--al::after { top: auto; bottom: 100%; color: var(--color-ocean); }
.market__axis { display: flex; justify-content: space-between; margin-top: 2.9rem; font-size: 0.8rem; color: var(--color-ink-40); font-variant-numeric: tabular-nums; }
.market--town .market__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; }
.market__tile { padding: 1.25rem 1.4rem; border-radius: var(--radius-lg); border: 1px solid var(--color-rule); border-top: 3px solid var(--tone, var(--color-sage)); background: var(--color-warm-white); display: grid; gap: 0.2rem; }
.market__tile-val { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--color-ink); line-height: 1.1; }
.market__tile-label { font-size: 0.9rem; color: var(--color-ink-40); }
@media (max-width: 760px) {
  .market__places { grid-template-columns: 1fr; }
  .market__place { grid-template-columns: 34% 1fr; }
  .market__photo { min-height: 12rem; }
  .market--town .market__grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .market__dot { opacity: 1; scale: 1; transition: none; } .market__photo { transform: none; } }

/* Monthly-payment lens (set on a home page, shown on every price) */
.pay-lens { display: block; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; color: var(--color-earth); letter-spacing: 0; margin-top: 0.15rem; }
.flow__price .pay-lens { font-size: 0.95rem; margin-top: 0.35rem; }

/* ---------- Shortlist: plan a tour day ---------- */
.tourday { margin-top: 1rem; --tone: var(--color-brand-ground); }
.tourday__label { font-size: 0.9rem; font-weight: 600; margin: 0 0 0.5rem; }
.tourday__days { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tourday__days .tour__chip span { padding: 0.45rem 0.7rem; font-size: 0.85rem; }
.tour__chip--wk span { border-color: var(--color-earth-light); }
.tourday__start { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; margin-bottom: 1.1rem; }
.tourday__start select { padding: 0.5rem 0.7rem; border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-warm-white); font: inherit; color: var(--color-ink); }
.tourday__plan { list-style: none; margin: 0 0 0.75rem; padding: 0 0 0 1.1rem; border-left: 2px solid var(--color-rule); }
.tourday__stop { position: relative; display: grid; grid-template-columns: 4.6rem 64px 1fr; gap: 0.7rem; align-items: center; padding: 0.4rem 0; font-size: 0.88rem; color: var(--color-ink-70); }
.tourday__stop::before { content: ''; position: absolute; left: calc(-1.1rem - 7px); top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--color-sage); border: 2px solid var(--color-warm-white); }
.tourday__stop--coast::before { background: var(--color-ocean); }
.tourday__stop img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.tourday__stop b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--color-ink); }
.tourday__time { font-weight: 600; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.tourday__drive { font-size: 0.8rem; color: var(--color-ink-40); padding: 0.1rem 0 0.1rem 4.6rem; font-style: italic; }
.tourday__daybreak { font-size: 0.8rem; font-weight: 600; color: var(--color-brand); padding: 0.6rem 0 0.2rem; margin-left: -1.1rem; padding-left: 1.1rem; }
.tourday__note { font-size: 0.88rem; color: var(--color-earth); background: var(--color-earth-pale); border-radius: var(--radius); padding: 0.6rem 0.8rem; }
.tourday__form { display: grid; gap: 0.75rem; border-top: 1px solid var(--color-rule); padding-top: 1rem; margin-top: 0.75rem; }
.tourday__form label span { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.3rem; }
.tourday__form input { width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--color-rule); border-radius: var(--radius); font: inherit; background: var(--color-warm-white); color: var(--color-ink); }
.tourday__done { font-size: 1.05rem; color: var(--color-ink); padding: 1rem 0; }
.tourday__done:focus { outline: none; }

/* ---------- Card hover peek and cursor bubble ---------- */
@media (hover: hover) and (pointer: fine) {
  .home-card__strip, .flow__card.is-front { cursor: none; }
}
.view-bubble {
  position: fixed; left: 0; top: 0; z-index: 950; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 0 0.8rem; line-height: 1.15;
  background: var(--color-brand-ground); color: var(--color-mark); font-size: 0.82rem; font-weight: 600;
  pointer-events: none; opacity: 0; transition: opacity 0.25s var(--ease); will-change: transform;
  box-shadow: 0 10px 30px -10px rgba(16,39,42,0.6);
}
.view-bubble.is-on { opacity: 1; }

/* ---------- Listings: List + map (wide screens) ---------- */
.browse__split-btn { display: none; }
@media (min-width: 1180px) {
  .browse__split-btn { display: inline-block; }
  .browse__results.is-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); grid-template-areas: "sum sum" "note note" "grid map" "empty map" "more more"; column-gap: 1.75rem; max-width: none; padding-inline: max(var(--gutter), calc((100vw - 1500px) / 2)); }
  .is-split .browse__summary { grid-area: sum; }
  .is-split .browse__sample { grid-area: note; }
  .is-split .browse__grid { grid-area: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
  .is-split .browse__empty { grid-area: empty; }
  .is-split .browse__more { grid-area: more; }
  .is-split .browse__map { grid-area: map; position: sticky; top: calc(var(--nav-now) + 92px); align-self: start; max-height: calc(100vh - var(--nav-height) - 110px); overflow: auto; scrollbar-width: thin; }
  .is-split .browse__panes { grid-template-columns: 1fr; gap: 1rem; }
  .is-split .browse__panes.is-single { grid-template-columns: 1fr; }
}
.browse__grid .home-card.is-lit { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--color-brand), var(--shadow-md); }
.pin.is-lit, .pin.is-hot { transform: translate(-50%, -100%) scale(1.15); background: var(--color-earth); z-index: 4; }
.pin.is-hot::after { border-top-color: var(--color-earth); }
.home-card.is-hot { box-shadow: 0 0 0 2px var(--color-earth), var(--shadow-md); }
.home-card.is-hot .home-card__price { color: var(--color-earth); }
.pin.is-lit::after { border-top-color: var(--color-earth); }

/* ---------- Price range picker (listings search bar) ---------- */
.price-pick { position: relative; }
.price-pick[hidden], .price-select[hidden] { display: none; }
.price-pick__btn { width: 100%; text-align: left; padding: 0.6rem 2rem 0.6rem 0.75rem; border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-warm-white); font: inherit; font-size: 0.95rem; color: var(--color-ink); position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-pick__btn::after { content: ''; position: absolute; right: 0.8rem; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--color-ink); border-bottom: 1.6px solid var(--color-ink); transform: translateY(-70%) rotate(45deg); }
.price-pick__btn[aria-expanded="true"] { border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(24,54,57,0.12); }
.price-pick__panel { position: absolute; z-index: 60; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%); width: min(26rem, 92vw); padding: 1.2rem 1.3rem 1.1rem; border-radius: var(--radius-lg); background: var(--color-warm-white); border: 1px solid var(--color-rule); box-shadow: var(--shadow-lg); animation: fadeUp 0.25s var(--ease); }
.price-pick__hist { display: flex; align-items: flex-end; gap: 3px; height: 72px; padding: 0 9px; }
.price-pick__hist i { flex: 1; border-radius: 3px 3px 0 0; background: var(--color-rule); transition: background var(--transition-fast), height 0.3s var(--ease); }
.price-pick__hist i.is-in { background: var(--color-brand); }
.price-pick__range { position: relative; height: 28px; margin-top: -2px; }
.price-pick__range::before { content: ''; position: absolute; left: 9px; right: 9px; top: 12px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--color-rule) var(--a), var(--color-brand) var(--a), var(--color-brand) var(--z), var(--color-rule) var(--z)); }
.price-pick__range input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-pick__range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--color-warm-white); border: 2px solid var(--color-brand); box-shadow: var(--shadow-sm); cursor: grab; }
.price-pick__range input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-warm-white); border: 2px solid var(--color-brand); cursor: grab; }
.price-pick__range input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--color-ocean); outline-offset: 2px; }
.price-pick__range input:focus-visible::-moz-range-thumb { outline: 3px solid var(--color-ocean); outline-offset: 2px; }
.price-pick__vals { display: flex; justify-content: space-between; margin: 0.4rem 0 0.9rem; font-family: var(--font-display); font-size: 1.35rem; color: var(--color-ink); }
.price-pick__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--color-rule); padding-top: 0.9rem; }
.price-pick__reset { font-size: 0.92rem; color: var(--color-ink-70); border-bottom: 1px solid currentColor; }
.price-pick__range input:focus-visible { outline: none; }
.price-pick__range input::-webkit-slider-runnable-track { background: transparent; height: 28px; }
.price-pick__range input::-webkit-slider-thumb { margin-top: 3px; }
.price-pick__range input::-moz-range-track { background: transparent; }
.price-pick .price-pick__vals span { display: inline; font: 500 1.35rem/1.2 var(--font-display); color: var(--color-ink); margin: 0; }
.price-pick .price-pick__n { display: inline; font: inherit; color: inherit; margin: 0; letter-spacing: inherit; }
@media (max-width: 980px) {
  .price-pick__panel { position: fixed; left: 0.75rem; right: 0.75rem; top: auto; bottom: calc(58px + 0.75rem + env(safe-area-inset-bottom, 0px)); width: auto; transform: none; z-index: 1000; }
}
/* backdrop-filter would make the fixed price sheet fixed to the bar, not the screen */
@media (max-width: 980px) { .browse__bar { backdrop-filter: none; background: var(--color-warm-white); } }
.price-pick__range::before { height: 5px; top: 11px; }

/* ---------- Sellers: your competition ---------- */
.rivals { background: var(--color-warm-white); border-block: 1px solid var(--color-rule); }
.rivals__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.rivals__lead { max-width: 30rem; color: var(--color-ink-70); margin: 0; }
.rivals__form { display: grid; grid-template-columns: repeat(3, minmax(0, 14rem)); gap: 0.8rem; margin-bottom: 1.5rem; }
.rivals__form span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-ink-70); margin-bottom: 0.3rem; }
.rivals__form select { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-warm-white); font: inherit; color: var(--color-ink); }
.rivals__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.8rem; }
.rivals__tile { padding: 1.1rem 1.25rem; border-radius: var(--radius-lg); background: var(--color-warm-white); border: 1px solid var(--color-rule); border-top: 3px solid var(--color-earth); animation: fadeUp 0.4s var(--ease); }
.rivals__tile b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 500; color: var(--color-ink); line-height: 1.1; }
.rivals__tile span { font-size: 0.88rem; color: var(--color-ink-70); }
.rivals__how { font-size: 0.92rem; color: var(--color-earth); margin: 0.8rem 0 0; min-height: 1.4em; }
.rivals__rail { margin: 1.25rem calc(var(--rail-inset) * -1) 0; }
.rivals__cta { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); background: var(--color-earth-pale); }
.rivals__cta p { margin: 0; max-width: 40rem; color: var(--color-ink); }
.rivals__sample { display: none; margin-top: 1rem; }
.rivals.is-sample .rivals__sample { display: block; }
@media (max-width: 640px) { .rivals__form { grid-template-columns: 1fr 1fr; } .rivals__form label:first-child { grid-column: 1 / -1; } }

/* ============================================================
   REVIEWS PAGE
   ============================================================ */
.rv-hero__lead { max-width: 40rem; }
.rv__list { columns: 3 18rem; column-gap: 1.25rem; margin-bottom: 3rem; }
.rv__card { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.6rem; border-radius: var(--radius-lg); background: var(--color-warm-white); border: 1px solid var(--color-rule); }
.rv__stars { color: var(--color-earth-light); letter-spacing: 0.12em; margin: 0 0 0.6rem; }
.rv__stars span { color: var(--color-rule); }
.rv__text { margin: 0 0 1rem; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; color: var(--color-ink); }
.rv__card figcaption { font-size: 0.88rem; color: var(--color-ink-70); }
.rv__card figcaption b { display: block; color: var(--color-ink); font-weight: 600; }
.rv__empty { max-width: 40rem; margin-bottom: 2.5rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--color-earth-light); background: var(--color-earth-pale); border-radius: 0 var(--radius) var(--radius) 0; }
.rv__empty p { margin: 0; color: var(--color-ink-70); }
.rv__empty .rv__empty-lead { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-ink); margin-bottom: 0.4rem; }
.rv__ask { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--color-warm-white); border: 1px solid var(--color-rule); box-shadow: var(--shadow-md); }
.rv__ask-intro h2 { margin-bottom: 0.8rem; }
.rv__form { display: grid; gap: 1rem; }
.rv__form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rv__form legend, .rv__field span { display: block; font-size: 0.88rem; font-weight: 600; color: var(--color-ink-70); margin-bottom: 0.4rem; padding: 0; }
/* stars, 1 to 5 left to right: the chosen star and the ones before it light
   up; on hover the hovered star and the ones before it do */
.rv__star-row { display: inline-flex; gap: 0.2rem; }
.rv__star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv__star-row label { font-size: 2.2rem; line-height: 1; color: var(--color-rule); cursor: pointer; transition: color 0.15s, transform 0.15s; padding: 0 0.1rem; }
.rv__star-row input:checked + label, .rv__star-row label:has(~ input:checked) { color: var(--color-earth-light); }
.rv__star-row:hover label { color: var(--color-earth-light); }
.rv__star-row label:hover ~ label { color: var(--color-rule); }
.rv__star-row label:hover { transform: scale(1.15); }
.rv__star-row input:focus-visible + label { outline: 3px solid var(--color-ocean); outline-offset: 2px; border-radius: 4px; }
.rv__role { display: flex; flex-wrap: wrap; gap: 0.4rem; --tone: var(--color-brand-ground); }
.rv__role legend { width: 100%; }
.rv__field textarea, .rv__field input { width: 100%; padding: 0.8rem 0.95rem; border: 1px solid var(--color-rule); border-radius: var(--radius); background: var(--color-warm-white); font: inherit; color: var(--color-ink); }
.rv__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.rv__ok { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--color-ink-70); }
.rv__ok input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--color-brand); }
.rv__error { color: #a4402c; font-size: 0.9rem; margin: 0; }
.rv__done { font-size: 1.15rem; color: var(--color-ink); grid-column: 2; }
.rv__done:focus { outline: none; }
.rv__form .btn { justify-self: start; }
@media (max-width: 860px) { .rv__ask { grid-template-columns: 1fr; } .rv__done { grid-column: 1; } }
@media (max-width: 520px) { .rv__row { grid-template-columns: 1fr; } }

/* ---------- Getting here ---------- */
.drive { margin-top: 2rem; padding: 1.6rem 1.75rem; border-radius: var(--radius-lg); background: var(--color-warm-white); border: 1px solid var(--color-rule); }
.drive__title { font-size: 1.8rem; margin-bottom: 0.3rem; }
.drive__note { font-size: 0.88rem; color: var(--color-ink-70); margin: 0 0 1.1rem; }
.drive__list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.7rem; }
.drive__list li { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; align-items: center; }
.drive__city { font-weight: 600; color: var(--color-ink); }
.drive__bar { height: 8px; border-radius: 8px; background: var(--color-rule); overflow: hidden; }
.drive__bar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 8px; background: var(--color-brand); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease-out-expo); }
.drive.is-in .drive__bar i { transform: scaleX(1); }
.drive__list li:nth-child(2) i { transition-delay: 0.08s; } .drive__list li:nth-child(3) i { transition-delay: 0.16s; } .drive__list li:nth-child(4) i { transition-delay: 0.24s; }
.drive__val { font-size: 0.92rem; color: var(--color-ink-70); white-space: nowrap; font-variant-numeric: tabular-nums; }
.drive__maps { font-size: 0.92rem; color: var(--color-brand); border-bottom: 1px solid currentColor; }
@media (max-width: 560px) { .drive__list li { grid-template-columns: 1fr auto; } .drive__bar { grid-column: 1 / -1; grid-row: 2; } }
@media (prefers-reduced-motion: reduce) { .drive__bar i { transform: none; transition: none; } }

/* ---------- How this price compares (home page) ---------- */
.pcomp { margin-top: 2rem; padding: 1.6rem 1.75rem; border-radius: var(--radius-lg); background: var(--color-warm-white); border: 1px solid var(--color-rule); }
.pcomp__title { font-size: 1.8rem; margin-bottom: 0.4rem; }
.pcomp__lead { color: var(--color-ink-70); margin: 0 0 2.6rem; }
.pcomp__lead b { color: var(--color-ink); font-weight: 600; }
.pcomp__track { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--color-sage-pale), var(--color-rule) 50%, var(--color-earth-pale)); }
.pcomp__dots i { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--color-ink-20); border: 2px solid var(--color-warm-white); }
.pcomp__mid { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; background: var(--color-ink-40); }
.pcomp__mid::after { content: 'median'; position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 0.75rem; color: var(--color-ink-70); }
.pcomp__here { position: absolute; top: 50%; left: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--color-brand-ground); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(16,39,42,0.4); transition: left 1.1s var(--ease-out-expo); }
.pcomp.is-in .pcomp__here { left: var(--x); }
.pcomp__here b { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.78rem; font-weight: 600; color: #fff; background: var(--color-brand-ground); padding: 0.2rem 0.55rem; border-radius: 6px; }
.pcomp__ends { display: flex; justify-content: space-between; margin-top: 1.6rem; font-size: 0.82rem; color: var(--color-ink-70); }
.pcomp__fine { font-size: 0.82rem; color: var(--color-ink-70); margin: 0.8rem 0 0; }
@media (prefers-reduced-motion: reduce) { .pcomp__here { transition: none; left: var(--x); } }
.pcomp__here.is-left b { left: -4px; transform: none; }
.pcomp__here.is-right b { left: auto; right: -4px; transform: none; }

/* ---------- Listings filters as a sheet on phones ---------- */
.browse__phone, .browse__sheet-head, .browse__sheet-foot { display: none; }
@media (max-width: 760px) {
  .js .browse__bar { position: sticky; top: var(--nav-now); }
  .js .browse__phone { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
  .browse__open { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.1rem; border-radius: 999px; border: 1px solid var(--color-ink-20); background: var(--color-warm-white); font: 600 0.95rem var(--font-body); color: var(--color-ink); }
  .browse__open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .browse__badge { min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem; border-radius: 999px; background: var(--color-brand-ground); color: #fff; font-size: 0.78rem; display: grid; place-items: center; }
  .browse__phone-sum { margin: 0; font-size: 0.95rem; color: var(--color-ink-70); }
  .js .browse__bar .browse__fields { position: fixed; z-index: 1001; left: 0; right: 0; bottom: 0; max-height: 86svh; overflow: auto; padding: 0 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px)); grid-template-columns: 1fr 1fr; background: var(--color-warm-white); border-radius: 20px 20px 0 0; box-shadow: 0 -20px 60px -10px rgba(16,39,42,0.45); transform: translateY(105%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0s 0.4s; }
  .js .browse__bar.is-open .browse__fields { transform: none; visibility: visible; transition: transform 0.4s var(--ease); }
  .js .browse__bar.is-open::after { content: ''; position: fixed; inset: 0; z-index: 1000; background: rgba(16,39,42,0.45); }
  .js .browse__bar .browse__sheet-head { display: flex; grid-column: 1 / -1; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--color-warm-white); padding: 1rem 0 0.5rem; z-index: 1; }
  .js .browse__bar .browse__sheet-head::before { content: ''; position: absolute; top: 0.45rem; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--color-ink-20); }
  .browse__sheet-head h2 { font-size: 1.7rem; }
  .browse__close { width: 44px; height: 44px; font-size: 1.9rem; color: var(--color-ink); }
  .js .browse__bar .browse__sheet-foot { display: flex; grid-column: 1 / -1; justify-content: space-between; align-items: center; gap: 1rem; position: sticky; bottom: calc(-1rem - env(safe-area-inset-bottom, 0px)); background: var(--color-warm-white); padding: 0.9rem 0 1rem; border-top: 1px solid var(--color-rule); margin-top: 0.5rem; }
  .browse__reset { font-size: 0.95rem; color: var(--color-ink-70); border-bottom: 1px solid currentColor; }
  .browse__apply { flex: 1; max-width: 14rem; }
  .js .browse__bar .price-pick__panel { position: static; transform: none; width: auto; margin-top: 0.5rem; box-shadow: none; animation: none; }
  .js .browse__bar .price-pick { grid-column: 1 / -1; }
  html.sheet-lock, html.sheet-lock body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .js .browse__bar .browse__fields { transition: none; } }
@media (max-width: 760px) { .js .browse__bar .price-pick__done { display: none; } }

/* ---------- Map pins drop in, one after another ---------- */
.browse__map:not([hidden]) .pin { animation: pinDrop 0.55s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--pi, 0) * 0.06s + 0.1s); }
@keyframes pinDrop { from { opacity: 0; translate: 0 -24px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .browse__map .pin { animation: none; } }
/* tilt composes with the rail's lean (listings.js motion) */
.is-moving-rail.is-in > .town-card.is-tilting { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) skewX(var(--lean, 0deg)); }

@media (max-width: 760px) { .browse-hero .page-hero__lead { display: none; } .browse-hero { padding-block: 1.2rem 1rem; } }

/* Swipe through homes (listings.js): a deck of cards in a dialog */
.swipe-open { display: inline-flex; align-items: center; gap: 0.55rem; align-self: center; }
.swipe-open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.swipe { width: min(26rem, 94vw); max-height: 96vh; border: 0; border-radius: 22px; padding: 1rem 1.1rem 1.2rem; background: var(--color-warm-white); color: var(--color-ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); overflow: hidden; }
.swipe::backdrop { background: rgba(12,22,22,0.6); backdrop-filter: blur(4px); }
.swipe__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.swipe__count { font-size: 0.85rem; color: var(--color-ink-70); }
.swipe__close { width: 36px; height: 36px; font-size: 1.6rem; line-height: 1; }
.swipe__deck { position: relative; height: min(29rem, 62vh); }
.swipe__card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 16px 40px -20px rgba(0,0,0,0.45); display: flex; flex-direction: column; touch-action: pan-y; user-select: none; cursor: grab; --yes: 0; --no: 0; }
.swipe__card:not(:last-child) { transform: translateY(10px) scale(0.96); filter: brightness(0.97); }
.swipe__card:nth-last-child(3) { transform: translateY(20px) scale(0.92); }
.swipe__card:active { cursor: grabbing; }
.swipe__photo { position: relative; flex: 1; background-size: cover; background-position: center; }
.swipe__stamp { position: absolute; top: 1.1rem; padding: 0.3rem 0.8rem; border: 3px solid; border-radius: 8px; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.04em; background: rgba(255,255,255,0.85); }
.swipe__stamp--yes { left: 1.1rem; color: #3f6b4d; transform: rotate(-12deg); opacity: var(--yes); }
.swipe__stamp--no { right: 1.1rem; color: #a3402a; transform: rotate(12deg); opacity: var(--no); }
.swipe__sample { position: absolute; left: 0.8rem; bottom: 0.8rem; font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 99px; background: rgba(255,255,255,0.9); }
.swipe__info { padding: 0.9rem 1.1rem 1rem; }
.swipe__price { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.swipe__where { font-size: 0.95rem; margin-top: 0.3rem; }
.swipe__facts { font-size: 0.82rem; color: var(--color-ink-70); margin-top: 0.15rem; }
.swipe__more { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--color-brand); border-bottom: 1px solid currentColor; }
.swipe__ctrl { display: flex; justify-content: center; gap: 1.4rem; margin-top: 1.1rem; }
.swipe__btn { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,0.35); transition: transform 0.2s; }
.swipe__btn:hover { transform: scale(1.08); }
.swipe__btn svg { width: 26px; height: 26px; fill: none; stroke-width: 2; }
.swipe__btn--no svg { stroke: #a3402a; } .swipe__btn--yes svg { stroke: #3f6b4d; fill: rgba(63,107,77,0.15); }
.swipe__hint { text-align: center; font-size: 0.75rem; color: var(--color-ink-70); margin-top: 0.7rem; }
.swipe__live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.swipe__end { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.9rem; text-align: center; padding: 1rem; }
.swipe__end-title { font-family: var(--font-display); font-size: 2rem; }
@media (max-width: 760px) { .swipe-open { margin-top: 0.8rem; } }
.swipe__ctrl[hidden], .swipe__ctrl[hidden] + .swipe__hint { display: none; }

/* Sellers: what happens when you list, six plain numbered steps in two columns */
.launch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4.5rem); counter-reset: ls; }
.launch-list li { counter-increment: ls; padding: 1.5rem 0 1.6rem 3.2rem; border-top: 1px solid var(--color-rule); position: relative; }
.launch-list li::before { content: counter(ls); position: absolute; left: 0; top: 1.35rem; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--color-earth); }
.launch-list h3 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.launch-list p { color: var(--color-ink-70); max-width: 30rem; }
@media (max-width: 760px) { .launch-list { grid-template-columns: 1fr; } }

/* ---------- From where you live (Listings.From) ----------
   "Driving from [Atlanta]" as a sentence; every town and home then says
   how long the drive is. The line stays hidden until a city is picked. */
.from { display: inline-flex; align-items: baseline; gap: 0.35em; font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; color: inherit; }
.from__sel { appearance: none; -webkit-appearance: none; field-sizing: content; font: inherit; color: var(--color-earth); background: transparent; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; padding: 0 1.1em 0.05em 0.15em; cursor: pointer; max-width: 14ch; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c3a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.1em center; background-size: 0.6em; transition: color var(--transition-fast), border-color var(--transition-fast); }
.from__sel option { font-family: var(--font-body); font-size: 1rem; color: var(--color-ink); }
.from.is-set .from__sel { color: var(--color-brand); }
.from__sel:focus-visible { outline: none; border-color: var(--color-ocean); color: var(--color-ocean); }
.region-map .from__sel, .town-hero .from__sel { color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.region-map .from.is-set .from__sel { color: #fff; }
.region-map__from-pick { color: var(--color-warm-white); margin: 0 0 0.4rem; }
.region-map__from-note { font-size: 0.85rem; color: rgba(241,241,238,0.6); max-width: 28rem; margin: 0 0 1.8rem; }
.region-map__from { display: block; font-family: var(--font-body); font-size: 0.8rem; color: #e9d9c2; margin: -0.2rem 0 0.4rem; }
.region-map__from[hidden] { display: none; }
.home-card__from { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--color-earth); margin-top: 0.65rem; }
.home-card__from::before { content: ''; width: 16px; height: 16px; flex: 0 0 auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13 5.5 7h13L21 13v6h-2a2 2 0 0 1-4 0H9a2 2 0 0 1-4 0H3Z'/%3E%3Ccircle cx='7' cy='17' r='1'/%3E%3Ccircle cx='17' cy='17' r='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.home-card__from[hidden] { display: none; }
.tcard__from { display: block; font-size: 0.8rem; color: #e9d9c2; margin-top: 0.15rem; }
.tcard__from[hidden] { display: none; }
.town-hero__from { font-size: 1rem; color: #fff; margin: -1rem 0 1.6rem; padding-left: 1.5rem; position: relative; }
.town-hero__from::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 1.1em; height: 1.1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13 5.5 7h13L21 13v6h-2a2 2 0 0 1-4 0H9a2 2 0 0 1-4 0H3Z'/%3E%3Ccircle cx='7' cy='17' r='1'/%3E%3Ccircle cx='17' cy='17' r='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.town-hero__from[hidden] { display: none; }
.page-hero__from, .comm-hero__from { display: block; margin-top: 0.8rem; }
.page-hero__from .from, .comm-hero__from .from { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.drive__pick { margin: -0.4rem 0 1rem; }
.drive__pick .from { font-size: 1.3rem; }
.drive__list li.is-you .drive__city { color: var(--color-earth); }
.drive__list li.is-you .drive__city small { font-size: 0.75rem; font-weight: 500; }
.drive__list li.is-you .drive__bar i { background: var(--color-earth); }
.flow__info .home-card__from { justify-content: center; margin-top: 0.35rem; }
.listing__from { margin: 0.2rem 0 0.6rem; font-size: 0.95rem; }

/* ---------- Selling from away (sellers.html) ----------
   A ledger of who does what: Amanda at the house, you where you live. */
.away { background: var(--color-warm-white); }
.away__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.away__copy h2 { margin: 0.6rem 0 1.2rem; max-width: 14ch; }
.away__actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; }
.away__ledger { margin: 0; border-top: 1px solid var(--color-rule); }
.away__row { display: grid; grid-template-columns: 11rem 1fr; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--color-rule); }
.away__row dt { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; color: var(--color-ink); }
.away__row dd { margin: 0; font-size: 0.98rem; line-height: 1.6; color: var(--color-ink-70); }
.away__row dd b { color: var(--color-earth); font-weight: 600; }
.away__row dd span { display: block; margin-top: 0.25rem; color: var(--color-ink); }
.away__row dd span::before { content: 'You'; display: inline-block; margin-right: 0.5rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--color-sage-pale); color: var(--color-sage); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 900px) { .away__grid { grid-template-columns: 1fr; } .away__row { grid-template-columns: 1fr; gap: 0.3rem; } }

/* "Walk it on video" on every home card: for buyers a few hours away */
.home-card__walk { position: static; margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.76rem; font-weight: 600; color: var(--color-brand); padding: 0.3rem 0.6rem; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--color-brand), transparent 75%); background: var(--color-warm-white); transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); }
.home-card__walk svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.home-card__walk:hover, .home-card__walk:focus-visible { background: var(--color-brand-ground); color: #fff; border-color: var(--color-brand); }
.home-card--coast .home-card__walk { color: var(--color-ocean); border-color: color-mix(in oklab, var(--color-ocean), transparent 70%); }
.home-card--coast .home-card__walk:hover, .home-card--coast .home-card__walk:focus-visible { background: var(--color-ocean); color: #fff; border-color: var(--color-ocean); }
.home-card__row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.65rem; }
.home-card__row .home-card__from { margin-top: 0; }
.home-card__office { padding-right: 0; line-height: 1.35; }
.pin-card .home-card__walk, .home-card--ghost .home-card__walk { display: none; }
.pin-card .home-card__office { padding-right: 0; }

/* ---------- Make a weekend of it (listings.html #plan) ---------- */
.plan { background: var(--color-warm-white); border-top: 1px solid var(--color-rule); }
.plan__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
/* two postcards on the table: the back one (the mountains) stands up on the left and shows
   most of itself; the front one (the coast) sits lower right and smaller (owner, 2026-11-01).
   height: auto, because the img's height attribute would otherwise beat the ratio */
/* four photographs of the day laid on the table, each showing most of itself: two from the mountains, two from the coast */
.plan__pic { position: relative; margin: 0; aspect-ratio: 5 / 4; }
.plan__pic img { position: absolute; width: 54%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.plan__pic img:nth-child(1) { left: 0; top: 0; transform: rotate(-4deg); z-index: 1; }
.plan__pic img:nth-child(2) { right: 0; top: 7%; transform: rotate(3deg); z-index: 2; }
.plan__pic img:nth-child(3) { left: 2%; bottom: 2%; transform: rotate(2.5deg); z-index: 3; }
.plan__pic img:nth-child(4) { right: 0; bottom: 0; transform: rotate(-2deg); z-index: 4; }
.plan__copy h2 { margin: 0.6rem 0 1rem; max-width: 16ch; }
.plan__steps { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.55rem; counter-reset: ps; }
.plan__steps li { counter-increment: ps; display: flex; align-items: center; gap: 0.8rem; color: var(--color-ink-70); }
.plan__steps li::before { content: counter(ps); flex: 0 0 auto; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.05rem; color: #fff; background: var(--color-brand-ground); }
.plan__heart { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.15em; margin: 0 0.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b4463a'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.6-9.3A5 5 0 0 1 12 6.2a5 5 0 0 1 9.6 5c-2.1 4.7-9.6 9.3-9.6 9.3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan__actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.plan__say { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--color-earth); }
.plan__say[hidden] { display: none; }
.homes__weekend { font-size: 0.95rem; color: var(--color-ink-70); margin: 0.6rem 0 0; }
.homes__weekend a { color: var(--color-brand); border-bottom: 1px solid currentColor; }
/* the hearts pulse once when the visitor asks for a tour day with nothing saved */
.home-card__save.is-nudged { animation: heartNudge 1.2s var(--ease) 2; }
@keyframes heartNudge { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.35); box-shadow: 0 0 0 10px rgba(180,70,58,0.25); } 60% { transform: scale(1); } }
@media (max-width: 900px) { .plan__grid { grid-template-columns: 1fr; } .plan__pic { max-width: 26rem; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .home-card__save.is-nudged { animation: none; } }
.shortlist__share { font: inherit; font-size: 0.85rem; color: var(--color-brand); border-bottom: 1px solid currentColor; padding: 0; margin-left: 0.4rem; }
.alert-card__near { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; margin: 0 0 0.9rem; cursor: pointer; }
.alert-card__near[hidden] { display: none; }
.alert-card__near input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--color-earth-light); flex: 0 0 auto; }
.alert-card__near select { font: inherit; font-size: 0.9rem; padding: 0.15rem 0.3rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); color: inherit; margin: 0 0.1rem; }
.alert-card__near select option { color: var(--color-ink); }
.flow__walk { display: inline-flex; align-items: center; gap: 0.45rem; }
.flow__walk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.showcase__away { display: inline-block; margin-left: 1.2rem; color: #fff; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.55); padding-bottom: 2px; }
.showcase__away:hover { border-color: #fff; }
@media (max-width: 600px) { .showcase__away { display: block; margin: 0.9rem 0 0; } }
.area-card__from { margin: -0.2rem 0 0.4rem; font-size: 0.9rem; color: var(--color-sage); display: flex; align-items: center; gap: 0.4rem; }
.area-card__from--al { color: var(--color-ocean); }
.area-card__from span::before { content: 'Blue Ridge, '; }
.area-card__from--al span::before { content: 'Gulf Shores, '; }
.area-card__from:has(> [hidden]) { display: none; }
.drive__nudge { margin: 1rem 0 0; font-size: 0.92rem; color: var(--color-ink-70); }
.drive__nudge a { color: var(--color-brand); border-bottom: 1px solid currentColor; }

/* Within reach (listings page): once a city is set, chips keep the results to
   homes within so many hours' drive; each counts what it would show. */
.browse__within { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 0.2rem; }
.browse__within-label { display: inline-flex; align-items: center; gap: 0.45rem; margin-right: 0.4rem; font-size: 0.92rem; color: var(--color-ink-70); }
.browse__within-label svg { width: 20px; height: 20px; fill: none; stroke: var(--color-earth); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.browse__within button { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--color-rule); background: var(--color-warm-white); color: var(--color-ink); font: inherit; font-size: 0.9rem; transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast); }
.browse__within button small { font-size: 0.75rem; font-weight: 600; color: var(--color-ink-40); padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--color-cream); }
.browse__within button:hover { border-color: var(--color-ink-20); }
.browse__within button[aria-pressed="true"] { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-warm-white); }
.browse__within button[aria-pressed="true"] small { background: rgba(255,255,255,0.18); color: #fff; }
.browse__within button:disabled { opacity: 0.45; cursor: default; }
@media (max-width: 760px) { .browse__within { margin-top: 1rem; } .browse__within-label { flex-basis: 100%; margin: 0; } }
.browse__within-friday { border-style: dashed; }
.browse__within-friday[aria-pressed="true"] { border-style: solid; background: var(--color-earth); border-color: var(--color-earth); }
.home-card__friday { display: flex; align-items: center; gap: 0.45rem; margin: 0.55rem 0 0; font-size: 0.86rem; line-height: 1.35; color: var(--color-earth); }
.home-card__friday svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* Friday after work: when you'd pull in, against that evening's sunset (Getting here) */
.drive__friday { position: relative; margin: 0 0 1.1rem; padding: 0.9rem 1.1rem 0.9rem 3rem; border-radius: var(--radius); background: var(--color-earth-pale); color: var(--color-ink); font-size: 0.95rem; line-height: 1.55; }
.drive__friday::before { content: ''; position: absolute; left: 1rem; top: 1rem; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c3a' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M3 17h18M6 17a6 6 0 0 1 12 0M12 3v3M4.9 7.9l2.1 2.1M19.1 7.9 17 10M1 12h3M20 12h3'/%3E%3C/svg%3E") center / contain no-repeat; }
.drive__friday b { color: var(--color-earth); }
.drive__friday span { display: block; margin-top: 0.3rem; }
.drive__friday small { display: block; margin-top: 0.3rem; font-size: 0.78rem; color: var(--color-ink-40); }

/* The whole day (tour day): leave the visitor's city, and home again */
.tourday__leave { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.7rem; align-items: center; padding: 0.35rem 0; font-size: 0.85rem; color: var(--color-earth); position: relative; }
.tourday__leave::before { content: ''; position: absolute; left: calc(-1.1rem - 5px); top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--color-earth); border: 2px solid var(--color-warm-white); }
.tourday__leave .tourday__time { color: var(--color-earth); }
.tourday__cal { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; }
.tourday__cal svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

/* A town with nothing listed: the nearest homes instead, and the alert link */
.homes__alert-link { display: inline-block; margin-top: 0.3rem; color: var(--color-brand); border-bottom: 1px solid currentColor; }

/* The sellers hero takes the address (home.js) */
.showcase__ask { display: flex; gap: 0.6rem; width: min(36rem, 100%); margin-bottom: 1.2rem; }
.showcase__ask input { flex: 1; min-width: 0; padding: 0.95rem 1.2rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); color: #fff; font: inherit; font-size: 1.02rem; }
.showcase__ask input::placeholder { color: rgba(255,255,255,0.72); }
.showcase__ask input:focus { outline: 3px solid var(--color-earth-light); outline-offset: 2px; background: rgba(255,255,255,0.2); }
.showcase__ask .btn { white-space: nowrap; }
@media (max-width: 600px) { .showcase__ask { flex-direction: column; } }

/* Show monthly payments (listings summary bar): sets the payment lens for every price on the site */
.browse__lens { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--color-rule); background: var(--color-warm-white); color: var(--color-ink-70); font: inherit; font-size: 0.88rem; transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast); }
.browse__lens svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.browse__lens:hover { border-color: var(--color-ink-20); color: var(--color-ink); }
.browse__lens[aria-pressed="true"] { background: var(--color-earth); border-color: var(--color-earth); color: #fff; }
@media (max-width: 760px) { .browse__lens span { font-size: 0.82rem; } }

/* The light here: sunrise, sunset and where the sun is right now, in the town */
.light { margin-top: 2rem; padding: 1.4rem 1.75rem 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--color-rule); background: linear-gradient(180deg, #fbfbf9 0%, #f3f1ea 100%); }
.light__title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.1; margin: 0 0 0.6rem; color: var(--color-ink); }
.light__arc { width: 100%; max-width: 30rem; height: auto; display: block; margin: 0 auto; overflow: visible; }
.light__path { fill: none; stroke: var(--color-rule); stroke-width: 2; }
.light__gone { fill: none; stroke: var(--color-earth-light); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; }
.light__horizon { stroke: var(--color-ink-20); stroke-width: 1; }
.light__sun { fill: #f2c66d; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 0 10px rgba(242,198,109,0.85)); }
.light__moon { fill: var(--color-ink-20); }
.light__t { font-family: var(--font-body); font-size: 11.5px; fill: var(--color-ink-70); }
.light__line { margin: 0.7rem auto 0; max-width: 46ch; text-align: center; font-size: 0.98rem; line-height: 1.55; color: var(--color-ink-70); }
.light--town { margin-top: 1.6rem; }

/* Coming back from a home: the card you opened is lit for a moment */
.home-card.is-returned { animation: returned 2.6s var(--ease) both; }
@keyframes returned { 0%, 55% { box-shadow: 0 0 0 3px var(--color-earth), var(--shadow-md); } 100% { box-shadow: var(--shadow-sm); } }
@media (prefers-reduced-motion: reduce) { .home-card.is-returned { animation: none; box-shadow: 0 0 0 3px var(--color-earth); } }

/* The tour day on the map: numbered stops joined by the route */
.tourday__map { margin: 0.4rem 0 1rem; }
.tourday__map .pane { margin: 0 0 0.6rem; }
.tourday__map .pane__title { font-size: 1rem; }
.pane__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pane__route polyline { fill: none; stroke: var(--color-earth); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: routeDraw 1.2s var(--ease) 0.2s forwards; }
@keyframes routeDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .pane__route polyline { animation: none; stroke-dashoffset: 0; } }
.pin[data-stop]::before { content: attr(data-stop); position: absolute; top: -9px; left: -9px; width: 19px; height: 19px; border-radius: 50%; background: var(--color-earth); color: #fff; font-size: 0.68rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--color-warm-white); }

/* Print the tour day: the plan and its map, nothing else, for the glovebox */
.tourday__print { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem 0.5rem; }
.tourday__print svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media print {
  body:has(.shortlist[open]) > :not(.shortlist) { display: none !important; }
  .shortlist[open] { position: static; display: block; width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding: 0; border: 0; box-shadow: none; color: #000; }
  .shortlist__close, .shortlist__views, .shortlist__note, .shortlist__form, .shortlist__list, .shortlist__compare, .tourday__form, .tourday__days, .tourday__start, .tourday__label, .tourday__cal, .tourday__sms, .tourday__print, .tourday__done, .tourday__map .pin-card { display: none !important; }
  .tourday { display: block !important; }
  .tourday__map { break-inside: avoid; }
  .tourday__stop img { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* While the feed loads: the shape of a card, breathing, then the real ones take its place */
.home-card--skeleton { pointer-events: none; }
.home-card--skeleton .home-card__media { background: var(--color-cream); }
.home-card--skeleton .home-card__body { display: grid; gap: 0.7rem; padding: 1.1rem 1.25rem 1.4rem; }
.home-card--skeleton i { display: block; height: 0.9rem; border-radius: 6px; background: var(--color-cream); }
.home-card--skeleton i:first-child { height: 1.6rem; width: 45%; }
.home-card--skeleton i:nth-child(2) { width: 80%; }
.home-card--skeleton i:nth-child(3) { width: 55%; }
.home-card--skeleton .home-card__media, .home-card--skeleton i { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .home-card--skeleton .home-card__media, .home-card--skeleton i { animation: none; } }

/* On the map: the chip on a card that lights its pin */
.home-card__onmap { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0.5rem 0 0; padding: 0.25rem 0.6rem 0.25rem 0.45rem; border-radius: 999px; border: 1px solid var(--color-rule); font-size: 0.8rem; color: var(--color-ink-70); transition: border-color var(--transition-fast), color var(--transition-fast); }
.home-card__onmap svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.home-card__onmap:hover { border-color: var(--color-earth); color: var(--color-earth); }
.home-card--ghost .home-card__onmap, .pin-card .home-card__onmap { display: none; }

/* The nudge: where would you be driving from? */
.nudge { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 950; width: min(34rem, calc(100vw - 2rem)); padding: 1rem 2.8rem 1.05rem 1.25rem; border-radius: var(--radius-lg); background: var(--color-brand-ground); color: var(--color-mark); box-shadow: var(--shadow-lg); transform: translate(-50%, 24px); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.3s var(--ease); }
.nudge.is-in { transform: translate(-50%, 0); opacity: 1; }
.nudge p { margin: 0 0 0.7rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.nudge__cities { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nudge__cities button { padding: 0.42rem 0.9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 0.9rem; transition: background var(--transition-fast), border-color var(--transition-fast); }
.nudge__cities button:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.nudge__else { border-style: dashed !important; }
.nudge__close { position: absolute; top: 0.45rem; right: 0.5rem; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 1.5rem; line-height: 1; }
.nudge__close:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 760px) { .nudge { bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .nudge { transition: none; } }

/* Keys on the cards: a line for people with a keyboard */
.browse__keys { display: none; margin: -0.4rem 0 0.9rem; font-size: 0.8rem; color: var(--color-ink-40); }
.browse__keys kbd { font: 600 0.72rem var(--font-body); padding: 0.05rem 0.4rem; margin-right: 0.15rem; border: 1px solid var(--color-rule); border-radius: 4px; background: var(--color-warm-white); color: var(--color-ink-70); }
@media (hover: hover) and (pointer: fine) { .browse__keys { display: block; } }

/* ============================================================
   THE PHOTOGRAPH IS THE CARD (round three). The body sits over
   the lower part of the picture on a soft dark gradient, the
   price in the display face in cream, so a row of homes reads
   as a row of photographs, not a row of boxes. Map pin cards
   keep the plain layout; the skeletons take the same box as a card so the grid does not move when they are swapped.
   ============================================================ */
.home-card:not(.pin-card) { display: grid; border: 0; border-radius: 12px; background: var(--color-sand); box-shadow: var(--shadow-md); }
.home-card:not(.pin-card) > .home-card__media, .home-card:not(.pin-card) > .home-card__body { grid-area: 1 / 1; min-width: 0; }
.home-card:not(.pin-card) > .home-card__media { aspect-ratio: 4 / 4.5; border-radius: 12px; }
.home-card:not(.pin-card) > .home-card__body { align-self: end; padding: 4.5rem 1.25rem 1.15rem; border-radius: 0 0 12px 12px; color: rgba(255, 255, 255, 0.88); background: linear-gradient(180deg, transparent 0, rgba(8, 20, 24, 0.5) 32%, rgba(8, 20, 24, 0.9) 100%); pointer-events: none; }
.home-card:not(.pin-card) > .home-card__body > * { pointer-events: auto; }
.home-card:not(.pin-card) .home-card__price { color: #fff; font-size: 2.1rem; font-weight: 400; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4); }
.home-card:not(.pin-card) .home-card__addr { color: rgba(255, 255, 255, 0.86); }
.home-card:not(.pin-card) .home-card__facts { color: rgba(255, 255, 255, 0.84); border-bottom-color: rgba(255, 255, 255, 0.2); }
.home-card:not(.pin-card) .home-card__facts b { color: #fff; }
.home-card:not(.pin-card) .home-card__office { color: rgba(255, 255, 255, 0.62); }
.home-card:not(.pin-card) .home-card__from, .home-card:not(.pin-card) .home-card__friday { color: #f3dba8; }
.home-card:not(.pin-card) .home-card__walk, .home-card:not(.pin-card) .home-card__onmap { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(0, 0, 0, 0.25); }
.home-card:not(.pin-card) .home-card__walk:hover, .home-card:not(.pin-card) .home-card__onmap:hover { background: var(--color-warm-white); color: var(--color-ink); border-color: #fff; }
.home-card:not(.pin-card) .home-card__link:focus-visible::after { border-radius: 12px; outline-color: #fff; }
.home-card:not(.pin-card):hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.home-card.is-hot, .browse__grid .home-card.is-lit, .home-card.is-returned { box-shadow: 0 0 0 3px var(--color-sky-accent, #e0b86f), var(--shadow-lg); }
/* the chips stack at the top left in one column, whichever of them a home has; the photo count sits under the heart */
.home-card__chips { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; pointer-events: none; }
.home-card__chips > span { position: static; }
.home-card__count { top: 3.9rem; right: 0.95rem; bottom: auto; left: auto; }
@media (max-width: 640px) { .home-card:not(.pin-card) > .home-card__media { aspect-ratio: 4 / 4.2; } }

/* TWO SKIES (round three): the mountains and the coast are an hour apart and
   under different light; each area card's picture takes its place's own sky
   (listings.js paintSkyOn sets data-sky on the card): a wash by dawn, golden
   hour and after dark, and stars at night. Nothing is drawn over the photograph. */
.area-card { position: relative; }
.area-card::before, .area-card::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 7; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.area-card[data-sky="dawn"]::before { opacity: 1; mix-blend-mode: soft-light; background: linear-gradient(180deg, rgba(255, 196, 160, 0.7), rgba(255, 220, 200, 0.2) 60%, transparent); }
.area-card[data-sky="golden"]::before { opacity: 1; mix-blend-mode: soft-light; background: linear-gradient(180deg, rgba(255, 176, 90, 0.75), rgba(255, 150, 70, 0.35) 55%, rgba(140, 70, 20, 0.35)); }
.area-card[data-sky="dusk"]::before { opacity: 1; mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(60, 56, 110, 0.55), rgba(30, 36, 70, 0.55)); }
.area-card[data-sky="night"]::before { opacity: 1; mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(12, 24, 48, 0.62), rgba(10, 26, 38, 0.58)); }
.area-card::after { width: 100%; background-image: radial-gradient(1.5px 1.5px at 31% 39%, rgba(255,255,255,0.95) 50%, transparent 52%), radial-gradient(1px 1px at 70% 10%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 48% 60%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 78% 32%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 81% 39%, rgba(255,255,255,0.95) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 9% 40%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 2% 60%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 61% 18%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 71% 16%, rgba(255,255,255,0.95) 50%, transparent 52%), radial-gradient(1px 1px at 25% 47%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 61% 36%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 71% 32%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 51% 42%, rgba(255,255,255,0.95) 50%, transparent 52%), radial-gradient(1px 1px at 20% 16%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 82% 11%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 67% 26%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 95% 2%, rgba(255,255,255,0.95) 50%, transparent 52%), radial-gradient(1px 1px at 86% 51%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 9% 12%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 98% 39%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 6% 21%, rgba(255,255,255,0.95) 50%, transparent 52%), radial-gradient(1px 1px at 4% 54%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 35% 32%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 77% 48%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 50% 47%, rgba(255,255,255,0.95) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 55% 27%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 94% 53%, rgba(255,255,255,0.7) 50%, transparent 52%), radial-gradient(1px 1px at 74% 30%, rgba(255,255,255,0.7) 50%, transparent 52%); }
.area-card[data-sky="night"]::after { opacity: 1; }
.area-card[data-sky="dusk"]::after { opacity: 0.4; }
.area-card__clock { font-weight: 500; color: var(--color-ink); }

/* the price on the coverflow card's face, in the display face, so the row reads at a glance (listings.js flow) */
.flow__face { position: absolute; z-index: 1; right: 1.1rem; bottom: 1rem; text-align: right; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45); pointer-events: none; }
.flow__face small { display: block; font-family: var(--font-body); font-size: 0.8rem; margin-top: 0.3rem; opacity: 0.85; }
.flow__card::after { background: linear-gradient(180deg, transparent 50%, rgba(20, 24, 22, 0.62)); }
.flow__mine { max-width: 55%; }
/* the drive-from line in a page hero keeps its room before it is filled, so nothing below it moves */
.page-hero__from { display: block; min-height: 2.15rem; }

/* the town's sky tile at the top of The light here (listing.js) */
.light__tile { margin: -0.4rem 0 1rem; }
.light__tile .skytile { display: inline-grid; min-width: 14rem; }

.home-card--skeleton > .home-card__body { background: linear-gradient(180deg, transparent 40%, rgba(8, 20, 24, 0.18)); }
.home-card--skeleton i { background: rgba(255, 255, 255, 0.55); }
