/* ============================================================
   YourPlaceGH  main.css  v2.2
   Modern property platform. Bricolage Grotesque / Inter / DM Mono.
   Brand orange accent, verified-green trust, warm neutral system.
   ============================================================ */

:root {
	/* Neutrals (warm) */
	--ink:       #17140F;
	--ink-2:     #4a453d;
	--paper:     #ffffff;
	--surface:   #f7f5f2;
	--surface-2: #efebe5;
	--line:      #e6e2db;
	--line-2:    #d8d3c9;
	--muted:     #8b8578;

	/* Brand + trust */
	--brand:     #f15a2b;
	--brand-dk:  #d2481e;
	--brand-tint:#fdeee7;
	--trust:     #147a52;
	--trust-bg:  #e7f3ed;
	--warn:      #b4531a;
	--warn-bg:   #fdf1e9;

	/* Type */
	--display: "Bricolage Grotesque", "Inter", sans-serif;
	--body:    "Inter", system-ui, -apple-system, sans-serif;
	--mono:    "DM Mono", ui-monospace, "SFMono-Regular", monospace;

	/* Shape + depth */
	--r-xl: 24px;
	--r-lg: 18px;
	--r-md: 12px;
	--r-sm: 9px;
	--wrap: 1240px;

	--sh-1: 0 1px 2px rgba(23,20,15,.04), 0 2px 8px rgba(23,20,15,.05);
	--sh-2: 0 4px 12px rgba(23,20,15,.06), 0 12px 32px rgba(23,20,15,.08);
	--sh-3: 0 8px 24px rgba(23,20,15,.10), 0 24px 60px rgba(23,20,15,.14);
	--sh-brand: 0 6px 20px rgba(241,90,43,.28);

	--ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.6;
	font-size: 15.5px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	font-family: var(--display);
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--ink);
	font-weight: 700;
	margin: 0;
}

a { color: var(--brand); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--brand-dk); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 999; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em;
	font-size: 12px; font-weight: 500; color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1;
	padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
	cursor: pointer; transition: transform .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
	white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(241,90,43,.34); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn-block { width: 100%; margin-top: 10px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.72);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.9); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--ink); }
.brand-gh { color: var(--brand); }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink-2); font-weight: 500; font-size: 15px; position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brand); transition: width .2s var(--ease); }
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 120px; overflow: hidden; background: var(--surface); }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(60% 80% at 85% 15%, rgba(241,90,43,.10), transparent 60%),
		radial-gradient(50% 60% at 10% 90%, rgba(20,122,82,.08), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 20px; }
