/* ==========================================================================
   UNI Conciergerie — main stylesheet
   Brand: Bleu Prussien #1C2B3A · Coton Hôtelier #F0EAE2 · Sable de Meuse #FEF9EC
          Argile & Boiserie #C8B09A · Ambre Solaire #F58A07
   Amber is used as a fill (with navy text) — never as text on light backgrounds.
   ========================================================================== */

:root {
	--navy: #1C2B3A;
	--navy-900: #121D28;
	--navy-700: #2B3E51;
	--cream: #FAF7F2;
	--sable: #FEF9EC;
	--coton: #F0EAE2;
	--argile: #C8B09A;
	--argile-700: #8C735C;
	--ambre: #F58A07;
	--ambre-300: #FBB866;

	--ink: var(--navy);
	--muted: #57626D;
	--line: rgba(28, 43, 58, .14);
	--line-light: rgba(250, 247, 242, .16);

	--font: 'Bricolage', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--narrow: 82%;

	--gutter: clamp(16px, 4.5vw, 64px);
	--max: 1320px;
	--radius: 22px;
	--radius-sm: 12px;
	--header-h: 84px;

	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);

	--fs-display: clamp(2.7rem, 1.2rem + 6.4vw, 7.4rem);
	--fs-h1: clamp(2.3rem, 1.4rem + 3.6vw, 4.6rem);
	--fs-h2: clamp(2rem, 1.25rem + 3vw, 4.1rem);
	--fs-lead: clamp(1.1rem, 1rem + .45vw, 1.4rem);
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */

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

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

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--ambre); color: var(--navy); }

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

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

.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	padding: 10px 18px; border-radius: 99px;
	background: var(--ambre); color: var(--navy); font-weight: 600;
	transform: translateY(-160%);
	transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
}
.container--narrow { max-width: 760px; }

.section { padding-block: clamp(80px, 10vw, 168px); }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }

/* --------------------------------------------------------------------------
   Typography
   ----------------------------------------------------------------------- */

.display, .h1, .h2, .service-card__title, .step__title, .value-card__title,
.service-row__title, .stamp-card__title, .post-card__title, .stat__value,
.site-footer__cta-text, .not-found__code, .review__quote, .lead-form__title,
.closing__text, .post-cta__title {
	font-stretch: var(--narrow);
	font-weight: 600;
	letter-spacing: -.015em;
	text-wrap: balance;
}

.display { font-size: var(--fs-display); line-height: .94; letter-spacing: -.022em; font-stretch: 90%; }
.h1 { font-size: var(--fs-h1); line-height: 1; }
.h2 { font-size: var(--fs-h2); line-height: 1; }

.lead {
	font-size: var(--fs-lead);
	line-height: 1.5;
	color: var(--muted);
	text-wrap: pretty;
}

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin-bottom: 18px;
	font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--argile-700);
}
.eyebrow::before {
	content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--ambre);
}

.tag {
	display: inline-flex; align-items: center;
	width: fit-content;
	padding: 7px 16px;
	border: 1px solid var(--line);
	border-radius: 99px;
	font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--navy);
	text-decoration: none;
}
.tag--light { color: var(--coton); border-color: rgba(250, 247, 242, .3); background: rgba(28, 43, 58, .25); backdrop-filter: blur(6px); }

.prose { max-width: 68ch; font-size: 1.075rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.1; font-stretch: var(--narrow); font-weight: 600; letter-spacing: -.02em; }
.prose h3 { margin-top: 1.6em; font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ambre); }
.prose a { color: var(--navy); text-decoration-color: var(--ambre); text-decoration-thickness: 2px; }
.prose blockquote { padding-left: 1.2em; border-left: 3px solid var(--ambre); font-size: 1.25rem; }
.prose img { border-radius: var(--radius-sm); }
.prose--large { font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); line-height: 1.65; }

/* --------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------- */

.btn {
	--bg: var(--ambre); --fg: var(--navy); --bd: var(--ambre);
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px;
	padding: 14px 26px;
	border: 1.5px solid var(--bd);
	border-radius: 99px;
	background: var(--bg);
	color: var(--fg);
	font-size: 1rem; font-weight: 600; line-height: 1.1;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: color .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease);
	will-change: transform;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	border-radius: inherit;
	background: var(--navy);
	transform: translateY(101%);
	transition: transform .45s var(--ease);
}
.btn .arrow { transition: transform .45s var(--ease); flex: none; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--cream); border-color: var(--navy); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--dark { --bg: var(--navy); --fg: var(--cream); --bd: var(--navy); }
.btn--dark::before { background: var(--ambre); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--navy); border-color: var(--ambre); }
.btn--light { --bg: transparent; --fg: var(--cream); --bd: rgba(250, 247, 242, .45); }
.btn--light::before { background: var(--cream); }
.btn--light:hover, .btn--light:focus-visible { color: var(--navy); border-color: var(--cream); }

