/* Lot page (single-residential_lots.php) — loaded on lot pages only (inc/lot-media.php). */

/* The lot on film: full width, the name on a solid panel (no gradient scrims), the photo underneath as poster. */
.lot-hero { position: relative; background: var(--deep); color: var(--white); min-height: clamp(460px, 74svh, 880px); display: flex; align-items: flex-end; overflow: hidden; }
.lot-hero__media { position: absolute; inset: 0; margin: 0; }
.lot-hero__media > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); display: block; }
.lot-hero__inner { position: relative; z-index: 2; width: 100%; padding-block: 0 clamp(36px, 5vw, 72px); }
.lot-hero__panel { display: inline-block; background: rgba(37, 40, 42, .84); padding: clamp(20px, 2.6vw, 32px) clamp(22px, 3vw, 40px); max-width: 640px; }
.lot-hero__panel .eyebrow { margin: 0 0 8px; }
.lot-hero__title { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-4); line-height: 1.08; letter-spacing: var(--track); color: var(--white); margin: 0; text-wrap: balance; }
.lot-hero__address { margin: 10px 0 0; color: rgba(255, 255, 255, .84); }
.lot-hero__panel .status { margin-top: 14px; }
.lot-hero .video-toggle { left: auto; right: var(--gutter); top: 18px; bottom: auto; }

@media (max-width: 760px) {
	.lot-hero { min-height: 0; display: block; }
	.lot-hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
	.lot-hero__inner { padding-block: 0 26px; }
	.lot-hero__panel { display: block; background: var(--deep); padding: 22px 0 0; max-width: none; }
	.lot-hero__title { font-size: var(--step-3); }
	.lot-hero .video-toggle { top: 12px; }
}

/* "All lots" sits above the map on the left, as a quiet text link. */
.lot-single__map { position: relative; }
.lot-single__back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: var(--step--1); font-weight: 600; }
.lot-single__back .icon { width: 16px; height: 16px; }
.lot-single__back:hover .icon { transform: translateX(-3px); }
.lots-map--single { height: clamp(380px, 54vh, 580px); }
@media (max-width: 760px) { .lots-map--single { height: 340px; } }

/* Every lots map: the understated Aerial / Map switch, top right (lots-map.js). Aerial photos keep their color. */
.mp-map-toggle { appearance: none; margin: 0; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .92); color: var(--deep); font: 600 11px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; padding: 8px 11px; cursor: pointer; box-shadow: 0 1px 4px rgba(37, 40, 42, .14); transition: background var(--dur-hover, 150ms) ease, color var(--dur-hover, 150ms) ease; }
.mp-map-toggle:hover, .mp-map-toggle:focus-visible { background: var(--deep); color: var(--white); border-color: var(--deep); }
.mp-map-toggle:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.lots-map.is-aerial .leaflet-tile-pane { filter: none; }

/* Lots page list (template-parts/lots-explorer.php): the picked lot gets a rust band on its left edge (the map
   no longer opens a bubble over it), status filters under the neighborhoods, and a "Lot details" link. */
.lots-explorer .filters--hood { margin-bottom: 10px; }
.filters--status .filter { padding: 8px 14px; display: inline-flex; align-items: center; gap: 8px; }
.filter__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); }
.filter__dot--pending { background: var(--taupe); }
.filter__dot--sold { background: var(--graphite); }
.lot { padding-left: 14px; padding-right: 10px; transition: background var(--dur-hover, 150ms) ease, box-shadow var(--dur-hover, 150ms) ease; }
.lot.is-active { background: var(--paper); box-shadow: inset 4px 0 0 var(--rust); }
.lot__more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: var(--step--1); font-weight: 600; }
.lot__more .icon { width: 15px; height: 15px; }
.lots-empty { padding: 20px 4px; color: var(--muted); }
.lots-empty[hidden] { display: none; }
.lots-map .leaflet-tooltip { font: 600 13px/1.3 var(--font-sans); color: var(--deep); }

