/* ==========================================================================
   estates.com.cy - the redesign.

   This stylesheet is the only one a redesigned page loads. It does not build
   on Houzez's or Elementor's CSS and uses none of their class names, so an
   update to either cannot move anything here.

   NAMING. WordPress puts classes on <body> ("home", "page", "search", "blog",
   "single", "archive"...). A component named like one of those is styled as
   if it were the whole page - that bug cost a day on the sister site. Nothing
   below uses those names: the search is `.finder`, a listing is `.prop`.
   ========================================================================== */

:root {
	--ink: #061b33;
	--navy: #0b2f57;
	--brand: #0e4d92;
	--brand-l: #2f7fd6;
	--sky: #6cc4ff;
	--accent: #ff6e00;
	--accent-d: #e05c00;
	--gold: #ffb454;

	--bg: #f4f6fa;
	--surface: #ffffff;
	--soft: #eef3f9;
	--line: #e1e8f1;
	--text: #10233b;
	--muted: #5b6b80;
	--faint: #8b9ab0;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 26px;

	--sh-1: 0 1px 2px rgba(6, 27, 51, 0.05), 0 2px 10px rgba(6, 27, 51, 0.05);
	--sh-2: 0 6px 16px rgba(6, 27, 51, 0.08), 0 22px 48px rgba(6, 27, 51, 0.12);
	--sh-3: 0 18px 40px rgba(2, 10, 24, 0.32), 0 40px 90px rgba(2, 10, 24, 0.36);

	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--header-h: 76px;
	--display: "Fraunces", Georgia, "Times New Roman", serif;
	--body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, p, ul, dl, dd, figure {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

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

img.emoji {
	display: inline !important;
	width: 1em !important;
	height: 1em !important;
	margin: 0 0.07em !important;
	vertical-align: -0.1em !important;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select {
	font: inherit;
	color: inherit;
}

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

.wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 300;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink);
	font-weight: 700;
}

.skip-link:focus {
	left: 12px;
}

.staging-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 8px 16px;
	background: #1a1205;
	color: #ffd9a8;
	font-size: 0.82rem;
	font-weight: 600;
	text-align: center;
}

.staging-badge {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------- reveal */

.js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 26px, 0);
}

.js [data-reveal].in {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
	transition-delay: calc(var(--i, 0) * 70ms);
}

.reveal-all [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

/* --------------------------------------------------------------- buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-lg {
	padding: 15px 26px;
	font-size: 1rem;
}

.btn-accent {
	background: linear-gradient(135deg, #ff8a2b 0%, var(--accent) 60%, var(--accent-d) 100%);
	color: #fff;
	box-shadow: 0 8px 22px rgba(255, 110, 0, 0.32);
}

.btn-accent:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(255, 110, 0, 0.42);
}

.btn-ghost {
	color: var(--ink);
}

.btn-ghost:hover {
	background: var(--soft);
}

.btn-outline {
	border-color: #cfd9e6;
	background: var(--surface);
	color: var(--ink);
}

.btn-outline:hover {
	border-color: var(--brand);
	color: var(--brand);
	transform: translateY(-1px);
}

.btn-light {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 8px 22px rgba(2, 10, 24, 0.3);
}

.btn-light:hover {
	transform: translateY(-2px);
}

.pill {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--soft);
	color: var(--brand);
	font-size: 0.76rem;
	font-weight: 800;
}

/* ---------------------------------------------------------------- header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(160%) blur(16px);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.3s, border-color 0.3s;
}

.site-header.scrolled {
	border-color: var(--line);
	box-shadow: 0 8px 28px rgba(6, 27, 51, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 22px;
	max-width: 1320px;
	height: var(--header-h);
	margin: 0 auto;
	padding: 0 24px;
}

.brand img {
	width: auto;
	height: 50px;
}

.brand-text {
	font-family: var(--display);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--brand);
}

.main-nav {
	flex: 1;
}

.main-nav > ul {
	display: flex;
	align-items: center;
	gap: 2px;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover,
.has-menu.open > .nav-link {
	background: var(--soft);
	color: var(--brand);
}

.nav-link .fa-chevron-down {
	font-size: 0.62rem;
	transition: transform 0.25s var(--ease);
}

.has-menu {
	position: relative;
}

.has-menu:hover > .nav-link .fa-chevron-down,
.has-menu.open > .nav-link .fa-chevron-down {
	transform: rotate(180deg);
}

.nav-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 270px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
	box-shadow: var(--sh-2);
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 8px, 0);
	transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}

.has-menu:hover > .nav-menu,
.has-menu:focus-within > .nav-menu,
.has-menu.open > .nav-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav-menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 0.93rem;
	font-weight: 600;
}

.nav-menu a:hover {
	background: var(--soft);
	color: var(--brand);
}

.nav-menu i {
	width: 18px;
	color: var(--brand-l);
	text-align: center;
}

.nav-count {
	margin-left: auto;
	color: var(--faint);
	font-size: 0.8rem;
	font-weight: 700;
}

.nav-menu-all {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--line);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
}

/* ---------------------------------------------------------------- drawer */

.drawer-scrim {
	position: fixed;
	inset: 0;
	z-index: 119;
	background: rgba(3, 12, 26, 0.55);
	opacity: 0;
	transition: opacity 0.3s;
}

.drawer-scrim.open {
	opacity: 1;
}

.drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 120;
	display: flex;
	flex-direction: column;
	width: min(88vw, 360px);
	background: var(--surface);
	box-shadow: var(--sh-3);
	transform: translate3d(104%, 0, 0);
	visibility: hidden;
	transition: transform 0.35s var(--ease), visibility 0.35s;
}

.drawer.open {
	transform: none;
	visibility: visible;
}

/* While the menu is open the floating buttons are put away: they sit above
   everything by design and would cover the menu's own buttons. */
.drawer-open #esg-chat,
.drawer-open [id^="esg-chat"],
.drawer-open .cmplz-manage-consent {
	display: none !important;
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
}

.drawer-head img {
	width: auto;
	height: 42px;
}

.drawer-close {
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 12px;
	background: var(--soft);
	font-size: 1.05rem;
	cursor: pointer;
}

.drawer-nav {
	flex: 1;
	overflow-y: auto;
	padding: 10px 14px 18px;
}

.drawer-label {
	margin: 16px 8px 6px;
	color: var(--faint);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.drawer-nav a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 10px;
	border-radius: 12px;
	font-weight: 600;
}

.drawer-nav a:hover {
	background: var(--soft);
}

.drawer-nav i {
	width: 20px;
	color: var(--brand-l);
	text-align: center;
}

.drawer-foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------------ hero

   The background is a photograph of whichever listing is at the front of the
   deck; when the deck deals, the photograph changes with it. Everything else
   in the hero sits on a navy shade heavy enough to read white text on any
   photograph an owner might upload.                                        */

.hero {
	position: relative;
	color: #fff;
	background: var(--ink);
	overflow: hidden;
	isolation: isolate;
}

.hero-photos,
.hero-shade {
	position: absolute;
	inset: 0;
}

.hero-photos {
	z-index: -2;
	transform: translate3d(0, calc(var(--hp, 0) * 90px), 0);
}

.hero-photo {
	position: absolute;
	inset: -4%;
	background-position: center;
	background-size: cover;
	opacity: 0;
	transition: opacity 1.4s ease;
	will-change: opacity, transform;
}

.hero-photo.is-on {
	opacity: 1;
	animation: kenburns 9s ease-out forwards;
}

@keyframes kenburns {
	from { transform: scale(1.14) translate3d(1.5%, 1%, 0); }
	to { transform: scale(1.02) translate3d(0, 0, 0); }
}

.hero-shade {
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(3, 15, 31, 0.96) 0%, rgba(6, 27, 51, 0.88) 38%, rgba(8, 40, 76, 0.62) 68%, rgba(8, 40, 76, 0.44) 100%),
		linear-gradient(180deg, rgba(3, 15, 31, 0.5) 0%, transparent 30%, rgba(3, 15, 31, 0.72) 100%);
}

.hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 12%, transparent 72%);
	mask-image: radial-gradient(ellipse at 30% 40%, #000 12%, transparent 72%);
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
	gap: clamp(22px, 2.6vw, 38px) clamp(24px, 4vw, 70px);
	align-items: center;
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(26px, 2.8vw, 44px) 24px clamp(84px, 9vw, 136px);
}

.hero-copy {
	min-width: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px 7px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #d6e4f6;
	font-size: 0.82rem;
	font-weight: 600;
}

.pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
}

.pulse::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid #4ade80;
	animation: ping 2s ease-out infinite;
}

@keyframes ping {
	from { opacity: 0.8; transform: scale(0.5); }
	to { opacity: 0; transform: scale(1.5); }
}

.hero-title {
	margin-top: 18px;
	font-family: var(--display);
	font-size: clamp(2.5rem, 5.4vw, 4.7rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.025em;
}

/* Each line of the headline rises out of its own slot. */
.hero-title .line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.08em;
}

.hero-title .line > span {
	display: block;
}

.js .hero-title .line > span {
	transform: translate3d(0, 108%, 0);
}

.js .hero.is-ready .hero-title .line > span {
	transform: none;
	transition: transform 1s var(--ease);
}

.js .hero.is-ready .hero-title .line:nth-child(2) > span {
	transition-delay: 0.12s;
}

.js .eyebrow,
.js .hero-sub,
.js .hero-stats,
.js .hero-finder,
.js .deck {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
}

.js .hero.is-ready .eyebrow,
.js .hero.is-ready .hero-sub,
.js .hero.is-ready .hero-stats,
.js .hero.is-ready .hero-finder,
.js .hero.is-ready .deck {
	opacity: 1;
	transform: none;
	transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}

.js .hero.is-ready .hero-sub { transition-delay: 0.3s; }
.js .hero.is-ready .hero-stats { transition-delay: 0.42s; }
.js .hero.is-ready .deck { transition-delay: 0.25s; }
.js .hero.is-ready .hero-finder { transition-delay: 0.55s; }

.reveal-all .eyebrow,
.reveal-all .hero-sub,
.reveal-all .hero-stats,
.reveal-all .hero-finder,
.reveal-all .deck,
.reveal-all .hero-title .line > span {
	opacity: 1 !important;
	transform: none !important;
}

