@font-face {
	font-family: Cairo;
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("/assets/milestone_showcase/fonts/cairo/cairo-arabic-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
	font-family: Cairo;
	font-style: normal;
	font-display: swap;
	font-weight: 200 1000;
	src: url("/assets/milestone_showcase/fonts/cairo/cairo-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root,
[data-theme="light"] {
	--ms-ink: #12151a;
	--ms-text: #1a1d21;
	--ms-muted: #5c6570;
	--ms-bg: #f4f6f8;
	--ms-surface: #ffffff;
	--ms-accent: #0d5c4a;
	--ms-accent-deep: #0a4a3c;
	--ms-border: #e2e6ea;
	--ms-hero-overlay: rgba(18, 21, 26, 0.35);
	--ms-header-bg: rgba(244, 246, 248, 0.92);
	--ms-on-hero: #f5f7fa;
	--ms-btn-fg: #f5f7fa;
	--ms-pat-skyline-l: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 300'><rect x='0' y='240' width='6' height='60' fill='%2312151a'/><rect x='30' y='190' width='6' height='110' fill='%2312151a'/><rect x='60' y='140' width='6' height='160' fill='%2312151a'/><rect x='90' y='90' width='6' height='210' fill='%2312151a'/><rect x='120' y='40' width='6' height='260' fill='%2312151a'/></svg>");
	--ms-pat-skyline-r: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 300'><rect x='140' y='240' width='6' height='60' fill='%2312151a'/><rect x='110' y='190' width='6' height='110' fill='%2312151a'/><rect x='80' y='140' width='6' height='160' fill='%2312151a'/><rect x='50' y='90' width='6' height='210' fill='%2312151a'/><rect x='20' y='40' width='6' height='260' fill='%2312151a'/></svg>");
	--ms-pat-bars-alpha: 0.045;
	--ms-pat-gold: rgba(191, 160, 93, 0.22);
	--ms-pat-line: rgba(18, 21, 26, 0.1);
	--ms-pat-dot: rgba(18, 21, 26, 0.16);
	--ms-pat-arches: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 48'><path d='M6 42C30 8 90 8 114 42' fill='none' stroke='%23bfa05d' stroke-width='1.35'/></svg>");
}

[data-theme="dark"] {
	--ms-ink: #f5f7fa;
	--ms-text: #e8edf2;
	--ms-muted: #8b93a3;
	--ms-bg: #060b14;
	--ms-surface: #0e1624;
	--ms-accent: #3bb89a;
	--ms-accent-deep: #2a9a80;
	--ms-border: #2a3138;
	--ms-hero-overlay: rgba(6, 11, 20, 0.45);
	--ms-header-bg: rgba(6, 11, 20, 0.92);
	--ms-on-hero: #f5f7fa;
	--ms-btn-fg: #060b14;
	--ms-pat-skyline-l: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 300'><rect x='0' y='240' width='6' height='60' fill='%23f5f7fa'/><rect x='30' y='190' width='6' height='110' fill='%23f5f7fa'/><rect x='60' y='140' width='6' height='160' fill='%23f5f7fa'/><rect x='90' y='90' width='6' height='210' fill='%23f5f7fa'/><rect x='120' y='40' width='6' height='260' fill='%23f5f7fa'/></svg>");
	--ms-pat-skyline-r: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 300'><rect x='140' y='240' width='6' height='60' fill='%23f5f7fa'/><rect x='110' y='190' width='6' height='110' fill='%23f5f7fa'/><rect x='80' y='140' width='6' height='160' fill='%23f5f7fa'/><rect x='50' y='90' width='6' height='210' fill='%23f5f7fa'/><rect x='20' y='40' width='6' height='260' fill='%23f5f7fa'/></svg>");
	--ms-pat-bars-alpha: 0.05;
	--ms-pat-gold: rgba(191, 160, 93, 0.22);
	--ms-pat-line: rgba(245, 247, 250, 0.12);
	--ms-pat-dot: rgba(245, 247, 250, 0.2);
	--ms-pat-arches: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 48'><path d='M6 42C30 8 90 8 114 42' fill='none' stroke='%23bfa05d' stroke-width='1.35'/></svg>");
}

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

html { scroll-behavior: smooth; }

html,
body {
	margin: 0;
	padding: 0;
	background: var(--ms-bg);
	color: var(--ms-text);
	font-family: Cairo, "Noto Naskh Arabic", system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.7;
	transition: background-color 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

html[lang="ar"] [data-lang="en"],
html[lang="en"] [data-lang="ar"] { display: none; }

html.is-lang-switching .ms-hero__headline,
html.is-lang-switching .ms-hero__support,
html.is-lang-switching .ms-title,
html.is-lang-switching .ms-page-title,
html.is-lang-switching .ms-lead,
html.is-lang-switching .ms-body,
html.is-lang-switching .ms-path__name,
html.is-lang-switching .ms-path__body,
html.is-lang-switching .ms-about__chip,
html.is-lang-switching .ms-projects__name,
html.is-lang-switching .ms-projects__note,
html.is-lang-switching .ms-proj-hero__name,
html.is-lang-switching .ms-proj-hero__note,
html.is-lang-switching .ms-proj-hero__item-name,
html.is-lang-switching .ms-services__name,
html.is-lang-switching .ms-services__desc,
html.is-lang-switching .ms-offer__name,
html.is-lang-switching .ms-offer__desc,
html.is-lang-switching .ms-offer__step-name,
html.is-lang-switching .ms-footer__preview,
html.is-lang-switching .ms-footer__note,
html.is-lang-switching .ms-nav__link,
html.is-lang-switching .ms-nav__sub,
html.is-lang-switching .ms-btn span,
html.is-lang-switching .ms-text-link,
html.is-lang-switching .ms-chip,
html.is-lang-switching .ms-mode__btn {
	opacity: 0;
}

.ms-hero__headline,
.ms-hero__support,
.ms-title,
.ms-page-title,
.ms-lead,
.ms-body,
.ms-projects__name,
.ms-projects__note,
.ms-proj-hero__name,
.ms-proj-hero__note,
.ms-proj-hero__item-name,
.ms-services__name,
.ms-services__desc,
.ms-footer__preview,
.ms-footer__note,
.ms-nav__link,
.ms-btn span,
.ms-text-link {
	transition: opacity 0.28s ease;
}

.ms-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 40;
	padding: 0.85rem 0;
	overflow: visible;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ms-header.is-stuck,
.ms-page .ms-header {
	background: var(--ms-header-bg);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 var(--ms-border);
}

.ms-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

.ms-wordmark {
	display: flex;
	align-items: center;
	margin: 0;
	margin-inline-end: auto;
	line-height: 0;
}

.ms-logo {
	display: none;
	height: 2.75rem;
	min-height: 2.75rem;
	width: auto;
	flex-shrink: 0;
}

.ms-logo--white { display: block; }

.ms-header.is-stuck .ms-logo--white,
.ms-page .ms-header .ms-logo--white { display: none; }

.ms-header.is-stuck .ms-logo--color,
.ms-page .ms-header .ms-logo--color { display: block; }

html[data-theme="dark"] .ms-header.is-stuck .ms-logo--color,
html[data-theme="dark"] .ms-page .ms-header .ms-logo--color { display: none; }

html[data-theme="dark"] .ms-header.is-stuck .ms-logo--white,
html[data-theme="dark"] .ms-page .ms-header .ms-logo--white { display: block; }

.ms-header.is-stuck .ms-icon-btn,
.ms-page .ms-header .ms-icon-btn,
.ms-header.is-stuck .ms-menu-btn,
.ms-page .ms-header .ms-menu-btn,
.ms-header.is-stuck .ms-nav__link,
.ms-page .ms-header .ms-nav__link,
.ms-header.is-stuck .ms-nav__caret,
.ms-page .ms-header .ms-nav__caret,
.ms-header.is-stuck .ms-preview-tag,
.ms-page .ms-header .ms-preview-tag {
	color: var(--ms-ink);
}

.ms-nav {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}

.ms-nav__link {
	color: var(--ms-on-hero);
	font-size: 0.95rem;
	font-weight: 600;
}

.ms-header:not(.is-stuck) .ms-nav__link,
.ms-header:not(.is-stuck) .ms-icon-btn,
.ms-header:not(.is-stuck) .ms-menu-btn,
.ms-header:not(.is-stuck) .ms-accent__toggle {
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.ms-nav__link.is-current {
	color: var(--ms-accent);
}

.ms-header.is-stuck .ms-nav__link.is-current,
.ms-page .ms-header .ms-nav__link.is-current {
	color: var(--ms-accent);
}

.ms-header__actions {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.ms-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.15rem;
	margin-inline-end: 0.25rem;
	padding: 0.1rem 0.85rem;
	border-radius: 2px;
	background: var(--ms-accent);
	color: var(--ms-btn-fg);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
}

.ms-login:hover {
	background: var(--ms-accent-deep);
	color: var(--ms-btn-fg);
}

.ms-preview-tag {
	margin: 0 0.4rem 0 0;
	color: var(--ms-on-hero);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	opacity: 0.8;
}

.ms-icon-btn,
.ms-menu-btn {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--ms-on-hero);
	min-height: 2.4rem;
	padding: 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
}

.ms-menu-btn { display: none; }

.ms-theme-icon { display: none; line-height: 0; }
[data-theme="light"] .ms-theme-icon--moon,
[data-theme="dark"] .ms-theme-icon--sun { display: block; }

.ms-hero {
	position: relative;
	height: 100svh;
	min-height: 100svh;
	color: var(--ms-on-hero);
	overflow: hidden;
	background: #060b14;
}

.ms-hero__track,
.ms-hero__slide,
.ms-hero__media {
	position: absolute;
	inset: 0;
}

.ms-hero__slide {
	display: grid;
	padding: 5.6rem 1rem 5.2rem;
	pointer-events: none;
}

.ms-hero__slide.is-current { pointer-events: auto; }

.ms-hero__slide[data-align="start"] { justify-items: start; text-align: start; }
.ms-hero__slide[data-align="center"] { justify-items: center; text-align: center; }
.ms-hero__slide[data-align="end"] { justify-items: end; text-align: end; }
.ms-hero__slide[data-valign="start"] { align-items: start; }
.ms-hero__slide[data-valign="center"] { align-items: center; }
.ms-hero__slide[data-valign="end"] { align-items: end; }

.ms-hero__media {
	overflow: hidden;
	background: #060b14;
	z-index: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0.7s ease;
}

.ms-hero__slide.is-current .ms-hero__media {
	opacity: 1;
	visibility: visible;
}

.ms-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
}

.ms-hero__slide.is-current .ms-hero__img {
	animation: ms-hero-ken 7.4s ease-out forwards;
}

.ms-hero__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgba(6, 9, 16, 0.52) 0%, rgba(6, 9, 16, 0.08) 26%, transparent 42%),
		linear-gradient(to top, rgba(6, 9, 16, 0.76) 0%, rgba(6, 9, 16, 0.18) 46%, rgba(6, 9, 16, 0.28) 100%);
	pointer-events: none;
}

html[dir="rtl"] .ms-hero__slide[data-align="start"] .ms-hero__veil {
	background:
		linear-gradient(to bottom, rgba(6, 9, 16, 0.5) 0%, transparent 24%),
		linear-gradient(to left, rgba(6, 9, 16, 0.78) 0%, rgba(6, 9, 16, 0.28) 42%, rgba(6, 9, 16, 0.16) 100%);
}

html[dir="rtl"] .ms-hero__slide[data-align="end"] .ms-hero__veil {
	background:
		linear-gradient(to bottom, rgba(6, 9, 16, 0.5) 0%, transparent 24%),
		linear-gradient(to right, rgba(6, 9, 16, 0.78) 0%, rgba(6, 9, 16, 0.28) 42%, rgba(6, 9, 16, 0.16) 100%);
}

html[dir="ltr"] .ms-hero__slide[data-align="start"] .ms-hero__veil {
	background:
		linear-gradient(to bottom, rgba(6, 9, 16, 0.5) 0%, transparent 24%),
		linear-gradient(to right, rgba(6, 9, 16, 0.78) 0%, rgba(6, 9, 16, 0.28) 42%, rgba(6, 9, 16, 0.16) 100%);
}

html[dir="ltr"] .ms-hero__slide[data-align="end"] .ms-hero__veil {
	background:
		linear-gradient(to bottom, rgba(6, 9, 16, 0.5) 0%, transparent 24%),
		linear-gradient(to left, rgba(6, 9, 16, 0.78) 0%, rgba(6, 9, 16, 0.28) 42%, rgba(6, 9, 16, 0.16) 100%);
}

.ms-hero__slide[data-align="center"] .ms-hero__veil,
.ms-hero__slide[data-valign="center"] .ms-hero__veil {
	background:
		linear-gradient(to bottom, rgba(6, 9, 16, 0.48) 0%, transparent 22%),
		linear-gradient(to top, rgba(6, 9, 16, 0.55) 0%, rgba(6, 9, 16, 0.42) 38%, rgba(6, 9, 16, 0.28) 70%, rgba(6, 9, 16, 0.2) 100%);
}

.ms-hero__inner {
	position: relative;
	z-index: 2;
	width: min(38rem, calc(100% - 1rem));
	margin: 0;
	margin-inline-start: var(--ms-hero-inline, 0px);
	translate: 0 var(--ms-hero-block, 0px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0.7s ease;
}

.ms-hero__slide.is-current .ms-hero__inner {
	opacity: 1;
	visibility: visible;
}

.ms-hero__slide[data-align="center"] .ms-hero__inner { width: min(42rem, calc(100% - 1rem)); }

.ms-hero__eyebrow {
	margin: 0 0 0.55rem;
	color: #e4c57a;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ms-hero__headline {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(2rem, 5.4vw, 3.5rem);
	font-weight: 800;
	line-height: 1.18;
}

.ms-hero__slide[data-align="center"] .ms-hero__headline { max-width: 16ch; }

.ms-hero__support {
	margin: 0.75rem 0 0;
	max-width: 34ch;
	font-size: 1.05rem;
	color: rgba(245, 247, 250, 0.92);
	line-height: 1.55;
}

.ms-hero__controls {
	position: absolute;
	inset-inline: 0;
	bottom: 1.2rem;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 0 1rem;
}

.ms-hero__arrow {
	appearance: none;
	border: 0;
	background: rgba(6, 9, 16, 0.45);
	color: var(--ms-on-hero);
	min-height: 2.4rem;
	padding: 0 0.85rem;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
}

.ms-hero__dots {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.45rem;
}

.ms-hero__dot {
	appearance: none;
	border: 0;
	width: 2.4rem;
	height: 0.28rem;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 4rem;
	background: rgba(245, 247, 250, 0.35);
	cursor: pointer;
}

.ms-hero__dot.is-current { background: var(--ms-accent); }

@keyframes ms-hero-ken {
	from { transform: scale(1.04); }
	to { transform: scale(1.12); }
}

.ms-hero__cta,
.ms-footer__cta,
.ms-page-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem 1.4rem;
	margin-top: 1.5rem;
	align-items: center;
}

.ms-btn {
	display: inline-flex;
	align-items: center;
	min-height: 2.8rem;
	padding: 0.15rem 1.15rem;
	border-radius: 2px;
	font-weight: 700;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ms-btn--primary {
	background: var(--ms-accent);
	color: var(--ms-btn-fg);
}

.ms-btn--primary:hover {
	background: var(--ms-accent-deep);
	transform: scale(1.025);
}

.ms-text-link {
	color: inherit;
	box-shadow: inset 0 -1px 0 currentColor;
	font-weight: 700;
}

.ms-text-link:hover { box-shadow: inset 0 -2px 0 currentColor; }
.ms-text-link--on-hero { color: var(--ms-on-hero); }

.ms-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	z-index: 2;
	padding: 4.5rem 0;
	background: transparent;
	transition: background-color 0.2s ease;
}

.ms-section > .ms-wrap,
.ms-footer > .ms-wrap { position: relative; z-index: 1; }

.ms-footer > .ms-wrap { z-index: 2; }

.ms-section::before,
.ms-section::after,
.ms-footer::before,
.ms-footer::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: 0;
}