/* Lot page (Nov 17): the map full width; below it the facts and the ask on the left, the film on the right. */
.lots-map--single { height: clamp(420px, 62vh, 680px); }
.lot-single__below { display: grid; grid-template-columns: minmax(0, 760px); gap: clamp(24px, 4vw, 56px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.lot-single__below.has-film { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lot-single__ask .lot__facts { margin-bottom: 22px; font-size: var(--step-0); }
.lot-single__ask > .button { margin-top: 6px; }
.lot-film { position: relative; margin: 0; overflow: hidden; background: var(--deep); aspect-ratio: 16 / 9; }
.lot-film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.lot-film .video-toggle { left: 12px; bottom: 12px; }
@media (max-width: 960px) {
	.lot-single__below.has-film { grid-template-columns: 1fr; }
	.lot-single__below.has-film .lot-film { order: -1; }
}
@media (max-width: 760px) { .lots-map--single { height: 360px; } }

/* Five statuses (inc/lot-status.php): pins, filter dots and badges. */
.mp-pin--construction { background: var(--olive); }
.mp-pin--complete { background: var(--deep); }
.filter__dot--construction { background: var(--olive); }
.filter__dot--complete { background: var(--deep); }
.status--construction { background: var(--paper-2); color: var(--olive); }
.status--complete { background: var(--paper-2); color: var(--deep); }

/* Map / Aerial / Street switch (Nov 17, lots-map.js): one segmented control, top right; the current view is dark.
   Street: Google Street View fills the map box, with the photo's date and a link out (inc/lot-streetview.php). */
.mp-map-switch { display: flex; border: 1px solid var(--line-strong); box-shadow: 0 1px 4px rgba(37, 40, 42, .14); background: rgba(255, 255, 255, .92); }
.mp-map-switch .mp-map-toggle { border: 0; box-shadow: none; min-height: 34px; }
.mp-map-switch .mp-map-toggle + .mp-map-toggle { border-left: 1px solid var(--line-strong); }
.mp-map-toggle[aria-pressed="true"] { background: var(--deep); color: var(--white); }
.mp-street { position: absolute; inset: 0; z-index: 750; background: var(--deep); }
.mp-street[hidden] { display: none; }
.mp-street iframe { display: block; width: 100%; height: 100%; border: 0; }
.mp-street__chip { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); display: flex; flex-direction: column; gap: 3px; background: rgba(37, 40, 42, .88); color: var(--white); padding: 10px 14px; font-size: 13px; line-height: 1.35; }
.mp-street__chip span { color: rgba(255, 255, 255, .82); font-size: 12px; }
.mp-street__chip a { color: #F0C595; font-size: 12px; font-weight: 600; }
.lots-map.is-street .leaflet-control-zoom, .lots-map.is-street .leaflet-control-attribution { display: none; }

/* Available lots stand out in the brand rust (badges in the Lots list, on lot pages and in the lot header). */
.status--available { background: var(--rust); color: var(--white); font-weight: 600; }

/* Street on the Lots page waits for a lot to be picked; a lot with no Google imagery says so. */
.mp-map-toggle:disabled { opacity: .45; cursor: not-allowed; background: rgba(255, 255, 255, .92); color: var(--deep); }
.mp-street iframe[hidden], .mp-street__chip[hidden], .mp-street__none[hidden] { display: none; }
.mp-street__none { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; color: var(--white); font-size: 15px; line-height: 1.5; }

/* "Homes we've built" button and dots (lots-map.js, assets/data/completed-homes.json). */
.mp-built-toggle { display: inline-flex; align-items: center; gap: 7px; }
.mp-built-toggle__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--deep); }
.mp-built-toggle__n { opacity: .7; }
.mp-built-toggle[aria-pressed="true"] { background: var(--deep); color: var(--white); }
.mp-built-toggle[aria-pressed="true"] .mp-built-toggle__dot { box-shadow: 0 0 0 2px var(--white); background: var(--deep); }
.lots-map.is-street .mp-built-toggle { display: none; }

/* No film: the lot's own photos in that box (single-residential_lots.php) — one large, four thumbnails, the rest
   in the lightbox (main.js). */
.lot-photos { display: grid; gap: 8px; }
.lot-photos a { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.lot-photos img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.lot-photos a:hover img { transform: scale(1.03); }
.lot-photos a:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.lot-photos__main { aspect-ratio: 16 / 9; }
.lot-photos__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lot-photos__thumb { aspect-ratio: 4 / 3; }
.lot-photos__thumb.is-extra { display: none !important; }
.lot-photos__count { position: absolute; left: 12px; bottom: 12px; background: rgba(37, 40, 42, .84); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 6px 10px; }
.lot-photos__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(37, 40, 42, .62); color: var(--white); font-weight: 700; font-size: 18px; }
@media (max-width: 960px) { .lot-single__below.has-film .lot-photos { order: -1; } }

/* Lots page dropdown filters (template-parts/lots-explorer.php, lots-map.js). Desktop: Size and Lifestyle
   beside the neighborhood and status rows. Phones: one row of four (Neighborhood, Status, Size, Lifestyle),
   each opening its choices from the bottom of the screen; the button rows are hidden. */
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.fbar__item { position: relative; }
.fbar__item--hood, .fbar__item--status { display: none; }
.fchip { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-strong); background: var(--white); color: var(--deep); font: 600 14px/1.2 var(--font-sans); cursor: pointer; }
.fchip__label { color: var(--muted); font-weight: 600; }
.fchip__label::after { content: ':'; }
.fchip__caret { transition: transform var(--dur-hover, 150ms) ease; }
.fchip[aria-expanded="true"] .fchip__caret { transform: rotate(180deg); }
.fchip.is-set { background: var(--deep); border-color: var(--deep); color: var(--white); }
.fchip.is-set .fchip__label { color: rgba(255, 255, 255, .72); }
.fchip:focus-visible, .fopt:focus-visible, .fbar__reset:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.fpanel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 1200; min-width: 240px; max-height: 60vh; overflow: auto; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(37, 40, 42, .18); padding: 6px; }
.fpanel[hidden] { display: none; }
.fpanel__head { display: none; }
.fopt { appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; background: none; color: var(--deep); font: 500 15px/1.3 var(--font-sans); text-align: left; cursor: pointer; }
.fopt:hover { background: var(--paper); }
.fopt[aria-pressed="true"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--rust); background: var(--paper); }
.fopt .filter__n { margin-left: auto; color: var(--muted); font-weight: 500; }
.fbar__reset { appearance: none; border: 0; background: none; padding: 8px 4px; min-height: 40px; color: var(--rust); font: 600 14px/1.2 var(--font-sans); text-decoration: underline; cursor: pointer; }
.fbar__reset[hidden], .fbar__scrim[hidden] { display: none; }
.fbar__scrim { display: none; }
.lot__life { margin: 4px 0 0; font-size: var(--step--1); color: var(--rust); font-weight: 600; }