.hero-title em {
	font-style: italic;
	background: linear-gradient(100deg, var(--gold) 0%, #ff8a2b 55%, var(--accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 0.08em;
}

.hero-sub {
	max-width: 54ch;
	margin-top: 18px;
	color: #c3d3e8;
	font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 44px;
	margin-top: 26px;
}

.hero-stats > div {
	display: flex;
	flex-direction: column-reverse;
}

.hero-stats dt {
	color: #9db3cf;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hero-stats dd {
	font-family: var(--display);
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	font-weight: 600;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.hero-wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	width: 100%;
	height: clamp(40px, 6vw, 90px);
	fill: var(--bg);
}

/* ------------------------------------------------------------------ deck

   Six real listings stacked in depth. `data-k` is a card's place in the
   queue - 0 is the front - and is all the script ever changes; where each
   place sits in space is decided here.                                     */

.deck {
	position: relative;
	min-width: 0;
	outline: 0;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
}

.deck-stage {
	position: relative;
	height: clamp(360px, 31.5vw, 446px);
	perspective: 1700px;
	perspective-origin: 50% 50%;
	transform-style: preserve-3d;
}

.deck-card {
	position: absolute;
	top: 0;
	left: 0;
	width: min(100%, 384px);
	transform-origin: 50% 60%;
	transition: transform 0.85s var(--ease), opacity 0.6s ease, filter 0.6s ease;
	will-change: transform, opacity;
	/* Waiting far back in the queue: out of sight, ready to come forward. */
	transform: translate3d(96%, 0, -480px) rotateY(-26deg) scale(0.72);
	opacity: 0;
	pointer-events: none;
}

.deck-card a {
	display: block;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 26px;
	background: #fff;
	color: var(--text);
	box-shadow: var(--sh-3);
}

.deck-card[data-k="0"] {
	z-index: 5;
	transform: translate3d(calc(var(--drag, 0px) + 0%), 0, 0) rotateY(calc(var(--lean, 0deg))) scale(1);
	opacity: 1;
	pointer-events: auto;
}

.deck-card[data-k="1"] {
	z-index: 4;
	transform: translate3d(31%, 0, -120px) rotateY(-11deg) scale(0.93);
	opacity: 1;
	filter: brightness(0.88);
}

.deck-card[data-k="2"] {
	z-index: 3;
	transform: translate3d(58%, 0, -240px) rotateY(-17deg) scale(0.86);
	opacity: 0.95;
	filter: brightness(0.72);
}

.deck-card[data-k="3"] {
	z-index: 2;
	transform: translate3d(80%, 0, -360px) rotateY(-22deg) scale(0.79);
	opacity: 0.6;
	filter: brightness(0.56);
}

/* The one that has just been dealt away flies off to the left. */
.deck-card[data-k="-1"] {
	z-index: 6;
	transform: translate3d(-130%, 4%, 60px) rotateY(34deg) rotateZ(-7deg) scale(0.92);
	opacity: 0;
}

.deck.is-dragging .deck-card[data-k="0"] {
	transition: none;
}

.deck-photo {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10.4;
	overflow: hidden;
	background: var(--soft);
}

.deck-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.deck-body {
	display: block;
	padding: 18px 22px 20px;
}

.deck-price {
	display: block;
	font-family: var(--display);
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--ink);
}

.deck-title {
	display: block;
	overflow: hidden;
	margin-top: 2px;
	font-size: 1.02rem;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.deck-where {
	display: block;
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 600;
}

.deck-where i {
	color: var(--accent);
}

.deck-facts {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 700;
}

.deck-facts i {
	margin-right: 4px;
	color: var(--brand-l);
}

.deck-go {
	margin-left: auto;
	color: var(--brand);
	font-weight: 800;
}

.deck-go i {
	margin: 0 0 0 4px;
	color: inherit;
	transition: transform 0.3s var(--ease);
}

.deck-card[data-k="0"] a:hover .deck-go i {
	transform: translate3d(5px, 0, 0);
}

.deck-ui {
	display: flex;
	align-items: center;
	gap: 14px;
	width: min(100%, 384px);
	margin-top: 16px;
}

.deck-btn,
.rail-btn {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease), border-color 0.2s;
}

.deck-btn:hover {
	background: #fff;
	color: var(--ink);
	transform: scale(1.06);
}

.deck-count {
	color: #a9bdd8;
	font-size: 0.86rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.deck-count b {
	color: #fff;
	font-family: var(--display);
	font-size: 1.3rem;
	font-weight: 600;
}

.deck-bar {
	position: relative;
	flex: 1;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.2);
}

.deck-bar span {
	position: absolute;
	inset: 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--gold), var(--accent));
	transform: scaleX(0);
	transform-origin: left;
}

.deck-bar span.is-running {
	animation: deckbar var(--deck-ms, 5200ms) linear forwards;
}

@keyframes deckbar {
	to { transform: scaleX(1); }
}

/* The search: the full width of the hero, under the words and the deck. */
.hero-finder {
	grid-column: 1 / -1;
	position: relative;
	z-index: 6;
}

.finder-tabs {
	display: inline-flex;
	gap: 4px;
	padding: 5px;
	border-radius: 14px 14px 0 0;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.finder-tab {
	position: relative;
	cursor: pointer;
}

.finder-tab input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.finder-tab small {
	margin-left: 4px;
	font-size: 0.76rem;
	font-weight: 700;
	opacity: 0.65;
}

.finder-tab span {
	display: block;
	padding: 9px 26px;
	border-radius: 10px;
	color: #d5e3f5;
	font-size: 0.94rem;
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s;
}

.finder-tab input:checked + span {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 4px 14px rgba(2, 10, 24, 0.25);
}

.finder-tab input:focus-visible + span {
	outline: 3px solid var(--sky);
	outline-offset: 2px;
}

.finder-fields {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 6px;
	padding: 10px;
	border-radius: 0 20px 20px 20px;
	background: #fff;
	box-shadow: var(--sh-3);
}

.finder-field + .finder-field {
	box-shadow: -1px 0 0 var(--line);
}

.finder-field {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 12px 18px;
	border-radius: 14px;
	color: var(--text);
	cursor: pointer;
	transition: background-color 0.2s;
}

.finder-field:hover,
.finder-field:focus-within {
	background: var(--soft);
}

.finder-field > i {
	color: var(--brand-l);
	font-size: 1rem;
}

.finder-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.finder-label {
	color: var(--faint);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.finder select {
	width: 100%;
	padding: 2px 18px 2px 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235b6b80' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right center;
	color: var(--text);
	font-size: 0.97rem;
	font-weight: 700;
	text-overflow: ellipsis;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.finder select:focus {
	outline: 0;
}

.finder-go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 64px;
	padding: 0 38px;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #ff8a2b 0%, var(--accent) 60%, var(--accent-d) 100%);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(255, 110, 0, 0.36);
	transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.finder-go:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(255, 110, 0, 0.46);
}

/* Only a phone has "More filters": there the three extra fields are folded. */
.finder-toggle {
	display: none;
}

/* ---------------------------------------------------------------- ticker */

.ticker {
	position: relative;
	z-index: 2;
	overflow: hidden;
	padding: 6px 0 2px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
	display: flex;
	width: max-content;
	animation: ticker 38s linear infinite;
}

.ticker:hover .ticker-track {
	animation-play-state: paused;
}

.ticker-set {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.ticker a {
	padding: 6px 4px;
	font-family: var(--display);
	font-size: clamp(1.5rem, 2.6vw, 2.3rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
	color: #b6c3d4;
	white-space: nowrap;
	transition: color 0.25s;
}

.ticker a:hover {
	color: var(--brand);
}

.ticker sup {
	margin-left: 5px;
	font-family: var(--body);
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 800;
	color: var(--accent);
}

.ticker-dot {
	width: 8px;
	height: 8px;
	margin: 0 clamp(18px, 2.4vw, 34px);
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold), var(--accent));
}

@keyframes ticker {
	to { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------- chrome that follows */

.scroll-bar {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--gold), var(--accent));
	transform: scaleX(var(--sp, 0));
	transform-origin: left;
	pointer-events: none;
}

/* A way back to the search once it has scrolled away. */
.header-find {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	max-width: 0;
	padding: 10px 0;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.92rem;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	transition: max-width 0.5s var(--ease), opacity 0.35s, padding 0.5s var(--ease), border-color 0.35s, background-color 0.2s;
}

.past-hero .header-find {
	max-width: 160px;
	padding: 10px 18px;
	border-color: var(--line);
	background: var(--soft);
	opacity: 1;
}

.header-find:hover {
	background: #e3ecf7;
}

.header-find i {
	color: var(--brand);
}

.tabbar {
	display: none;
}

/* ----------------------------------------------------------------- bands */

.band {
	position: relative;
	padding: clamp(52px, 7vw, 96px) 0;
}

.band-tint {
	background: linear-gradient(180deg, #eaf0f8 0%, var(--bg) 100%);
}

.band-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--accent);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.kicker::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.band-title {
	margin-top: 8px;
	font-family: var(--display);
	font-size: clamp(1.8rem, 3.2vw, 2.7rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.band-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* -------------------------------------------------------------- listings */

.prop-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	perspective: 1600px;
}

.prop-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.tilt {
	position: relative;
	transform-style: preserve-3d;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
	will-change: transform;
}

.js .tilt[data-reveal].settled {
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
	transition-delay: 0s;
}

.tilt:hover {
	--lift: -6px;
}

.tilt-glare {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 46%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

.tilt:hover .tilt-glare {
	opacity: 1;
}

.prop {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-1);
}

.prop:hover {
	box-shadow: var(--sh-2);
}

.prop-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--soft);
}

.prop-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.prop:hover .prop-media img {
	transform: scale(1.06);
}

.prop-media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 45%;
	background: linear-gradient(180deg, transparent, rgba(3, 12, 26, 0.5));
	pointer-events: none;
}

.prop-badges {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.badge-sale {
	background: rgba(14, 77, 146, 0.92);
	color: #fff;
}

.badge-rent {
	background: rgba(255, 255, 255, 0.94);
	color: var(--ink);
}

.badge-featured {
	background: rgba(255, 110, 0, 0.95);
	color: #fff;
}

.prop-photos {
	position: absolute;
	right: 14px;
	bottom: 12px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
}

.prop-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 22px;
}

.prop-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.prop-price {
	font-family: var(--display);
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink);
}

.prop-type {
	color: var(--brand);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.prop-title {
	margin-top: 6px;
	font-size: 1.06rem;
	font-weight: 700;
	line-height: 1.35;
}

.prop-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.prop-title a:hover {
	color: var(--brand);
}

.prop-where {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.9rem;
}

.prop-where i {
	margin-right: 4px;
	color: var(--accent);
}

.prop-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.88rem;
}

.prop-facts:empty {
	display: none;
}

.prop-where + .prop-facts,
.prop-title + .prop-facts {
	margin-top: 16px;
}

.prop-facts i {
	margin-right: 4px;
	color: var(--brand-l);
}

.prop-facts strong {
	color: var(--text);
	font-weight: 800;
}

.prop-grid-4 .prop-price {
	font-size: 1.3rem;
}

.prop-grid-4 .prop-body {
	padding: 16px 18px 18px;
}

/* ---------------------------------------------------------------- guides */

.guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.guide {
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--sh-1);
	transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.guide:hover,
.js .guide[data-reveal].in:hover {
	box-shadow: var(--sh-2);
	transform: translate3d(0, -5px, 0);
	transition-delay: 0s;
}

.guide-date {
	color: var(--faint);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.guide h3 {
	margin-top: 10px;
	font-family: var(--display);
	font-size: 1.32rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ink);
}

.guide p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.95rem;
}

.guide-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	color: var(--brand);
	font-size: 0.92rem;
	font-weight: 800;
}

.guide-more i {
	transition: transform 0.3s var(--ease);
}

.guide:hover .guide-more i {
	transform: translate3d(5px, 0, 0);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
	padding: clamp(44px, 6vw, 72px) 0 26px;
	background: #04142a;
	color: #a9bad0;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	padding-bottom: 38px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-heading {
	margin-bottom: 12px;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-col li + li {
	margin-top: 8px;
}

.footer-col a {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	font-size: 0.93rem;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: #fff;
}

.footer-col a span {
	color: #5f7592;
	font-size: 0.78rem;
	font-weight: 700;
}

.footer-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	flex-wrap: wrap;
	padding: 34px 0;
}

.footer-logo {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 14px;
	background: #fff;
}

.footer-logo img {
	width: auto;
	height: 44px;
}

.footer-tagline {
	margin-top: 12px;
	color: #fff;
	font-weight: 700;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 0.93rem;
	font-weight: 600;
}

.footer-nav a:hover,
.footer-base a:hover {
	color: #fff;
}

.footer-social {
	display: flex;
	gap: 10px;
}

.footer-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	color: #fff;
	transition: background-color 0.2s, transform 0.2s var(--ease);
}

.footer-social a:hover {
	background: var(--accent);
	transform: translateY(-2px);
}

.footer-base {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 0.86rem;
}

.to-top {
	font-weight: 700;
}

/* ------------------------------------------------- a card's second photo */

.prop-alt {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease, transform 0.8s var(--ease) !important;
}

@media (hover: hover) {
	.prop:hover .prop-alt {
		opacity: 1;
	}
}

/* The photograph is uncovered from the left as the card arrives. */
.js .prop[data-reveal] .prop-media {
	clip-path: inset(0 100% 0 0);
}