.round-btn {
	display: grid; place-items: center;
	width: 52px; height: 52px;
	border: 1.5px solid var(--navy); border-radius: 50%;
	background: transparent; color: var(--navy);
	transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.round-btn:hover { background: var(--navy); color: var(--cream); }
.round-btn:active { transform: scale(.94); }

/* --------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------- */

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	color: var(--navy);
	transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(250, 247, 242, .86);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	border-bottom: 1px solid var(--line);
	opacity: 1;
	transition: opacity .4s var(--ease);
}
.has-overlay-header .site-header:not(.is-scrolled) { color: var(--cream); }
.has-overlay-header .site-header:not(.is-scrolled)::before { opacity: 0; }
.site-header.is-scrolled { --header-h: 70px; }
.site-header.is-hidden { transform: translateY(-100%); }
body:not(.has-overlay-header) .site-main { padding-top: var(--header-h); }

.site-header__logo { display: block; width: 44px; flex: none; transition: width .4s var(--ease); }
.is-scrolled .site-header__logo { width: 38px; }
.logo { width: 100%; height: auto; overflow: visible; }
.logo__mark { fill: var(--ambre); }
.logo__word { fill: currentColor; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.site-nav__list a {
	position: relative;
	display: inline-block; padding: 6px 0;
	font-weight: 500; font-size: .98rem;
	text-decoration: none;
}
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0;
	height: 2px; border-radius: 2px; background: var(--ambre);
	transform: scaleX(0); transform-origin: right;
	transition: transform .45s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list [aria-current="page"]::after,
.site-nav__list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__cta { display: none; min-height: 46px; padding: 11px 20px; font-size: .95rem; }

.burger {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 46px; padding: 0 16px 0 14px;
	border: 1.5px solid currentColor; border-radius: 99px;
	background: transparent;
	font-weight: 600; font-size: .95rem;
}
.burger__lines { position: relative; display: block; width: 18px; height: 10px; }
.burger__lines span {
	position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
	transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger__lines span:first-child { top: 0; }
.burger__lines span:last-child { top: 8px; }
.burger[aria-expanded="true"] .burger__lines span:first-child { top: 4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines span:last-child { top: 4px; transform: rotate(-45deg); }

.menu-open .site-header { color: var(--cream); transform: none; }
.menu-open .site-header::before { opacity: 0; }

@media (min-width: 1040px) {
	.site-nav { display: block; }
	.site-header__cta { display: inline-flex; }
	.burger { display: none; }
	.site-header__logo { width: 48px; }
}

/* Mobile menu */
.mobile-menu {
	position: fixed; inset: 0; z-index: 90;
	display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 24px) 0 32px;
	background: var(--navy);
	color: var(--cream);
	clip-path: circle(0% at calc(100% - 60px) 42px);
	transition: clip-path .7s var(--ease-in-out);
	overflow-y: auto;
}
.mobile-menu[hidden] { display: flex; visibility: hidden; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 60px) 42px); visibility: visible; }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 40px; }
.mobile-menu__list li { overflow: hidden; }
.mobile-menu__list a {
	display: block; padding: 4px 0;
	font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 600; font-stretch: var(--narrow); line-height: 1.05; letter-spacing: -.03em;
	text-decoration: none;
	transform: translateY(105%);
	transition: transform .7s var(--ease), color .3s;
	transition-delay: calc(var(--i, 0) * 60ms + 200ms);
}
.mobile-menu__list a:hover, .mobile-menu__list [aria-current="page"] { color: var(--ambre); }
.mobile-menu.is-open .mobile-menu__list a { transform: none; }
.mobile-menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--argile); }
.mobile-menu__foot a:not(.btn) { text-decoration: none; }
.mobile-menu__foot .btn { margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   Reveal animations (JS adds .is-in). Content stays visible without JS.
   ----------------------------------------------------------------------- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s var(--ease), transform 1.1s var(--ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: block; }
.js .split-line > span {
	transform: translateY(105%);
	transition: transform 1.1s var(--ease);
	transition-delay: calc(var(--i, 0) * 110ms + 120ms);
}
.js .is-ready .split-line > span, .js .split-line.is-in > span { transform: none; }

/* Headlines split into letters by main.js. Each word is a mask (clipped at
   its baseline only, so accents and overhangs stay visible). */
.lt-w {
	display: inline-block;
	white-space: nowrap;
	padding-bottom: .14em; margin-bottom: -.14em;
	clip-path: inset(-.4em -.2em 0 -.2em);
}
.lt-c { display: inline-block; }
.js [data-letters] .lt-c {
	transform: translateY(125%);
	transition: transform .75s var(--ease);
	transition-delay: var(--cd, 0ms);
}
.js [data-letters].is-in .lt-c, .js .is-ready [data-letters] .lt-c { transform: none; }
.js [data-letters] .split-line > span { transform: none; transition: none; }
.js .is-ready [data-letters] .lt-c { transition-delay: calc(var(--cd, 0ms) + 150ms); }

/* Intro text that fills in word by word while scrolling */
.is-filling .fw { opacity: calc(.18 + .82 * var(--f, 0)); transition: opacity .2s linear; }

/* Smooth scrolling is handled in JS when available */
html.has-smooth { scroll-behavior: auto; }

/* Follower cursor (mouse only, created by main.js) */
.cursor {
	position: fixed; left: 0; top: 0; z-index: 9999;
	width: 0; height: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor::before, .cursor__label {
	position: absolute; left: 0; top: 0;
	border-radius: 50%;
}
.cursor::before {
	content: "";
	width: 10px; height: 10px; margin: -5px 0 0 -5px;
	background: var(--ambre);
	box-shadow: 0 0 0 1.5px rgba(28, 43, 58, .28);
	transition: transform .45s var(--ease), background .3s, box-shadow .3s;
}
.cursor.is-hot::before { transform: scale(4.2); background: rgba(245, 138, 7, .18); box-shadow: 0 0 0 .4px var(--ambre); }
.cursor.is-down::before { transform: scale(.6); }
.cursor.is-hot.is-down::before { transform: scale(3.4); }
.cursor__label {
	display: grid; place-items: center;
	width: 92px; height: 92px; margin: -46px 0 0 -46px;
	background: var(--ambre); color: var(--navy);
	font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	transform: scale(0);
	transition: transform .5s var(--ease);
}
.cursor.is-label::before { transform: scale(0); }
.cursor.is-label .cursor__label { transform: scale(1); }
.cursor.is-label.is-down .cursor__label { transform: scale(.88); }

/* Page-to-page transition (browsers with cross-document View Transitions) */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root) { animation: page-out .45s var(--ease-in-out) both; }
	::view-transition-new(root) { animation: page-in .8s var(--ease) both; }
}
@keyframes page-out { to { opacity: 0; transform: translateY(-48px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(64px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-reveal], .js .split-line > span { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   ----------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(640px, 100svh, 1000px);
	padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px);
	color: var(--cream);
	background: var(--navy);
	overflow: hidden;
	isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; }
.hero__img {
	width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
	transform: scale(1.08);
	transition: transform 2.4s var(--ease);
}
.is-ready .hero__img, html:not(.js) .hero__img { transform: scale(1); }
.hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(18, 29, 40, .55) 0%, rgba(18, 29, 40, 0) 26%),
		linear-gradient(90deg, rgba(18, 29, 40, .88) 0%, rgba(18, 29, 40, .55) 48%, rgba(18, 29, 40, .1) 100%),
		linear-gradient(0deg, rgba(18, 29, 40, .7) 0%, rgba(18, 29, 40, 0) 45%);
}
.hero__inner { display: grid; gap: 40px; align-items: end; }
.hero__content { max-width: 820px; }
.hero__tag { margin-bottom: 26px; }
.hero__title { margin-bottom: 26px; }
.hero__text { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.45; color: rgba(250, 247, 242, .86); }
.hero__lead {
	max-width: 36ch; margin-top: 10px;
	font-size: var(--fs-lead); line-height: 1.45; font-weight: 600;
	color: var(--ambre-300);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__text, .hero__lead, .hero__actions, .hero__tag, .hero__ticket {
	transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.js .hero:not(.is-ready) :is(.hero__text, .hero__lead, .hero__actions, .hero__tag, .hero__ticket) { opacity: 0; transform: translateY(24px); }
.hero__tag { transition-delay: .05s; }
.hero__text { transition-delay: .45s; }
.hero__lead { transition-delay: .55s; }
.hero__actions { transition-delay: .68s; }
.hero__ticket { transition-delay: .85s; }

/* Ratings "ticket" — perforated like a stamp strip */
.ticket {
	display: flex; flex-wrap: wrap;
	width: fit-content;
	background: var(--cream);
	color: var(--navy);
	border-radius: 16px;
	--perf: radial-gradient(circle at 50% 0, transparent 5px, #000 5.5px);
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .25));
}
.ticket__item { position: relative; padding: 16px 22px 14px; }
.ticket__item + .ticket__item { border-left: 1.5px dashed rgba(28, 43, 58, .25); }
.ticket__item a { text-decoration: none; display: block; }
.ticket__score { display: block; font-size: 1.6rem; font-weight: 700; font-stretch: var(--narrow); letter-spacing: -.02em; line-height: 1; }
.ticket__platform { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--argile-700); }
.ticket__platform .uni-icon { width: 14px; height: 14px; color: var(--ambre); fill: var(--ambre); }