.hero-title {
	font-size: clamp(2.3rem, 5vw, 3.9rem);
	font-weight: 800; letter-spacing: -0.035em; line-height: .98;
	max-width: 15ch; margin: 0 0 22px;
}
.hero-title em { font-style: normal; color: var(--brand); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 52ch; margin: 0 0 40px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-trust-item { display: flex; align-items: baseline; gap: 10px; }
.hero-trust-num { font-family: var(--mono); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.hero-trust-label { font-size: 14px; color: var(--muted); max-width: 16ch; line-height: 1.3; }

/* ---------- Filter bar ---------- */
.filter-bar {
	background: var(--paper); border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: 14px;
	display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 6px; align-items: stretch;
	box-shadow: var(--sh-3);
}
.filter-field { display: flex; flex-direction: column; gap: 4px; padding: 8px 14px; border-radius: var(--r-md); transition: background .15s var(--ease); position: relative; }
.filter-field + .filter-field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.filter-field:hover { background: var(--surface); }
.filter-field label { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.filter-field select, .filter-field input {
	font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--ink);
	border: 0; background: transparent; padding: 2px 0; width: 100%; outline: none; appearance: none;
	cursor: pointer;
}
.filter-field input { cursor: text; }
.filter-bar .filter-check { display: none; }
.filter-bar .btn-primary { align-self: center; margin: 4px; padding: 15px 26px; }

/* Filter bar variant on archive head (light bg) */
.archive-head .filter-bar { box-shadow: var(--sh-2); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); }
.link-more { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: "\2192"; transition: transform .2s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }
.empty { color: var(--muted); padding: 60px 0; text-align: center; font-size: 15px; }

/* ---------- Listing grid + cards ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }

.listing-card {
	position: relative; background: var(--paper);
	border-radius: var(--r-lg); overflow: hidden;
	border: 1px solid var(--line);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.listing-card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,20,15,.18) 0%, transparent 26%, transparent 68%, rgba(23,20,15,.22) 100%); pointer-events: none; }
.card-media-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; z-index: 1; }
.card-status {
	position: absolute; top: 14px; left: 14px; z-index: 2;
	background: rgba(255,255,255,.92); backdrop-filter: blur(4px); color: var(--ink);
	font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px; letter-spacing: .01em;
}
.card-verified {
	position: absolute; bottom: 14px; left: 14px; z-index: 2;
	display: inline-flex; align-items: center; gap: 5px;
	background: var(--trust); color: #fff; font-size: 12px; font-weight: 600;
	padding: 6px 12px; border-radius: 999px;
}
.card-verified::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23147a52' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat; }

.fav-btn {
	position: absolute; top: 12px; right: 12px; z-index: 3;
	width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--sh-1); transition: transform .16s var(--ease), background .16s var(--ease);
}
.fav-btn:hover { transform: scale(1.1); background: #fff; }
.fav-btn svg { fill: none; stroke: var(--ink); stroke-width: 2; transition: fill .16s var(--ease), stroke .16s var(--ease); }
.fav-btn.is-fav { animation: pop .3s var(--ease); }
.fav-btn.is-fav svg { fill: var(--brand); stroke: var(--brand); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }

.card-body { padding: 18px 18px 20px; }
.card-price { font-family: var(--mono); font-weight: 500; font-size: 1.18rem; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.01em; }
.card-title { font-family: var(--body); font-weight: 600; font-size: 1.06rem; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 4px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand); }
.card-address { color: var(--muted); font-size: 14px; margin: 0 0 14px; display: flex; align-items: center; gap: 6px; }
.card-address::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat; }

.listing-stats { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.listing-stats .stat { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.listing-stats .stat strong { color: var(--ink); font-weight: 600; }
.listing-stats .stat svg { width: 17px; height: 17px; stroke: var(--muted); fill: none; stroke-width: 1.8; flex: none; }

/* ---------- Location grid ---------- */
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.location-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--ink); }
.location-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .3s var(--ease), transform .5s var(--ease); }
.location-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(23,20,15,.75) 100%); }
.location-card:hover img { opacity: .62; transform: scale(1.05); }
.location-card:hover { text-decoration: none; }
.location-name { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.location-name::after { content: "Explore area"; display: block; font-family: var(--body); font-weight: 500; font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: 0; margin-top: 2px; }

/* ---------- Trust band ---------- */
.trust-band { background: var(--ink); color: #fff; }
.trust-band .eyebrow { color: var(--brand); }
.trust-band-inner { text-align: center; }
.trust-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 14px auto 48px; max-width: 20ch; }
.trust-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; }
.trust-cols > div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r-lg); padding: 30px 26px; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.trust-cols > div:hover { transform: translateY(-4px); border-color: rgba(241,90,43,.5); }
.trust-cols h3 { color: #fff; font-size: 1.24rem; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.trust-cols h3::before { content: ""; width: 34px; height: 34px; border-radius: 10px; background: rgba(241,90,43,.16); border: 1px solid rgba(241,90,43,.4); flex: none; }
.trust-cols p { color: rgba(255,255,255,.66); margin: 0; font-size: 15px; }

/* ---------- Archive ---------- */
.archive-head { background: var(--surface); padding: 52px 0 34px; border-bottom: 1px solid var(--line); }
.archive-head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 24px; }
.archive-intro { color: var(--ink-2); max-width: 62ch; margin: 0 0 10px; font-size: 1.02rem; }
.archive-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; }
.result-count { color: var(--muted); font-weight: 500; margin: 0; font-family: var(--mono); font-size: 14px; }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-size: 13px; color: var(--muted); }
.sort select { padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; font-family: var(--body); font-weight: 500; background: var(--paper); cursor: pointer; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination .current { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-family: var(--mono); font-size: 14px; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination a { color: var(--ink); }
.pagination a:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- Single listing ---------- */
.single-listing, .single-location { padding: 30px 0 100px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; font-family: var(--mono); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

.listing-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; margin-bottom: 26px; }
.listing-head h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 8px; }
.listing-address { color: var(--muted); margin: 0; display: flex; align-items: center; gap: 7px; }
.listing-price { font-family: var(--mono); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--brand); white-space: nowrap; margin: 0; }