@media (max-width: 760px) {
	.lots-explorer .filters--hood, .lots-explorer .filters--status { display: none; }
	.fbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.fbar__item--hood, .fbar__item--status { display: block; }
	.fchip { width: 100%; min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; text-align: left; padding: 8px 12px; }
	.fchip__label { grid-column: 1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
	.fchip__label::after { content: ''; }
	.fchip__value { grid-column: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.fchip__caret { grid-column: 2; grid-row: 1 / span 2; }
	.fbar__reset { grid-column: 1 / -1; justify-self: start; }
	/* The choices come up from the bottom of the screen. */
	.fpanel { position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 1300; min-width: 0; max-height: 72vh; padding: 0 8px calc(12px + env(safe-area-inset-bottom)); border: 0; box-shadow: 0 -10px 30px rgba(37, 40, 42, .25); }
	.fpanel__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 8px 10px; background: var(--white); font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
	.fpanel__close { appearance: none; border: 0; background: none; width: 44px; height: 44px; font-size: 28px; line-height: 1; color: var(--deep); cursor: pointer; }
	.fopt { min-height: 52px; font-size: 16px; }
	.fbar__scrim { display: block; position: fixed; inset: 0; z-index: 1250; background: rgba(37, 40, 42, .45); }
	html.fpanel-open { overflow: hidden; }
}

/* Nov 17 (later): Status joins the dropdown row on desktop too, so desktop reads: neighborhood buttons, then one
   row of dropdowns — Status, Size, Lifestyle, Features. Features takes several picks (checkboxes). */
.lots-explorer .filters--status { display: none; }
.fbar__item--status { display: block; }
.lots-explorer .filters--hood { margin-bottom: 14px; }
.fopt__check { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line-strong); background: var(--white); position: relative; }
.fopt[aria-pressed="true"] .fopt__check { background: var(--deep); border-color: var(--deep); }
.fopt[aria-pressed="true"] .fopt__check::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fpanel[data-fmulti] .fopt[data-fopt="all"] { padding-left: 40px; }
.fpanel__done { appearance: none; margin: 6px 6px 4px; min-height: 44px; border: 0; background: var(--deep); color: var(--white); font: 600 14px/1 var(--font-sans); cursor: pointer; }
.lot__feat { margin: 2px 0 0; font-size: var(--step--1); color: var(--muted); }

/* "New to Omaha" invitation (inc/lot-lifestyle.php): under the Lots list when that lifestyle is picked, and at
   the bottom of lot pages tagged with it. */
.newcomer { display: grid; grid-template-columns: minmax(0, 1.6fr) auto; gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: clamp(32px, 5vw, 64px); padding: clamp(24px, 4vw, 48px); background: var(--paper); box-shadow: inset 4px 0 0 var(--rust); }
.newcomer[hidden] { display: none; }
.newcomer .eyebrow { margin: 0 0 8px; color: var(--rust); }
.newcomer__title { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-3); line-height: 1.1; margin: 0 0 12px; color: var(--deep); }
.newcomer__text p:last-child { margin: 0; max-width: 62ch; }
.newcomer__actions { display: flex; flex-direction: column; gap: 10px; }
.newcomer__actions .button { text-align: center; justify-content: center; }
.button--ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.button--ghost:hover, .button--ghost:focus-visible { background: var(--deep); color: var(--white); }
@media (max-width: 760px) {
	.newcomer { grid-template-columns: 1fr; }
	.fbar__reset { grid-column: auto; justify-self: center; align-self: center; }
}