.hero__scroll {
	position: absolute; left: 50%; bottom: 22px;
	display: none;
	width: 26px; height: 42px; margin-left: -13px;
	border: 1.5px solid rgba(250, 247, 242, .5); border-radius: 99px;
}
.hero__scroll span {
	position: absolute; left: 50%; top: 8px;
	width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--ambre);
	animation: scrollcue 2s var(--ease) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1fr auto; }
	.hero__scroll { display: block; }
	.ticket { flex-direction: column; }
	.ticket__item + .ticket__item { border-left: 0; border-top: 1.5px dashed rgba(28, 43, 58, .25); }
}

/* --------------------------------------------------------------------------
   Marquee (trust bar)
   ----------------------------------------------------------------------- */

.marquee {
	position: relative;
	background: var(--ambre);
	color: var(--navy);
	overflow: hidden;
	border-block: 1px solid rgba(28, 43, 58, .15);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
	display: flex; align-items: center; gap: 18px;
	padding: 20px 22px;
	font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); font-weight: 600; font-stretch: var(--narrow);
	white-space: nowrap;
}
.marquee__icon { width: 22px; height: 22px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
	.marquee__group[aria-hidden] { display: none; }
	.marquee__group { flex-wrap: wrap; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Section heads
   ----------------------------------------------------------------------- */

.section-head {
	display: grid; gap: 18px 48px;
	margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head__intro { max-width: 46ch; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) {
	.section-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
	.section-head__intro { justify-self: end; }
}

/* --------------------------------------------------------------------------
   Services (home cards)
   ----------------------------------------------------------------------- */

.service-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.service-card {
	--tx: 0deg; --ty: 0deg;
	position: relative;
	display: flex; flex-direction: column;
	padding: clamp(26px, 3vw, 36px);
	border-radius: var(--radius);
	background: var(--coton);
	transform-style: preserve-3d;
	transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease), opacity .9s var(--ease);
}
.js .service-card.is-in { transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty)); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.service-card__icon {
	display: grid; place-items: center;
	width: 58px; height: 58px;
	border-radius: 18px;
	background: var(--navy); color: var(--ambre);
	transition: transform .6s var(--ease), background .5s var(--ease), color .5s var(--ease);
}
.service-card__icon .uni-icon { width: 28px; height: 28px; }
.service-card__num { font-size: .85rem; font-weight: 600; color: var(--argile-700); transition: color .5s; }
.service-card__title { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); line-height: 1.05; margin-bottom: 12px; }
.service-card__text { color: var(--muted); margin-bottom: 22px; transition: color .5s; }