.js .prop[data-reveal].in .prop-media {
	clip-path: inset(0 0 0 0);
	transition: clip-path 1s var(--ease);
	transition-delay: calc(var(--i, 0) * 70ms + 120ms);
}

.reveal-all .prop .prop-media {
	clip-path: none !important;
}

/* ------------------------------------------------------------------ rail

   A row that scrolls sideways and stops on a card. It runs to the edge of
   the screen on the right, so the last card is visibly cut off: the oldest
   way there is of saying "there is more this way".                         */

.rail {
	display: flex;
	gap: 22px;
	overflow-x: auto;
	padding: 10px max(24px, calc((100vw - 1320px) / 2 + 24px)) 34px;
	scroll-padding-left: max(24px, calc((100vw - 1320px) / 2 + 24px));
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	perspective: 1600px;
}

.rail::-webkit-scrollbar {
	display: none;
}

.rail > .prop {
	flex: 0 0 clamp(270px, 23vw, 318px);
	scroll-snap-align: start;
}

.rail .prop-price {
	font-size: 1.3rem;
}

.rail.is-grabbing {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
}

.rail.is-grabbing .prop {
	pointer-events: none;
}

.band-links .rail-btn {
	border-color: #cfd9e6;
	background: var(--surface);
	color: var(--ink);
}

.band-links .rail-btn:hover {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}

/* ------------------------------------------------------------------- map */

.band-dark {
	position: relative;
	color: #fff;
	background: linear-gradient(140deg, #030f1f 0%, var(--ink) 42%, #0a2c52 100%);
	overflow: hidden;
	isolation: isolate;
}

.band-dark .hero-shade {
	background: radial-gradient(60% 70% at 72% 50%, rgba(47, 127, 214, 0.28), transparent 70%);
}

.band-dark .band-title {
	color: #fff;
}

.map-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(20px, 3vw, 44px);
	align-items: center;
}

.map-sub {
	max-width: 44ch;
	margin-top: 12px;
	color: #b9cbe2;
}

.map-districts {
	display: grid;
	gap: 10px;
	margin-top: 26px;
}

.map-district {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px 10px 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.05);
	transition: background-color 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}

.map-district:hover,
.map-district.is-active {
	border-color: rgba(255, 180, 84, 0.55);
	background: rgba(255, 255, 255, 0.11);
	transform: translate3d(6px, 0, 0);
}

.map-district-photo {
	flex: 0 0 62px;
	height: 62px;
	overflow: hidden;
	border-radius: 13px;
	background: var(--navy);
}

.map-district-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.map-district-text {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.map-district-name {
	font-family: var(--display);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.2;
}

.map-district-split {
	color: #a9bdd8;
	font-size: 0.84rem;
	font-weight: 600;
}

.map-district-count {
	font-family: var(--display);
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--gold);
	font-variant-numeric: tabular-nums;
}

.map-district > i {
	color: #7f97b6;
	transition: transform 0.3s var(--ease), color 0.3s;
}

.map-district:hover > i,
.map-district.is-active > i {
	color: #fff;
	transform: translate3d(4px, 0, 0);
}

.map-legend {
	display: flex;
	gap: 22px;
	margin-top: 20px;
	color: #a9bdd8;
	font-size: 0.84rem;
	font-weight: 700;
}

.dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 6px;
	border-radius: 50%;
	vertical-align: -1px;
}

.dot-sale { background: var(--sky); }
.dot-rent { background: var(--accent); }

/* The island lies on a plane tipped away from the viewer. `--tilt` is how
   far; pins and labels turn back by the same angle so they always face out
   of the screen, the way a pin stuck in a real map faces up at you. */
.map {
	--tilt: 54deg;
	--spin: -9deg;
	position: relative;
	aspect-ratio: 1000 / 640;
	perspective: 1500px;
	perspective-origin: 50% 20%;
}

.map-plane {
	position: absolute;
	top: 4%;
	left: -3%;
	width: 110%;
	aspect-ratio: 1000 / 621;
	transform-style: preserve-3d;
	transform: rotateX(var(--tilt)) rotateZ(var(--spin));
	transition: transform 0.9s var(--ease);
}

.map-land {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	transform: translate3d(0, 0, calc(var(--z) * -5px));
}

.map-land path {
	fill: #0c2f57;
	stroke: #0c2f57;
	stroke-width: 2;
	stroke-linejoin: round;
}

.map-land.map-top path {
	fill: #154a82;
	stroke: rgba(108, 196, 255, 0.85);
	stroke-width: 2.5;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 0 16px rgba(108, 196, 255, 0.4));
}

.map-land[style*="--z:5"] {
	filter: drop-shadow(0 40px 34px rgba(0, 0, 0, 0.55));
}

.map-label {
	position: absolute;
	width: 0;
	height: 0;
	transform-style: preserve-3d;
	pointer-events: none;
}

.map-label span {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 4px 11px;
	border-radius: 999px;
	background: rgba(3, 15, 31, 0.72);
	color: #d7e5f6;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translate3d(-50%, 0, 34px) rotateZ(calc(var(--spin) * -1)) rotateX(calc(var(--tilt) * -1));
	transform-origin: 50% 100%;
	transition: background-color 0.3s, color 0.3s;
}

.pin {
	position: absolute;
	width: 0;
	height: 0;
	transform-style: preserve-3d;
}

.pin-body {
	position: absolute;
	left: -1px;
	bottom: 0;
	width: 2px;
	height: 30px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--sky), rgba(108, 196, 255, 0.15));
	transform-origin: 50% 100%;
	transform: rotateZ(calc(var(--spin) * -1)) rotateX(calc(var(--tilt) * -1)) scaleY(var(--grow, 1));
	transition: opacity 0.35s, transform 0.7s var(--ease);
	transition-delay: 0s, calc(var(--n, 0) * 22ms);
}

.pin-rent .pin-body {
	background: linear-gradient(180deg, var(--accent), rgba(255, 110, 0, 0.15));
}

.pin-head {
	position: absolute;
	top: -7px;
	left: -6px;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--sky);
	box-shadow: 0 0 0 0 rgba(108, 196, 255, 0.6);
}

.pin-rent .pin-head {
	background: var(--accent);
}

/* Until the map is on screen the pins are flat; then they stand up one
   after another from north to south. */
.js .map:not(.is-in) .pin-body {
	--grow: 0;
}

.map[data-active] .pin:not(.is-lit) .pin-body {
	opacity: 0.28;
}

.map .pin.is-lit .pin-head {
	animation: pinpulse 2.4s ease-out infinite;
	animation-delay: calc(var(--n, 0) * 60ms);
}

.map .pin.is-lit.pin-rent .pin-head {
	animation-name: pinpulse-rent;
}

@keyframes pinpulse {
	0% { box-shadow: 0 0 0 0 rgba(108, 196, 255, 0.7); }
	70%, 100% { box-shadow: 0 0 0 12px rgba(108, 196, 255, 0); }
}

@keyframes pinpulse-rent {
	0% { box-shadow: 0 0 0 0 rgba(255, 138, 43, 0.75); }
	70%, 100% { box-shadow: 0 0 0 12px rgba(255, 138, 43, 0); }
}

.map-label.is-lit span {
	background: #fff;
	color: var(--ink);
}

.pin-tip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 14px);
	width: max-content;
	max-width: 220px;
	padding: 8px 12px;
	border-radius: 12px;
	background: #fff;
	color: var(--text);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: var(--sh-2);
	opacity: 0;
	transform: translate3d(-50%, 6px, 0);
	transition: opacity 0.2s, transform 0.25s var(--ease);
	pointer-events: none;
}

.pin-tip b {
	display: block;
	font-family: var(--display);
	font-size: 1rem;
	color: var(--ink);
}

.pin:hover {
	z-index: 5;
}

.pin:hover .pin-tip {
	opacity: 1;
	transform: translate3d(-50%, 0, 0);
}

.pin:hover .pin-body {
	opacity: 1 !important;
}

/* ----------------------------------------------------------------- types */

.type-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
	gap: 16px;
	perspective: 1400px;
}

.type {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--surface);
	box-shadow: var(--sh-1);
	overflow: hidden;
}

.type::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(140deg, var(--navy), var(--brand));
	opacity: 0;
	transition: opacity 0.35s;
}

.type > * {
	position: relative;
}

.type:hover {
	box-shadow: var(--sh-2);
}

.type:hover::before {
	opacity: 1;
}

.type-icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 10px;
	border-radius: 15px;
	background: linear-gradient(135deg, #e6f0fb, #d6e6f8);
	color: var(--brand);
	font-size: 1.2rem;
	transform: translate3d(0, 0, 0);
	transition: background 0.3s, color 0.3s, transform 0.45s var(--ease);
}

.type:hover .type-icon {
	background: linear-gradient(135deg, #ff8a2b, var(--accent));
	color: #fff;
	transform: translate3d(0, -4px, 40px) rotate(-6deg);
}

.type-name {
	font-size: 1.04rem;
	font-weight: 800;
	color: var(--ink);
	transition: color 0.3s;
}

.type-count {
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 600;
	transition: color 0.3s;
}

.type:hover .type-name {
	color: #fff;
}

.type:hover .type-count {
	color: #c3d3e8;
}

.type-arrow {
	position: absolute;
	top: 22px;
	right: 20px;
	color: #fff;
	opacity: 0;
	transform: translate3d(-8px, 0, 0);
	transition: opacity 0.3s, transform 0.35s var(--ease);
}

.type:hover .type-arrow {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------- two doors */

.band-doors {
	padding-top: 0;
}

.doors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
	perspective: 1600px;
}

.door {
	overflow: hidden;
	padding: clamp(28px, 3.6vw, 48px);
	border-radius: var(--r-lg);
	background: linear-gradient(140deg, #04142a 0%, var(--navy) 100%);
	color: #fff;
	box-shadow: var(--sh-2);
}

.door-accent {
	background: linear-gradient(140deg, #3a1a00 0%, #a94a00 55%, var(--accent) 130%);
}

.door-glow {
	position: absolute;
	top: -40%;
	right: -20%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(108, 196, 255, 0.35), transparent 65%);
	animation: drift 14s ease-in-out infinite alternate;
	pointer-events: none;
}

.door-accent .door-glow {
	background: radial-gradient(circle, rgba(255, 220, 160, 0.4), transparent 65%);
}

@keyframes drift {
	to { transform: translate3d(-40px, 30px, 0) scale(1.15); }
}

.door > *:not(.door-glow):not(.tilt-glare) {
	position: relative;
	transform: translate3d(0, 0, 26px);
}

.door-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.14);
	color: var(--gold);
	font-size: 1.4rem;
}

.door h2 {
	margin-top: 20px;
	font-family: var(--display);
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	font-weight: 600;
	line-height: 1.12;
}

.door p {
	max-width: 44ch;
	margin: 10px 0 26px;
	color: #d3deec;
}

/* ---------------------------------------------------------------- guides */

.guide {
	position: relative;
	overflow: hidden;
}

.guide-no {
	position: absolute;
	top: -18px;
	right: 6px;
	font-family: var(--display);
	font-size: 6.4rem;
	font-weight: 700;
	line-height: 1;
	color: var(--soft);
	transition: color 0.4s, transform 0.5s var(--ease);
	pointer-events: none;
}

.guide:hover .guide-no {
	color: #ffe3cc;
	transform: translate3d(-6px, 6px, 0);
}

.guide > *:not(.guide-no) {
	position: relative;
}

/* ------------------------------------------------------------ responsive */

.hide-md,
.hide-sm {
	display: inline-flex;
}

@media (max-width: 1180px) {
	.hide-md {
		display: none;
	}

	.map-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.map {
		order: -1;
		max-width: 760px;
		width: 100%;
		margin: 0 auto;
	}
}

