/* ==========================================================================
   Tryvon — liquid glass layer ("glass on top, solid underneath").
   Glass only for things that float above content: header, hero search & stats, floating buttons,
   overlays on photos/maps, mobile action bar, assistant, palette, toasts.
   Prices, checklists, forms and tables stay solid. Solid fallbacks: no backdrop-filter support,
   "Reduce Transparency" (prefers-reduced-transparency) and Save-Data / low-end hints.
   ========================================================================== */
:root {
  --lg-light: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  --lg-dark: linear-gradient(135deg, rgba(14,58,70,.62), rgba(5,44,58,.38));
  --lg-line-light: rgba(255,255,255,.75);
  --lg-line-dark: rgba(255,255,255,.22);
  --lg-blur: blur(22px) saturate(185%) brightness(1.05);
  --lg-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.18), inset 0 0 24px rgba(255,255,255,.14), 0 18px 40px -18px rgba(5,44,58,.38);
  --lg-shadow-dark: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(255,255,255,.06), inset 0 0 22px rgba(255,255,255,.05), 0 18px 40px -16px rgba(0,0,0,.5);
  --lg-sheen: linear-gradient(115deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 66%, rgba(255,255,255,.2) 100%);
}
:root[data-theme="dark"] {
  --lg-light: linear-gradient(135deg, rgba(34,62,74,.72), rgba(18,40,50,.5));
  --lg-line-light: rgba(255,255,255,.16);
  --lg-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 22px rgba(255,255,255,.04), 0 18px 40px -16px rgba(0,0,0,.55);
}

/* ---------- the two glass materials ---------- */
.glass-light, .topbar-inner, .filters, .mobile-cta, .assistant, .palette-box, .flash,
.leaflet-bar, .leaflet-control-zoom {
  background: var(--lg-light) !important;
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-line-light) !important;
  box-shadow: var(--lg-shadow) !important;
}
.glass-dark, .card .type-chip, .favbtn, .gallery .all-photos, .wa-float, .assistant-btn {
  background: var(--lg-dark) !important;
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
  border: 1px solid var(--lg-line-dark) !important;
  box-shadow: var(--lg-shadow-dark) !important;
  color: #F4F1EA !important;
}
/* specular sheen + bright top rim (the "liquid" highlight) */
/* isolation only — never change positioning (several of these are fixed/absolute) */
.glass-light, .glass-dark, .topbar-inner, .filters, .mobile-cta, .assistant, .palette-box,
.card .type-chip, .favbtn, .gallery .all-photos, .wa-float, .assistant-btn { isolation: isolate; }
.glass-light, .glass-dark, .filters, .card .type-chip { position: relative; }
.public .topbar-inner { position: relative; }
@media (max-width: 1239px) { .office .topbar-inner { position: relative; } }
.glass-light::before, .glass-dark::before, .topbar-inner::before, .filters::before, .mobile-cta::before, .assistant::before, .palette-box::before,
.gallery .all-photos::before, .wa-float::before, .assistant-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: var(--lg-sheen); mix-blend-mode: soft-light; opacity: .9;
}
.glass-light::after, .glass-dark::after, .topbar-inner::after, .filters::after, .mobile-cta::after {
  content: ""; position: absolute; left: 14%; right: 14%; top: -1px; height: 1px; pointer-events: none; border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent);
}