.listing-gallery { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 14px; box-shadow: var(--sh-2); }
.listing-gallery img { width: 100%; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 0 0 40px; }
.gallery-thumb { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; display: block; box-shadow: var(--sh-1); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery-thumb:hover img { transform: scale(1.07); }

.listing-layout, .location-layout { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 48px; align-items: start; }
.listing-main .listing-stats { margin-bottom: 30px; gap: 26px; }
.listing-body { font-size: 1.0rem; color: var(--ink-2); line-height: 1.75; }
.listing-body h2 { font-size: 1.55rem; margin: 34px 0 14px; color: var(--ink); }
.listing-body h3 { font-size: 1.24rem; margin: 26px 0 10px; color: var(--ink); }
.listing-body p { margin: 0 0 18px; }

.listing-amenities { margin: 34px 0; }
.listing-amenities h2 { font-size: 1.5rem; margin: 0 0 16px; }
.amenity-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.amenity-list li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.amenity-list li::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--trust); border-radius: 50%; -webkit-mask: none; box-shadow: inset 0 0 0 20px var(--trust); }
.amenity-list li::before { background: var(--trust) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat; }

.advisory { border-radius: var(--r-lg); padding: 20px 22px; margin: 32px 0; border: 1px solid; display: flex; gap: 14px; }
.advisory::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 1px; }
.advisory strong { display: block; margin-bottom: 3px; font-family: var(--display); font-size: 1.02rem; }
.advisory p { margin: 0; font-size: 14px; }
.advisory-warn { background: var(--warn-bg); border-color: rgba(180,83,26,.3); color: #6b3410; }
.advisory-warn::before { background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") center/contain no-repeat; }
.advisory-ok { background: var(--trust-bg); border-color: rgba(20,122,82,.28); color: #124f34; }
.advisory-ok::before { background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat; }

.listing-map { height: 360px; border-radius: var(--r-lg); margin-top: 32px; overflow: hidden; border: 1px solid var(--line); }

/* Sticky sidebar */
.listing-side { position: sticky; top: 96px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 20px; box-shadow: var(--sh-1); }
.side-card h2 { font-size: 1.16rem; margin: 0 0 16px; }
.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-list li { padding: 10px 0 10px 28px; position: relative; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--line); }
.trust-list li:last-child { border-bottom: 0; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 17px; height: 17px; border-radius: 50%; background: var(--trust) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }
.trust-empty { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }
.agent-name { font-weight: 600; margin: 0 0 12px; font-size: 15px; }

.enquiry-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.enquiry-divider::before, .enquiry-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.enquiry-form input, .enquiry-form textarea {
	width: 100%; font-family: var(--body); font-size: 15px; padding: 12px 14px; margin-bottom: 10px;
	border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink);
	transition: border-color .15s var(--ease), background .15s var(--ease);
}
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--brand); background: var(--paper); outline: none; }
.enquiry-form textarea { resize: vertical; min-height: 84px; }
.enquiry-status { margin: 10px 0 0; font-size: 14px; }
.enquiry-status.is-ok { color: var(--trust); }
.enquiry-status.is-err { color: var(--warn); }