@media (max-width: 1020px) {
	.main-nav {
		display: none;
	}

	.header-actions {
		margin-left: auto;
	}

	.nav-toggle {
		display: flex;
	}

	.hero-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	/* The search before the photographs: it is what the visitor came for. */
	.hero-finder {
		order: 2;
	}

	.deck {
		order: 3;
		margin-top: 6px;
	}

	.deck-stage {
		height: clamp(380px, 62vw, 470px);
	}

	.prop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.finder-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.finder-field + .finder-field {
		box-shadow: none;
	}

	.finder-go {
		grid-column: 1 / -1;
	}

	.doors {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ----------------------------------------------------------------- phone

   Not the desktop page squeezed. A phone gets: a search folded to one field
   and a button; rows that swipe sideways instead of six cards stacked; a bar
   at the bottom with the four things people do here; and a deck sized for a
   thumb.                                                                   */

@media (max-width: 720px) {
	:root {
		--header-h: 62px;
	}

	body {
		padding-bottom: calc(68px + env(safe-area-inset-bottom));
	}

	.wrap,
	.header-inner,
	.hero-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hide-sm,
	.header-find,
	.header-actions .btn-accent {
		display: none;
	}

	.brand img {
		height: 40px;
	}

	.hero-inner {
		padding-top: 22px;
		padding-bottom: 70px;
		gap: 20px;
	}

	.hero-title {
		font-size: clamp(2.3rem, 11.5vw, 3.1rem);
	}

	.hero-sub {
		margin-top: 12px;
		font-size: 0.98rem;
	}

	.hero-stats {
		display: grid;
		grid-template-columns: repeat(4, auto);
		justify-content: space-between;
		gap: 10px;
		margin-top: 20px;
	}

	.hero-stats dt {
		font-size: 0.62rem;
		letter-spacing: 0.06em;
	}

	.hero-stats dd {
		font-size: 1.6rem;
	}

	.finder-tabs {
		display: flex;
	}

	.finder-tab {
		flex: 1;
	}

	.finder-tab span {
		text-align: center;
	}

	.finder-fields {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0 8px;
		padding: 8px;
		border-radius: 0 0 20px 20px;
	}

	.finder-field {
		grid-column: 1 / -1;
		padding: 11px 12px;
	}

	/* Folded until "More filters" is pressed. */
	.finder-more {
		display: none;
		border-top: 1px solid var(--line);
		border-radius: 0;
	}

	.finder.is-open .finder-more {
		display: flex;
	}

	.finder-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 0 14px;
		min-height: 54px;
		border: 1px solid var(--line);
		border-radius: 14px;
		background: var(--soft);
		color: var(--ink);
		font-size: 0.9rem;
		font-weight: 700;
		cursor: pointer;
	}

	.finder.is-open .finder-toggle {
		background: var(--ink);
		border-color: var(--ink);
		color: #fff;
	}

	.finder-toggle {
		grid-column: 1;
		margin-top: 8px;
	}

	.finder-go {
		grid-column: 2;
		min-height: 54px;
		margin-top: 8px;
		padding: 0 24px;
	}

	/* The deck, for a thumb: the cards behind peek out less, so the front
	   one can be nearly as wide as the screen. */
	.deck-stage {
		height: auto;
		aspect-ratio: 1 / 1.04;
		perspective: 1100px;
	}

	.deck-card {
		width: 86%;
	}

	.deck-card[data-k="1"] {
		transform: translate3d(13%, 0, -120px) rotateY(-10deg) scale(0.93);
	}

	.deck-card[data-k="2"] {
		transform: translate3d(23%, 0, -240px) rotateY(-16deg) scale(0.86);
	}

	.deck-card[data-k="3"] {
		opacity: 0;
	}

	.deck-ui {
		width: 100%;
		margin-top: 8px;
	}

	.deck-price {
		font-size: 1.45rem;
	}

	.deck-body {
		padding: 14px 16px 16px;
	}

	.band {
		padding: 44px 0;
	}

	.band-head {
		margin-bottom: 18px;
	}

	.band-title {
		font-size: 1.7rem;
	}

	.band-links {
		gap: 8px;
	}

	.band-links .btn {
		padding: 10px 14px;
		font-size: 0.86rem;
	}

	.rail-btn {
		display: none;
	}

	/* Six cards stacked is six screens of scrolling. Sideways, it is one. */
	.swipe {
		display: flex;
		gap: 14px;
		margin: 0 -16px;
		padding: 6px 16px 22px;
		overflow-x: auto;
		scroll-padding-left: 16px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.swipe::-webkit-scrollbar {
		display: none;
	}

	.swipe > * {
		flex: 0 0 82%;
		scroll-snap-align: start;
	}

	.rail {
		gap: 14px;
		padding: 6px 16px 22px;
		scroll-padding-left: 16px;
	}

	.rail > .prop {
		flex: 0 0 82%;
	}

	/* A card that is swiped into view should not wait to fade in as well. */
	.js .swipe [data-reveal],
	.js .rail [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.js .swipe .prop[data-reveal] .prop-media,
	.js .rail .prop[data-reveal] .prop-media {
		clip-path: none;
	}

	.map {
		--tilt: 46deg;
		--spin: -6deg;
		aspect-ratio: 1000 / 760;
	}

	.map-plane {
		top: 16%;
		left: 4%;
		width: 90%;
	}

	.pin-body {
		height: 20px;
	}

	.pin-head {
		top: -5px;
		left: -4px;
		width: 10px;
		height: 10px;
		border-width: 1.5px;
	}

	.pin-tip {
		display: none;
	}

	.map-label span {
		padding: 3px 8px;
		font-size: 0.62rem;
	}

	.map-districts {
		display: flex;
		gap: 10px;
		margin: 20px -16px 0;
		padding: 0 16px 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.map-districts::-webkit-scrollbar {
		display: none;
	}

	.map-district {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}

	.map-district:hover,
	.map-district.is-active {
		transform: none;
	}

	.type-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.type {
		padding: 16px;
	}

	.type-icon {
		width: 42px;
		height: 42px;
		margin-bottom: 6px;
		font-size: 1rem;
	}

	.ticker a {
		font-size: 1.35rem;
	}

	.footer-main {
		flex-direction: column;
		align-items: flex-start;
	}

	/* The bar. */
	.tabbar {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		z-index: 110;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		padding: 6px;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 22px;
		background: rgba(6, 27, 51, 0.9);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		box-shadow: 0 12px 34px rgba(2, 10, 24, 0.45);
	}

	.tabbar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 3px;
		padding: 8px 4px;
		border-radius: 16px;
		color: #c3d3e8;
		font-size: 0.68rem;
		font-weight: 700;
	}

	.tabbar a i {
		font-size: 1.05rem;
	}

	.tabbar a:active {
		background: rgba(255, 255, 255, 0.1);
	}

	.tabbar .tabbar-list {
		background: linear-gradient(135deg, #ff8a2b, var(--accent));
		color: #fff;
	}

	/* The assistant's button moves up out of the bar's way. */
	.esr #esg-chat {
		bottom: calc(84px + env(safe-area-inset-bottom)) !important;
	}

	.drawer-open .tabbar {
		display: none;
	}
}

@media (hover: none) {
	.tilt:hover {
		--lift: 0px;
	}

	.tilt-glare {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	.js [data-reveal],
	.js .eyebrow,
	.js .hero-sub,
	.js .hero-stats,
	.js .hero-finder,
	.js .deck,
	.js .hero-title .line > span {
		opacity: 1;
		transform: none;
	}

	.js .prop[data-reveal] .prop-media {
		clip-path: none;
	}

	.js .map:not(.is-in) .pin-body {
		--grow: 1;
	}

	.ticker-track {
		flex-wrap: wrap;
		width: auto;
	}

	.ticker-set[aria-hidden="true"] {
		display: none;
	}
}

/* ==========================================================================
   Everything that is not the homepage: the band under the header, lists of
   results, a single property, agents, articles, pages, forms.
   ========================================================================== */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ------------------------------------------------------- header, part two */

.nav-menu-wide {
	display: grid;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 4px 14px;
	min-width: 520px;
	padding: 14px;
}

.nav-menu-label {
	display: block;
	padding: 4px 12px 8px;
	color: var(--faint);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nav-menu a.nav-menu-all {
	margin-top: 6px;
	border-top: 1px solid var(--line);
	border-radius: 0 0 10px 10px;
	color: var(--brand);
}

.acct .nav-menu {
	right: 0;
	left: auto;
	min-width: 280px;
}

.acct-toggle {
	gap: 10px;
	padding: 5px 12px 5px 5px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
}

.acct-avatar {
	display: block;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--soft);
}

.acct-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.acct-name {
	max-width: 140px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.acct-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
	padding: 10px 12px 14px;
	border-bottom: 1px solid var(--line);
}

.acct-head .acct-avatar,
.drawer-acct .acct-avatar {
	width: 44px;
	height: 44px;
}

.acct-who {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.acct-who-name {
	overflow: hidden;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ink);
	white-space: nowrap;
	text-overflow: ellipsis;
}

.acct-role {
	overflow: hidden;
	color: var(--muted);
	font-size: 0.78rem;
	font-weight: 600;
	text-overflow: ellipsis;
}

.acct-sep {
	height: 1px;
	margin: 6px 12px;
	background: var(--line);
}

.acct-out {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--line);
}

.acct-out a,
.acct-out a i {
	color: #b42323;
}

.drawer-acct {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 6px 4px 8px;
	padding: 12px;
	border-radius: 16px;
	background: var(--soft);
}

/* --------------------------------------------------------- the page band */

.page-head {
	background: linear-gradient(140deg, #030f1f 0%, var(--ink) 36%, #0a2c52 72%, #0d3d6e 100%);
}

.page-shade {
	background: none;
	overflow: hidden;
}

.page-shade .aurora {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
}

.page-shade .aurora-1 {
	top: -260px;
	left: -160px;
	width: 560px;
	height: 560px;
	background: #1f6fd0;
	opacity: 0.5;
}

.page-shade .aurora-2 {
	right: -180px;
	bottom: -300px;
	width: 520px;
	height: 520px;
	background: var(--accent);
	opacity: 0.2;
}

.page-head-inner {
	position: relative;
	max-width: 1320px;
	margin: 0 auto;
	padding: clamp(22px, 2.6vw, 38px) 24px clamp(70px, 8vw, 118px);
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: #9db3cf;
	font-size: 0.84rem;
	font-weight: 600;
}

.crumbs a:hover {
	color: #fff;
}

.crumbs i {
	font-size: 0.6rem;
	opacity: 0.6;
}

.crumbs [aria-current] {
	color: #e3edf9;
}

.page-title {
	max-width: 26ch;
	margin-top: 12px;
	font-family: var(--display);
	font-size: clamp(2rem, 4vw, 3.3rem);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.page-sub {
	max-width: 70ch;
	margin-top: 10px;
	color: #c3d3e8;
	font-size: 1.02rem;
}

.page-sub strong {
	color: #fff;
}

.page-head .hero-finder {
	margin-top: 24px;
}

/* In the band the search arrives with the page, not after it. */
.js .page-head .hero-finder,
.js .hero.is-ready .page-head .hero-finder {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------- results */

.results-wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding: 6px 24px clamp(56px, 7vw, 96px);
}

.results {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.results.has-map {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.results-list {
	min-width: 0;
}

.results-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.results-count {
	color: var(--muted);
	font-size: 0.95rem;
}

.results-count strong {
	color: var(--ink);
}

.results-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.results-tools .btn {
	padding: 10px 16px;
	font-size: 0.9rem;
}

.results-map-toggle {
	display: none;
}

.results-sort select,
.more-filters-panel select,
.more-filters-panel input[type="text"],
.more-filters-panel input[type="number"],
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #cfd9e6;
	border-radius: 12px;
	background-color: #fff;
	color: var(--text);
	font-size: 0.95rem;
	font-weight: 600;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.results-sort select {
	width: auto;
	padding: 10px 36px 10px 14px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235b6b80' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.results-sort select:focus,
.more-filters-panel select:focus,
.more-filters-panel input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--brand-l);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(47, 127, 214, 0.18);
}

.more-filters {
	position: relative;
}

.more-filters > summary {
	list-style: none;
	cursor: pointer;
}

.more-filters > summary::-webkit-details-marker {
	display: none;
}

.more-filters[open] > summary {
	border-color: var(--brand);
	color: var(--brand);
}

.more-filters-panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: min(92vw, 520px);
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--sh-2);
}

.more-filters-panel label > span,
.more-filters-features legend,
.field > span {
	display: block;
	margin-bottom: 6px;
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.more-filters-features {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.more-filters-features legend {
	width: 100%;
	padding: 0;
}

.tick {
	cursor: pointer;
}

.tick input {
	position: absolute;
	opacity: 0;
}

.tick span {
	display: inline-block !important;
	margin: 0 !important;
	padding: 7px 13px;
	border: 1px solid #cfd9e6;
	border-radius: 999px;
	color: var(--text) !important;
	font-size: 0.86rem !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.tick input:checked + span {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff !important;
}

.tick input:focus-visible + span {
	outline: 3px solid var(--sky);
	outline-offset: 2px;
}

.more-filters-actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 13px;
	border: 1px solid #cfd9e6;
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 0.86rem;
	font-weight: 700;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.chip:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.chip i {
	font-size: 0.7rem;
	opacity: 0.6;
}

.chip sup {
	color: var(--accent);
	font-size: 0.7rem;
	font-weight: 800;
}

.chip-clear {
	border-color: transparent;
	background: transparent;
	color: var(--muted);
}

.prop-grid-results {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.results:not(.has-map) .prop-grid-results {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prop.is-hot {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(255, 110, 0, 0.18), var(--sh-2);
}

.pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 34px;
}

.pager-pages {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pager-num,
.pager-step {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #cfd9e6;
	border-radius: 12px;
	background: #fff;
	font-size: 0.92rem;
	font-weight: 700;
	transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.pager-step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pager-num:hover,
.pager-step:hover {
	border-color: var(--brand);
	color: var(--brand);
	transform: translateY(-1px);
}

.pager-num.is-current {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.pager-gap {
	color: var(--faint);
}

.empty {
	padding: clamp(36px, 5vw, 64px) 28px;
	border: 1px dashed #c5d0dd;
	border-radius: var(--r-lg);
	background: #fff;
	text-align: center;
}

.empty-icon {
	display: inline-grid;
	place-items: center;
	width: 66px;
	height: 66px;
	margin-bottom: 14px;
	border-radius: 20px;
	background: var(--soft);
	color: var(--brand);
	font-size: 1.6rem;
}

.empty h2 {
	font-family: var(--display);
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--ink);
}

.empty p {
	max-width: 52ch;
	margin: 8px auto 22px;
	color: var(--muted);
}

.empty-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.ask {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 34px;
	padding: 24px 26px;
	border-radius: var(--r-lg);
	background: linear-gradient(140deg, #04142a 0%, var(--navy) 100%);
	color: #fff;
}

.ask > div {
	flex: 1;
	min-width: 220px;
}

.ask-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.12);
	color: var(--gold);
	font-size: 1.2rem;
}

.ask h2 {
	font-family: var(--display);
	font-size: 1.4rem;
	font-weight: 600;
}

.ask p {
	color: #c3d3e8;
	font-size: 0.95rem;
}

.about-list {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--line);
}

.about-list h2 {
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--ink);
}

.about-list p {
	max-width: 72ch;
	margin-top: 8px;
	color: var(--muted);
}

.about-list h3 {
	margin: 22px 0 10px;
	color: var(--faint);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* The map beside the list: it stays while the list scrolls. */
.results-map {
	position: sticky;
	top: calc(var(--header-h) + 16px);
}

.results-map-inner {
	overflow: hidden;
	padding: 18px 18px 16px;
	border-radius: var(--r-lg);
	background: linear-gradient(150deg, #030f1f 0%, var(--ink) 45%, #0a2c52 100%);
	box-shadow: var(--sh-2);
}

.results-map .map {
	--tilt: 48deg;
	--spin: -6deg;
	aspect-ratio: 1000 / 720;
}

.results-map .map-legend {
	margin-top: 4px;
}

.map-legend-n {
	margin-left: auto;
	color: #fff;
}

/* Zooming scales the plane in all three directions (a flat scale would
   leave the pins, which stand up out of it, a different shape from the land
   they stand on). Stepping the viewpoint back by the same factor keeps the
   picture from distorting, and the island's thickness is divided back so the
   edge does not grow into a cliff. */
.map {
	perspective: calc(1500px * var(--mz, 1));
}

.map-zoom {
	position: absolute;
	inset: 0;
	transform-style: preserve-3d;
	transform-origin: 50% 50%;
	transition: transform 0.9s var(--ease);
}

.map .map-land {
	transform: translate3d(0, 0, calc(var(--z) * -5px / var(--mz, 1)));
}

/* Zoomed in, the pins and names stay the size they were. */
.map .pin-body {
	transform: rotateZ(calc(var(--spin) * -1)) rotateX(calc(var(--tilt) * -1)) scale3d(calc(1 / var(--mz, 1)), calc(1 / var(--mz, 1)), calc(1 / var(--mz, 1))) scaleY(var(--grow, 1));
}

.map .map-label span {
	transform: translate3d(-50%, 0, calc(34px / var(--mz, 1))) rotateZ(calc(var(--spin) * -1)) rotateX(calc(var(--tilt) * -1)) scale3d(calc(1 / var(--mz, 1)), calc(1 / var(--mz, 1)), calc(1 / var(--mz, 1)));
}

/* A list of results lights every pin; there is no district to pick. */
.map.map-all .pin .pin-body {
	opacity: 1;
}

.map.map-all.has-hot .pin:not(.is-hot) .pin-body {
	opacity: 0.25;
}

.pin.is-hot {
	z-index: 6;
}

.pin.is-hot .pin-head {
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.35);
	transform: scale(1.5);
}

.pin.is-hot .pin-tip {
	opacity: 1;
	transform: translate3d(-50%, 0, 0);
}

/* ---------------------------------------------------------- how it works */

.band-note {
	max-width: 46ch;
	color: var(--muted);
}

.band-dark .band-note {
	color: #b9cbe2;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.step {
	position: relative;
	padding: 30px 28px 28px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-1);
}

.step-no {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--navy), var(--brand));
	color: #fff;
	font-family: var(--display);
	font-size: 1.3rem;
	font-weight: 600;
}

.step h3 {
	margin-top: 16px;
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--ink);
}

.step p {
	margin-top: 8px;
	color: var(--muted);
}

/* ----------------------------------------------------------------- plans */

.plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	perspective: 1600px;
}

.plan {
	display: flex;
	flex-direction: column;
	padding: 30px 28px 28px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--r-lg);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
}

.plan-best {
	border-color: rgba(255, 138, 43, 0.6);
	background: linear-gradient(160deg, rgba(255, 110, 0, 0.2), rgba(255, 255, 255, 0.06));
}

.plan-flag {
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--accent);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.plan-name {
	color: #c3d3e8;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.plan-price {
	margin-top: 8px;
	font-family: var(--display);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1;
}

.plan-price small {
	margin-left: 8px;
	color: #a9bdd8;
	font-family: var(--body);
	font-size: 0.9rem;
	font-weight: 600;
}

.plan-list {
	flex: 1;
	margin: 22px 0 26px;
}

.plan-list li {
	display: flex;
	gap: 10px;
	padding: 8px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #dfe8f3;
}

.plan-list i {
	margin-top: 5px;
	color: var(--gold);
	font-size: 0.8rem;
}

.plan-foot {
	margin-top: 26px;
	color: #b9cbe2;
	text-align: center;
}

.plan-foot a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* On a light page (Pricing) the same cards are white. */
.plan-grid.on-light .plan {
	border-color: var(--line);
	background: #fff;
	box-shadow: var(--sh-1);
	color: var(--text);
}

.plan-grid.on-light .plan-best {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(255, 110, 0, 0.14), var(--sh-2);
}

.plan-grid.on-light .plan-name,
.plan-grid.on-light .plan-price small {
	color: var(--muted);
}

.plan-grid.on-light .plan-price {
	color: var(--ink);
}

.plan-grid.on-light .plan-list li {
	border-color: var(--line);
	color: var(--text);
}

.plan-grid.on-light .plan-list i {
	color: var(--brand);
}

.plan-grid.on-light .btn-light {
	border: 1px solid #cfd9e6;
	box-shadow: none;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1180px) {
	.results.has-map {
		grid-template-columns: minmax(0, 1fr);
	}

	.results-map-toggle {
		display: inline-flex;
	}

	/* Folded away until asked for, then above the list. */
	.results-map {
		position: static;
		display: none;
		order: -1;
	}

	.results.map-open .results-map {
		display: block;
	}

	.results:not(.has-map) .prop-grid-results,
	.prop-grid-results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.results-wrap,
	.page-head-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.page-head-inner {
		padding-bottom: 64px;
	}

	.page-title {
		font-size: clamp(1.8rem, 8.4vw, 2.4rem);
	}

	.results:not(.has-map) .prop-grid-results,
	.prop-grid-results {
		grid-template-columns: minmax(0, 1fr);
	}

	.results-bar {
		align-items: stretch;
	}

	.results-tools {
		width: 100%;
	}

	.results-tools > * {
		flex: 1;
	}

	.results-tools .btn,
	.results-sort select {
		width: 100%;
	}

	.more-filters {
		position: static;
	}

	.more-filters-panel {
		left: 16px;
		right: 16px;
		width: auto;
		grid-template-columns: minmax(0, 1fr);
	}

	.nav-menu-wide {
		min-width: 0;
	}

	.plan-price {
		font-size: 2.5rem;
	}
}

/* ==========================================================================
   One property; and the pieces it shares with other pages: cards of text,
   forms and their answers.
   ========================================================================== */

.btn-block {
	display: flex;
	width: 100%;
}

.btn-whatsapp {
	background: #1faa59;
	color: #fff;
	box-shadow: 0 8px 20px rgba(31, 170, 89, 0.28);
}

.btn-whatsapp:hover {
	background: #18934c;
	transform: translateY(-2px);
}

.badge-ghost {
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* ------------------------------------------------------- the page's head */

.page-head-property .page-head-inner {
	padding-bottom: clamp(150px, 15vw, 230px);
}

.prop-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 40px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.prop-head-main {
	min-width: 0;
	flex: 1 1 480px;
}

.prop-head-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.prop-head .page-title {
	max-width: 24ch;
	margin-top: 12px;
}

.prop-head-where {
	margin-top: 8px;
	color: #c3d3e8;
	font-size: 1.02rem;
}

.prop-head-where i {
	margin-right: 6px;
	color: var(--gold);
}

.prop-head-price {
	text-align: right;
}

.prop-head-amount {
	display: block;
	font-family: var(--display);
	font-size: clamp(2rem, 3.6vw, 3.1rem);
	font-weight: 600;
	line-height: 1.05;
}

.prop-head-per {
	color: #a9bdd8;
	font-size: 0.9rem;
	font-weight: 600;
}

/* --------------------------------------------------------------- gallery */

.property {
	position: relative;
	z-index: 3;
}

.gallery {
	position: relative;
	max-width: 1320px;
	margin: clamp(-190px, -12.5vw, -124px) auto 0;
	padding: 0 24px;
}

.gallery-strip {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 10px;
	height: clamp(340px, 40vw, 540px);
	overflow: hidden;
	border-radius: var(--r-lg);
	box-shadow: var(--sh-3);
}

.gallery-cell {
	position: relative;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: var(--navy);
	cursor: zoom-in;
}

.gallery-cell:first-child {
	grid-row: 1 / -1;
}

.gallery-cell.is-extra {
	display: none;
}

.gallery-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease), filter 0.3s;
}

.gallery-cell:hover img {
	transform: scale(1.05);
	filter: brightness(1.06);
}

/* Fewer photographs, a simpler mosaic. */
.gallery.count-1 .gallery-strip {
	grid-template-columns: 1fr;
}

.gallery.count-2 .gallery-strip {
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: 1fr;
}

.gallery.count-3 .gallery-strip {
	grid-template-columns: 2fr 1fr;
}

.gallery.count-4 .gallery-strip .gallery-cell:nth-child(2) {
	grid-column: 2 / -1;
}

.gallery-all {
	position: absolute;
	right: 40px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--ink);
	font-size: 0.9rem;
	font-weight: 800;
	box-shadow: var(--sh-2);
	cursor: pointer;
	transition: transform 0.2s var(--ease);
}