.arrow-list { display: grid; gap: 8px; margin-bottom: 22px; font-size: .97rem; }
.arrow-list li { position: relative; padding-left: 24px; }
.arrow-list li::before {
	content: ""; position: absolute; left: 0; top: .72em;
	width: 12px; height: 1.5px; background: currentColor;
	transition: width .4s var(--ease);
}
.arrow-list li::after {
	content: ""; position: absolute; left: 7px; top: calc(.72em - 3.5px);
	width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg);
}

.check-list { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: .97rem; transition: border-color .5s; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .uni-icon { flex: none; width: 20px; height: 20px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--ambre); color: var(--navy); stroke-width: 3; }
.check-list--2col { border-top: 0; padding-top: 0; font-weight: 500; }
@media (min-width: 700px) { .check-list--2col { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }

@media (hover: hover) {
	.service-card:hover { background: var(--navy); color: var(--cream); box-shadow: 0 30px 60px -20px rgba(28, 43, 58, .45); }
	.service-card:hover .service-card__icon { background: var(--ambre); color: var(--navy); transform: rotate(-8deg) scale(1.06); }
	.service-card:hover .service-card__text { color: rgba(250, 247, 242, .75); }
	.service-card:hover .service-card__num { color: var(--ambre); }
	.service-card:hover .check-list { border-color: var(--line-light); }
	.service-card:hover .arrow-list li::before { width: 16px; }
}

/* --------------------------------------------------------------------------
   Stats band
   ----------------------------------------------------------------------- */

.stats { background: var(--navy); color: var(--cream); padding-block: clamp(56px, 7vw, 96px); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
.stat { position: relative; }
.stat__value { font-size: clamp(2.8rem, 1.6rem + 4.5vw, 5.6rem); line-height: .95; color: var(--ambre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__label { margin-top: 10px; color: var(--argile); font-size: .98rem; max-width: 18ch; }
@media (min-width: 900px) {
	.stats__grid { grid-template-columns: repeat(4, 1fr); }
	.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-light); }
}

/* --------------------------------------------------------------------------
   Process
   ----------------------------------------------------------------------- */

.process { background: var(--sable); }
.process__grid { display: grid; gap: 56px; }
.process__intro .lead { margin-top: 18px; max-width: 34ch; }
.process__channels-label { margin-top: 34px; margin-bottom: 12px; font-weight: 600; }
.process__intro .btn { margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border-radius: 99px; background: var(--cream); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }

.steps { position: relative; display: grid; gap: 14px; }
.steps__line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--ambre); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step {
	position: relative;
	display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
	padding: 6px 0;
}
.step__num {
	position: relative; z-index: 1;
	display: grid; place-items: center;
	width: 64px; height: 64px;
	border-radius: 50%;
	background: var(--cream); border: 1.5px solid var(--navy);
	font-weight: 700; font-stretch: var(--narrow); font-size: 1.15rem;
	transition: background .5s var(--ease), color .5s var(--ease), border-color .5s;
}
.step.is-active .step__num { background: var(--navy); color: var(--ambre); }
.step__body { padding: 18px 22px 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.step__title { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.7rem); line-height: 1.1; margin-bottom: 6px; }
.step__body p { color: var(--muted); }

@media (min-width: 1000px) {
	.process__grid { grid-template-columns: 5fr 7fr; gap: 80px; }
	.process__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
	.steps { gap: 22px; }
	.step__body { padding: 26px 30px 30px; }
}

/* --------------------------------------------------------------------------
   Reviews carousel
   ----------------------------------------------------------------------- */

.reviews { overflow: hidden; }
.reviews__head { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.score-list { display: flex; flex-wrap: wrap; gap: 8px; }
.score-list li { padding: 8px 16px; border-radius: 99px; background: var(--coton); font-size: .92rem; }
.score-list strong { font-weight: 700; }
@media (min-width: 900px) { .reviews__head { grid-template-columns: 1fr auto; align-items: end; } }

.carousel__stage { display: grid; position: relative; touch-action: pan-y; }
.review {
	grid-area: 1 / 1;
	align-self: center;
	justify-self: center;
	width: min(100%, 720px);
	padding: clamp(28px, 4vw, 52px);
	border-radius: var(--radius);
	background: var(--coton);
	transition: transform .8s var(--ease), opacity .6s var(--ease), background .6s var(--ease), color .6s var(--ease);
	opacity: 0; transform: translateX(0) scale(.85);
	pointer-events: none;
	visibility: hidden;
}
.review.is-active { opacity: 1; transform: none; background: var(--navy); color: var(--cream); pointer-events: auto; visibility: visible; z-index: 2; }
.review.is-prev, .review.is-next { visibility: visible; opacity: .55; z-index: 1; cursor: pointer; pointer-events: auto; }
.review.is-prev { transform: translateX(-66%) scale(.8); }
.review.is-next { transform: translateX(66%) scale(.8); }
html:not(.js) .review:first-child { opacity: 1; visibility: visible; transform: none; background: var(--navy); color: var(--cream); }

.stars { display: flex; gap: 3px; margin-bottom: 22px; }
.stars svg { fill: var(--argile); }
.stars svg.is-on { fill: var(--ambre); }
.review__quote { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2.05rem); line-height: 1.2; font-weight: 500; }
.review__quote p::before { content: "« "; color: var(--ambre); }
.review__quote p::after { content: " »"; color: var(--ambre); }
.review__author { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.review__author strong { display: block; font-weight: 700; }
.review__role { display: block; font-size: .92rem; opacity: .7; }
.review__initial, .review__photo { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ambre); color: var(--navy); font-weight: 700; object-fit: cover; }
.review__video { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; padding: 8px 16px; border: 1px solid currentColor; border-radius: 99px; background: transparent; font-weight: 600; }
.review video { width: 100%; margin-top: 18px; border-radius: var(--radius-sm); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 36px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: var(--argile); transition: width .5s var(--ease), background .3s; }
.carousel__dots button[aria-selected="true"] { width: 34px; background: var(--navy); }

@media (max-width: 899px) {
	.review.is-prev, .review.is-next { opacity: 0; visibility: hidden; }
	.review.is-prev { transform: translateX(-30%) scale(.9); }
	.review.is-next { transform: translateX(30%) scale(.9); }
}

/* --------------------------------------------------------------------------
   Apartments (stamp cards + draggable strip)
   ----------------------------------------------------------------------- */

.apartments { background: var(--navy); color: var(--cream); overflow: hidden; }
.apartments .lead { color: var(--argile); margin-top: 18px; max-width: 40ch; }
.apartments__head { display: grid; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.apartments__aside { display: flex; align-items: center; gap: 24px; }
.apartments__postmark { width: 104px; color: var(--argile); animation: spin 26s linear infinite; flex: none; }
@media (min-width: 900px) {
	.apartments__head { grid-template-columns: 1fr auto; align-items: end; }
}

.postmark { overflow: visible; }
.postmark__text { font-size: 9.6px; font-weight: 600; letter-spacing: .16em; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }

.strip { position: relative; }
.strip__track {
	display: flex; gap: clamp(18px, 2.5vw, 34px);
	padding: 18px max(var(--gutter), calc((100vw - var(--max)) / 2)) 30px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
	outline-offset: -4px;
}
.strip__track::-webkit-scrollbar { display: none; }
.strip__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip__track.is-dragging a { pointer-events: none; }
.strip__track .stamp-card { flex: 0 0 min(76vw, 340px); scroll-snap-align: center; }
.strip__bar { height: 2px; background: var(--line-light); margin-top: 8px; position: relative; }
.strip__bar span { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--ambre); transform-origin: left; transform: scaleX(var(--p, .1)); }

.stamp-card { --rot: -1.6deg; }
.stamp-card:nth-child(even) { --rot: 1.3deg; }
.stamp-card:nth-child(3n) { --rot: -.6deg; }
.stamp-card__link { display: block; text-decoration: none; color: inherit; }
.stamp {
	position: relative;
	display: block;
	padding: 12px;
	background: var(--cream);
	/* Perforated stamp edge: a grid of holes, filled back in everywhere except a 5px border ring. */
	mask:
		radial-gradient(circle, transparent 3px, #000 3.5px) -5px -5px / 10px 10px round,
		linear-gradient(#000 0 0) 5px 5px / calc(100% - 10px) calc(100% - 10px) no-repeat;
	transform: rotate(var(--rot));
	transition: transform .7s var(--ease);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.stamp__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.92); transition: transform 1s var(--ease), filter .6s; }
.stamp { overflow: hidden; }
.stamp-card__caption { display: block; margin-top: 20px; }
.stamp-card__meta { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--argile); margin-bottom: 4px; }
.stamp-card__title { font-size: clamp(1.4rem, 1.15rem + .6vw, 1.75rem); line-height: 1.08; }
.stamp-card__link:hover .stamp, .stamp-card__link:focus-visible .stamp { transform: rotate(0deg) translateY(-6px); }
.stamp-card__link:hover .stamp__img { transform: scale(1.04); filter: none; }

.stamp--tilt { --rot: 2.4deg; }

.property-grid { display: grid; gap: 48px 28px; }
@media (min-width: 640px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .property-grid { grid-template-columns: repeat(3, 1fr); gap: 64px 40px; } }
.property-archive .stamp-card__meta { color: var(--argile-700); }

/* --------------------------------------------------------------------------
   FAQ
   ----------------------------------------------------------------------- */

.faq__grid { display: grid; gap: 40px; }
.faq__intro > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); max-width: 34ch; }
.faq__intro .btn { margin-top: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--coton); transition: background .4s var(--ease); }
.faq-item[open] { background: var(--sable); box-shadow: inset 0 0 0 1.5px var(--navy); }
.faq-item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 24px 26px;
	cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); font-weight: 600; line-height: 1.3; }