.ms-footer::before { z-index: 2; }

.ms-pat-rise::before {
	inset: auto auto 0 0;
	width: min(46vw, 24rem);
	height: min(72%, 28rem);
	background-image: var(--ms-pat-skyline-l);
	background-repeat: no-repeat;
	background-position: left -2rem bottom 0;
	background-size: 100% auto;
	opacity: calc(var(--ms-pat-bars-alpha) * 1.35);
	-webkit-mask-image: linear-gradient(to top, #000 0, rgba(0,0,0,0.5) 55%, transparent 100%);
	mask-image: linear-gradient(to top, #000 0, rgba(0,0,0,0.5) 55%, transparent 100%);
	animation: ms-pat-breathe 16s ease-in-out infinite;
}

html[dir="rtl"] .ms-pat-rise::before {
	inset: auto 0 0 auto;
	background-image: var(--ms-pat-skyline-r);
	background-position: right -2rem bottom 0;
}

.ms-pat-rise::after {
	inset: 12% auto auto -8%;
	width: min(28rem, 52vw);
	height: min(28rem, 52vw);
	border: 1px solid var(--ms-pat-gold);
	border-radius: 50%;
	opacity: 0.7;
	animation: ms-pat-rings 28s ease-in-out infinite;
}

html[dir="rtl"] .ms-pat-rise::after { inset: 12% -8% auto auto; }

.ms-pat-plots::before {
	inset: 0;
	background-image:
		linear-gradient(var(--ms-pat-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--ms-pat-line) 1px, transparent 1px);
	background-size: 4.2rem 3.1rem;
	-webkit-mask-image: radial-gradient(ellipse at 70% 80%, #000 0, rgba(0,0,0,0.45) 42%, transparent 72%);
	mask-image: radial-gradient(ellipse at 70% 80%, #000 0, rgba(0,0,0,0.45) 42%, transparent 72%);
	animation: ms-pat-drift 22s ease-in-out infinite;
}

html[dir="rtl"] .ms-pat-plots::before {
	-webkit-mask-image: radial-gradient(ellipse at 30% 80%, #000 0, rgba(0,0,0,0.45) 42%, transparent 72%);
	mask-image: radial-gradient(ellipse at 30% 80%, #000 0, rgba(0,0,0,0.45) 42%, transparent 72%);
}

.ms-pat-plots::after {
	inset: auto 8% 12% auto;
	width: min(18rem, 42vw);
	height: 11rem;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 110'><rect x='4' y='8' width='52' height='38' fill='none' stroke='%23bfa05d' stroke-width='1.2'/><rect x='64' y='8' width='40' height='38' fill='none' stroke='%23bfa05d' stroke-width='1.2'/><rect x='112' y='8' width='60' height='38' fill='none' stroke='%23bfa05d' stroke-width='1.2'/><rect x='4' y='56' width='80' height='46' fill='none' stroke='%23bfa05d' stroke-width='1.2'/><rect x='92' y='56' width='80' height='46' fill='none' stroke='%23bfa05d' stroke-width='1.2'/></svg>");
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.34;
	animation: ms-pat-float 18s ease-in-out infinite;
}

html[dir="rtl"] .ms-pat-plots::after { inset: auto auto 12% 8%; }

.ms-pat-arches::before {
	inset: 0;
	background-image: var(--ms-pat-arches);
	background-repeat: repeat-y;
	background-position: 6% 0;
	background-size: 7.5rem auto;
	opacity: 0.28;
	-webkit-mask-image: linear-gradient(to left, transparent 0, #000 12%, #000 28%, transparent 48%);
	mask-image: linear-gradient(to left, transparent 0, #000 12%, #000 28%, transparent 48%);
	animation: ms-pat-arch-slide 28s linear infinite;
}

html[dir="rtl"] .ms-pat-arches::before {
	background-position: 94% 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 28%, transparent 48%);
	mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 28%, transparent 48%);
}

.ms-pat-arches::after {
	inset: auto -4rem -6rem auto;
	width: min(20rem, 46vw);
	height: min(20rem, 46vw);
	border: 1px solid var(--ms-pat-gold);
	border-radius: 50% 50% 0 0;
	opacity: 0.45;
}

html[dir="rtl"] .ms-pat-arches::after { inset: auto auto -6rem -4rem; }

.ms-pat-rings::before { display: none; }

.ms-pat-rings::after {
	inset-inline-start: -18%;
	top: -22%;
	width: min(42rem, 90vw);
	height: min(42rem, 90vw);
	border-radius: 50%;
	background: repeating-radial-gradient(
		circle at 50% 50%,
		transparent 0,
		transparent 2.6rem,
		var(--ms-pat-gold) 2.6rem,
		var(--ms-pat-gold) calc(2.6rem + 1px),
		transparent calc(2.6rem + 1px),
		transparent 2.8rem
	);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.85) 0, rgba(0,0,0,0.35) 40%, transparent 68%);
	mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.85) 0, rgba(0,0,0,0.35) 40%, transparent 68%);
	animation: ms-pat-rings 30s ease-in-out infinite;
}

html[dir="rtl"] .ms-pat-rings::after { inset-inline-start: auto; inset-inline-end: -18%; }

.ms-pat-hatch::before {
	inset: 0;
	background-image: repeating-linear-gradient(
		-32deg,
		transparent 0,
		transparent 18px,
		var(--ms-pat-line) 18px,
		var(--ms-pat-line) 19px
	);
	-webkit-mask-image: linear-gradient(to top, #000 0, rgba(0,0,0,0.35) 55%, transparent 100%);
	mask-image: linear-gradient(to top, #000 0, rgba(0,0,0,0.35) 55%, transparent 100%);
	animation: ms-pat-drift 28s ease-in-out infinite;
}

.ms-pat-hatch::after {
	inset: auto 0 0 auto;
	width: min(36vw, 18rem);
	height: min(50%, 16rem);
	background-image: var(--ms-pat-skyline-r);
	background-repeat: no-repeat;
	background-position: right -1rem bottom 0;
	background-size: 100% auto;
	opacity: calc(var(--ms-pat-bars-alpha) * 1.2);
}

html[dir="rtl"] .ms-pat-hatch::after {
	inset: auto auto 0 0;
	background-image: var(--ms-pat-skyline-l);
	background-position: left -1rem bottom 0;
}

.ms-pat-dots::before {
	inset: 0;
	background-image: radial-gradient(var(--ms-pat-dot) 1.1px, transparent 1.2px);
	background-size: 1.35rem 1.35rem;
	-webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000 0, rgba(0,0,0,0.4) 48%, transparent 75%);
	mask-image: radial-gradient(ellipse at 50% 100%, #000 0, rgba(0,0,0,0.4) 48%, transparent 75%);
}

.ms-pat-dots::after { display: none; }

.ms-pat-floors::before {
	inset: auto 0 0 0;
	height: min(70%, 22rem);
	background-image: repeating-linear-gradient(
		to top,
		var(--ms-pat-line) 0,
		var(--ms-pat-line) 1px,
		transparent 1px,
		transparent 2.15rem
	);
	-webkit-mask-image: linear-gradient(to top, #000, transparent);
	mask-image: linear-gradient(to top, #000, transparent);
}

.ms-pat-floors::after {
	inset: auto 10% 8% auto;
	width: min(14rem, 34vw);
	height: 9rem;
	background-image: linear-gradient(var(--ms-pat-gold), var(--ms-pat-gold));
	background-size: 100% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	border-inline-end: 1px solid var(--ms-pat-gold);
	opacity: 0.55;
}

html[dir="rtl"] .ms-pat-floors::after { inset: auto auto 8% 10%; }

.ms-pat-facts {
	background:
		radial-gradient(
			ellipse 80% 60% at 100% 0%,
			color-mix(in srgb, var(--ms-accent) 10%, transparent),
			transparent 55%
		),
		radial-gradient(
			ellipse 70% 50% at 0% 100%,
			color-mix(in srgb, var(--ms-accent) 7%, transparent),
			transparent 58%
		),
		color-mix(in srgb, var(--ms-accent) 4%, var(--ms-bg));
}

.ms-pat-facts::before {
	inset: 0;
	opacity: 1;
	background-image:
		linear-gradient(var(--ms-pat-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--ms-pat-line) 1px, transparent 1px);
	background-size: 2.4rem 2.4rem;
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0, rgba(0, 0, 0, 0.35) 42%, transparent 72%);
	mask-image: radial-gradient(ellipse at 70% 30%, #000 0, rgba(0, 0, 0, 0.35) 42%, transparent 72%);
	animation: ms-pat-drift 28s ease-in-out infinite;
}

.ms-pat-facts::after {
	inset: 12% auto auto 8%;
	width: min(11rem, 28vw);
	height: min(11rem, 28vw);
	border: 1px solid color-mix(in srgb, var(--ms-accent) 28%, var(--ms-pat-gold));
	border-radius: 50%;
	opacity: 0.45;
	animation: ms-pat-breathe 10s ease-in-out infinite;
}

html[dir="rtl"] .ms-pat-facts::after {
	inset: 12% 8% auto auto;
}

@keyframes ms-pat-drift {
	0%, 100% { background-position: 0 0, 0 0; }
	50% { background-position: 1.4rem 0.7rem, 1.4rem 0.7rem; }
}

@keyframes ms-pat-arch-slide {
	from { background-position-y: 0; }
	to { background-position-y: 7.5rem; }
}

@keyframes ms-pat-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-0.55rem); }
}

@keyframes ms-pat-breathe {
	0%, 100% { transform: translateY(0); opacity: var(--ms-pat-bars-alpha); }
	50% { transform: translateY(-0.6rem); opacity: calc(var(--ms-pat-bars-alpha) * 1.6); }
}

@keyframes ms-pat-rings {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.06); }
}

.ms-section--surface { background: transparent; }

.ms-section--page { padding-top: 7.4rem; }

.ms-wrap {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

.ms-wrap--narrow { width: min(720px, calc(100% - 2rem)); }

.ms-eyebrow {
	margin: 0 0 0.7rem;
	color: var(--ms-accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.ms-title,
.ms-page-title {
	margin: 0;
	max-width: 18ch;
	color: var(--ms-ink);
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 800;
	line-height: 1.25;
}

.ms-page-title { max-width: none; font-size: clamp(2rem, 4vw, 2.8rem); }

.ms-lead,
.ms-body {
	margin: 1rem 0 0;
	max-width: 42ch;
	color: var(--ms-muted);
	font-size: 1.05rem;
}

.ms-projects,
.ms-services {
	list-style: none;
	margin: 2.4rem 0 0;
	padding: 0;
}

.ms-projects__row,
.ms-services__row {
	display: grid;
	gap: 0.75rem 1.5rem;
	padding: 1.35rem 0;
	border-top: 1px solid var(--ms-border);
}

.ms-projects__row {
	grid-template-columns: 11rem minmax(0, 0.9fr) minmax(0, 1.4fr) auto;
	align-items: center;
}

.ms-projects__photo {
	display: block;
	overflow: hidden;
}

.ms-projects__photo img,
.ms-property-photo img {
	display: block;
	width: 100%;
	height: 7.5rem;
	object-fit: cover;
}

.ms-property-photo {
	margin: 1.25rem 0 0;
	overflow: hidden;
}

.ms-property-photo img {
	height: min(42vh, 20rem);
	transform: scale(1.02);
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-property-photo:hover img {
	transform: scale(1.08);
}

.ms-property-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	margin: 0.7rem 0 0;
}

.ms-property-gallery figure {
	margin: 0;
	overflow: hidden;
	background: var(--ms-surface, #111);
}

.ms-property-gallery img {
	display: block;
	width: 100%;
	height: 8.5rem;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-property-gallery figure:hover img {
	transform: scale(1.1);
}

@media (min-width: 720px) {
	.ms-property-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ms-property-gallery img {
		height: 9.5rem;
	}
}

.ms-projects__row:last-child,
.ms-services__row:last-child { border-bottom: 1px solid var(--ms-border); }

.ms-projects__name {
	margin: 0;
	color: var(--ms-ink);
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
}

.ms-projects__place,
.ms-projects__note,
.ms-services__desc {
	margin: 0.15rem 0 0;
	color: var(--ms-muted);
}


.ms-proj-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
	gap: 1.4rem 1.8rem;
	margin-top: 1.8rem;
	align-items: stretch;
}

.ms-proj-hero__stage {
	position: relative;
	min-height: clamp(24rem, 48vw, 34rem);
	overflow: hidden;
	background: #060b14;
	color: var(--ms-on-hero);
}

.ms-proj-hero__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.55s ease, visibility 0.55s ease;
	z-index: 0;
}

.ms-proj-hero__slide.is-current {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.ms-proj-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-proj-hero__slide.is-current .ms-proj-hero__img {
	animation: ms-hero-ken 7.4s ease-out forwards;
}

.ms-proj-hero__stage:hover .ms-proj-hero__slide.is-current .ms-proj-hero__img,
.ms-proj-hero__stage:focus-within .ms-proj-hero__slide.is-current .ms-proj-hero__img {
	transform: scale(1.1);
	animation-play-state: paused;
}

.ms-proj-hero__veil {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(6, 9, 16, 0.22) 0%, transparent 32%),
		linear-gradient(to top, rgba(6, 9, 16, 0.88) 0%, rgba(6, 9, 16, 0.32) 48%, rgba(6, 9, 16, 0.12) 100%);
	transition: opacity 0.45s ease;
}

.ms-proj-hero__stage:hover .ms-proj-hero__veil {
	opacity: 0.86;
}

.ms-proj-hero__copy {
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	z-index: 2;
	width: min(34rem, calc(100% - 2rem));
	padding: 1.5rem 1.3rem 1.6rem;
	translate: 0 0.4rem;
	transition: translate 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-proj-hero__stage:hover .ms-proj-hero__copy,
.ms-proj-hero__stage:focus-within .ms-proj-hero__copy {
	translate: 0 0;
}

.ms-proj-hero__kicker {
	margin: 0;
	color: rgba(245, 247, 250, 0.78);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ms-proj-hero__name {
	margin: 0.35rem 0 0;
	max-width: 14ch;
	color: var(--ms-on-hero);
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 800;
	line-height: 1.15;
}

.ms-proj-hero__note {
	margin: 0.55rem 0 1rem;
	max-width: 36ch;
	color: rgba(245, 247, 250, 0.82);
	font-size: 0.98rem;
	line-height: 1.55;
}

.ms-proj-hero__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	align-self: stretch;
}

.ms-proj-hero__list > li {
	flex: 1 1 0;
	display: flex;
	min-height: 0;
}

.ms-proj-hero__item {
	position: relative;
	display: grid;
	grid-template-columns: 4.6rem 2.2rem minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	min-height: 4.6rem;
	padding: 0.85rem 0.35rem 0.85rem 0.7rem;
	border-top: 1px solid var(--ms-border);
	color: inherit;
	text-decoration: none;
	transition: background-color 0.28s ease, padding-inline-start 0.28s ease;
}

.ms-proj-hero__list > li:last-child .ms-proj-hero__item {
	border-bottom: 1px solid var(--ms-border);
}

.ms-proj-hero__item::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.55rem;
	bottom: 0.55rem;
	width: 2px;
	background: var(--ms-accent);
	transform: scaleY(0);
	transform-origin: center;
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-proj-hero__item:hover,
.ms-proj-hero__item:focus-visible,
.ms-proj-hero__item.is-current {
	background: color-mix(in srgb, var(--ms-accent) 8%, transparent);
	padding-inline-start: 0.95rem;
}

.ms-proj-hero__item:hover::before,
.ms-proj-hero__item:focus-visible::before,
.ms-proj-hero__item.is-current::before {
	transform: scaleY(1);
}

.ms-proj-hero__thumb {
	display: block;
	overflow: hidden;
	height: 3.8rem;
	background: #060b14;
}

.ms-proj-hero__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-proj-hero__item:hover .ms-proj-hero__thumb img,
.ms-proj-hero__item:focus-visible .ms-proj-hero__thumb img,
.ms-proj-hero__item.is-current .ms-proj-hero__thumb img {
	transform: scale(1.12);
}

.ms-proj-hero__index {
	color: var(--ms-muted);
	font-size: 0.82rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
	transition: color 0.28s ease;
}

.ms-proj-hero__item:hover .ms-proj-hero__index,
.ms-proj-hero__item.is-current .ms-proj-hero__index {
	color: var(--ms-accent);
}

.ms-proj-hero__meta {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

.ms-proj-hero__item-name {
	color: var(--ms-ink);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.25;
}

.ms-proj-hero__item-place {
	color: var(--ms-muted);
	font-size: 0.9rem;
}

.ms-proj-hero + .reveal { margin-top: 1.1rem; }


.ms-services__row {
	grid-template-columns: 3.5rem minmax(0, 1fr);
	transition: background-color 0.28s ease, padding-inline 0.28s ease;
}

.ms-services__row:hover {
	background: color-mix(in srgb, var(--ms-accent) 6%, transparent);
	padding-inline-start: 0.45rem;
}

.ms-services__index {
	color: var(--ms-muted);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.ms-services__name {
	margin: 0;
	color: var(--ms-ink);
	font-size: 1.15rem;
	font-weight: 700;
}

.ms-contact-email a {
	display: block;
	margin-top: 0.2rem;
	color: var(--ms-ink);
	font-size: 1.25rem;
	font-weight: 700;
}

.ms-footer {
	position: relative;
	overflow: hidden;
	padding: 4.2rem 0 2.6rem;
	background: #060b14;
	border-top: 1px solid rgba(245, 247, 250, 0.08);
	color: rgba(245, 247, 250, 0.78);
	--ms-pat-mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160'><g fill='%23f5f7fa'><rect x='18' y='72' width='5' height='88'/><rect x='30' y='52' width='5' height='108'/><rect x='42' y='30' width='5' height='130'/><rect x='54' y='12' width='5' height='148'/><rect x='66' y='2' width='5' height='158'/><rect x='110' y='48' width='5' height='112'/><rect x='122' y='58' width='5' height='102'/><rect x='134' y='68' width='5' height='92'/><rect x='146' y='78' width='5' height='82'/><rect x='158' y='88' width='5' height='72'/></g><g fill='none' stroke='%23bfa05d' stroke-width='2' stroke-linecap='round'><path d='M71 92c14 9 30 20 44 27'/><path d='M71 108c16 10 32 21 46 28'/><path d='M71 124c18 11 34 22 48 28'/></g></svg>");
	--ms-pat-bars-alpha: 0.1;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Footer: one logo-mark watermark — no rings, no dual skylines */
.ms-footer::before {
	top: auto;
	right: auto;
	bottom: -1.2rem;
	left: auto;
	inset-inline-end: -1.2rem;
	inset-inline-start: auto;
	width: clamp(11rem, 30vw, 17rem);
	height: clamp(8.5rem, 22vw, 13rem);
	background-image: var(--ms-pat-mark);
	background-repeat: no-repeat;
	background-position: bottom end;
	background-size: contain;
	opacity: var(--ms-pat-bars-alpha);
	-webkit-mask-image: none;
	mask-image: none;
	animation: ms-pat-breathe 18s ease-in-out infinite;
}

.ms-footer::after {
	content: none;
	display: none;
}

.ms-footer__preview {
	margin: 0;
	color: var(--ms-ink);
	font-size: clamp(1.3rem, 2.4vw, 1.85rem);
	font-weight: 800;
}

.ms-footer__note {
	margin: 0.8rem 0 0;
	max-width: 36ch;
	color: rgba(245, 247, 250, 0.62);
	font-size: 0.98rem;
	transition: color 0.2s ease;
}

.ms-footer__meta {
	margin: 2.6rem 0 0;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(245, 247, 250, 0.08);
	color: rgba(245, 247, 250, 0.48);
	font-size: 0.9rem;
}

.ms-footer__dot { margin-inline: 0.4rem; }

.hero-enter {
	--enter-x: 1.2rem;
	animation: ms-hero-enter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html[dir="ltr"] .hero-enter { --enter-x: -1.2rem; }
.hero-enter--2 { animation-delay: 0.12s; }
.hero-enter--3 { animation-delay: 0.24s; }
.hero-enter--4 { animation-delay: 0.36s; }

@keyframes ms-hero-enter {
	from { opacity: 0; transform: translateX(var(--enter-x)); }
	to { opacity: 1; transform: none; }
}

.page-enter { animation: ms-page-enter 0.6s ease both; }

@keyframes ms-page-enter {
	from { opacity: 0; }
	to { opacity: 1; }
}

.reveal {
	opacity: 0;
	transform: translateY(1.1rem);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
	.ms-hero__brand { font-size: clamp(1.6rem, 11vw, 2.4rem); }
	.ms-hero__headline { font-size: 1.25rem; }
	.ms-nav {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.6rem 1rem 1rem;
		background: var(--ms-header-bg);
		border-bottom: 1px solid var(--ms-border);
	}

	.ms-header.is-open .ms-nav { display: flex; }

	.ms-nav__link,
	.ms-header.is-open .ms-nav__link {
		color: var(--ms-ink);
		padding: 0.55rem 0;
	}

	.ms-nav__item--drop {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ms-nav__caret { display: none; }

	.ms-nav__menu {
		position: static;
		display: flex;
		flex-direction: column;
		width: auto;
		padding: 0 0 0.4rem 0.8rem;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.ms-nav__menu[hidden] { display: flex !important; }

	.ms-nav__sub { color: var(--ms-ink); }

	.ms-menu-btn { display: inline-flex; align-items: center; }
	.ms-preview-tag { display: none; }

	.ms-projects__row,
	.ms-services__row {
		grid-template-columns: 1fr;
	}

	.ms-proj-hero {
		grid-template-columns: 1fr;
		margin-top: 1.4rem;
		gap: 1rem;
	}

	.ms-proj-hero__stage { min-height: 22rem; }

	.ms-proj-hero__list {
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.ms-proj-hero__list > li {
		flex: 0 0 auto;
		min-height: auto;
		display: block;
	}

	.ms-proj-hero__item {
		min-height: 4.2rem;
		align-items: center;
	}

	.ms-proj-hero__copy {
		width: min(36rem, calc(100% - 1.4rem));
		padding: 1.1rem 1rem 1.2rem;
	}

	.ms-proj-hero__name { font-size: 1.45rem; }

	.ms-offer__stage { min-height: 22rem; }
	.ms-offer__name { max-width: 14ch; }
	.ms-offer__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0.45rem;
	}
	.ms-offer__step { padding: 0.7rem 0.75rem; }
	.ms-offer__caption {
		width: min(100%, calc(100% - 1rem));
		padding: 1.15rem 1rem 1.2rem;
	}

	.ms-hero__slide {
		padding: 5rem 1.1rem 5.4rem;
	}
	.ms-hero__headline { font-size: clamp(1.7rem, 8vw, 2.4rem); }
	.ms-hero__arrow span { font-size: 0; }
	.ms-hero__arrow { min-width: 2.4rem; }
	.ms-section { padding: 3.2rem 0; }
	.ms-section--page { padding-top: 5.6rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-enter,
	.page-enter,
	.reveal,
	.ms-btn,
	html.is-lang-switching .ms-hero__headline,
	html.is-lang-switching .ms-title,
	.ms-hero__slide.is-current .ms-hero__img,
	.ms-offer__slide.is-current .ms-offer__img,
	.ms-proj-hero__slide.is-current .ms-proj-hero__img,
	.ms-proj-hero__item,
	.ms-proj-hero__thumb img,
	.ms-offer__step.is-current .ms-offer__fill,
	.ms-section::before,
	.ms-section::after,
	.ms-footer::before,
	.ms-wa__btn,
	.ms-footer::after,
	.ms-load,
	html.is-ready main,
	main img,
	.ms-dev-card,
	.ms-sale-card,
	.ms-dev-card__photo img,
	.ms-sale-card__photo img,
	.ms-property-photo img,
	.ms-property-gallery img,
	.ms-gov-card,
	.ms-gov-card__photo,
	.ms-contact-hero__media,
	.ms-prop-hero__media,
	.ms-prop-facts__item,
	.ms-prop-services__card,
	.ms-path__step,
	.ms-path__hit,
	.ms-path__icon,
	.ms-path__body,
	.ms-about__chip,
	.ms-services__row,
	.ms-error__projects a {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.ms-pat-rise::before,
	.ms-pat-rise::after,
	.ms-pat-plots::before,
	.ms-pat-plots::after,
	.ms-pat-facts::before,
	.ms-pat-facts::after,
	.ms-pat-arches::before,
	.ms-pat-arches::after,
	.ms-pat-rings::after,
	.ms-pat-hatch::before,
	.ms-pat-hatch::after,
	.ms-error::before,
	.ms-error::after {
		animation: none !important;
	}

	html.is-booting:not(.is-ready) main { opacity: 1; }

	.ms-path__body {
		max-height: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

.ms-accent { display: none; }
.ms-accent__toggle {
	appearance: none;
	width: 2.2rem;
	height: 2.2rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.ms-header.is-stuck .ms-accent__toggle,
.ms-page .ms-header .ms-accent__toggle {
	background: var(--ms-surface);
	box-shadow: inset 0 0 0 1px var(--ms-border);
}
.ms-accent__dot {
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 999px;
	background: var(--ms-accent);
}
.ms-accent__panel {
	position: absolute;
	top: calc(100% + 0.55rem);
	inset-inline-end: 0;
	z-index: 30;
	width: 13.5rem;
	padding: 0.85rem;
	border-radius: 1rem;
	background: #161c28;
	color: #f5f7fa;
	box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.ms-accent__label {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c5ccd6;
}
.ms-accent__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.45rem;
}
.ms-accent__swatch {
	appearance: none;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.55rem;
	background: var(--swatch);
	cursor: pointer;
	color: #fff;
}
.ms-accent__swatch.is-current {
	border-color: #fff;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.4);
}
.ms-accent__swatch.is-current::after {
	content: "✓";
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 2.1rem;
}
html[dir="ltr"] .ms-accent__panel { inset-inline-end: 0; }

@media (max-width: 760px) {
	.ms-accent__panel {
		inset-inline-end: auto;
		inset-inline-start: 0;
	}
}

.ms-nav__item--drop {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.ms-nav__caret {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--ms-on-hero);
	width: 1.6rem;
	height: 1.6rem;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.ms-nav__item--drop.is-open .ms-nav__caret svg {
	transform: rotate(180deg);
}

.ms-nav__menu {
	position: absolute;
	top: calc(100% + 0.7rem);
	inset-inline-start: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	min-width: 14.5rem;
	padding: 0.4rem;
	border: 1px solid var(--ms-border);
	border-radius: 0.85rem;
	background: var(--ms-surface);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.ms-nav__menu[hidden] { display: none; }

.ms-nav__sub {
	display: block;
	padding: 0.55rem 0.75rem;
	border-radius: 0.5rem;
	color: var(--ms-ink);
	font-size: 0.92rem;
	font-weight: 600;
}

.ms-nav__sub:hover,
.ms-nav__sub.is-current {
	background: var(--ms-bg);
	color: var(--ms-accent);
}

/* Mobile nav must win over desktop dropdown absolute positioning above */
@media (max-width: 760px) {
	.ms-logo { height: 2.7rem; min-height: 2.7rem; }

	.ms-header {
		overflow: visible;
	}

	.ms-header__inner {
		position: relative;
	}

	.ms-nav {
		display: none;
		position: absolute;
		inset-inline: 0;
		top: 100%;
		z-index: 60;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.55rem 1rem 1.05rem;
		background: var(--ms-header-bg);
		border-bottom: 1px solid var(--ms-border);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
	}

	.ms-header.is-open .ms-nav {
		display: flex;
	}

	.ms-nav__link,
	.ms-header.is-open .ms-nav__link,
	.ms-header:not(.is-stuck) .ms-nav__link {
		color: var(--ms-ink);
		text-shadow: none;
		padding: 0.7rem 0.15rem;
		font-size: 1rem;
	}

	.ms-nav__link.is-current,
	.ms-header.is-open .ms-nav__link.is-current {
		color: var(--ms-accent);
	}

	.ms-nav__item--drop {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
		padding-bottom: 0.35rem;
		border-bottom: 1px solid var(--ms-border);
		margin-bottom: 0.2rem;
	}

	.ms-nav__caret {
		display: none !important;
	}

	.ms-nav__menu,
	.ms-nav__menu:not([hidden]),
	.ms-nav__menu[hidden] {
		position: static !important;
		inset: auto !important;
		top: auto !important;
		display: flex !important;
		flex-direction: column;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding: 0.15rem 0 0.45rem 0.55rem;
		border: 0 !important;
		border-radius: 0;
		background: transparent !important;
		box-shadow: none !important;
	}

	.ms-nav__sub {
		color: var(--ms-ink);
		padding: 0.45rem 0.35rem;
		font-size: 0.95rem;
		font-weight: 600;
	}

	.ms-nav__sub:hover,
	.ms-nav__sub.is-current {
		background: color-mix(in srgb, var(--ms-accent) 10%, transparent);
		color: var(--ms-accent);
	}

	.ms-menu-btn {
		display: inline-flex;
		align-items: center;
	}
}


.ms-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 1.1rem;
	color: var(--ms-muted);
	font-size: 0.88rem;
	font-weight: 600;
}

.ms-crumb a:hover { color: var(--ms-accent); }
.ms-crumb__sep { opacity: 0.55; }

.ms-chips,
.ms-mode {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 1.4rem 0 0;
}

.ms-chip,
.ms-mode__btn {
	appearance: none;
	background: var(--ms-surface);
	border: 1px solid var(--ms-border);
	border-radius: 999px;
	color: var(--ms-ink);
	min-height: 2.4rem;
	padding: 0.2rem 0.95rem;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.ms-chip:hover:not(.is-current),
.ms-mode__btn:hover:not(.is-current) {
	border-color: var(--ms-accent);
	color: var(--ms-accent);
}

.ms-chip.is-current,
.ms-mode__btn.is-current {
	background: var(--ms-accent);
	border-color: var(--ms-accent);
	color: var(--ms-btn-fg);
}

.ms-mode { margin-top: 1.6rem; }

.ms-dev-list,
.ms-sale-list {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 1.6rem;
}

.ms-dev-card,
.ms-sale-card {
	display: grid;
	grid-template-columns: 16rem minmax(0, 1fr);
	gap: 1.4rem 1.8rem;
	padding: 1.4rem 0;
	border-top: 1px solid var(--ms-border);
	align-items: start;
	transition: background-color 0.32s ease, padding-inline 0.32s ease;
}

.ms-dev-card:last-child,
.ms-sale-card:last-child { border-bottom: 1px solid var(--ms-border); }

.ms-dev-card:hover,
.ms-sale-card:hover {
	background: color-mix(in srgb, var(--ms-accent) 6%, transparent);
	padding-inline-start: 0.55rem;
}

.ms-dev-card__photo,
.ms-sale-card__photo {
	display: block;
	overflow: hidden;
	min-height: 10.5rem;
	background: #060b14;
}

.ms-dev-card__photo img,
.ms-sale-card__photo img {
	display: block;
	width: 100%;
	height: 10.5rem;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-dev-card:hover .ms-dev-card__photo img,
.ms-sale-card:hover .ms-sale-card__photo img {
	transform: scale(1.1);
}

.ms-dev-card__name,
.ms-sale-card__name {
	margin: 0;
	color: var(--ms-ink);
	font-size: clamp(1.35rem, 2.4vw, 1.9rem);
	font-weight: 800;
	line-height: 1.25;
}

.ms-dev-card__place,
.ms-sale-card__place {
	margin: 0.25rem 0 0;
	color: var(--ms-muted);
	font-weight: 600;
}

.ms-dev-card__text {
	margin: 0.7rem 0 1rem;
	max-width: 62ch;
	color: var(--ms-muted);
	white-space: pre-line;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ms-dev-card__name + .ms-text-link,
.ms-dev-card__place + .ms-text-link {
	margin-top: 0.85rem;
}

.ms-sale-card__status {
	margin: 0 0 0.35rem;
	color: var(--ms-accent);
	font-size: 0.82rem;
	font-weight: 700;
}

.ms-sale-card__price {
	margin: 0.55rem 0 0;
	color: var(--ms-ink);
	font-weight: 800;
}

.ms-sale-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	margin: 0.7rem 0 1rem;
	padding: 0;
	list-style: none;
	color: var(--ms-muted);
	font-size: 0.92rem;
}

.ms-result-count {
	margin: 1.1rem 0 0;
	color: var(--ms-muted);
	font-size: 0.92rem;
	font-weight: 700;
}

.ms-empty { margin: 1.5rem 0 0; color: var(--ms-muted); }

.ms-body--prose {
	max-width: 52ch;
	white-space: pre-line;
}

.ms-property-status {
	margin: 0.4rem 0 0;
	color: var(--ms-accent);
	font-size: 0.88rem;
	font-weight: 700;
}

.ms-gov-tree {
	display: grid;
	gap: 1.4rem;
	margin: 1.6rem 0 2.6rem;
}

.ms-gov-card {
	display: grid;
	justify-items: start;
	gap: 0.35rem;
	padding: 1.1rem 1.2rem;
	border: 1px solid var(--ms-border);
	background: var(--ms-surface);
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.ms-gov-card:hover {
	border-color: var(--ms-accent);
	transform: translateY(-0.2rem);
}

.ms-gov-card__photo {
	width: 4.4rem;
	height: 4.4rem;
	object-fit: cover;
	border-radius: 999px;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-gov-card:hover .ms-gov-card__photo {
	transform: scale(1.06);
}

.ms-gov-card__role {
	margin: 0.4rem 0 0;
	color: var(--ms-accent);
	font-size: 0.82rem;
	font-weight: 700;
}

.ms-gov-card__name {
	margin: 0;
	color: var(--ms-ink);
	font-size: 1.2rem;
	font-weight: 800;
}

.ms-gov-projects ul {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ms-gov-projects a {
	display: inline-flex;
	min-height: 2.3rem;
	align-items: center;
	padding: 0 0.85rem;
	border: 1px solid var(--ms-border);
	background: var(--ms-surface);
	font-weight: 700;
}

.ms-gov-projects a:hover { color: var(--ms-accent); }

.ms-report {
	display: grid;
	gap: 0.9rem;
	margin: 1.4rem 0 0;
}

.ms-report label {
	display: grid;
	gap: 0.3rem;
	color: var(--ms-ink);
	font-size: 0.92rem;
	font-weight: 700;
}

.ms-report input,
.ms-report select,
.ms-report textarea {
	width: 100%;
	border: 1px solid var(--ms-border);
	background: var(--ms-surface);
	color: var(--ms-text);
	font: inherit;
	padding: 0.55rem 0.7rem;
}

.ms-report textarea { resize: vertical; min-height: 7rem; }

.ms-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.2rem;
	margin: 1.3rem 0 0;
	font-weight: 700;
}

.ms-footer__nav a:hover { color: var(--ms-accent); }

.ms-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.85fr)) minmax(0, 1.15fr);
	gap: 2rem 1.6rem;
	align-items: start;
}

.ms-footer__logo {
	display: inline-flex;
	line-height: 0;
}

.ms-footer__logo-img {
	height: 3.6rem;
	width: auto;
}

.ms-footer__logo-img--color { display: none; }
.ms-footer__logo-img--white { display: block; }

.ms-footer__heading {
	margin: 0 0 0.7rem;
	color: #f5f7fa;
	font-size: 0.92rem;
	font-weight: 800;
	transition: color 0.2s ease;
}

.ms-footer__heading--sub { margin-top: 1.3rem; }

.ms-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.ms-footer__list a {
	color: rgba(245, 247, 250, 0.62);
	font-weight: 700;
	transition: color 0.2s ease;
}

.ms-footer__list a:hover { color: var(--ms-accent); }

.ms-footer__list--contact li {
	color: rgba(245, 247, 250, 0.62);
	font-size: 0.95rem;
	line-height: 1.55;
}

.ms-footer__list--contact a {
	color: #f5f7fa;
	font-weight: 700;
}

.ms-footer__list--contact a:hover { color: var(--ms-accent); }

.ms-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ms-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(245, 247, 250, 0.16);
	border-radius: 2px;
	background: rgba(245, 247, 250, 0.06);
	color: #f5f7fa;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ms-footer__social-link:hover {
	background: var(--ms-accent);
	border-color: var(--ms-accent);
	color: var(--ms-btn-fg);
	transform: scale(1.04);
}

.ms-footer__social-icon {
	width: 1.1rem;
	height: 1.1rem;
	display: block;
}

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

.ms-contact-list {
	margin: 1.8rem 0 0;
	display: grid;
	gap: 1.15rem;
}

.ms-contact-list dt {
	margin: 0;
	color: var(--ms-accent);
	font-size: 0.82rem;
	font-weight: 700;
}

.ms-contact-list dd {
	margin: 0.2rem 0 0;
	color: var(--ms-ink);
	font-size: 1.08rem;
	font-weight: 700;
	max-width: 42ch;
}

.ms-contact-list a { color: inherit; }

@media (max-width: 900px) {
	.ms-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.ms-footer {
		padding: 2.2rem 0 1.4rem;
	}

	.ms-footer::before {
		width: 6.5rem;
		height: 5rem;
		opacity: 0.06;
		bottom: -0.5rem;
		inset-inline-end: -0.35rem;
	}

	.ms-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.15rem 1.1rem;
	}

	.ms-footer__brand {
		grid-column: 1 / -1;
	}

	.ms-footer__grid > div:last-child {
		grid-column: 1 / -1;
	}

	.ms-footer__logo-img {
		height: 2.15rem;
		max-width: 9.5rem;
		object-fit: contain;
		object-position: inline-start center;
	}

	.ms-footer__note {
		margin-top: 0.45rem;
		font-size: 0.86rem;
		line-height: 1.45;
		max-width: 36ch;
	}

	.ms-footer__heading {
		margin-bottom: 0.4rem;
		font-size: 0.8rem;
	}

	.ms-footer__heading--sub {
		margin-top: 0.9rem;
	}

	.ms-footer__list {
		gap: 0.28rem;
	}

	.ms-footer__list a {
		font-size: 0.86rem;
		font-weight: 650;
	}

	.ms-footer__list--contact li {
		font-size: 0.84rem;
		line-height: 1.4;
	}

	.ms-footer__social {
		gap: 0.45rem;
	}

	.ms-footer__social-link {
		width: 2.1rem;
		height: 2.1rem;
	}

	.ms-footer__social-icon {
		width: 0.95rem;
		height: 0.95rem;
	}

	.ms-footer__meta {
		margin-top: 1.25rem;
		padding-top: 0.9rem;
		font-size: 0.78rem;
	}
}

@media (max-width: 760px) {
	.ms-dev-card,
	.ms-sale-card {
		grid-template-columns: 1fr;
	}
	.ms-dev-card__photo,
	.ms-sale-card__photo { min-height: 11rem; }
	.ms-dev-card__photo img,
	.ms-sale-card__photo img { height: 11rem; }
	.ms-title { max-width: none; }
}

.ms-dev-card[hidden],
.ms-sale-card[hidden] { display: none !important; }

.ms-nav__menu:not([hidden]) { display: flex; }

.ms-contact-hero {
	position: relative;
	min-height: 16.5rem;
	padding: 7.2rem 0 3.2rem;
	color: var(--ms-on-hero);
	overflow: hidden;
	text-align: center;
}

.ms-contact-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #060b14;
	background-position: center;
	background-size: cover;
	transform: scale(1.04);
	transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-contact-hero:hover .ms-contact-hero__media {
	transform: scale(1.1);
}

.ms-contact-hero__inner { position: relative; z-index: 2; }

.ms-crumb--on-hero,
.ms-crumb--on-hero a { color: rgba(245, 247, 250, 0.86); }

.ms-contact-hero .ms-crumb {
	justify-content: center;
	margin-bottom: 0.85rem;
}

.ms-contact-hero__title {
	margin: 0 auto;
	max-width: 18ch;
	font-size: clamp(2rem, 4.4vw, 2.9rem);
	font-weight: 800;
	line-height: 1.22;
}

.ms-contact-hero__lead {
	margin: 0.75rem auto 0;
	max-width: 36ch;
	font-size: 1.08rem;
	color: rgba(245, 247, 250, 0.9);
}

.ms-section--contact { padding-top: 2.2rem; padding-bottom: 4rem; }

.ms-contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.85fr);
	gap: 1.4rem 1.6rem;
	align-items: start;
}

.ms-form,
.ms-contact-aside {
	padding: 1.45rem 1.35rem 1.4rem;
	border: 1px solid var(--ms-border);
	background: var(--ms-surface);
}

.ms-form { display: grid; gap: 1rem; }

.ms-form__head h2,
.ms-contact-aside h2 {
	margin: 0;
	color: var(--ms-ink);
	font-size: 1.4rem;
	font-weight: 800;
}

.ms-form__head p {
	margin: 0.45rem 0 0.35rem;
	color: var(--ms-muted);
	font-weight: 500;
	line-height: 1.55;
}

.ms-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.ms-form label,
.ms-report label {
	display: grid;
	gap: 0.35rem;
	color: var(--ms-ink);
	font-size: 0.92rem;
	font-weight: 700;
}

.ms-form input,
.ms-form select,
.ms-form textarea {
	width: 100%;
	border: 1px solid var(--ms-border);
	background: var(--ms-bg);
	color: var(--ms-text);
	font: inherit;
	font-weight: 500;
	padding: 0.7rem 0.8rem;
	min-height: 2.9rem;
}

.ms-form textarea { min-height: 9rem; resize: vertical; }

.ms-form input:focus,
.ms-form select:focus,
.ms-form textarea:focus {
	outline: 2px solid var(--ms-accent);
	outline-offset: 1px;
}

.ms-form__actions { margin-top: 0.2rem; }

.ms-form__status {
	margin: 0;
	padding: 0.75rem 0.85rem;
	font-weight: 700;
	line-height: 1.45;
}

.ms-form__status[hidden] { display: none !important; }

.ms-form__status.is-ok {
	background: color-mix(in srgb, var(--ms-accent) 14%, var(--ms-surface));
	color: var(--ms-ink);
}

.ms-form__status.is-err {
	background: #f8e4e4;
	color: #7a1f1f;
}

html[data-theme="dark"] .ms-form__status.is-err {
	background: #3a1818;
	color: #ffc9c9;
}

.ms-btn[disabled] { opacity: 0.65; cursor: wait; }

.ms-btn--block {
	width: 100%;
	justify-content: center;
	min-height: 3rem;
}

.ms-btn--outline {
	border: 1px solid var(--ms-accent);
	color: var(--ms-ink);
	background: transparent;
}

.ms-btn--outline:hover {
	background: color-mix(in srgb, var(--ms-accent) 12%, transparent);
}

.ms-form__sending-label[hidden] { display: none !important; }

.ms-contact-aside h2 { margin: 0; }

.ms-contact-aside__list {
	list-style: none;
	margin: 1.15rem 0 0;
	padding: 0;
	display: grid;
	gap: 1.1rem;
}

.ms-contact-aside__list .ms-eyebrow { margin: 0; }

.ms-contact-aside__list a,
.ms-contact-aside__list p {
	margin: 0.2rem 0 0;
	color: var(--ms-ink);
	font-weight: 700;
	line-height: 1.55;
}

.ms-contact-aside__cta {
	display: grid;
	gap: 0.7rem;
	margin-top: 1.4rem;
}

@media (max-width: 900px) {
	.ms-contact-layout,
	.ms-form__grid {
		grid-template-columns: 1fr;
	}
}

.ms-error {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	z-index: 2;
	min-height: 100svh;
	display: grid;
	align-items: center;
	padding: 7.2rem 0 4.5rem;
	background: transparent;
}

.ms-error::before,
.ms-error::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: 0;
}


.ms-error__inner { position: relative; z-index: 1; }

.ms-error__code {
	margin: 0 0 0.4rem;
	color: #e4c57a;
	font-size: clamp(4.6rem, 16vw, 8.5rem);
	font-weight: 800;
	line-height: 0.85;
	letter-spacing: -0.04em;
	opacity: 0.88;
}

.ms-error .ms-page-title { margin-top: 0.15rem; }

.ms-error__label {
	margin: 2.4rem 0 0.7rem;
	color: var(--ms-muted);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ms-error__projects {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ms-border);
}

.ms-error__projects a {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--ms-border);
	color: inherit;
}

.ms-error__project-name { font-weight: 700; }

.ms-error__project-place { color: var(--ms-muted); }

.ms-error__projects a {
	transition: padding-inline-start 0.28s ease, background-color 0.28s ease;
}

.ms-error__projects a:hover {
	padding-inline-start: 0.45rem;
	background: color-mix(in srgb, var(--ms-accent) 6%, transparent);
}

.ms-error__projects a:hover .ms-error__project-name {
	color: var(--ms-accent);
}

@media (max-width: 720px) {
	.ms-error { padding: 5.8rem 0 3.2rem; min-height: 100svh; }
	.ms-error__code { font-size: 4.2rem; }
}

.ms-offer {
	--ms-offer-delay: 5.6s;
	--ms-offer-ink: #071018;
	--ms-offer-mist: rgba(245, 247, 250, 0.9);
	display: grid;
	grid-template-columns: minmax(15.5rem, 21rem) minmax(0, 1fr);
	gap: 0;
	margin-top: 1.5rem;
	border: 1px solid var(--ms-border);
	border-radius: 1.35rem;
	overflow: hidden;
	background: var(--ms-surface);
	box-shadow: 0 18px 48px color-mix(in srgb, var(--ms-ink) 8%, transparent);
}

.ms-offer__track {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 1rem 0 0;
	padding: 0.4rem 0.85rem;
	border: 1px solid color-mix(in srgb, var(--ms-accent) 28%, var(--ms-border));
	border-radius: 999px;
	background: color-mix(in srgb, var(--ms-accent) 8%, var(--ms-surface));
	color: var(--ms-accent);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.ms-offer__stage {
	position: relative;
	min-height: clamp(26rem, 48vw, 34rem);
	overflow: hidden;
	background: var(--ms-offer-ink);
	color: var(--ms-on-hero);
}

.ms-offer__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.7s ease, visibility 0.7s ease;
	z-index: 0;
}

.ms-offer__slide.is-current {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.ms-offer__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
}

.ms-offer__slide.is-current .ms-offer__img {
	animation: ms-hero-ken 5.8s ease-out forwards;
}

.ms-offer__stage:hover .ms-offer__slide.is-current .ms-offer__img,
.ms-offer__stage:focus-within .ms-offer__slide.is-current .ms-offer__img {
	animation-play-state: paused;
	transform: scale(1.08);
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-offer__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			160deg,
			color-mix(in srgb, var(--ms-accent) 34%, transparent) 0%,
			transparent 42%
		),
		linear-gradient(
			to top,
			rgba(7, 16, 24, 0.92) 0%,
			rgba(7, 16, 24, 0.42) 42%,
			rgba(7, 16, 24, 0.18) 100%
		);
	pointer-events: none;
}

.ms-offer__caption {
	position: absolute;
	inset-inline-start: 0;
	bottom: 0;
	z-index: 2;
	width: min(34rem, calc(100% - 1.6rem));
	padding: 1.5rem 1.35rem 1.55rem;
}

.ms-offer__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.7rem 0.35rem 0.4rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ms-accent) 22%, rgba(7, 16, 24, 0.55));
	color: #fff;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	backdrop-filter: blur(8px);
}

.ms-offer__icon {
	width: 1.2rem;
	height: 1.2rem;
	display: block;
}

.ms-offer__step-icon .ms-offer__icon {
	width: 1.2rem;
	height: 1.2rem;
}

.ms-offer__kicker {
	margin: 0.85rem 0 0;
	color: color-mix(in srgb, #ffffff 72%, var(--ms-accent));
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.ms-offer__name {
	margin: 0.3rem 0 0;
	max-width: 18ch;
	font-size: clamp(1.55rem, 3.2vw, 2.25rem);
	font-weight: 800;
	line-height: 1.2;
}

.ms-offer__desc {
	margin: 0.55rem 0 0;
	max-width: 36ch;
	color: var(--ms-offer-mist);
	font-size: 1.02rem;
	line-height: 1.55;
}

.ms-offer__credit {
	display: inline-flex;
	align-items: center;
	margin-top: 0.95rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: color-mix(in srgb, #fff 12%, transparent);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 28%, transparent);
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

.ms-offer__credit:hover {
	background: color-mix(in srgb, var(--ms-accent) 70%, #fff);
	color: var(--ms-btn-fg);
	box-shadow: none;
}

.ms-offer__steps {
	list-style: none;
	margin: 0;
	padding: 0.55rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--ms-accent) 6%, var(--ms-surface)) 0%,
			var(--ms-surface) 40%
		);
	border-inline-end: 1px solid var(--ms-border);
}

.ms-offer__steps > li { min-width: 0; }

.ms-offer__step {
	appearance: none;
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	min-height: 0;
	padding: 0.75rem 0.8rem;
	border: 1px solid transparent;
	border-radius: 0.95rem;
	background: transparent;
	color: var(--ms-muted);
	text-align: start;
	cursor: pointer;
	font: inherit;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.ms-offer__fill {
	position: absolute;
	inset-block: 0.55rem;
	inset-inline-start: 0;
	width: 3px;
	border-radius: 999px;
	background: var(--ms-accent);
	transform: scaleY(0);
	transform-origin: top;
	pointer-events: none;
}

html[dir="ltr"] .ms-offer__fill { transform-origin: top; }

.ms-offer__step.is-current .ms-offer__fill {
	animation: ms-offer-fill var(--ms-offer-delay) linear forwards;
}

.ms-offer.is-paused .ms-offer__step.is-current .ms-offer__fill {
	animation-play-state: paused;
}

@keyframes ms-offer-fill {
	from { transform: scaleY(0); }
	to { transform: scaleY(1); }
}

.ms-offer__step-icon {
	display: grid;
	place-items: center;
	width: 2.55rem;
	height: 2.55rem;
	border-radius: 0.8rem;
	border: 1px solid color-mix(in srgb, var(--ms-accent) 22%, var(--ms-border));
	background: var(--ms-bg);
	color: var(--ms-accent);
	opacity: 1;
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		transform 0.28s ease;
}

.ms-offer__step-meta {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
}

.ms-offer__step-index {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	color: var(--ms-muted);
}

.ms-offer__step-name {
	color: var(--ms-ink);
	font-size: 0.92rem;
	font-weight: 750;
	line-height: 1.35;
}

.ms-offer__step:hover {
	background: color-mix(in srgb, var(--ms-accent) 7%, var(--ms-surface));
	border-color: color-mix(in srgb, var(--ms-accent) 22%, var(--ms-border));
	transform: translateX(var(--offer-nudge, -0.12rem));
}

html[dir="ltr"] .ms-offer__step { --offer-nudge: 0.12rem; }

.ms-offer__step.is-current {
	color: var(--ms-accent);
	background: color-mix(in srgb, var(--ms-accent) 12%, var(--ms-surface));
	border-color: color-mix(in srgb, var(--ms-accent) 40%, var(--ms-border));
	box-shadow: 0 10px 24px color-mix(in srgb, var(--ms-accent) 12%, transparent);
}

.ms-offer__step.is-current .ms-offer__step-icon {
	background: var(--ms-accent);
	border-color: var(--ms-accent);
	color: var(--ms-btn-fg);
	transform: scale(1.04);
}

.ms-offer__step.is-current .ms-offer__step-index,
.ms-offer__step.is-current .ms-offer__step-name {
	color: var(--ms-accent);
	opacity: 1;
}

.ms-offer__step:hover .ms-offer__step-icon,
.ms-offer__step:hover .ms-offer__step-name {
	opacity: 1;
}

.ms-offer__step:focus-visible {
	outline: 2px solid var(--ms-accent);
	outline-offset: 2px;
}

@media (max-width: 980px) {
	.ms-offer {
		grid-template-columns: 1fr;
	}

	.ms-offer__steps {
		order: 2;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-inline-end: 0;
		border-top: 1px solid var(--ms-border);
	}

	.ms-offer__stage {
		order: 1;
		min-height: 24rem;
	}

	.ms-offer__fill {
		inset-block: auto;
		inset-inline: 0.7rem;
		top: 0;
		width: auto;
		height: 3px;
		transform: scaleX(0);
		transform-origin: right center;
	}

	html[dir="ltr"] .ms-offer__fill { transform-origin: left center; }

	@keyframes ms-offer-fill {
		from { transform: scaleX(0); }
		to { transform: scaleX(1); }
	}
}

.ms-wa {
	position: fixed;
	left: 30px;
	bottom: 30px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ms-wa__btn {
	width: 60px;
	height: 60px;
	border-radius: 50px;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
	animation: ms-wa-pulse 2s ease-in-out infinite;
}

.ms-wa__icon {
	width: 1.9rem;
	height: 1.9rem;
	display: block;
}

.ms-wa__tip {
	position: absolute;
	top: -40px;
	left: 0;
	padding: 5px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	background: #fff;
	color: #000;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: opacity 0.3s ease;
}

.ms-wa:hover .ms-wa__tip,
.ms-wa:focus-within .ms-wa__tip { opacity: 1; }

.ms-wa__btn:hover {
	background: #20ba5a;
	color: #fff;
	transform: scale(1.1);
	animation: none;
}

.ms-wa__btn:focus-visible {
	outline: 2px solid #128c7e;
	outline-offset: 3px;
	animation: none;
}

@keyframes ms-wa-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

@media (max-width: 720px) {
	.ms-wa { left: 16px; bottom: 16px; }
	.ms-wa__btn { width: 56px; height: 56px; }
}

.ms-about__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	list-style: none;
	margin: 1.35rem 0 0;
	padding: 0;
}

.ms-about__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.85rem 0.45rem 0.55rem;
	border: 1px solid var(--ms-border);
	border-radius: 999px;
	background: color-mix(in srgb, var(--ms-surface) 88%, var(--ms-accent));
	color: var(--ms-ink);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.3;
	transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.ms-about__chip:hover {
	border-color: color-mix(in srgb, var(--ms-accent) 55%, var(--ms-border));
	transform: translateY(-1px);
	background: color-mix(in srgb, var(--ms-accent) 10%, var(--ms-surface));
}

.ms-about__chip-icon {
	display: grid;
	place-items: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ms-accent) 14%, transparent);
	color: var(--ms-accent);
}

.ms-about__chip-icon svg {
	width: 0.95rem;
	height: 0.95rem;
}

.ms-path {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
	counter-reset: none;
}

.ms-path__step {
	position: relative;
	padding: 0 0 1rem;
	transition: transform 0.32s ease;
}

.ms-path__step:last-child { padding-bottom: 0; }

.ms-path__step:not(:last-child)::before {
	content: "";
	position: absolute;
	inset-inline-start: 1.55rem;
	top: 3.55rem;
	bottom: 0.2rem;
	width: 2px;
	background: linear-gradient(
		to bottom,
		color-mix(in srgb, var(--ms-accent) 55%, var(--ms-border)),
		var(--ms-border)
	);
	opacity: 0.7;
	transform-origin: top center;
	transition: opacity 0.3s ease, background 0.3s ease;
}

.ms-path__step.is-current:not(:last-child)::before,
.ms-path__step.is-passed:not(:last-child)::before {
	opacity: 1;
	background: linear-gradient(
		to bottom,
		var(--ms-accent),
		color-mix(in srgb, var(--ms-accent) 35%, var(--ms-border))
	);
}

.ms-path__hit {
	display: grid;
	grid-template-columns: 3.2rem minmax(0, 1fr);
	gap: 0.55rem 1.1rem;
	width: 100%;
	margin: 0;
	padding: 0.85rem 1rem 0.85rem 0.55rem;
	border: 1px solid transparent;
	border-radius: 1rem;
	background: transparent;
	color: inherit;
	text-align: start;
	cursor: pointer;
	transition:
		border-color 0.28s ease,
		background 0.28s ease,
		box-shadow 0.28s ease,
		transform 0.28s ease;
}

.ms-path__hit:hover,
.ms-path__hit:focus-visible {
	border-color: color-mix(in srgb, var(--ms-accent) 40%, var(--ms-border));
	background: color-mix(in srgb, var(--ms-surface) 92%, var(--ms-accent));
	box-shadow: 0 10px 28px color-mix(in srgb, var(--ms-ink) 6%, transparent);
	transform: translateX(var(--path-hover, -0.2rem));
	outline: none;
}

html[dir="ltr"] .ms-path__hit { --path-hover: 0.2rem; }

.ms-path__step.is-current .ms-path__hit {
	border-color: color-mix(in srgb, var(--ms-accent) 48%, var(--ms-border));
	background: color-mix(in srgb, var(--ms-accent) 8%, var(--ms-surface));
	box-shadow: 0 12px 30px color-mix(in srgb, var(--ms-ink) 7%, transparent);
}

.ms-path__mark {
	display: grid;
	justify-items: center;
	gap: 0.35rem;
	padding-top: 0.1rem;
}

.ms-path__icon {
	display: grid;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	border-radius: 0.9rem;
	border: 1px solid color-mix(in srgb, var(--ms-accent) 28%, var(--ms-border));
	background: var(--ms-surface);
	color: var(--ms-accent);
	transition:
		background 0.28s ease,
		border-color 0.28s ease,
		color 0.28s ease,
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s ease;
}

.ms-path__glyph {
	width: 1.3rem;
	height: 1.3rem;
}

.ms-path__hit:hover .ms-path__icon,
.ms-path__hit:focus-visible .ms-path__icon,
.ms-path__step.is-current .ms-path__icon {
	background: var(--ms-accent);
	border-color: var(--ms-accent);
	color: var(--ms-btn-fg);
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--ms-accent) 35%, transparent);
}

.ms-path__index {
	color: var(--ms-accent);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

.ms-path__copy {
	display: block;
	min-width: 0;
	padding-top: 0.2rem;
}

.ms-path__name {
	display: block;
	margin: 0;
	color: var(--ms-ink);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.3;
	transition: color 0.25s ease;
}

.ms-path__body {
	display: block;
	margin: 0.4rem 0 0;
	max-width: 42ch;
	color: var(--ms-muted);
	font-size: 1.02rem;
	line-height: 1.6;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(0.35rem);
	transition:
		max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.32s ease,
		transform 0.32s ease,
		margin 0.32s ease;
}

.ms-path__step.is-current .ms-path__body,
.ms-path__hit:hover .ms-path__body,
.ms-path__hit:focus-visible .ms-path__body {
	max-height: 8rem;
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 640px) {
	.ms-path__hit {
		grid-template-columns: 2.9rem minmax(0, 1fr);
		padding-inline-end: 0.7rem;
	}

	.ms-path__icon {
		width: 2.45rem;
		height: 2.45rem;
		border-radius: 0.8rem;
	}

	.ms-path__step:not(:last-child)::before {
		inset-inline-start: 1.35rem;
		top: 3.25rem;
	}

	.ms-path__body {
		max-height: none;
		opacity: 1;
		transform: none;
	}
}

.ms-load {
	position: fixed;
	top: 0;
	inset-inline: 0;
	z-index: 80;
	height: 2px;
	pointer-events: none;
	background: var(--ms-accent);
	transform: scaleX(0);
	transform-origin: right center;
	opacity: 0;
}

html[dir="ltr"] .ms-load { transform-origin: left center; }

html.is-booting:not(.is-ready) .ms-load {
	opacity: 1;
	animation: ms-load-run 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.is-ready .ms-load {
	animation: ms-load-done 0.4s ease forwards;
}

@keyframes ms-load-run {
	from { transform: scaleX(0); }
	to { transform: scaleX(0.7); }
}

@keyframes ms-load-done {
	0% { transform: scaleX(0.7); opacity: 1; }
	65% { transform: scaleX(1); opacity: 1; }
	100% { transform: scaleX(1); opacity: 0; }
}

main img.is-pending {
	opacity: 0;
}

main img.is-loaded {
	opacity: 1;
	transition: opacity 0.55s ease;
}

.ms-projects__photo {
	overflow: hidden;
}

.ms-projects__photo img {
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-projects__row:hover .ms-projects__photo img {
	transform: scale(1.08);
}

.ms-form,
.ms-contact-aside {
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.ms-form:focus-within,
.ms-contact-aside:hover {
	border-color: color-mix(in srgb, var(--ms-accent) 45%, var(--ms-border));
}

.ms-nav__link,
.ms-nav__sub {
	transition: color 0.22s ease;
}

.ms-crumb a {
	transition: color 0.22s ease;
}


/* ——— Property detail page ——— */
.ms-prop-hero {
	position: relative;
	min-height: clamp(26rem, 72vh, 38rem);
	display: grid;
	align-items: end;
	color: var(--ms-on-hero);
	overflow: hidden;
}

.ms-prop-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #060b14;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1.04);
	transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-prop-hero:hover .ms-prop-hero__media {
	transform: scale(1.1);
}

.ms-prop-hero__inner {
	position: relative;
	z-index: 2;
	padding: 7.2rem 0 3rem;
}

.ms-prop-hero .ms-crumb {
	margin-bottom: 1.1rem;
}

.ms-prop-hero__logo {
	display: block;
	width: auto;
	height: clamp(7.5rem, 16vw, 11rem);
	margin: 0 0 1.1rem;
	object-fit: contain;
	filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.ms-prop-hero--slider .ms-prop-hero__logo { margin-bottom: 0.9rem; }

@media (max-width: 760px) {
	.ms-prop-hero__logo { height: 6.2rem; margin-bottom: 0.8rem; }
}

.ms-prop-hero__place {
	margin: 0;
	color: rgba(245, 247, 250, 0.78);
	font-size: 0.92rem;
	font-weight: 700;
}

.ms-prop-hero__title {
	margin: 0.45rem 0 0;
	max-width: 14ch;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.15;
}

.ms-prop-hero__slogan {
	margin: 0.95rem 0 0;
	max-width: 32ch;
	font-size: clamp(1.25rem, 2.8vw, 1.75rem);
	font-weight: 600;
	line-height: 1.35;
	color: #f5f7fa;
	border-inline-start: 3px solid var(--ms-accent);
	padding-inline-start: 0.85rem;
}

.ms-prop-hero__status {
	display: inline-flex;
	margin: 1.1rem 0 0;
	padding: 0.35rem 0.75rem;
	border: 1px solid rgba(245, 247, 250, 0.28);
	background: rgba(245, 247, 250, 0.08);
	color: #f5f7fa;
	font-size: 0.82rem;
	font-weight: 700;
}

.ms-prop-hero__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1.4rem;
	margin-top: 1.5rem;
}


/* Property hero slider */
.ms-prop-hero__slides {
	position: absolute;
	inset: 0;
}

.ms-prop-hero--slider .ms-prop-hero__media {
	opacity: 0;
	transition: opacity 0.9s ease, transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-prop-hero--slider .ms-prop-hero__media.is-current {
	opacity: 1;
	z-index: 0;
}

.ms-prop-hero--slider .ms-prop-hero__inner {
	z-index: 2;
	padding-bottom: 4.6rem;
}

.ms-prop-hero__controls {
	position: absolute;
	inset-inline: 0;
	bottom: 1.1rem;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 0 1rem;
}

/* Property details: stats */
.ms-prop-stats { padding-top: 2.2rem; padding-bottom: 2.2rem; }

.ms-prop-stats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.9rem;
}

.ms-prop-stats__item {
	margin: 0;
	padding: 1.1rem 1rem 1rem;
	border: 1px solid var(--ms-border);
	border-radius: 1rem;
	background: var(--ms-bg);
	text-align: center;
	transition-delay: calc(var(--fact-i, 0) * 60ms);
}

.ms-prop-stats__value {
	margin: 0;
	color: var(--ms-accent);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.ms-prop-stats__value small {
	font-size: 0.5em;
	font-weight: 700;
	color: var(--ms-muted);
}

.ms-prop-stats__label {
	margin: 0.45rem 0 0;
	color: var(--ms-muted);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.4;
}

/* Property details: highlights */
.ms-prop-high__layout {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2rem 3rem;
	align-items: start;
}

.ms-prop-high__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.ms-prop-high__item {
	display: flex;
	gap: 0.8rem;
	align-items: flex-start;
	padding: 1rem 1.05rem;
	border: 1px solid var(--ms-border);
	border-radius: 0.9rem;
	background: var(--ms-surface);
	color: var(--ms-text);
	font-size: 0.98rem;
	line-height: 1.5;
	transition-delay: calc(var(--fact-i, 0) * 60ms);
}

.ms-prop-high__num {
	flex: 0 0 auto;
	color: var(--ms-accent);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.9;
}

/* Property details: tables */
.ms-prop-table-wrap {
	margin-top: 1.6rem;
	overflow-x: auto;
	border: 1px solid var(--ms-border);
	border-radius: 1rem;
	background: var(--ms-bg);
}

.ms-prop-table {
	width: 100%;
	min-width: 34rem;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.ms-prop-table th,
.ms-prop-table td {
	padding: 0.9rem 1.1rem;
	text-align: start;
	border-bottom: 1px solid var(--ms-border);
	color: var(--ms-text);
	font-size: 0.98rem;
}

.ms-prop-table thead th {
	color: var(--ms-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	background: color-mix(in srgb, var(--ms-accent) 7%, var(--ms-bg));
}

.ms-prop-table tbody th { font-weight: 700; }
.ms-prop-table tbody tr:last-child td,
.ms-prop-table tbody tr:last-child th { border-bottom-color: var(--ms-border); }
.ms-prop-table tfoot th,
.ms-prop-table tfoot td {
	border-bottom: 0;
	background: color-mix(in srgb, var(--ms-accent) 10%, var(--ms-bg));
	font-weight: 800;
}

.ms-prop-table small {
	font-size: 0.72em;
	color: var(--ms-muted);
	font-weight: 600;
}

.ms-prop-table__code {
	display: inline-block;
	min-width: 2.1rem;
	margin-inline-end: 0.25rem;
	padding: 0.1rem 0.4rem;
	border-radius: 0.4rem;
	background: var(--ms-accent);
	color: var(--ms-btn-fg);
	font-size: 0.74rem;
	font-weight: 800;
	text-align: center;
}

.ms-prop-table__strong {
	color: var(--ms-accent);
	font-weight: 800;
}

.ms-prop-note {
	margin: 0.9rem 0 0;
	color: var(--ms-muted);
	font-size: 0.86rem;
}

/* Property details: activities */
.ms-prop-acts__tags {
	list-style: none;
	margin: 1.4rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.ms-prop-acts__tags li {
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--ms-border);
	border-radius: 999px;
	background: var(--ms-surface);
	color: var(--ms-text);
	font-size: 0.9rem;
	font-weight: 700;
}

.ms-prop-acts__gallery { margin-top: 1.6rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ms-prop-acts__gallery figcaption {
	margin-top: 0.5rem;
	color: var(--ms-muted);
	font-size: 0.84rem;
	font-weight: 700;
}

/* Property details: offer */
.ms-prop-offer__badges {
	list-style: none;
	margin: 1.4rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.ms-prop-offer__badges li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.1rem;
	border: 1px solid var(--ms-border);
	border-radius: 0.9rem;
	background: var(--ms-bg);
	color: var(--ms-text);
	font-size: 0.92rem;
	font-weight: 600;
}

.ms-prop-offer__badges strong {
	color: var(--ms-accent);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

.ms-prop-offer__intro { margin-top: 1.4rem; max-width: 60ch; }

.ms-prop-offer__terms-title {
	margin: 2.2rem 0 0;
	color: var(--ms-ink);
	font-size: 1.15rem;
	font-weight: 800;
}

.ms-prop-offer__terms {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	counter-reset: ms-term;
}

.ms-prop-offer__terms li {
	position: relative;
	padding: 1rem 1.05rem 1.05rem;
	border: 1px solid var(--ms-border);
	border-radius: 0.9rem;
	background: var(--ms-bg);
	counter-increment: ms-term;
	transition-delay: calc(var(--fact-i, 0) * 60ms);
}

.ms-prop-offer__terms li::before {
	content: counter(ms-term, decimal-leading-zero);
	display: block;
	margin-bottom: 0.4rem;
	color: var(--ms-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.ms-prop-offer__term-title {
	margin: 0;
	color: var(--ms-ink);
	font-size: 0.98rem;
	font-weight: 800;
}

.ms-prop-offer__term-body {
	margin: 0.35rem 0 0;
	color: var(--ms-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.ms-prop-offer__contact {
	margin-top: 2.2rem;
	padding: 1.4rem 1.5rem;
	border-radius: 1rem;
	background: var(--ms-accent);
	color: var(--ms-btn-fg);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.6rem;
}

.ms-prop-offer__contact-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 800;
}

.ms-prop-offer__contact-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem 1.4rem;
}

.ms-prop-offer__contact .ms-btn--primary {
	background: var(--ms-surface);
	color: var(--ms-accent);
}

.ms-prop-offer__contact .ms-text-link {
	color: var(--ms-btn-fg);
	font-weight: 700;
}

@media (max-width: 1000px) {
	.ms-prop-stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ms-prop-offer__terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-prop-high__layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	.ms-prop-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
	.ms-prop-acts__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-prop-high__list,
	.ms-prop-offer__terms { grid-template-columns: 1fr; }
	.ms-prop-offer__contact { flex-direction: column; align-items: flex-start; }
	.ms-prop-hero--slider .ms-prop-hero__inner { padding-bottom: 4.2rem; }
	.ms-prop-hero__controls { bottom: 0.8rem; }
}

.ms-prop-facts { padding-top: 2.6rem; padding-bottom: 2.6rem; }

.ms-prop-facts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem 1rem;
	margin: 1.1rem 0 0;
}

.ms-prop-facts__item {
	--fact-i: 0;
	position: relative;
	margin: 0;
	padding: 1.15rem 1.1rem 1.2rem 1.15rem;
	border: 1px solid var(--ms-border);
	border-radius: 1rem;
	background: color-mix(in srgb, var(--ms-accent) 5%, var(--ms-surface));
	box-shadow: 0 8px 22px color-mix(in srgb, var(--ms-ink) 5%, transparent);
	overflow: hidden;
	isolation: isolate;
	transform: translateY(1.1rem) scale(0.97);
	opacity: 0;
	transition:
		border-color 0.35s ease,
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.35s ease,
		background-color 0.35s ease,
		opacity 0.45s ease;
	transition-delay: calc(var(--fact-i) * 0.07s);
}

.ms-prop-facts__item.is-in,
.ms-prop-facts__item.reveal.is-in {
	opacity: 1;
	transform: none;
}

.ms-prop-facts__mark {
	position: absolute;
	inset-block: 0.85rem;
	inset-inline-start: 0;
	width: 3px;
	border-radius: 999px;
	background: var(--ms-accent);
	transform: scaleY(0.35);
	transform-origin: top;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-prop-facts__item.is-in .ms-prop-facts__mark,
.ms-prop-facts__item.reveal.is-in .ms-prop-facts__mark {
	transform: scaleY(1);
	transition-delay: calc(0.12s + var(--fact-i) * 0.07s);
}

.ms-prop-facts__item::after {
	display: none;
}

.ms-prop-facts__item dt,
.ms-prop-facts__item dd {
	position: relative;
	z-index: 1;
}

.ms-prop-facts__item:hover,
.ms-prop-facts__item:focus-within,
.ms-prop-facts__item.is-in:hover,
.ms-prop-facts__item.reveal.is-in:hover,
.ms-prop-facts__item.is-in:focus-within,
.ms-prop-facts__item.reveal.is-in:focus-within {
	border-color: var(--ms-accent);
	transform: translateY(-0.28rem);
	box-shadow: 0 14px 28px color-mix(in srgb, var(--ms-ink) 8%, transparent);
	background: color-mix(in srgb, var(--ms-accent) 9%, var(--ms-surface));
}

.ms-prop-facts__item:hover .ms-prop-facts__mark,
.ms-prop-facts__item:focus-within .ms-prop-facts__mark {
	transform: scaleY(1.05);
}

.ms-prop-facts__item dt {
	margin: 0;
	color: var(--ms-accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.ms-prop-facts__item dd {
	margin: 0.55rem 0 0;
	color: var(--ms-ink);
	font-size: 1.14rem;
	font-weight: 800;
	line-height: 1.35;
}

@keyframes ms-fact-pulse {
	0%, 100% { box-shadow: 0 8px 22px color-mix(in srgb, var(--ms-ink) 5%, transparent); }
	50% { box-shadow: 0 12px 26px color-mix(in srgb, var(--ms-ink) 8%, transparent); }
}

.ms-prop-facts__item.is-in:nth-child(odd) {
	animation: ms-fact-pulse 4.8s ease-in-out infinite;
	animation-delay: calc(0.8s + var(--fact-i) * 0.35s);
}

.ms-prop-facts__item.is-in:hover,
.ms-prop-facts__item.reveal.is-in:hover {
	animation: none;
}

.ms-prop-about__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.35rem;
	align-items: start;
	max-width: 62ch;
}

.ms-prop-about__copy .ms-body--prose {
	font-size: 1.08rem;
	line-height: 1.75;
	max-width: none;
}
.ms-prop-about__copy .ms-body--prose + .ms-body--prose { margin-top: 1.15rem; }

.ms-prop-about__aside {
	padding: 0;
	border: 0;
	background: transparent;
	position: static;
}

.ms-prop-about__note {
	display: none;
}

.ms-prop-about__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.25rem;
	margin-top: 0;
	justify-items: start;
}

.ms-property-gallery--wide {
	margin-top: 1rem;
}

.ms-property-gallery--wide img {
	height: clamp(10rem, 22vw, 14rem);
}

.ms-property-gallery__hit {
	appearance: none;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.ms-property-gallery__hit:focus-visible {
	outline: 2px solid var(--ms-accent);
	outline-offset: 2px;
}

.ms-prop-map__label {
	margin: 0.35rem 0 0;
	color: var(--ms-ink);
	font-size: 1.15rem;
	font-weight: 800;
}

.ms-prop-map__frame {
	margin-top: 1rem;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ms-border);
	border-radius: 1.1rem;
	background: var(--ms-surface);
	box-shadow: 0 14px 36px color-mix(in srgb, var(--ms-ink) 8%, transparent);
	aspect-ratio: 16 / 9;
	min-height: 14rem;
}

.ms-prop-map__frame iframe,
.ms-prop-map__canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	border: 0;
}

.ms-prop-map__canvas {
	z-index: 0;
	background: var(--ms-bg);
	cursor: default;
}

.ms-prop-map__canvas.leaflet-container {
	font: inherit;
	direction: ltr;
}

.ms-prop-map__canvas .leaflet-control-zoom a {
	color: var(--ms-ink);
	background: var(--ms-surface);
	border-color: var(--ms-border);
}

.ms-prop-map__canvas .leaflet-control-zoom a:hover {
	color: var(--ms-accent);
	background: var(--ms-surface);
}

.ms-prop-map__canvas .leaflet-bar {
	border: 1px solid var(--ms-border);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--ms-ink) 12%, transparent);
}

.ms-prop-map__canvas .leaflet-control-attribution {
	background: color-mix(in srgb, var(--ms-surface) 85%, transparent);
	color: var(--ms-muted);
	font-size: 0.68rem;
}

.ms-prop-map__canvas .leaflet-control-attribution a { color: var(--ms-accent); }

.ms-map-pin {
	position: relative;
	background: transparent;
	border: 0;
}

.ms-map-pin__dot,
.ms-map-pin__ring {
	position: absolute;
	left: 50%;
	top: 50%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.ms-map-pin__dot {
	width: 14px;
	height: 14px;
	background: var(--ms-accent);
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	z-index: 1;
}

.ms-map-pin__ring {
	width: 28px;
	height: 28px;
	background: color-mix(in srgb, var(--ms-accent) 35%, transparent);
	animation: ms-map-pulse 2.2s ease-out infinite;
}

@keyframes ms-map-pulse {
	0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
	100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.ms-map-label.leaflet-tooltip {
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--ms-border);
	border-radius: 0.6rem;
	background: var(--ms-surface);
	color: var(--ms-ink);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	direction: rtl;
	box-shadow: 0 6px 18px color-mix(in srgb, var(--ms-ink) 12%, transparent);
}

html[lang="en"] .ms-map-label.leaflet-tooltip { direction: ltr; }

.ms-map-label.leaflet-tooltip-top::before { border-top-color: var(--ms-surface); }

@media (prefers-reduced-motion: reduce) {
	.ms-map-pin__ring { animation: none; opacity: 0.5; transform: translate(-50%, -50%); }
}

.ms-prop-map__note {
	margin: 0.85rem 0 0;
	color: var(--ms-muted);
	font-size: 0.95rem;
	line-height: 1.55;
	max-width: 48ch;
}

.ms-prop-map__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1.2rem;
	margin: 1rem 0 0;
}

.ms-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	place-items: center;
	padding: 1.2rem;
	background: rgba(6, 11, 20, 0.84);
	backdrop-filter: blur(8px);
}

.ms-gallery-lightbox[hidden] { display: none; }

.ms-gallery-lightbox__panel {
	position: relative;
	width: min(960px, 100%);
	max-height: min(88vh, 100%);
}

.ms-gallery-lightbox__img {
	display: block;
	width: 100%;
	max-height: min(82vh, 100%);
	object-fit: contain;
	border-radius: 0.75rem;
	background: #0a1018;
}

.ms-gallery-lightbox__close {
	appearance: none;
	position: absolute;
	top: -0.35rem;
	inset-inline-end: -0.15rem;
	z-index: 1;
	width: 2.4rem;
	height: 2.4rem;
	border: 0;
	border-radius: 999px;
	background: var(--ms-surface);
	color: var(--ms-ink);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ms-gallery-lightbox__close:focus-visible {
	outline: 2px solid var(--ms-accent);
	outline-offset: 2px;
}

.ms-prop-services__grid {
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ms-prop-services__card {
	padding: 1.2rem 1.15rem 1.25rem;
	border: 1px solid var(--ms-border);
	background: var(--ms-surface);
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.ms-prop-services__card:hover {
	border-color: var(--ms-accent);
	transform: translateY(-0.18rem);
}

.ms-prop-services__index {
	display: block;
	color: var(--ms-accent);
	font-size: 0.82rem;
	font-weight: 800;
}

.ms-prop-services__name {
	margin: 0.45rem 0 0;
	color: var(--ms-ink);
	font-size: 1.1rem;
	font-weight: 800;
}

.ms-prop-services__desc {
	margin: 0.4rem 0 0;
	color: var(--ms-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.ms-prop-back { margin: 1.8rem 0 0; }

@media (max-width: 900px) {
	.ms-prop-about__layout,
	.ms-prop-services__grid {
		grid-template-columns: 1fr;
		max-width: none;
	}

	.ms-prop-about__aside { position: static; }

	.ms-prop-hero__inner { padding: 6.4rem 0 2.4rem; }

	.ms-prop-hero { min-height: 22rem; }

	.ms-prop-facts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.ms-property-gallery--wide {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ms-property-gallery--wide img {
		height: 9.5rem;
	}

	.ms-prop-map__frame {
		aspect-ratio: 4 / 3;
		min-height: 15rem;
		border-radius: 0.9rem;
	}

	.ms-prop-map__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.ms-prop-map__actions .ms-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.ms-prop-hero__cta {
		flex-direction: column;
		align-items: stretch;
		gap: 0.85rem;
	}

	.ms-prop-hero__cta .ms-btn {
		width: 100%;
		justify-content: center;
	}

	.ms-prop-hero__title {
		max-width: 12ch;
		font-size: clamp(1.85rem, 8.5vw, 2.45rem);
	}

	.ms-gallery-lightbox {
		padding: 0.75rem;
		align-items: end;
	}

	.ms-gallery-lightbox__close {
		top: 0.35rem;
		inset-inline-end: 0.35rem;
	}
}


/* —— Mobile behaviour (touch, sheet nav, safe areas) —— */
.ms-nav-scrim {
	display: none;
}
.ms-menu-btn__icon { display: none; }
.ms-hero__chev { display: none; }

html.is-nav-open {
	overflow: hidden;
	overscroll-behavior: none;
}

.ms-hero__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
}

@media (max-width: 760px) {
	html,
	body {
		overflow-x: clip;
		max-width: 100%;
	}

	.ms-header {
		padding-top: calc(0.35rem + env(safe-area-inset-top, 0px));
		padding-bottom: 0.35rem;
	}

	.ms-header__inner {
		width: min(1120px, calc(100% - 1.1rem));
		gap: 0.35rem;
	}

	.ms-logo { height: 2.7rem; }

	.ms-header__actions { gap: 0.1rem; }

	.ms-login {
		min-height: 2.15rem;
		margin-inline-end: 0.15rem;
		padding: 0.1rem 0.55rem;
		font-size: 0.72rem;
	}

	.ms-icon-btn,
	.ms-menu-btn,
	.ms-accent__toggle {
		min-width: 2.75rem;
		min-height: 2.75rem;
		padding: 0;
		display: grid;
		place-items: center;
	}

	.ms-menu-btn__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.ms-menu-btn__icon {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 1.15rem;
		height: 0.82rem;
	}

	.ms-menu-btn__icon span {
		display: block;
		height: 2px;
		border-radius: 1px;
		background: currentColor;
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	.ms-header.is-open .ms-menu-btn__icon span:nth-child(1) {
		transform: translateY(0.35rem) rotate(45deg);
	}
	.ms-header.is-open .ms-menu-btn__icon span:nth-child(2) { opacity: 0; }
	.ms-header.is-open .ms-menu-btn__icon span:nth-child(3) {
		transform: translateY(-0.35rem) rotate(-45deg);
	}

	.ms-nav-scrim {
		position: fixed;
		inset: 0;
		z-index: 30;
		border: 0;
		padding: 0;
		margin: 0;
		background: rgba(6, 9, 16, 0.46);
		appearance: none;
	}
	.ms-header.is-open .ms-nav-scrim { display: block; }

	.ms-header.is-open {
		background: var(--ms-bg);
		backdrop-filter: none;
		box-shadow: 0 1px 0 var(--ms-border);
	}

	.ms-header.is-open .ms-logo--white { display: none; }
	.ms-header.is-open .ms-logo--color { display: block; }
	html[data-theme="dark"] .ms-header.is-open .ms-logo--color { display: none; }
	html[data-theme="dark"] .ms-header.is-open .ms-logo--white { display: block; }

	.ms-header.is-open .ms-icon-btn,
	.ms-header.is-open .ms-menu-btn,
	.ms-header.is-open .ms-accent__toggle,
	.ms-header.is-open .ms-nav__link {
		color: var(--ms-ink);
		text-shadow: none;
	}

	.ms-nav {
		max-height: min(78svh, calc(100svh - 4.2rem - env(safe-area-inset-top, 0px)));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0.35rem 1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
		background: var(--ms-bg);
		box-shadow: 0 18px 40px rgba(6, 9, 16, 0.18);
	}

	.ms-nav__link {
		min-height: 2.85rem;
		display: flex;
		align-items: center;
	}

	.ms-hero {
		height: 100svh;
		min-height: 100svh;
		max-height: 100svh;
	}

	.ms-hero__inner {
		width: min(40rem, 100%);
		margin-inline-start: 0 !important;
		translate: none !important;
	}

	.ms-hero__slide {
		padding: calc(4.6rem + env(safe-area-inset-top, 0px)) 1.05rem calc(5.6rem + env(safe-area-inset-bottom, 0px));
		align-items: end;
		justify-items: start;
		text-align: start;
	}

	.ms-hero__headline { max-width: 14ch; font-size: clamp(1.7rem, 9vw, 2.35rem); }
	.ms-hero__support { max-width: 32ch; font-size: 0.98rem; }

	.ms-hero__cta {
		flex-direction: column;
		align-items: stretch;
		gap: 0.7rem;
		margin-top: 1.15rem;
	}

	.ms-hero__cta .ms-btn {
		justify-content: center;
		min-height: 2.9rem;
		width: 100%;
	}

	.ms-hero__cta .ms-text-link {
		align-self: flex-start;
		min-height: 2.5rem;
		display: inline-flex;
		align-items: center;
	}

	.ms-hero__controls {
		bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
		gap: 0.35rem;
		padding: 0 0.55rem 0 4.6rem;
		justify-content: flex-end;
	}

	.ms-hero__arrow-label { display: none; }
	.ms-hero__chev { display: block; }
	.ms-hero__arrow {
		min-width: 2.75rem;
		width: 2.75rem;
		min-height: 2.75rem;
		padding: 0;
	}
	.ms-hero__arrow[data-hero-next] .ms-hero__chev { transform: scaleX(-1); }
	html[dir="rtl"] .ms-hero__arrow[data-hero-prev] .ms-hero__chev { transform: scaleX(-1); }
	html[dir="rtl"] .ms-hero__arrow[data-hero-next] .ms-hero__chev { transform: none; }

	.ms-hero__dots {
		flex: 1;
		justify-content: center;
		gap: 0.35rem;
		max-width: 11rem;
	}

	.ms-hero__dot,
	.ms-hero__dot.is-current {
		width: auto;
		min-width: 1.1rem;
		height: 2.4rem;
		min-height: 2.4rem;
		background: transparent !important;
		display: grid;
		place-items: center;
		font-size: 0;
		text-indent: 0;
		overflow: hidden;
		color: transparent;
	}
	.ms-hero__dot::after {
		content: "";
		display: block;
		width: 0.9rem;
		height: 0.28rem;
		border-radius: 99px;
		background: rgba(245, 247, 250, 0.4);
	}
	.ms-hero__dot.is-current::after { background: var(--ms-accent); }

	.ms-section--page { padding-top: 6.1rem; }
	.ms-contact-hero { padding-top: calc(5.6rem + env(safe-area-inset-top, 0px)); min-height: 14.5rem; }
	.ms-prop-hero__inner { padding: calc(5.6rem + env(safe-area-inset-top, 0px)) 0 2.2rem; }

	.ms-prop-hero {
		min-height: 20rem;
	}

	.ms-prop-hero .ms-crumb {
		flex-wrap: wrap;
		row-gap: 0.25rem;
		font-size: 0.8rem;
	}

	.ms-prop-facts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.ms-prop-facts__item {
		padding: 0.95rem 0.9rem 1rem;
		border-radius: 0.85rem;
	}

	.ms-prop-facts__item dd {
		font-size: 1rem;
		margin-top: 0.4rem;
	}

	.ms-property-gallery,
	.ms-property-gallery--wide {
		grid-template-columns: 1fr 1fr;
		gap: 0.45rem;
	}

	.ms-property-gallery img,
	.ms-property-gallery--wide img {
		height: 7.8rem;
	}

	.ms-prop-map__frame {
		aspect-ratio: 1 / 1;
		min-height: 16rem;
	}

	.ms-section.ms-prop-gallery,
	.ms-section.ms-prop-map,
	.ms-prop-about,
	.ms-prop-facts {
		overflow-x: clip;
	}

	.ms-wrap {
		min-width: 0;
		width: min(1120px, calc(100% - 1.25rem));
	}

	.ms-proj-hero__stage { min-height: 18.5rem; }
	.ms-proj-hero__copy { width: calc(100% - 1.2rem); }
	.ms-proj-hero__list {
		height: auto;
	}
	.ms-proj-hero__list > li {
		flex: 0 0 auto;
		min-height: auto;
	}
	.ms-proj-hero__item {
		min-height: 3.8rem;
		grid-template-columns: 3.6rem 1.8rem minmax(0, 1fr);
		padding: 0.7rem 0.25rem 0.7rem 0.5rem;
		gap: 0.55rem;
	}
	.ms-proj-hero__thumb {
		height: 3.2rem;
	}
	.ms-proj-hero__item-name {
		font-size: 0.95rem;
	}
	.ms-proj-hero__item-place {
		font-size: 0.82rem;
	}

	.ms-offer__stage { min-height: 20rem; }
	.ms-offer__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0.4rem;
	}
	.ms-offer__step {
		min-height: 0;
		padding: 0.65rem 0.7rem;
	}

	.ms-accent__panel {
		position: fixed;
		inset: calc(4.1rem + env(safe-area-inset-top, 0px)) 0.75rem auto 0.75rem;
		width: auto;
		max-width: none;
	}

	.ms-form,
	.ms-contact-aside { padding: 1.15rem 1rem 1.2rem; }

	.ms-form input,
	.ms-form select,
	.ms-form textarea,
	.ms-form button,
	.ms-contact-aside a {
		min-height: 2.75rem;
	}

	.ms-wa {
		left: max(12px, env(safe-area-inset-left, 0px));
		bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
	}

	.ms-about__chips { gap: 0.45rem; }
	.ms-about__chip { font-size: 0.82rem; }
}

@media (hover: none) {
	.ms-btn--primary:hover,
	.ms-dev-card:hover,
	.ms-sale-card:hover,
	.ms-gov-card:hover,
	.ms-about__chip:hover,
	.ms-prop-facts__item:hover,
	.ms-prop-facts__item.is-in:hover,
	.ms-prop-facts__item.reveal.is-in:hover,
	.ms-prop-services__card:hover,
	.ms-contact-aside:hover,
	.ms-wa__btn:hover {
		transform: none;
	}

	.ms-prop-facts__item.is-in:nth-child(odd) {
		animation: none;
	}

	.ms-dev-card__photo img,
	.ms-sale-card__photo img,
	.ms-property-photo img,
	.ms-property-gallery figure img,
	.ms-gov-card__photo,
	.ms-proj-hero__thumb img,
	.ms-projects__photo img {
		transform: none !important;
	}

	.ms-contact-hero__media,
	.ms-prop-hero__media,
	.ms-offer__slide.is-current .ms-offer__img,
	.ms-proj-hero__slide.is-current .ms-proj-hero__img {
		transform: none;
	}
}

.ms-wrap--prose { width: min(760px, calc(100% - 2rem)); }

.ms-legal {
	display: grid;
	gap: 1.7rem;
	margin-top: 2.2rem;
}

.ms-legal__block h2 {
	margin: 0;
	color: var(--ms-ink);
	font-size: 1.2rem;
	font-weight: 800;
}

.ms-legal__block p,
.ms-legal__block li {
	margin: 0.55rem 0 0;
	max-width: 68ch;
	color: var(--ms-muted);
	font-size: 1.02rem;
	line-height: 1.75;
}

.ms-legal__block ul {
	margin: 0.35rem 0 0;
	padding-inline-start: 1.15rem;
}

.ms-legal__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.7rem;
	margin: 0.2rem 0 0;
	color: var(--ms-ink);
	font-weight: 700;
}

.ms-legal__contact a:hover { color: var(--ms-accent); }

.ms-particles {
	position: fixed;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

html[data-theme="light"] .ms-particles { opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
	.ms-particles { opacity: 0.4; }
}