.gallery-all:hover {
	transform: translateY(-2px);
}

.gallery-count {
	display: none;
}

/* -------------------------------------------------------------- lightbox */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-rows: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0 12px;
	padding: 20px;
	background: rgba(2, 9, 20, 0.96);
	opacity: 0;
	transition: opacity 0.3s;
}

.lightbox[hidden] {
	display: none;
}

.lightbox.is-open {
	opacity: 1;
}

.lightbox-stage {
	display: grid;
	place-items: center;
	height: 100%;
	min-height: 0;
	margin: 0;
	touch-action: pan-y;
}

.lightbox-stage img {
	max-width: 100%;
	max-height: calc(100vh - 110px);
	border-radius: 14px;
	box-shadow: var(--sh-3);
	transition: opacity 0.25s, transform 0.35s var(--ease);
	user-select: none;
	-webkit-user-drag: none;
}

.lightbox-stage img.is-swapping {
	opacity: 0;
	transform: scale(0.97) translate3d(calc(var(--dir, 1) * 26px), 0, 0);
}

.lightbox-step,
.lightbox-close {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 1.05rem;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.lightbox-step:hover,
.lightbox-close:hover {
	background: #fff;
	color: var(--ink);
	transform: scale(1.06);
}

.lightbox-close {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 2;
}

.lightbox-foot {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 16px;
	padding-top: 12px;
	color: #c3d3e8;
	font-size: 0.9rem;
	font-weight: 600;
}

.lightbox-foot span:first-child {
	color: #fff;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- layout */

.property-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 30px;
	align-items: start;
	max-width: 1320px;
	margin: 0 auto;
	padding: 30px 24px clamp(40px, 5vw, 70px);
}

.property-main {
	min-width: 0;
}

.property-side {
	position: sticky;
	top: calc(var(--header-h) + 16px);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.keyfacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}

.keyfacts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: #fff;
	box-shadow: var(--sh-1);
}