.related-wrap { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.related-head { font-size: 1.5rem; margin: 0 0 28px; }

/* ---------- Location intelligence rings ---------- */
.location-hero { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 34px; box-shadow: var(--sh-2); }
.intel-card h2 { margin-bottom: 4px; }
.intel-note { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.intel-rings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
.intel-ring { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.intel-ring svg { width: 78px; height: 78px; transform: rotate(-90deg); }
.intel-ring .ring-track { stroke: var(--surface-2); }
.intel-ring .ring-fill { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.intel-ring.is-risk .ring-fill { stroke: var(--warn); }
.intel-ring .ring-num { font-family: var(--mono); font-size: 15px; font-weight: 500; fill: var(--ink); transform: rotate(90deg); transform-origin: center; }
.intel-ring .ring-label { font-size: 12.5px; color: var(--ink-2); font-weight: 500; line-height: 1.25; }
.intel-rent { font-family: var(--mono); font-size: 14px; color: var(--ink); margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.intel-rent strong { color: var(--brand); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
	border-top: 1px solid var(--line); padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
	align-items: center; justify-content: space-between; gap: 14px; box-shadow: 0 -8px 24px rgba(23,20,15,.1);
}
.mobile-price { font-family: var(--mono); font-weight: 500; color: var(--brand); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 72px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { font-size: 26px; }
.footer-brand .brand-mark { color: #fff; }
.footer-tag { margin: 16px 0 0; max-width: 38ch; line-height: 1.6; }
.footer-col h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); font-weight: 500; margin: 0 0 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 11px; }
.footer-list a, .footer-contact a { color: rgba(255,255,255,.62); font-size: 15px; }
.footer-list a:hover, .footer-contact a:hover { color: var(--brand); }
.footer-contact address { font-style: normal; line-height: 2; font-size: 15px; }
.footer-base { padding-top: 22px; }
.footer-base p { margin: 0; font-size: 13px; font-family: var(--mono); color: var(--muted); }

/* ---------- Generic ---------- */
.post-list { display: grid; gap: 30px; }
.post-item h2 a { color: var(--ink); }
.page-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 26px; }

.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--body); font-size: 15px; }

/* ---------- Archive map + toggle ---------- */
#archive-map-wrap { margin-bottom: 30px; }
#archive-map { height: 560px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.map-empty { padding: 60px; text-align: center; color: var(--muted); }
[hidden] { display: none !important; }

.leaflet-popup-content-wrapper { border-radius: var(--r-md) !important; }
.leaflet-popup-content { font-family: var(--body) !important; margin: 12px 16px !important; }
.leaflet-popup-content strong { font-family: var(--mono); color: var(--brand); }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
	.listing-layout, .location-layout { grid-template-columns: 1fr; gap: 36px; }
	.listing-side, .location-side { position: static; order: -1; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.filter-bar { grid-template-columns: 1fr 1fr; gap: 4px; }
	.filter-field + .filter-field::before { display: none; }
	.filter-bar .btn-primary { grid-column: 1 / -1; }
	.trust-cols { grid-template-columns: 1fr; }
	.section { padding: 60px 0; }
	.hero { padding: 60px 0 80px; }
}
@media (max-width: 680px) {
	.wrap { padding: 0 20px; }
	.primary-nav, .header-inner > .btn-ghost { display: none; }
	.nav-toggle { display: flex; }
	.listing-head { flex-direction: column; gap: 12px; }
	.mobile-cta { display: flex; }
	.single-listing { padding-bottom: 90px; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.intel-rings { grid-template-columns: repeat(2, 1fr); }
	.archive-toolbar { flex-direction: column; align-items: stretch; }
	.toolbar-right { justify-content: space-between; }
	#archive-map { height: 400px; }
}

.primary-nav.is-open {
	display: block; position: absolute; top: 74px; left: 0; right: 0;
	background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 24px 24px;
	box-shadow: var(--sh-2);
}
.primary-nav.is-open .nav-list { flex-direction: column; gap: 4px; }
.primary-nav.is-open .nav-list a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.primary-nav.is-open .nav-list a::after { display: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Page hero (generic pages, contact) + contact layout
   ============================================================ */
.page-hero { background: var(--surface); padding: 64px 0 44px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 88% 10%, rgba(241,90,43,.08), transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.page-hero-sub { color: var(--ink-2); font-size: 1.05rem; max-width: 56ch; margin: 16px 0 0; }
.page-hero-sub p { margin: 0 0 10px; }

.page-content h2 { font-size: 1.5rem; margin: 32px 0 12px; color: var(--ink); }
.page-content h3 { font-size: 1.2rem; margin: 24px 0 10px; color: var(--ink); }
.page-content ul, .page-content ol { padding-left: 1.2em; }
.page-content li { margin-bottom: 8px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 48px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.contact-card h3 { font-size: 1.06rem; margin: 14px 0 6px; }
.contact-card address { font-style: normal; color: var(--ink-2); line-height: 1.6; font-size: 15px; }
.contact-card a { font-weight: 600; font-size: 15px; word-break: break-word; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.contact-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; background: var(--brand-tint); border: 1px solid rgba(241,90,43,.22); }
.contact-ic::before { content: ""; margin: auto; width: 20px; height: 20px; background: var(--brand); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.contact-ic[data-ic="pin"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.contact-ic[data-ic="phone"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.13.96.36 1.9.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.13.96.36 1.9.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E"); }
.contact-ic[data-ic="mail"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/svg%3E"); }
.contact-ic[data-ic="clock"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.contact-map { height: 320px; margin-top: 0; }
.contact-form-card { position: sticky; top: 96px; padding: 28px; }
.contact-form-card h2 { font-size: 1.3rem; margin: 0 0 4px; }
.contact-form-note { color: var(--muted); font-size: 14px; margin: 0 0 18px; }

@media (max-width: 1020px) {
	.contact-layout { grid-template-columns: 1fr; gap: 32px; }
	.contact-form-card { position: static; order: -1; }
}
@media (max-width: 560px) {
	.contact-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   Services page: grid, process, CTA band
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.service-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; background: var(--brand-tint); border: 1px solid rgba(241,90,43,.2); color: var(--brand); margin-bottom: 18px; }
.service-ic svg { width: 26px; height: 26px; margin: auto; }
.service-card h3 { font-size: 1.16rem; margin: 0 0 8px; letter-spacing: -0.02em; }
.service-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }

.process-head { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin: 12px 0 40px; max-width: 20ch; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.process-step:hover { border-top-color: var(--brand); }
.process-num { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--brand); display: block; margin-bottom: 12px; }
.process-step h3 { font-size: 1.1rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.process-step p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

.cta-band { background: var(--ink); border-radius: var(--r-xl); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 90% 0%, rgba(241,90,43,.22), transparent 60%); }
.cta-band > div { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 8px; max-width: 24ch; }
.cta-band p { color: rgba(255,255,255,.66); margin: 0; max-width: 44ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
	width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 24px 4px; font-family: var(--display); font-weight: 600; font-size: 1.1rem;
	color: var(--ink); letter-spacing: -0.01em; line-height: 1.35; transition: color .15s var(--ease);
}
.faq-q:hover { color: var(--brand); }
.faq-chevron { flex: none; width: 22px; height: 22px; position: relative; }
.faq-chevron::before, .faq-chevron::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--brand); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .25s var(--ease); }
.faq-chevron::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.is-open .faq-chevron::after { transform: translate(-50%,-50%) rotate(0deg); opacity: 0; }
.faq-a { padding: 0 4px 24px; max-width: 62ch; }
.faq-a p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.7; }

.faq-cta { text-align: center; margin-top: 48px; padding: 36px; background: var(--surface); border-radius: var(--r-lg); }
.faq-cta p { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 0 0 16px; }

@media (max-width: 900px) {
	.process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.cta-band { padding: 36px; }
}
@media (max-width: 560px) {
	.process-grid { grid-template-columns: 1fr; }
	.cta-band { flex-direction: column; align-items: flex-start; }
	.faq-q { font-size: 1rem; }
}

/* ============================================================
   About, Locations, Insights
   ============================================================ */
.about-story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.about-story-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); letter-spacing: -0.02em; margin-top: 12px; }
.about-story-body p { font-size: 1.05rem; color: var(--ink-2); line-height: 1.75; margin: 0 0 18px; }
.about-story-body p:first-child { color: var(--ink); font-size: 1.14rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; }
.value-card h3 { font-size: 1.2rem; margin: 18px 0 8px; letter-spacing: -0.02em; }
.value-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.about-fact { text-align: center; }
.about-fact-num { display: block; font-family: var(--mono); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 500; color: var(--brand); line-height: 1; margin-bottom: 14px; }
.about-fact-label { color: rgba(255,255,255,.66); font-size: 15px; max-width: 22ch; margin: 0 auto; display: block; line-height: 1.4; }

.area-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; transition: border-color .18s var(--ease), transform .18s var(--ease); }
.area-chip:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; }
.area-chip-name { font-weight: 600; color: var(--ink); font-size: 15px; }
.area-chip-count { font-family: var(--mono); font-size: 12px; color: #fff; background: var(--brand); border-radius: 999px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.insight-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.insight-media { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; position: relative; }
.insight-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insight-card:hover .insight-media img { transform: scale(1.05); }
.insight-media-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 1.1rem; opacity: .4; }
.insight-body { padding: 20px; }
.insight-cat { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 500; color: var(--brand); }
.insight-title { font-family: var(--display); font-weight: 700; font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.02em; margin: 8px 0 10px; }
.insight-title a { color: var(--ink); }
.insight-title a:hover { color: var(--brand); }
.insight-excerpt { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.insight-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.insight-meta time { color: var(--muted); font-family: var(--mono); }
.insight-read { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 5px; }
.insight-read::after { content: "\2192"; transition: transform .2s var(--ease); }
.insight-card:hover .insight-read::after { transform: translateX(3px); }

@media (max-width: 900px) {
	.about-story { grid-template-columns: 1fr; gap: 24px; }
	.values-grid { grid-template-columns: 1fr; }
	.about-facts { grid-template-columns: 1fr; gap: 30px; }
}