/* ---------- glossy buttons ---------- */
.btn { background-image: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 12px 28px -14px color-mix(in oklab, var(--brand) 75%, transparent); }
.btn.secondary { background-image: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.btn.gold { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 30px -14px rgba(212,160,59,.75); }
.btn.wa { background-image: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 12px 26px -12px rgba(34,149,90,.75); }
.hero .searchbar .btn { background: var(--grad-gold); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 30px -14px rgba(212,160,59,.8); }

/* ---------- header (glass pill) + narrower logo ---------- */
.topbar-inner { border-radius: 22px; }
.public .topbar-inner { max-width: var(--page-max); }
.brand { gap: 7px; }
.brand-symbol { height: 30px; }
.brand .wordmark-name { height: 15px; width: 99px; }
.brand-tag { font-size: 7.6px; letter-spacing: .58em; margin-right: -.58em; }
.footer .brand-symbol { height: 42px; }
.footer .brand .wordmark-name { height: 21px; width: 139px; }
.footer .brand-tag { font-size: 10.5px; }
@media (max-width: 380px) { .brand-symbol { height: 26px; } .brand .wordmark-name { height: 13px; width: 86px; } }

/* ---------- hero: headline left, ribbon sized to the headline on the right ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; align-items: center; }
.hero-grid > .searchbar, .hero-grid > .trustline, .hero-grid > .stats { grid-column: 1 / -1; }
.hero-copy h1 { max-width: 15ch; }
.hero-visual { display: none; position: relative; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(300px, 30vw, 400px); }
  .hero-visual { display: block; grid-column: 2; grid-row: 1; align-self: start; padding-top: 30px; }
}
.hero .hero-symbol { position: static; display: block; width: 100%; height: auto; right: auto; top: auto; margin: 0 auto;
  filter: drop-shadow(0 28px 50px rgba(0,0,0,.5)); animation: symbol-float 9s ease-in-out infinite, fade-in 1.2s .2s var(--ease) both; }
.verified-card { display: flex; flex-direction: column; gap: 6px; width: min(320px, 90%); margin: -52px 0 0 auto; padding: 14px 16px; border-radius: 20px; text-decoration: none; position: relative; z-index: 2;
  transition: transform .3s var(--ease); }
.verified-card:hover { transform: translateY(-3px); }
.verified-card strong { color: #FBF9F4; font-size: .98rem; line-height: 1.3; }
.verified-card .vc-meta { display: flex; gap: 6px; align-items: center; font-size: .8rem; color: rgba(244,241,234,.78); }
.verified-card .badge { align-self: flex-start; }
@media (max-width: 999px) {
  .hero-visual { display: block; grid-column: 1; }
  .hero-visual .hero-symbol { display: none; }
  .verified-card { margin: 18px 0 0; width: 100%; }
}
.hero .searchbar { border-radius: 26px; }
.hero .searchbar select, .hero .searchbar input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #F4F1EA; }
.hero .searchbar select option { color: #111; }
.hero .searchbar input::placeholder { color: rgba(244,241,234,.6); }
.hero .stats { display: inline-grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 0; padding: 0; border-radius: 20px; overflow: hidden; justify-self: start; max-width: none; }
.hero .stats > div { padding: 14px 26px; border-right: 1px solid rgba(255,255,255,.14); }
.hero .stats > div:last-child { border-right: 0; }
@media (max-width: 560px) { .hero .stats > div { padding: 12px 14px; } }

/* ---------- photo overlays & gallery ---------- */
.card .type-chip { border-radius: 999px; }
.favbtn { color: #F4F1EA !important; }
.favbtn.on { color: #FF8A80 !important; }
.gallery .all-photos { border-radius: 999px; }
.wa-float { background: linear-gradient(135deg, rgba(46,170,104,.85), rgba(25,130,80,.75)) !important; }
.assistant-btn { background: linear-gradient(135deg, rgba(19,106,117,.82), rgba(5,44,58,.7)) !important; }

/* ---------- trust box on the listing page (solid: must be readable) ---------- */
.trust-box { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; }
.trust-box strong { display: block; font-size: .92rem; margin-bottom: 8px; }
.trust-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .86rem; }
.trust-box li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.trust-box li .i { margin-top: 2px; flex: none; }
.trust-box li.ok .i { color: var(--ok); }
.trust-box li.warn { color: var(--warn); }

/* ---------- map controls ---------- */
.leaflet-bar a, .leaflet-control-zoom a { background: transparent !important; border-color: rgba(9,55,70,.1) !important; color: var(--ink) !important; }

/* ---------- office sidebar stays solid on desktop ---------- */
@media (min-width: 1240px) {
  .office .topbar-inner { background: var(--surface) !important; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none !important; border-width: 0 1px 0 0 !important; border-color: var(--line) !important; border-radius: 0; }
  .office .topbar-inner::before, .office .topbar-inner::after { display: none; }
}

/* ==========================================================================
   UX pass (audit Nov 2026)
   ========================================================================== */
/* search: on phones the results come first; the filter panel opens from a button */
.filters-toggle { display: none; }
@media (max-width: 759px) {
  .js .filters-toggle { display: flex; width: 100%; min-height: 48px; margin-bottom: 10px; }
  .js .filters:not(.open) { display: none; }
}
/* desktop: the Type dropdown is always visible, so the duplicate type chips are hidden (the "only inspected" chip stays) */
@media (min-width: 760px) { .chip-type { display: none; } }
.count-dot { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .78rem; font-weight: 800; display: inline-grid; place-items: center; }

/* readable small labels — nothing under 12px */
.badge, .eyebrow { font-size: .78rem; }
.card .type-chip { font-size: .76rem; }

/* touch screens: 44px targets (WCAG 2.5.5 / Apple HIG) */
@media (pointer: coarse) {
  .btn.small, .currency-form select { min-height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
  .leaflet-touch .leaflet-bar a { width: 40px !important; height: 40px !important; line-height: 40px !important; }
}

/* phones: floating WhatsApp + assistant never sit on top of what you are reading */
@media (max-width: 759px) {
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .assistant-btn { width: 52px; height: 52px; right: 14px; bottom: 76px; }
  .wa-float, .assistant-btn { transition: transform .3s var(--ease), opacity .3s var(--ease); }
  body.reading .wa-float, body.reading .assistant-btn { transform: translateY(calc(100% + 110px)); opacity: 0; pointer-events: none; }
  body.has-mobile-cta .wa-float { display: none; }          /* the action bar already has WhatsApp */
  body.has-mobile-cta .assistant-btn { bottom: 86px; }
  .footer { padding-bottom: 84px; }
}

/* ==========================================================================
   Futuristic map — themed tiles, glass pins, gold glow for "Inspected by Tryvon", clusters, glass HUD
   (OpenStreetMap tiles restyled with CSS filters only; attribution stays visible)
   ========================================================================== */
.map-fx { background: #dfe9ea; overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.map-fx .leaflet-tile-pane { filter: grayscale(1) sepia(.18) hue-rotate(140deg) saturate(1.5) brightness(1.05) contrast(.9); }
:root[data-theme="dark"] .map-fx { background: #0a1c22; }
:root[data-theme="dark"] .map-fx .leaflet-tile-pane { filter: invert(1) grayscale(.55) hue-rotate(178deg) brightness(.78) contrast(1.15) saturate(1.4); }
/* soft vignette + scan grid over the tiles, under the pins */
.map-fx::after { content: ""; position: absolute; inset: 0; z-index: 401; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5,44,58,.18)),
              linear-gradient(rgba(43,179,191,.05) 1px, transparent 1px) 0 0 / 100% 42px; }
:root[data-theme="dark"] .map-fx::after { background: radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(0,0,0,.45)), linear-gradient(rgba(43,179,191,.06) 1px, transparent 1px) 0 0 / 100% 42px; }
.map-fx .leaflet-control-attribution { background: rgba(255,255,255,.6) !important; backdrop-filter: blur(6px); border-radius: 8px 0 0 0; font-size: 10px; }
:root[data-theme="dark"] .map-fx .leaflet-control-attribution { background: rgba(5,20,25,.6) !important; color: #9fb9b8; }
:root[data-theme="dark"] .map-fx .leaflet-control-attribution a { color: #8fe3da; }

/* pins: glass pill; LED dot for listed, gold shield + halo for inspected */
.map-fx .pin-price { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px 6px 9px; border-radius: 999px; font: 800 12px/1 var(--font-ui);
  color: #F4F1EA; background: linear-gradient(135deg, rgba(14,58,70,.86), rgba(5,44,58,.78)); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 22px -10px rgba(0,0,0,.6); position: relative; }
.map-fx .pin-price::after { background: rgba(8,50,62,.9); border-color: rgba(255,255,255,.2); }
.map-fx .pin-price .pin-led { width: 7px; height: 7px; border-radius: 50%; background: #2bb3bf; box-shadow: 0 0 8px #2bb3bf; }
.map-fx .pin-price .i { width: 13px; height: 13px; }
.map-fx .pin-price.inspected { color: #2E1F04; background: linear-gradient(135deg, #F6DA8E, #D4A03B); border-color: rgba(255,255,255,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 4px rgba(212,160,59,.22), 0 12px 26px -10px rgba(212,160,59,.85); }
.map-fx .pin-price.inspected::after { background: #DDAE4E; border-color: rgba(255,255,255,.4); }
.map-fx .pin-price.inspected::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1.5px solid rgba(232,186,84,.55); animation: pin-halo 2.6s ease-out infinite; pointer-events: none; }
@keyframes pin-halo { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }
.map-fx .pin-price:hover, .map-fx .pin-price.hot { background: linear-gradient(135deg, #1A8A96, #0E5560); color: #fff; border-color: rgba(255,255,255,.5); }
.map-fx .pin-dot { position: relative; display: block; width: 18px; height: 18px; transform: translate(-50%, -50%); border-radius: 50%; background: #2bb3bf; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(43,179,191,.25), 0 0 22px rgba(43,179,191,.8); }
.map-fx .pin-dot i { position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(43,179,191,.6); animation: pin-halo 2.4s ease-out infinite; }
.map-fx .approx-ring { filter: drop-shadow(0 0 6px rgba(43,179,191,.5)); }

/* clusters */
.pin-cluster { display: grid; place-items: center; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; color: #fff; font: 800 14px/1 var(--font-ui);
  background: radial-gradient(circle at 35% 30%, #2bb3bf, #0E5560 70%); border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 0 0 6px rgba(43,179,191,.22), 0 0 0 12px rgba(43,179,191,.08), 0 12px 24px -10px rgba(0,0,0,.6); }
.pin-cluster.has-inspected { box-shadow: 0 0 0 6px rgba(212,160,59,.32), 0 0 0 12px rgba(212,160,59,.1), 0 12px 24px -10px rgba(0,0,0,.6); }
.marker-cluster { background: none !important; } .marker-cluster div { background: none !important; }

/* HUD: count, legend, fit-all */
.map-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: calc(100vw - 80px); padding: 8px 10px 8px 12px; border-radius: 16px; font: 600 12px/1.2 var(--font-ui); color: var(--ink);
  background: var(--lg-light); border: 1px solid var(--lg-line-light); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: var(--lg-shadow); }
.map-hud .hud-count b { font-size: 15px; }
.map-hud .hud-key { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.map-hud .k { width: 10px; height: 10px; border-radius: 50%; background: #2bb3bf; box-shadow: 0 0 6px #2bb3bf; }
.map-hud .k.gold { background: #D4A03B; box-shadow: 0 0 6px #E8BA54; }
.map-hud .hud-fit { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.map-hud .hud-fit .i { width: 15px; height: 15px; }
@media (pointer: coarse) { .map-hud .hud-fit { min-height: 40px; } }

/* glass popup card */
.glass-pop .leaflet-popup-content-wrapper { border-radius: 16px; background: var(--lg-light); border: 1px solid var(--lg-line-light); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: var(--lg-shadow); color: var(--ink); }
.glass-pop .leaflet-popup-tip { background: var(--card); }
.glass-pop .leaflet-popup-content { margin: 12px 14px; }
.map-pop { display: grid; gap: 6px; min-width: 180px; font-family: var(--font-ui); }
.map-pop strong { font-size: 13.5px; line-height: 1.35; }
.mp-badge { justify-self: start; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.mp-badge.gold { background: linear-gradient(135deg, #F6DA8E, #D4A03B); color: #2E1F04; }
.mp-link { font-weight: 800; font-size: 13px; color: var(--brand) !important; text-decoration: none; }
.map-fx .leaflet-control-zoom { border-radius: 14px !important; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .map-fx .pin-price.inspected::before, .map-fx .pin-dot i { animation: none; } }

/* ---------- phones: the whole search form is visible on the first screen ---------- */
@media (max-width: 759px) {
  .hero { padding-top: 140px; padding-bottom: 40px; }
  .hero .eyebrow { margin-bottom: .45rem; }
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); margin-bottom: .6rem; }
  body.lang-ta .hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .hero .lead { font-size: .95rem; line-height: 1.5; }
  /* search first, "recently inspected" card after it */
  .hero-grid > .hero-copy { order: 0; }
  .hero-grid > .searchbar { order: 1; margin-top: 18px; }
  .hero-grid > .hero-visual { order: 2; }
  .hero-grid > .trustline { order: 3; }
  .hero-grid > .stats { order: 4; }
  /* two fields per row: area + type, buy/rent + max price, then the search button */
  .hero .searchbar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
  .hero .searchbar select, .hero .searchbar input { min-height: 46px; padding-left: 12px; padding-right: 28px; font-size: .95rem; min-width: 0; }
  .hero .searchbar .btn { grid-column: 1 / -1; }
}
@media (max-width: 759px) { .page-hero { padding-top: 132px; } }

/* ---------- solid fallbacks ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-light, .topbar-inner, .filters, .mobile-cta, .assistant, .palette-box, .flash { background: var(--card) !important; }
  .glass-dark, .card .type-chip, .favbtn, .gallery .all-photos { background: rgba(5,44,58,.92) !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-light, .topbar-inner, .filters, .mobile-cta, .assistant, .palette-box, .flash { background: var(--card) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-dark, .card .type-chip, .favbtn, .gallery .all-photos, .wa-float, .assistant-btn { background: #0B3B47 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
html.lite .glass-light, html.lite .topbar-inner, html.lite .filters, html.lite .mobile-cta, html.lite .assistant, html.lite .palette-box,
html.lite .glass-dark, html.lite .card .type-chip, html.lite .favbtn, html.lite .gallery .all-photos { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .glass-dark, html.lite .card .type-chip, html.lite .favbtn, html.lite .gallery .all-photos { background: rgba(5,44,58,.9) !important; }
html.lite .glass-light, html.lite .topbar-inner, html.lite .filters, html.lite .mobile-cta { background: var(--card) !important; }

/* ---------- home hero: light split layout - dark text on the left, house photo on the right with a soft fade ---------- */
.hero.hero-split { background: var(--bg); color: var(--ink); isolation: isolate; padding-bottom: 64px; }
.hero-split .hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: -1; pointer-events: none;
  /* soft fade from the page colour into the photo instead of a hard cut */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 42%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 42%); }
.hero-split .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-split h1 { color: var(--ink); max-width: 12ch; }
.hero-split .text-gradient, .hero-split .text-gradient .hero-word { background: none; color: var(--brand); -webkit-text-fill-color: currentColor; }
.hero-split .lead { color: var(--muted); max-width: 42ch; }
.hero-split .searchbar { max-width: 900px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px -28px rgba(5,44,58,.35); }
.hero-split .searchbar select, .hero-split .searchbar input { background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.hero-split .searchbar input::placeholder { color: var(--muted); }
.hero-split .trustline { color: var(--muted); max-width: 640px; }
.hero-split .trustline .i { color: var(--gold); }
.hero-split .stats { background: var(--card) !important; border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(5,44,58,.35); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-split .stats dt { color: var(--brand); }
.hero-split .stats dd { color: var(--muted); }
@media (min-width: 1001px) {
  .hero-split .hero-visual { align-self: end; padding-top: 0; }
  .hero-split .verified-card { margin: 0 0 0 auto; }
}
@media (min-width: 760px) and (max-width: 1000px) {
  .hero-split .hero-bg { width: 45%; }
}
@media (max-width: 759px) {
  /* phone: text and search first; the house shows as a slanted band at the bottom of the hero */
  /* phone: the house on top (behind the menu bar), fading softly into the page; text and search below it */
  .hero.hero-split { padding-top: 262px; padding-bottom: 40px; }
  .hero-split .hero-bg { bottom: auto; height: 320px; width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero-split .hero-bg img { object-position: 50% 60%; }
  .hero-split h1 { max-width: none; }
}