.keyfacts i {
	margin-bottom: 8px;
	color: var(--brand-l);
	font-size: 1.1rem;
}

.keyfacts strong {
	font-family: var(--display);
	font-size: 1.7rem;
	font-weight: 600;
	line-height: 1.1;
	color: var(--ink);
}

.keyfacts .keyfacts-word {
	font-size: 1.15rem;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.keyfacts span {
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.pcard {
	margin-bottom: 24px;
	padding: clamp(22px, 2.6vw, 34px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-1);
}

.pcard > h2,
.pcard-row h2 {
	font-family: var(--display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--ink);
}

.pcard > h2 {
	margin-bottom: 16px;
}

.pcard-dark {
	overflow: hidden;
	border: 0;
	background: linear-gradient(150deg, #030f1f 0%, var(--ink) 45%, #0a2c52 100%);
	color: #fff;
}

.pcard-dark h2 {
	color: #fff;
}

.pcard-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px 20px;
	flex-wrap: wrap;
}

.pcard-sub {
	margin-top: 4px;
	color: #b9cbe2;
}

.pcard-dark .map {
	--tilt: 50deg;
	--spin: -7deg;
	aspect-ratio: 1000 / 520;
}

/* The map is a window: the island runs past its edges, and must not run
   over the heading above it or the note below. */
.pcard-map {
	overflow: hidden;
	margin-top: 16px;
	border-radius: var(--r-md);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pcard-dark .pcard-row,
.pcard-dark .pcard-note {
	position: relative;
	z-index: 2;
}

.pcard-dark .pcard-note {
	margin-top: 14px;
}

.pcard-map .pin .pin-head {
	transform: scale(1.5);
	animation: pinpulse 2.4s ease-out infinite;
}

.pcard-map .pin.pin-rent .pin-head {
	animation-name: pinpulse-rent;
}

.pcard-note {
	color: #8ea6c4;
	font-size: 0.84rem;
}

/* Text somebody wrote: an owner's description, an article, a policy. Listers
   paste from Word and from other sites, so colours, fonts and sizes that come
   with the text are taken back. */
.prose {
	color: var(--text);
	font-size: 1.04rem;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.prose > * + * {
	margin-top: 1em;
}

.prose :where(p, li, span, div, td, th, strong, em, b, i, font) {
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	background: none !important;
	line-height: inherit !important;
}

.prose :where(h1, h2, h3, h4, h5, h6) {
	margin-top: 1.6em;
	font-family: var(--display) !important;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ink) !important;
}

.prose :where(h1, h2) { font-size: 1.6rem !important; }
.prose h3 { font-size: 1.3rem !important; }
.prose :where(h4, h5, h6) { font-size: 1.1rem !important; }

.prose :where(ul, ol) {
	padding-left: 1.3em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li + li {
	margin-top: 0.35em;
}

.prose a {
	color: var(--brand) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose img {
	height: auto;
	border-radius: 14px;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose :where(td, th) {
	padding: 10px 12px;
	border: 1px solid var(--line);
	text-align: left;
}

.prose blockquote {
	margin: 1.2em 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--accent);
	color: var(--muted);
}

/* A long description is folded; the script unfolds it. */
.prose[data-clamp].is-clamped {
	position: relative;
	max-height: 320px;
	overflow: hidden;
}

.prose[data-clamp].is-clamped::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 90px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.prose-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--brand);
	font-weight: 800;
	cursor: pointer;
}

.prose-more[hidden] {
	display: none;
}

.details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 34px;
}

.details > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.details dt {
	color: var(--muted);
	font-weight: 600;
}

.details dd {
	font-weight: 800;
	text-align: right;
	overflow-wrap: anywhere;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px 20px;
}

.features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.features i {
	display: grid;
	place-items: center;
	flex: 0 0 24px;
	height: 24px;
	border-radius: 50%;
	background: #e3f1ff;
	color: var(--brand);
	font-size: 0.7rem;
}

.share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.share a,
.share button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid #cfd9e6;
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.share a:hover,
.share button:hover {
	border-color: var(--brand);
	color: var(--brand);
	transform: translateY(-1px);
}

/* ----------------------------------------------------- the contact card */

.contact-card {
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-2);
}

.contact-price {
	font-family: var(--display);
	font-size: 2.1rem;
	font-weight: 600;
	line-height: 1.1;
	color: var(--ink);
}

.contact-price small {
	margin-left: 10px;
	color: var(--muted);
	font-family: var(--body);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lister {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	padding: 14px;
	border-radius: 16px;
	background: var(--soft);
}

.lister-face {
	display: grid;
	place-items: center;
	flex: 0 0 54px;
	height: 54px;
	overflow: hidden;
	border-radius: 50%;
	background: #fff;
	color: var(--brand);
	font-size: 1.2rem;
}

.lister-face img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lister-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.lister-label {
	color: var(--muted);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lister-name {
	font-size: 1.06rem;
	font-weight: 800;
	color: var(--ink);
}

a.lister-name:hover {
	color: var(--brand);
}

.contact-quick {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.enquiry,
.form-card form {
	display: grid;
	gap: 14px;
}

.enquiry {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.enquiry h2 {
	font-family: var(--display);
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--ink);
}

.field {
	display: block;
}

.field textarea {
	min-height: 104px;
	resize: vertical;
	font-family: inherit;
	line-height: 1.5;
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
	border-color: #d14343;
	box-shadow: 0 0 0 4px rgba(209, 67, 67, 0.14);
}

.form-result:empty {
	display: none;
}

.form-result {
	padding: 13px 16px;
	border: 1px solid #f3c9c9;
	border-radius: 14px;
	background: #fdf1f1;
	color: #a12d2d;
	font-size: 0.94rem;
	font-weight: 700;
}

.form-result.is-good {
	border-color: #b9e6cf;
	background: #edfaf3;
	color: #116b3f;
}

.form-note {
	color: var(--faint);
	font-size: 0.8rem;
	line-height: 1.5;
}

.form-note a {
	text-decoration: underline;
}

.btn[disabled] {
	opacity: 0.7;
	cursor: progress;
}

/* reCAPTCHA's badge is replaced by the sentence under the form, as Google allows. */
.grecaptcha-badge {
	visibility: hidden !important;
}

.band-similar {
	padding-top: 10px;
}

.actionbar {
	display: none;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
	.property-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.property-side {
		position: static;
	}
}

@media (max-width: 720px) {
	.page-head-property .page-head-inner {
		padding-bottom: 150px;
	}

	.prop-head-price {
		text-align: left;
	}

	.gallery {
		margin-top: -128px;
		padding: 0;
	}

	/* One photograph at a time, swiped. */
	.gallery-strip {
		display: flex;
		gap: 10px;
		height: auto;
		padding: 0 16px;
		overflow-x: auto;
		border-radius: 0;
		box-shadow: none;
		scroll-padding-left: 16px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.gallery-strip::-webkit-scrollbar {
		display: none;
	}

	.gallery-cell,
	.gallery-cell.is-extra,
	.gallery-cell:first-child {
		display: block;
		flex: 0 0 88%;
		aspect-ratio: 4 / 3;
		border-radius: 20px;
		scroll-snap-align: start;
		box-shadow: var(--sh-2);
	}

	.gallery.count-1 .gallery-cell {
		flex-basis: 100%;
	}

	.gallery-all {
		display: none;
	}

	.gallery-count {
		position: absolute;
		right: 28px;
		bottom: 12px;
		display: block;
		padding: 4px 11px;
		border-radius: 999px;
		background: rgba(3, 12, 26, 0.72);
		color: #fff;
		font-size: 0.78rem;
		font-weight: 700;
	}

	.property-layout {
		padding: 22px 16px 30px;
		gap: 20px;
	}

	.keyfacts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.details {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact-card {
		padding: 20px;
	}

	.lightbox {
		grid-template-columns: minmax(0, 1fr);
		padding: 12px;
	}

	.lightbox-step {
		display: none;
	}

	/* The ways to make contact, always under the thumb. It takes the place of
	   the site's own bar on this page. */
	.esr-property .tabbar {
		display: none;
	}

	.actionbar {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		z-index: 110;
		display: flex;
		gap: 6px;
		padding: 6px;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 22px;
		background: rgba(6, 27, 51, 0.92);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		box-shadow: 0 12px 34px rgba(2, 10, 24, 0.45);
	}

	.actionbar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 13px 14px;
		border-radius: 16px;
		color: #fff;
		font-size: 0.9rem;
		font-weight: 800;
	}

	.actionbar a:not(.actionbar-main) span {
		display: none;
	}

	.actionbar a:not(.actionbar-main) {
		flex: 0 0 52px;
		background: rgba(255, 255, 255, 0.12);
		font-size: 1.1rem;
	}

	.actionbar-main {
		flex: 1;
		background: linear-gradient(135deg, #ff8a2b, var(--accent));
	}

	.drawer-open .actionbar {
		display: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.tabbar,
	.actionbar,
	.band-similar,
	.pcard-share,
	.scroll-bar,
	#esg-chat,
	.cmplz-cookiebanner {
		display: none !important;
	}

	.property-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   The rest of the site: agents, guides, sign-in, About, FAQ, Contact,
   Pricing, the policies and the page that is not there.
   ========================================================================== */

:root {
	--r-md: 14px;
}

/* A page under the band. Its first block rides up over the band's wave, the
   way the gallery does on a listing. */
.page-main {
	position: relative;
	z-index: 3;
	margin-top: clamp(-74px, -5vw, -40px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

.page-main > .wrap > * + *,
.page-main > * + .wrap,
.page-main > .wrap > .ask {
	margin-top: clamp(40px, 5vw, 72px);
}

.page-main-flush {
	margin-top: 0;
}

/* ------------------------------------------------------------- figures */

.stat-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.stat-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 26px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-2);
}

.stat-num {
	font-family: var(--display);
	font-size: clamp(2.2rem, 3.6vw, 3.2rem);
	font-weight: 600;
	line-height: 1;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.stat-label {
	color: var(--muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.stat-stack {
	display: grid;
	gap: 16px;
}

.stat-stack .stat-card {
	box-shadow: var(--sh-1);
}

.stat-card-link {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	border-color: transparent;
	background: linear-gradient(135deg, var(--ink), var(--navy));
	transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.stat-card-link .stat-label {
	color: #fff;
	font-size: 0.98rem;
}

.stat-card-link .stat-label i {
	margin-left: 6px;
	transition: transform 0.25s var(--ease);
}

.stat-card-link:hover {
	transform: translateY(-3px);
	box-shadow: var(--sh-2);
}

.stat-card-link:hover .stat-label i {
	transform: translateX(4px);
}

.stat-icon {
	display: grid;
	place-items: center;
	flex: 0 0 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--accent);
	color: #fff;
	font-size: 1.1rem;
}

/* ------------------------------------------- words on one side, things on the other */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}

.split-text > p {
	max-width: 62ch;
	margin-top: 16px;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.7;
}

.split-text .band-title {
	margin-top: 10px;
}

.split-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.check-list {
	display: grid;
	gap: 14px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	color: var(--muted);
	line-height: 1.55;
}

.check-list li > i {
	display: grid;
	place-items: center;
	flex: 0 0 26px;
	height: 26px;
	margin-top: 1px;
	border-radius: 50%;
	background: rgba(14, 77, 146, 0.1);
	color: var(--brand);
	font-size: 0.72rem;
}

.check-list strong {
	color: var(--ink);
}

.check-list-light li {
	color: #c3d3e8;
}

.check-list-light li > i {
	background: rgba(108, 196, 255, 0.16);
	color: var(--sky);
}

.check-list-light strong {
	color: #fff;
}

.steps-stack {
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.steps-stack .step {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	column-gap: 18px;
	padding: 22px 24px;
}

.steps-stack .step-no {
	grid-row: span 2;
}

.steps-stack .step h3 {
	margin-top: 0;
	font-size: 1.2rem;
}

.steps-stack .step p {
	margin-top: 4px;
}

/* ------------------------------------------------------- four doors in */

.who-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.who-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 26px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-1);
	transition: box-shadow 0.3s, border-color 0.3s;
}

a.who-card:hover {
	border-color: #c9d8ea;
	box-shadow: var(--sh-2);
}

.who-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--navy), var(--brand));
	color: #fff;
	font-size: 1.25rem;
	box-shadow: 0 10px 22px rgba(14, 77, 146, 0.28);
}

.who-card h3 {
	margin-top: 18px;
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--ink);
}

.who-card p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.96rem;
	line-height: 1.6;
}

.who-more {
	margin-top: auto;
	padding-top: 18px;
	color: var(--brand);
	font-size: 0.9rem;
	font-weight: 800;
}

.who-more i {
	margin-left: 4px;
	transition: transform 0.25s var(--ease);
}

a.who-card:hover .who-more i {
	transform: translateX(4px);
}

.pcard-wide {
	margin-bottom: 0;
}

.note-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 34px;
}

.note h3 {
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--ink);
}

.note p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 0.96rem;
	line-height: 1.65;
}

.note a,
.pcard-empty a,
.auth-switch a,
.auth-row a,
.faq-answer a,
.faq-more a,
.contact-legal a {
	color: var(--brand);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(14, 77, 146, 0.3);
	text-underline-offset: 3px;
}

.note a:hover,
.pcard-empty a:hover,
.auth-switch a:hover,
.auth-row a:hover,
.faq-answer a:hover,
.faq-more a:hover {
	text-decoration-color: currentColor;
}

/* ---------------------------------------------------------------- agents */

.agent-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 22px;
}