.faq-item__icon { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); transition: transform .5s var(--ease), background .4s; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--cream); }
.faq-item__icon::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq-item[open] .faq-item__icon { background: var(--ambre); transform: rotate(180deg); }
.faq-item[open] .faq-item__icon::before, .faq-item[open] .faq-item__icon::after { background: var(--navy); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__a { padding: 0 26px 26px; color: var(--muted); max-width: 64ch; }

@supports (interpolate-size: allow-keywords) {
	.faq-item { interpolate-size: allow-keywords; }
	.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
	.faq-item[open]::details-content { block-size: auto; }
}

@media (min-width: 1000px) {
	.faq__grid { grid-template-columns: 5fr 7fr; gap: 80px; }
	.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

/* --------------------------------------------------------------------------
   Contact block + form
   ----------------------------------------------------------------------- */

.contact-block { position: relative; background: var(--coton); overflow: hidden; isolation: isolate; }
.contact-block__mark { position: absolute; z-index: -1; right: -6%; bottom: -12%; width: min(70vw, 760px); color: var(--argile); opacity: .55; }
.contact-block__grid { display: grid; gap: 48px; }
.contact-block__text { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; }
.contact-block__text p + p { margin-top: .6em; }
.contact-block__text p:first-child { font-weight: 600; }

.contact-list { display: grid; gap: 22px; margin-top: 40px; }
.contact-list dt { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--argile-700); }
.contact-list dt .uni-icon { width: 18px; height: 18px; color: var(--navy); }
.contact-list dd { font-size: 1.15rem; font-weight: 600; }
.contact-list dd a { text-decoration: none; background: linear-gradient(var(--ambre), var(--ambre)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.contact-list dd a:hover { background-size: 100% 2px; }
.contact-list .sep { margin-inline: 8px; color: var(--argile); }
.contact-list__names { display: block; font-weight: 400; font-size: .95rem; color: var(--muted); }

.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--ambre); color: var(--navy); border-color: var(--ambre); transform: translateY(-3px); }
.socials--dark a { color: var(--navy); }

.contact-block__form, .estimate__form {
	padding: clamp(24px, 3.5vw, 44px);
	border-radius: calc(var(--radius) + 6px);
	background: var(--cream);
	box-shadow: 0 40px 80px -40px rgba(28, 43, 58, .35);
}
@media (min-width: 1000px) {
	.contact-block__grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
}

.lead-form__title { font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.1; margin-bottom: 24px; }
.lead-form__grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .lead-form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; }
.field label span { color: var(--argile-700); }
.field input, .field select, .field textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1.5px solid var(--line);
	border-radius: 14px;
	background: #fff;
	font-size: 1rem;
	transition: border-color .25s, box-shadow .25s;
	appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C2B3A' stroke-width='1.8'/%3E%3C/svg%3E") right 16px center no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(245, 138, 7, .25); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.lead-form__consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); }