/* Lot page (Nov 18): the line under "Meet with our design team". */
.lot-single__note { margin: 14px 0 0; max-width: 52ch; font-size: var(--step--1); color: var(--muted); }

/* Nov 18 (later): the neighborhood buttons on one line that scrolls sideways, arrows at either end when more are
   out of sight; each neighborhood has its own color (inc/lot-lifestyle.php, mp_hood_color()) — a dot on the button,
   the whole button when it's picked. Phones keep the Neighborhood dropdown. */
.hoodbar { position: relative; display: flex; align-items: center; gap: 6px; margin: 0 0 14px; }
.lots-explorer .hoodbar .filters--hood { flex: 1 1 auto; min-width: 0; margin: 0; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px; }
.hoodbar .filters--hood::-webkit-scrollbar { display: none; }
.hoodbar.can-next .filters--hood { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.hoodbar.can-prev .filters--hood { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.hoodbar.can-prev.can-next .filters--hood { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.hoodbar .filter { flex: none; white-space: nowrap; }
.filter--hood { display: inline-flex; align-items: center; gap: 8px; }
.hood-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--hood, var(--deep)); }
.filter--hood.is-active { background: var(--hood, var(--deep)); border-color: var(--hood, var(--deep)); color: var(--white); }
.filter--hood.is-active .hood-dot { background: var(--white); }
.filter--hood:hover { border-color: var(--hood, var(--deep)); }
.filter:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.hoodbar__arrow { appearance: none; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); color: var(--deep); cursor: pointer; }
.hoodbar__arrow:hover { border-color: var(--deep); }
.hoodbar__arrow:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.hoodbar__arrow[hidden] { display: none; }
@media (max-width: 760px) { .hoodbar { display: none; } }

/* Nov 19 (A2): the Lots list is grouped by neighborhood (template-parts/lots-explorer.php), on phones and laptops.
   Each neighborhood is a card: its photos (Lots → Neighborhoods → Neighborhood photos; the first one is the cover,
   then its film), Share on the photo, the Description and shared tags, and "See N available lots", which opens its
   rows. Laptops: the cards sit right of the map; pointing at a card or a lot lights its pins on the map. Phones: a
   List | Map pill at the bottom switches views; in Map, tapping a pin brings up that lot's card. Corners: 6px on
   the photo cards and the map's lot card; buttons, chips and tags keep the site's 2px. */