.agent-card {
	position: relative;
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-2);
}

.agent-face {
	display: grid;
	place-items: center;
	flex: 0 0 92px;
	width: 92px;
	height: 92px;
	overflow: hidden;
	border-radius: 24px;
	background: var(--soft);
	color: var(--brand);
	font-size: 1.9rem;
}

.agent-face img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

.agent-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

.agent-name {
	font-family: var(--display);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--ink);
}

.agent-name a:hover {
	color: var(--brand);
}

.agent-role {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.94rem;
}

.agent-facts {
	display: grid;
	gap: 6px;
	margin: 14px 0 18px;
	padding: 0;
	list-style: none;
	color: var(--text);
	font-size: 0.9rem;
}

.agent-facts i {
	width: 18px;
	color: var(--brand);
}

.agent-card-join {
	border-style: dashed;
	border-color: #b9c9dc;
	background: transparent;
	box-shadow: none;
}

.agent-card-join .agent-face {
	background: rgba(255, 110, 0, 0.12);
	color: var(--accent);
}

.agent-card-join .agent-role {
	margin-bottom: 18px;
}

/* An agent's own page: their face and their figures, in the band. */
.agent-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin-top: 24px;
}

.agent-head-face {
	display: grid;
	place-items: center;
	flex: 0 0 104px;
	height: 104px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.9);
	border-radius: 28px;
	background: #fff;
	color: var(--brand);
	font-size: 2.2rem;
	box-shadow: var(--sh-3);
}

.agent-head-face img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.agent-head-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.agent-head-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #d7e5f6;
	font-size: 0.88rem;
	font-weight: 600;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.agent-head-facts strong {
	color: #fff;
	font-size: 1.05rem;
}

.agent-head-facts i {
	color: var(--sky);
}

.pcard-plain {
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.pcard-plain .pcard-row {
	justify-content: flex-start;
	margin-bottom: 20px;
}

.pcard-count {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 800;
}

.pcard-plain .prop-grid-results {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcard-empty {
	color: var(--muted);
}

.lister-top {
	margin-top: 0;
}

.contact-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.contact-links a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid #cfd9e6;
	border-radius: 12px;
	color: var(--ink);
	transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.contact-links a:hover {
	border-color: var(--brand);
	color: var(--brand);
	transform: translateY(-2px);
}

/* ---------------------------------------------------------------- guides */

.topic-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-2);
}

.chip.is-on {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.chip.is-on sup {
	color: #b9cbe2;
}

.lead-guide {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--r-lg);
	background: linear-gradient(140deg, #030f1f 0%, var(--ink) 40%, #0a2c52 100%);
	color: #fff;
	box-shadow: var(--sh-2);
	isolation: isolate;
}

.lead-guide-shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.lead-guide-shade .aurora {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
}

.lead-guide-shade .aurora-1 {
	top: -40%;
	right: -6%;
	width: 46%;
	aspect-ratio: 1;
	background: #1d6fd0;
}

.lead-guide-shade .aurora-2 {
	bottom: -55%;
	right: 26%;
	width: 34%;
	aspect-ratio: 1;
	background: var(--accent);
	opacity: 0.3;
}

.lead-guide-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	max-width: 880px;
	padding: clamp(28px, 4.4vw, 60px);
}

.lead-guide-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	color: #b9cbe2;
	font-size: 0.86rem;
	font-weight: 700;
}

.lead-guide-title {
	font-family: var(--display);
	font-size: clamp(1.7rem, 3.4vw, 2.8rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.lead-guide-text {
	max-width: 68ch;
	color: #c3d3e8;
	font-size: 1.04rem;
	line-height: 1.65;
}

.lead-guide .btn i {
	transition: transform 0.25s var(--ease);
}

.lead-guide:hover .btn i {
	transform: translateX(4px);
}

/* ------------------------------------------------ an article, or a policy */

.article .property-layout {
	margin-top: clamp(-74px, -5vw, -40px);
	padding-top: 0;
}

.property-layout-single {
	grid-template-columns: minmax(0, 1fr);
	max-width: 940px;
}

.article-tool .property-layout-single {
	max-width: 860px;
}

.pcard-article {
	padding: clamp(26px, 4vw, 56px);
	box-shadow: var(--sh-2);
}

.prose-article {
	max-width: 72ch;
	font-size: 1.08rem;
	line-height: 1.8;
}

.property-layout-single .prose-article {
	max-width: none;
}

.prose-article > h2 {
	margin-top: 1.9em;
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.prose-article > h2:first-child,
.prose-article > p:first-child {
	margin-top: 0;
}

.prose-article > p:first-child {
	color: var(--ink);
	font-size: 1.18rem;
	line-height: 1.65;
}

/* A tool from the plugin draws its own form; it only needs room. */
.prose-tool > p:first-child {
	font-size: 1.08rem;
	color: var(--muted);
}

.prose-tool form,
.prose-tool .esg-form,
.prose-tool [class*="esg-"] {
	max-width: 100%;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.post-meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #d7e5f6;
	font-size: 0.86rem;
	font-weight: 600;
}

.post-meta a {
	color: #fff;
	font-weight: 800;
}

.post-meta i {
	color: var(--sky);
}

.article .page-title,
.esr-post .page-title {
	max-width: 30ch;
}

.outline h2,
.next-step h2 {
	font-family: var(--display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ink);
}

.outline ol {
	display: grid;
	gap: 2px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: outline;
}

.outline li {
	counter-increment: outline;
}

.outline a {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 8px;
	padding: 9px 10px;
	border-radius: 10px;
	color: var(--text);
	font-size: 0.93rem;
	font-weight: 600;
	line-height: 1.4;
	transition: background-color 0.2s, color 0.2s;
}

.outline a::before {
	content: counter(outline, decimal-leading-zero);
	color: var(--faint);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.7;
}

.outline a:hover,
.outline a.is-here {
	background: var(--soft);
	color: var(--brand);
}

.property-side > * + * {
	margin-top: 18px;
}

.next-step {
	display: grid;
	gap: 12px;
}

.next-step p {
	color: var(--muted);
	font-size: 0.95rem;
}

.link-list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.link-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	border-radius: 10px;
	color: var(--ink);
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s;
}

.link-list a:hover {
	background: var(--soft);
	color: var(--brand);
}

.link-list i {
	font-size: 0.8rem;
	opacity: 0.6;
}

/* ------------------------------------------------------------------- FAQ */

.faq-layout {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.faq-layout > * + * {
	margin-top: 0 !important;
}

.faq-nav {
	position: sticky;
	top: calc(var(--header-h) + 16px);
	display: grid;
	gap: 4px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-2);
}

.faq-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s;
}

.faq-nav a > i {
	width: 18px;
	color: var(--brand);
	text-align: center;
}

.faq-nav a > span {
	margin-left: auto;
	color: var(--faint);
	font-size: 0.8rem;
}

.faq-nav a:hover,
.faq-nav a.is-here {
	background: var(--soft);
	color: var(--brand);
}

.faq-nav .faq-nav-ask {
	margin-top: 8px;
	background: var(--ink);
	color: #fff;
}

.faq-nav .faq-nav-ask > i {
	color: var(--sky);
}

.faq-nav .faq-nav-ask:hover {
	background: var(--navy);
	color: #fff;
}

.faq-groups {
	display: grid;
	gap: 22px;
	min-width: 0;
}

.faq-group {
	padding: clamp(22px, 2.8vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-2);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.faq-group > h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
	font-family: var(--display);
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--ink);
}