.lead-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.lead-form__status { font-weight: 600; }
.lead-form__status:empty { display: none; }
.lead-form.is-sent .lead-form__status { padding: 10px 16px; border-radius: 12px; background: var(--ambre); color: var(--navy); }
.lead-form.is-error .lead-form__status { color: #B3261E; }
.lead-form.is-loading button[type="submit"] { opacity: .7; pointer-events: none; }

/* --------------------------------------------------------------------------
   Inner page hero
   ----------------------------------------------------------------------- */

.page-hero {
	position: relative;
	padding: clamp(150px, 16vw, 220px) 0 clamp(64px, 8vw, 120px);
	overflow: hidden; isolation: isolate;
}
body:not(.has-overlay-header) .page-hero { margin-top: calc(-1 * var(--header-h)); }
.page-hero--dark { background: var(--navy); color: var(--cream); }
.page-hero--dark + .marquee { border-top: 0; }
.page-hero--light { background: var(--sable); }
.page-hero__inner { position: relative; display: grid; gap: 22px; justify-items: start; }
.page-hero__title { max-width: 14ch; }
.page-hero__text { max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; opacity: .85; }
.page-hero__subtitle { max-width: 30ch; font-size: clamp(1.3rem, 1.1rem + .9vw, 2rem); font-weight: 500; line-height: 1.2; color: var(--muted); }
.page-hero__actions { margin-top: 8px; }
.page-hero__mark { position: absolute; z-index: -1; right: -4%; top: 12%; width: min(62vw, 640px); color: var(--argile); opacity: .35; }
.page-hero--dark .page-hero__mark { color: var(--ambre); opacity: .28; }
.page-hero__postmark { position: absolute; right: var(--gutter); bottom: clamp(24px, 5vw, 56px); width: clamp(84px, 9vw, 120px); color: var(--argile); animation: spin 26s linear infinite; }
.page-hero--light .page-hero__postmark { color: var(--argile-700); }
.page-hero .pills { margin-top: 12px; }

/* Outline mark draw-in */
.mark-outline polygon, .mark-outline rect { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .mark-outline polygon, .js .mark-outline rect { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-in-out); }
.js .mark-outline.is-in polygon, .js .mark-outline.is-in rect { stroke-dashoffset: 0; }
.mark-outline polygon:nth-child(2) { transition-delay: .25s; }
.mark-outline polygon:nth-child(3) { transition-delay: .45s; }
.mark-outline rect { transition-delay: .6s; }

/* --------------------------------------------------------------------------
   Services page rows
   ----------------------------------------------------------------------- */

.service-rows { border-top: 1px solid var(--line); }
.service-row {
	display: grid; gap: 18px;
	padding: clamp(32px, 4vw, 56px) 0;
	border-bottom: 1px solid var(--line);
	transition: background .5s var(--ease);
}
.service-row__num { font-weight: 600; color: var(--argile-700); }
.service-row__head { display: flex; align-items: center; gap: 18px; }
.service-row__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px; background: var(--coton); color: var(--navy); transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.service-row__icon .uni-icon { width: 28px; height: 28px; }
.service-row__title { font-size: clamp(1.7rem, 1.25rem + 1.5vw, 2.6rem); line-height: 1.02; }
.service-row__text { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin-bottom: 22px; }
.service-row:hover .service-row__icon { background: var(--ambre); transform: rotate(-8deg); }
@media (min-width: 1000px) {
	.service-row { grid-template-columns: 70px 5fr 7fr; gap: 40px; align-items: start; }
	.service-row__head { flex-direction: column; align-items: flex-start; }
	.service-row__num { padding-top: 14px; }
}

.estimate { background: var(--coton); position: relative; }
.estimate__grid { display: grid; gap: 48px; }
.estimate__intro .lead { margin-top: 22px; max-width: 46ch; }
.estimate__postmark { width: 120px; margin-top: 40px; color: var(--argile-700); animation: spin 26s linear infinite; }
@media (min-width: 1000px) { .estimate__grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; } }