.lots-viewbar, .lot-sheet, .lots-toast { display: none; }
.hood-card { position: relative; display: block; margin: 20px 0 0; background: var(--white); color: var(--deep); }
.hood-card[hidden] { display: none; }
.lot-list > .hood-card:first-child { margin-top: 4px; }
.hood-card__media { position: relative; height: 240px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.hood-card__strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; scroll-behavior: smooth; }
.hood-card__strip::-webkit-scrollbar { display: none; }
.hood-card__slide { position: relative; flex: none; width: 100%; height: 100%; margin: 0; scroll-snap-align: start; }
.hood-card__slide img, .hood-card__slide video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hood-card__slide--film { background: var(--deep); }
.hood-card__play { appearance: none; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--deep); cursor: pointer; }
.hood-card.is-playing .hood-card__play { opacity: 0; }
.hood-card__dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 8px; border-radius: 999px; background: rgba(37, 40, 42, .55); pointer-events: none; }
.hood-card__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.hood-card__dots span.is-on { background: var(--white); }
.hood-card__share { appearance: none; position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .94); color: var(--deep); cursor: pointer; box-shadow: 0 1px 4px rgba(37, 40, 42, .16); }
.hood-card:not(.has-media) .hood-card__share { top: 6px; right: 0; box-shadow: none; background: var(--paper); }
.hood-card__share:focus-visible, .hood-card__see:focus-visible, .lot-share:focus-visible, .lots-viewbar button:focus-visible, .lot-sheet__icon:focus-visible, .hood-card__play:focus-visible, .hood-card__arrow:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
/* Arrows to step through the photos with a mouse (added by the script when there is more than one). */
.hood-card__arrow { appearance: none; position: absolute; top: 50%; z-index: 1; width: 40px; height: 40px; margin-top: -20px; display: none; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--deep); cursor: pointer; box-shadow: 0 1px 4px rgba(37, 40, 42, .2); transition: opacity .15s ease; }
.hood-card__arrow--prev { left: 10px; }
.hood-card__arrow--next { right: 10px; }
.hood-card__arrow[disabled] { opacity: 0 !important; pointer-events: none; }
.hood-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 0 12px; }
.hood-card:not(.has-media) .hood-card__kicker, .hood-card:not(.has-media) .hood-card__name { padding-right: 52px; }
.hood-card__kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.hood-card .hood-dot { width: 9px; height: 9px; }
.hood-card__name { margin: 0; font-family: var(--font-serif); font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: var(--track); color: var(--deep); }
.hood-card__line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--graphite); }
.hood-card__desc { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hood-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
.hood-card__tag { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: var(--radius); background: var(--paper); color: var(--deep); }
.hood-card__see { appearance: none; margin-top: 8px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: 1.5px solid var(--deep); border-radius: var(--radius); background: var(--white); color: var(--deep); font: 700 15px/1.2 var(--font-sans); cursor: pointer; }
.hood-card__see:hover { background: var(--paper); }
.hood-card__see[hidden] { display: none; }
.hood-card__see svg { transition: transform .25s ease; }
.hood-card__see[aria-expanded="true"] svg { transform: rotate(180deg); }

/* The rows: lot number on the left; size and terrain, anything only this lot has, and status; Share and Save. */
.lot-list .lot.is-folded { display: none; }
.lot-list .lot { position: relative; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 12px 104px 12px 4px; }
.lot-list .lot__main { display: contents; }
.lot-list .lot .eyebrow, .lot-list .lot__life, .lot-list .lot__feat, .lot-list .lot__address { display: none; }
.lot-list .lot__more { display: none; }
.lot-list .lot__title { grid-column: 1; grid-row: 1 / span 3; min-width: 44px; max-width: 7.5em; margin: 0; line-height: 1.15; }
.lot-list .lot__title a { font-size: 0; }
.lot-list .lot__title a::before { content: attr(data-short); font-size: 20px; }
.lot-list .lot--nomap .lot__title::after { display: none; }
.lot-list .lot__brief, .lot-list .lot__own { display: block; grid-column: 2; margin: 0; }
.lot-list .lot__brief { font-size: 15px; font-weight: 600; color: var(--deep); }
.lot-list .lot__own { font-size: 13px; color: var(--muted); }
.lot-list .lot__own:empty { display: none; }
.lot-list .lot__facts { grid-column: 2; display: block; font-size: 12px; }
.lot-list .lot__facts > div:not(:has(.status)) { display: none; }
.lot-list .lot__facts dt { display: none; }
.lot-list .lot .lot-save { right: 4px; width: 44px; min-height: 36px; padding: 0; justify-content: center; }
.lot-list .lot .lot-save__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lot-share { appearance: none; position: absolute; top: 12px; right: 52px; display: grid; place-items: center; width: 44px; height: 36px; border: 1px solid var(--line-strong, #d7d2c9); border-radius: var(--radius); background: var(--white); color: var(--deep); cursor: pointer; }
.lot-share:hover { border-color: var(--deep); }
.lot-list .lot.is-hover { background: var(--paper); }

/* The pins a card or a lot is pointing at: bigger, with a soft rust ring, drawn above the rest. */
.mp-pin { transition: transform .15s ease, box-shadow .15s ease; }
.mp-pin.is-hover { transform: scale(1.6); box-shadow: 0 0 0 3px rgba(166, 99, 27, .45), 0 2px 8px rgba(37, 40, 42, .35); }
.mp-pin.is-active.is-hover { transform: scale(1.7); }
.lots-map.is-pointing .mp-pin:not(.is-hover):not(.is-active) { opacity: .55; }

@media (min-width: 761px) {
	.hood-card__media { height: 220px; }
	.hood-card__arrow { display: grid; opacity: 0; }
	.hood-card__media:hover .hood-card__arrow, .hood-card__arrow:focus-visible { opacity: 1; }
	.hood-card__name { font-size: 26px; }
	.lot-list .lot { padding-left: 10px; }
}

@media (max-width: 760px) {
	/* List | Map, floating at the bottom while the Lots list is on screen. */
	.lots-viewbar { position: sticky; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 900; display: flex; width: max-content; margin: 18px auto 0; background: var(--deep); border-radius: 999px; overflow: hidden; box-shadow: 0 6px 20px rgba(37, 40, 42, .3); }
	.lots-viewbar button { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; background: none; color: var(--white); font: 700 15px/1 var(--font-sans); cursor: pointer; }
	.lots-viewbar button[aria-pressed="true"] { background: var(--rust); }
	.lots-explorer.has-sheet .lots-viewbar { visibility: hidden; }
	.hood-card { margin-top: 16px; }
	.lot-list .lot { padding-left: 4px; }
	/* List: the map stays laid out, off screen. Map: the map fills the screen and the list steps aside. */
	.lots-explorer .lots-explorer__grid { position: relative; }
	.lots-explorer .lots-map--full { height: calc(100svh - 150px); min-height: 420px; }
	.lots-explorer:not(.is-map-view) .lots-map--full { position: absolute; left: -300vw; top: 0; width: 100%; visibility: hidden; }
	.lots-explorer.is-map-view .lot-list, .lots-explorer.is-map-view .newcomer { display: none; }

	/* The lot card a pin brings up in Map. */
	.lot-sheet { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1100; display: block; background: var(--white); color: var(--deep); border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(37, 40, 42, .3); }
	.lot-sheet[hidden] { display: none; }
	.lot-sheet__media { background: var(--paper-2); }
	.lot-sheet__media img { display: block; width: 100%; height: 140px; object-fit: cover; }
	.lot-sheet__media img[hidden] { display: none; }
	.lot-sheet__tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
	.lot-sheet__icon { appearance: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .94); color: var(--deep); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(37, 40, 42, .16); }
	.lot-sheet__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
	.lot-sheet__kicker { margin: 0; padding-right: 100px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
	.lot-sheet__title { margin: 0; font-family: var(--font-serif); font-size: 22px; line-height: 1.15; color: var(--deep); }
	.lot-sheet__brief { margin: 0; font-size: 15px; font-weight: 600; }
	.lot-sheet__own { margin: 0; font-size: 13px; color: var(--muted); }
	.lot-sheet__own:empty { display: none; }
	.lot-sheet__status { margin: 2px 0 0; }
	.lot-sheet__actions { display: flex; gap: 8px; margin-top: 10px; }
	.lot-sheet__actions .button { flex: 1; justify-content: center; text-align: center; padding: 14px 10px; }

	.lots-toast { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 1200; display: block; transform: translateX(-50%); margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--deep); color: var(--white); font-size: 14px; font-weight: 600; }
	.lots-toast[hidden] { display: none; }
}
/* The "Link copied" note on laptops (no share sheet there). */
@media (min-width: 761px) {
	.lots-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1200; display: block; transform: translateX(-50%); margin: 0; padding: 10px 16px; border-radius: 999px; background: var(--deep); color: var(--white); font-size: 14px; font-weight: 600; }
	.lots-toast[hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hood-card__see svg, .mp-pin { transition: none; }
	.hood-card__strip { scroll-behavior: auto; }
}
/* Nov 19 (later), laptops only: "Lot details →" under each lot's size and terrain (its own page: photos, film, the lot
   on the aerial, Meet with us), and the status tag just left of Share. Phones keep the row as it was: the tag under
   the size and terrain, no Lot details link (a tap on the row opens the lot). */
@media (min-width: 761px) {
	.lot-list .lot__more { display: inline-flex; grid-column: 2; justify-self: start; margin-top: 2px; font-size: 13px; }
	.lot-list .lot__facts { position: absolute; top: 12px; right: 104px; height: 36px; display: flex; align-items: center; margin: 0; }
	.lot-list .lot__facts > div, .lot-list .lot__facts dd { margin: 0; }
	.lot-list .lot__facts .status { white-space: nowrap; }
	.lot-list .lot__brief { padding-right: 140px; min-height: 36px; display: flex; align-items: center; }
}

/* Lot sheets (Nov 22, inc/lot-sheets.php): Site plan in the map switch, six more facts under the facts, and the
   tags with the lot sheet buttons under the film. */
.mp-plan { position: absolute; inset: 0; z-index: 750; background: var(--white); }
.mp-plan[hidden] { display: none; }
.mp-plan img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mp-plan__note { position: absolute; left: 12px; bottom: 12px; max-width: min(640px, calc(100% - 24px)); margin: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 4px rgba(37, 40, 42, .14); padding: 8px 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.mp-plan__note strong { color: var(--deep); font-weight: 600; }
.mp-plan__note a { font-weight: 600; white-space: nowrap; }
.lots-map.is-plan .leaflet-control-zoom, .lots-map.is-plan .leaflet-control-attribution, .lots-map.is-plan .mp-built-toggle { display: none; }
.lot-single__ask .lot__facts--site { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; margin: -6px 0 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.lot__facts--site .is-wide { grid-column: 1 / -1; }
.lot-sheet-note { margin: 0 0 22px; font-size: var(--step--1); color: var(--muted); max-width: 60ch; }
.lot-single__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lot-sheet-box { display: flex; flex-direction: column; gap: 16px; }
.lot-single__ask .lot-sheet-box { margin-top: 28px; }
.lot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lot-tags li { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--deep); background: var(--paper-2); border-radius: 999px; padding: 6px 14px; }
.lot-sheet-box__buttons { display: flex; flex-direction: column; gap: 10px; }
.lot-sheet-box__buttons .button { justify-content: center; text-align: center; }
.lot-sheet-box__buttons .icon { width: 16px; height: 16px; }
@media (max-width: 960px) {
	.lot-single__below.has-film .lot-single__side { order: -1; }
}
@media (max-width: 560px) {
	.lot-single__ask .lot__facts--site { grid-template-columns: 1fr; }
	.mp-plan__note { position: static; max-width: none; box-shadow: none; padding: 8px 0 0; background: transparent; }
	.mp-plan { display: flex; flex-direction: column; }
	.mp-plan[hidden] { display: none; }
	.mp-plan img { flex: 1; min-height: 0; }
}

/* Nov 22 (later): the ask in its own band below the lot information. A faded taupe ground (Warm Taupe at about
   a fifth, on ivory); with a lot photo, the photo fades in from the right behind the taupe. */
.lot-cta { position: relative; overflow: hidden; margin-top: clamp(8px, 2vw, 24px); padding: clamp(40px, 6vw, 88px) 0;
	background: color-mix(in srgb, var(--taupe) 22%, var(--paper)); border-top: 1px solid color-mix(in srgb, var(--taupe) 45%, var(--paper)); }
.lot-cta.has-photo::before { content: ""; position: absolute; inset: 0; background: var(--cta-photo) center / cover no-repeat; opacity: .22; filter: grayscale(.35);
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%); mask-image: linear-gradient(90deg, transparent 30%, #000 85%); pointer-events: none; }
.lot-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.lot-cta .eyebrow { margin: 0 0 10px; color: var(--rust); }
.lot-cta__title { margin: 0 0 14px; font-family: var(--font-serif); font-weight: 700; font-size: var(--step-3); line-height: 1.12; color: var(--deep); max-width: 24ch; text-wrap: balance; }
.lot-cta__text p:last-child { margin: 0; max-width: 58ch; }
.lot-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.lot-cta__actions .lot-single__note { flex-basis: 100%; margin-top: 6px; color: var(--graphite); }
.lot-cta__actions .lot-saved-link { flex-basis: 100%; }
@media (max-width: 860px) {
	.lot-cta__inner { grid-template-columns: 1fr; }
	.lot-cta.has-photo::before { -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 100%); mask-image: linear-gradient(180deg, transparent 35%, #000 100%); }
}