.faq-group-icon {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	height: 44px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--navy), var(--brand));
	color: #fff;
	font-size: 1rem;
}

.faq-item {
	border-top: 1px solid var(--line);
}

.faq-item:first-child {
	border-top: 0;
}

.faq-item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 2px;
	color: var(--ink);
	font-size: 1.06rem;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
	transition: color 0.2s;
}

.faq-item > summary::-webkit-details-marker {
	display: none;
}

.faq-item > summary:hover {
	color: var(--brand);
}

.faq-item > summary > i {
	display: grid;
	place-items: center;
	flex: 0 0 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--soft);
	color: var(--brand);
	font-size: 0.8rem;
	transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s;
}

.faq-item[open] > summary > i {
	background: var(--brand);
	color: #fff;
	transform: rotate(135deg);
}

.faq-answer {
	padding: 0 50px 20px 2px;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.7;
}

.faq-item[open] .faq-answer {
	animation: faq-in 0.4s var(--ease);
}

@keyframes faq-in {
	from { opacity: 0; transform: translate3d(0, -6px, 0); }
	to { opacity: 1; transform: none; }
}

.faq-more {
	margin-top: 14px;
	font-size: 0.95rem;
}

/* --------------------------------------------------------------- contact */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 30px;
	align-items: start;
}

.contact-layout > * + * {
	margin-top: 0 !important;
}

.contact-layout .form-card {
	margin-bottom: 0;
	padding: clamp(24px, 3.4vw, 44px);
	box-shadow: var(--sh-2);
}

.form-card form .btn[type="submit"] {
	justify-self: start;
}

.field-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.field > span em {
	margin-left: 6px;
	color: var(--faint);
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235b6b80' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	cursor: pointer;
}

/* Kept off the screen for people; see esr_contact_send(). */
.field-trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-side {
	display: grid;
	gap: 14px;
}

.contact-tile {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: #fff;
	box-shadow: var(--sh-1);
	transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

a.contact-tile:hover {
	border-color: #c9d8ea;
	box-shadow: var(--sh-2);
	transform: translateY(-2px);
}

.contact-tile-icon {
	display: grid;
	place-items: center;
	grid-row: span 3;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--soft);
	color: var(--brand);
	font-size: 1.1rem;
}

.contact-tile h3 {
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--ink);
}

.contact-tile p {
	margin-top: 3px;
	color: var(--muted);
	font-size: 0.94rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.contact-tile .btn {
	justify-self: start;
	margin-top: 14px;
}

.contact-tile-dark {
	border: 0;
	background: linear-gradient(150deg, #030f1f 0%, var(--ink) 45%, #0a2c52 100%);
	box-shadow: var(--sh-2);
}

.contact-tile-dark h3 {
	color: #fff;
}

.contact-tile-dark p {
	color: #c3d3e8;
}

.contact-tile-dark .contact-tile-icon {
	background: rgba(108, 196, 255, 0.16);
	color: var(--sky);
}

.contact-social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.contact-social a {
	color: var(--brand);
	font-weight: 700;
}

.contact-social a:hover {
	text-decoration: underline;
}

.contact-legal {
	padding: 0 6px;
	color: var(--faint);
	font-size: 0.84rem;
	line-height: 1.5;
}

/* --------------------------------------------------------------- pricing */

.band-plans-page {
	margin-top: -1px;
	padding-top: clamp(10px, 2vw, 26px);
	background: linear-gradient(180deg, #0a2c52 0%, var(--ink) 100%);
}

.esr-pricing .page-head {
	background: linear-gradient(180deg, #030f1f 0%, var(--ink) 40%, #0a2c52 100%);
}

.esr-pricing .page-head .page-shade {
	-webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}

.esr-pricing .page-head .hero-wave {
	display: none;
}

.esr-pricing .page-head-inner {
	padding-bottom: clamp(34px, 4vw, 54px);
}

.band-plans-page + .wrap {
	margin-top: clamp(48px, 6vw, 84px);
}

.faq-group-wide {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

/* --------------------------------------------------------------- sign in */

.auth {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(140deg, #030f1f 0%, var(--ink) 36%, #0a2c52 72%, #0d3d6e 100%);
	isolation: isolate;
}

.auth-shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.auth-shade .aurora {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
}

.auth-shade .aurora-1 {
	top: -20%;
	left: -8%;
	width: 44%;
	aspect-ratio: 1;
	background: #1d6fd0;
	opacity: 0.4;
}

.auth-shade .aurora-2 {
	bottom: -30%;
	left: 30%;
	width: 30%;
	aspect-ratio: 1;
	background: var(--accent);
	opacity: 0.2;
}

.auth-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	gap: clamp(30px, 5vw, 80px);
	align-items: center;
	max-width: 1240px;
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	margin: 0 auto;
	padding: clamp(34px, 5vw, 70px) 24px clamp(48px, 6vw, 90px);
}

.auth-title {
	max-width: 16ch;
	margin-top: 14px;
	font-family: var(--display);
	font-size: clamp(2.1rem, 4.2vw, 3.5rem);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.auth-pitch .check-list {
	max-width: 46ch;
}

/* Three real listings, fanned out in depth and breathing slowly. */
.auth-stack {
	position: relative;
	height: 300px;
	margin-top: 40px;
	perspective: 1300px;
	perspective-origin: 30% 50%;
}

.auth-photo {
	position: absolute;
	top: 0;
	left: calc(var(--k) * 23%);
	width: min(250px, 42%);
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #0a2343;
	box-shadow: var(--sh-3);
	transform: rotateY(-24deg) rotateX(6deg) translate3d(0, calc(var(--k) * 16px), calc(var(--k) * -70px));
	transform-origin: 0 50%;
	animation: auth-float 7s ease-in-out infinite;
	animation-delay: calc(var(--k) * -2.2s);
	z-index: calc(3 - var(--k));
}

.auth-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.auth-photo figcaption {
	display: flex;
	flex-direction: column;
	padding: 11px 14px 13px;
	color: #b9cbe2;
	font-size: 0.78rem;
	font-weight: 600;
}

.auth-photo figcaption b {
	color: #fff;
	font-family: var(--display);
	font-size: 1.1rem;
	font-weight: 600;
}

@keyframes auth-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -12px; }
}

.auth-card {
	padding: clamp(22px, 3vw, 36px);
	border-radius: var(--r-lg);
	background: #fff;
	color: var(--text);
	box-shadow: var(--sh-3);
}

.auth-tabs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 4px;
	margin-bottom: 22px;
	padding: 4px;
	border-radius: 14px;
	background: var(--soft);
}

.auth-tab {
	padding: 12px 10px;
	border: 0;
	border-radius: 11px;
	background: transparent;
	color: var(--muted);
	font-size: 0.98rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.auth-tab.is-on {
	background: #fff;
	color: var(--ink);
	box-shadow: var(--sh-1);
}

.auth-sub {
	font-family: var(--display);
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--ink);
}

.auth-help {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.auth-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	font-size: 0.9rem;
}

.auth-switch {
	color: var(--muted);
	font-size: 0.94rem;
	text-align: center;
}

.auth-note {
	margin-top: 18px;
	text-align: center;
}

.form-result-top:not(:empty) {
	margin-bottom: 2px;
}

.field {
	position: relative;
}

.field-secret input {
	padding-right: 48px;
}

.field-peek {
	position: absolute;
	right: 4px;
	bottom: 3px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}

.field-peek:hover {
	color: var(--brand);
}

.field-hint {
	display: block;
	margin-top: 6px;
	color: var(--faint);
	font-size: 0.8rem;
}

.field-hint + .field-peek {
	bottom: auto;
}

.check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--text);
	font-size: 0.92rem;
	line-height: 1.45;
	cursor: pointer;
}

.check input {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--brand);
}

.check a {
	color: var(--brand);
	font-weight: 700;
	text-decoration: underline;
}

.check.has-error {
	color: #a12d2d;
}

.check.has-error input {
	outline: 2px solid #d14343;
	outline-offset: 2px;
}

.role-pick {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.role-pick legend {
	margin-bottom: 8px;
	padding: 0;
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.role {
	position: relative;
	cursor: pointer;
}

.role input {
	position: absolute;
	opacity: 0;
}

.role span {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #cfd9e6;
	border-radius: 12px;
	color: var(--text);
	font-size: 0.95rem;
	font-weight: 700;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.role span i {
	width: 20px;
	color: var(--faint);
	text-align: center;
	transition: color 0.2s;
}

.role input:checked + span {
	border-color: var(--brand);
	background: rgba(14, 77, 146, 0.06);
	box-shadow: 0 0 0 3px rgba(47, 127, 214, 0.16);
	color: var(--ink);
}

.role input:checked + span i {
	color: var(--brand);
}

.role input:focus-visible + span {
	outline: 3px solid var(--sky);
	outline-offset: 2px;
}

/* On the sign-in page the bottom bar would only be in the way of the keyboard. */
.esr-signin .tabbar {
	display: none;
}

.esr-signin .site-footer {
	margin-top: 0;
}

/* ------------------------------------------------------- nothing is here */

.lost {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	box-shadow: var(--sh-2);
}

.lost-col h2 {
	margin-bottom: 12px;
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.esr-notfound .page-head-inner {
	padding-bottom: clamp(90px, 10vw, 140px);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
	.who-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split,
	.contact-layout,
	.faq-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.faq-nav {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.faq-nav .faq-nav-ask {
		grid-column: 1 / -1;
	}

	.auth-inner {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.auth-card {
		order: -1;
		width: 100%;
		max-width: 520px;
		margin: 0 auto;
	}

	.auth-pitch {
		max-width: 520px;
		margin: 0 auto;
	}

	.auth-title {
		font-size: clamp(1.7rem, 5vw, 2.3rem);
	}

	.article .property-side {
		order: -1;
	}

	.article .property-side .next-step {
		display: none;
	}

	.note-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.page-main {
		margin-top: -34px;
	}

	.article .property-layout {
		margin-top: -34px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.stat-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.stat-card {
		padding: 18px;
	}

	.who-grid,
	.lost,
	.field-pair {
		grid-template-columns: minmax(0, 1fr);
	}

	.pcard-plain .prop-grid-results {
		grid-template-columns: minmax(0, 1fr);
	}

	.agent-card {
		flex-direction: column;
		gap: 16px;
		padding: 22px;
	}

	.agent-face {
		flex: 0 0 auto;
		width: 76px;
		height: 76px;
		border-radius: 20px;
	}

	/* The sections become a row to swipe, not a screenful to scroll past. */
	.faq-nav {
		display: flex;
		gap: 6px;
		padding: 8px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.faq-nav::-webkit-scrollbar {
		display: none;
	}

	.faq-nav a {
		flex: 0 0 auto;
		padding: 10px 14px;
		white-space: nowrap;
	}

	.faq-nav a > span {
		margin-left: 2px;
	}

	.band-plans-page .plan-foot {
		padding-right: 64px;
		text-align: left;
	}

	.agent-head {
		gap: 16px;
	}

	.agent-head-face {
		flex-basis: 78px;
		height: 78px;
		border-radius: 22px;
	}

	.auth-inner {
		padding: 22px 16px 44px;
	}

	.auth-stack {
		height: 200px;
		margin-top: 30px;
	}

	.faq-answer {
		padding-right: 2px;
	}

	.faq-item > summary {
		font-size: 1rem;
	}

	.form-card form .btn[type="submit"] {
		justify-self: stretch;
	}

	.topic-row {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.topic-row::-webkit-scrollbar {
		display: none;
	}

	.topic-row .chip {
		flex: 0 0 auto;
	}

	.prose-article {
		font-size: 1.02rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.auth-photo,
	.faq-item[open] .faq-answer {
		animation: none;
	}
}