/* --------------------------------------------------------------------------
   About
   ----------------------------------------------------------------------- */

.about-hero { position: relative; padding: clamp(140px, 15vw, 210px) 0 clamp(64px, 8vw, 120px); background: var(--sable); overflow: hidden; }
body:not(.has-overlay-header) .about-hero { margin-top: calc(-1 * var(--header-h)); }
.about-hero__grid { display: grid; gap: 56px; align-items: center; }
.about-hero__text { display: grid; gap: 24px; justify-items: start; }
.about-hero__lead { font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem); line-height: 1.4; max-width: 38ch; text-wrap: pretty; }
.about-hero__photo { position: relative; justify-self: center; width: min(100%, 440px); }
.about-hero__postmark { position: absolute; left: -36px; bottom: -36px; width: 120px; color: var(--navy); background: var(--ambre); border-radius: 50%; padding: 6px; animation: spin 26s linear infinite; }
@media (max-width: 600px) { .about-hero__postmark { left: -6px; bottom: -28px; width: 96px; } }
@media (min-width: 1000px) { .about-hero__grid { grid-template-columns: 7fr 5fr; gap: 80px; } }

.story__grid { display: grid; gap: 48px; align-items: center; }
.story__media { overflow: hidden; border-radius: var(--radius); }
.story__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story__text .prose { margin-top: 28px; }
@media (min-width: 1000px) { .story__grid { grid-template-columns: 5fr 7fr; gap: 96px; } }

.values { background: var(--navy); color: var(--cream); }
.values .lead { color: var(--argile); }
.value-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .value-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.value-card {
	--tx: 0deg; --ty: 0deg;
	padding: clamp(26px, 3vw, 38px);
	border-radius: var(--radius);
	background: var(--navy-700);
	transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease), opacity .9s var(--ease);
}
.js .value-card.is-in { transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty)); }
.value-card__num { display: block; margin-bottom: 42px; font-weight: 600; color: var(--ambre); }
.value-card__title { font-size: clamp(1.7rem, 1.4rem + .8vw, 2.2rem); margin-bottom: 10px; }
.value-card p { color: rgba(250, 247, 242, .75); }
@media (hover: hover) {
	.value-card:hover { background: var(--ambre); color: var(--navy); }
	.value-card:hover .value-card__num, .value-card:hover p { color: var(--navy); }
}

.closing__inner { display: grid; gap: 28px; justify-items: center; text-align: center; }
.closing__icon { width: 44px; height: 44px; color: var(--ambre); }
.closing__text { max-width: 30ch; font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); line-height: 1.12; }
.closing__text p + p { margin-top: .6em; color: var(--argile-700); }

/* --------------------------------------------------------------------------
   Single apartment
   ----------------------------------------------------------------------- */

.back-link { display: inline-block; margin-bottom: 32px; font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--argile-700); }
.property__grid { display: grid; gap: 40px; }
.property__info { display: grid; gap: 22px; align-content: start; justify-items: start; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; }
.specs div { padding: 10px 16px; border-radius: 14px; background: var(--coton); }
.specs dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--argile-700); }
.specs dd { font-weight: 600; }
.property__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery__item { padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--coton); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--main { grid-column: 1 / -1; }
.gallery__item--main img { aspect-ratio: 4 / 5; }
@media (min-width: 1000px) {
	.property__grid { grid-template-columns: 7fr 5fr; gap: 64px; }
	.property__info { position: sticky; top: calc(var(--header-h) + 32px); }
	.gallery__item--main img { aspect-ratio: 5 / 4; }
}
.apartments--related .h2 { margin-bottom: 48px; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 29, 40, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-sm); }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid rgba(250, 247, 242, .4); border-radius: 50%; background: transparent; color: var(--cream); font-size: 1.8rem; line-height: 1; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; }
.lightbox__nav--next { right: 20px; top: 50%; }

/* --------------------------------------------------------------------------
   Blog
   ----------------------------------------------------------------------- */

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.pills a:hover { border-color: var(--navy); }
.pills a[aria-current="page"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card { display: flex; flex-direction: column; gap: 20px; }
.post-card__media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--coton); }
.post-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.post-card__cat { padding: 4px 12px; border-radius: 99px; background: var(--coton); color: var(--navy); font-weight: 600; }
.post-card__title { margin-top: 10px; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); line-height: 1.08; }
.post-card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.post-card:hover .post-card__title a { background-size: 100% 2px; }
.post-card__excerpt { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; }
.post-card__more .arrow { transition: transform .4s var(--ease); }
.post-card:hover .post-card__more .arrow { transform: translateX(4px); }
@media (min-width: 900px) {
	.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
	.post-card--featured .post-card__title { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
}

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; text-decoration: none; }
.pagination .current { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.read-progress { position: fixed; inset: 0 0 auto; z-index: 101; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--ambre); transform-origin: left; transform: scaleX(var(--p, 0)); }

.article { padding-top: clamp(40px, 6vw, 80px); }
.article__head { max-width: 900px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 22px; color: var(--muted); font-size: .92rem; }
.article__title { margin-bottom: 22px; }
.article__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.article__cover { margin-top: clamp(36px, 5vw, 64px); }
.article__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.article__body { display: grid; gap: 56px; padding-block: clamp(48px, 6vw, 96px); max-width: 900px; }

.post-cta { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--navy); color: var(--cream); overflow: hidden; }
.post-cta__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); line-height: 1.05; margin-bottom: 10px; max-width: 18ch; }
.post-cta p:not(.post-cta__title) { color: var(--argile); max-width: 44ch; margin-bottom: 24px; }
.post-cta__postmark { position: absolute; right: -20px; top: -20px; width: 140px; color: var(--ambre); opacity: .5; animation: spin 26s linear infinite; }
.blog--related { background: var(--coton); }
.blog--related .h2 { margin-bottom: 48px; }

.empty { padding: 40px 0; font-size: var(--fs-lead); color: var(--muted); }

/* --------------------------------------------------------------------------
   404
   ----------------------------------------------------------------------- */

.not-found { position: relative; min-height: 80svh; display: grid; align-items: center; padding: 120px 0 80px; background: var(--sable); overflow: hidden; isolation: isolate; }
body:not(.has-overlay-header) .not-found { margin-top: calc(-1 * var(--header-h)); }
.not-found__mark { position: absolute; z-index: -1; right: -10%; top: 10%; width: min(80vw, 760px); color: var(--argile); opacity: .5; }
.not-found__inner { display: grid; gap: 22px; justify-items: start; }
.not-found__code { font-size: clamp(6rem, 20vw, 16rem); line-height: .8; color: var(--ambre); }
.not-found .h1 { max-width: 16ch; }
.not-found .lead { max-width: 46ch; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */

.site-footer { position: relative; background: var(--navy-900); color: var(--cream); padding-top: clamp(72px, 9vw, 130px); overflow: hidden; }
.site-footer__cta {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	padding-bottom: clamp(48px, 6vw, 80px);
	border-bottom: 1px solid var(--line-light);
	text-decoration: none;
}
.site-footer__cta-text { max-width: 16ch; font-size: clamp(2.4rem, 1.2rem + 5vw, 6rem); line-height: .98; letter-spacing: -.02em; transition: color .4s; }
.site-footer__cta-arrow { display: grid; place-items: center; flex: none; width: clamp(64px, 8vw, 116px); height: clamp(64px, 8vw, 116px); border-radius: 50%; background: var(--ambre); color: var(--navy); transition: transform .6s var(--ease); }
.site-footer__cta-arrow .arrow { width: 40%; height: 40%; transform: rotate(-45deg); transition: transform .6s var(--ease); }
.site-footer__cta:hover .site-footer__cta-text { color: var(--ambre); }
.site-footer__cta:hover .site-footer__cta-arrow { transform: scale(1.08); }
.site-footer__cta:hover .site-footer__cta-arrow .arrow { transform: rotate(0deg); }

.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.site-footer__logo { display: block; width: 64px; margin-bottom: 22px; }
.site-footer__brand p { color: var(--argile); max-width: 32ch; }
.site-footer__title { margin-bottom: 16px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--argile); }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links li { opacity: .85; }
.site-footer__links a { text-decoration: none; transition: opacity .3s, color .3s; }
.site-footer__links li:hover { opacity: 1; }
.site-footer__links a:hover { opacity: 1; color: var(--ambre); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line-light); font-size: .88rem; color: var(--argile); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { color: var(--cream); }
.site-footer__word { height: clamp(90px, 17vw, 250px); margin-top: 8px; padding-inline: var(--gutter); overflow: hidden; fill: var(--navy-700); }
.site-footer__word svg { width: 100%; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1.3fr 1fr; } }
