/**
 * Single project page.
 */

 .single-project {
	position: relative;
  }

  /*
   * Keep article overflow visible so sticky hero cover still pins.
   * Use overflow-x: clip (not hidden) on the document — `hidden` creates a
   * scroll container and breaks position:sticky on mobile.
   */
  article.single-project {
	overflow: visible;
	max-width: 100%;
  }

  html.single-project,
  html:has(body.is-single-project),
  body.single-project,
  body.is-single-project {
	overflow-x: clip;
	max-width: 100%;
  }

  .single-project .project-hero.home-hero,
  .single-project .home-hero__copy {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
  }

  .single-project .home-hero__copy {
	overflow: hidden;
  }

  /* Clip intentional 100vw bleeds without touching sticky hero/anchors. */
  .project-environment,
  .project-features,
  .project-related.home-projects {
	overflow-x: clip;
	max-width: 100%;
  }
  
  /* Widen content containers only — not site header/footer chrome.
     Body gets .single-project, so a bare `.single-project .container`
     was also stretching `.site-header__bar`. */
  .single-project main .container,
  .single-project .home-wrap.container,
  .single-project .project-flow .container {
	max-width: 1400px;
  }
  
  .single-project section[id] {
	scroll-margin-top: calc(var(--header-height, 5.5rem) + 1rem);
  }
  
  /* Sticky hero — stays pinned while project-flow covers it on scroll. */
  .single-project .project-hero.home-hero {
	position: sticky;
	top: 0;
	z-index: 0;
	min-height: min(78vh, 930px);
	isolation: isolate;
  }

  .single-project .project-hero .home-hero__title {
	font-weight: 300;
  }

  /* Dark scrim so the white project title stays readable on bright photos. */
  .single-project .project-hero.home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
	  radial-gradient(
		ellipse 75% 60% at 50% 52%,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0.22) 55%,
		rgba(0, 0, 0, 0.38) 100%
	  ),
	  linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.28) 0%,
		transparent 40%,
		transparent 70%,
		rgba(0, 0, 0, 0.2) 100%
	  );
  }

  /* Soft recess of the hero media as the cover panel arrives. */
  @supports (animation-timeline: view()) {
	.single-project .project-hero.home-hero:not(.has-video) .home-hero__media {
	  animation: project-hero-cover-recess linear both;
	  animation-timeline: view();
	  animation-range: exit-crossing 0% exit 40%;
	  will-change: transform;
	}

	@keyframes project-hero-cover-recess {
	  from {
		transform: scale(1);
	  }
	  to {
		transform: scale(1.08);
	  }
	}

	@media (prefers-reduced-motion: reduce) {
	  .single-project .project-hero.home-hero:not(.has-video) .home-hero__media {
		animation: none;
		will-change: auto;
	  }
	}
  }
  
  /* ----- Flow: main | sticky anchors; timeline full-bleed row ----- */
  .project-flow {
	--project-flow-gap: clamp(1rem, 1.6vw, 1.75rem);
	--project-flow-pad: clamp(0.75rem, 2vw, 1.25rem);
	--project-anchors-max: 11.25rem;
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	grid-template-rows: auto auto auto auto auto auto;
	align-items: start;
	column-gap: var(--project-flow-gap);
	row-gap: 0;
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding-inline: var(--project-flow-pad);
	box-sizing: border-box;
	/* Opaque sheet so it covers the sticky hero as it rises. */
	background: var(--color-bg, #faf8f5);
	border-radius: 1.5rem 1.5rem 0 0;
	box-shadow:
	  0 -18px 48px rgba(37, 37, 37, 0.14),
	  0 -1px 0 rgba(255, 255, 255, 0.55) inset;
	/* Keep visual order: main | anchors (anchors on physical right in RTL too) */
	direction: ltr;
  }
  
  /* Soft entrance as each section reaches the page. JS adds the classes. */
  @media (prefers-reduced-motion: no-preference) {
	.single-project .project-flow__main > section.is-reveal,
	.single-project .project-flow > section.is-reveal {
	  opacity: 0;
	  transform: translate3d(0, 0.75rem, 0);
	  transition:
		opacity 0.7s ease,
		transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.single-project .project-flow__main > section.is-reveal.is-in,
	.single-project .project-flow > section.is-reveal.is-in {
	  opacity: 1;
	  transform: none;
	}
  }

  .project-flow__main {
	grid-column: 1;
	min-width: 0;
	width: 100%;
	margin: 0 auto;
	max-width: 1400px;
	justify-self: stretch;
  }

  .project-flow__main--before {
	grid-row: 1;
  }
  
  html[dir="rtl"] .project-flow__main {
	direction: rtl;
  }
  
  html[dir="ltr"] .project-flow__main {
	direction: ltr;
	grid-column: 2;
  }

  html[dir="ltr"] .project-flow {
	grid-template-columns: max-content minmax(0, 1fr);
  }
  
  .project-flow__main > .container,
  .project-flow__main .container,
  .project-flow__main .home-wrap.container {
	max-width: 1400px;
	width: 100%;
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
  }
  
  .project-anchors {
	position: sticky;
	top: calc(var(--header-height, 5.5rem) + 1.25rem);
	grid-column: 2;
	grid-row: 1 / -1;
	z-index: 30;
	width: max-content;
	max-width: var(--project-anchors-max);
	margin: 0;
	padding-block: 3.5rem 2rem;
	pointer-events: none;
	box-sizing: border-box;
	justify-self: end;
	transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  /* Hide over full-bleed zones where the sticky rail would sit on the content. */
  .project-anchors.is-cover-hidden {
	opacity: 0;
	visibility: hidden;
  }
  
  html[dir="rtl"] .project-anchors {
	direction: rtl;
  }
  
  html[dir="ltr"] .project-anchors {
	direction: ltr;
	grid-column: 1;
	justify-self: start;
  }
  
  .project-anchors__nav {
	pointer-events: auto;
  }
  
  .project-anchors__list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(12px, 1.2vw, 18px);
	margin: 0;
	padding: 0;
	list-style: none;
  }
  
  .project-anchors__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--color-text);
	font-size: clamp(14px, 1.15vw, 20px);
	line-height: 1.3;
	letter-spacing: -0.06em;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: normal;
	max-width: 100%;
	text-align: start;
  }
  
  .project-anchors__link:hover,
  .project-anchors__link.is-active {
	color: var(--color-accent, #252525);
  }
  
  .project-anchors__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.4;
	flex-shrink: 0;
  }
  
  .project-anchors__link.is-active .project-anchors__dot {
	opacity: 1;
	background: var(--color-accent, #cebbaa);
  }

  html[dir="ltr"] .project-specs__status{
	flex-direction: row;
  }
  
  .project-specs__status {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.55rem;
	flex-direction: row-reverse;
	font-weight: 300;
  }
  
  .project-specs__status .project-specs__chip {
	vertical-align: middle;
  }

  .project-specs__note {
	font-weight: 300;
	letter-spacing: var(--track);
	line-height: 1.2;
  }
  
  /* ----- Details ----- */
  .project-details {
	padding-block: 3.5rem 72px;
	color: var(--color-secondary, #252525);
  }
  
  .project-details__layout {
	display: block;
  }
  
  .project-details__row {
	display: flex;
	align-items: flex-start;
	gap: clamp(2rem, 5vw, 100px);
  }
  
  .project-details__intro {
	flex: 1;
	min-width: 0;
  }
  
  .project-crumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	justify-content: flex-start;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.06em;
	font-weight: 300;
	color: var(--color-text);
  }
  
  .project-crumbs__list li:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-inline-start: 0.5rem;
	border-inline-start: 1px solid var(--color-accent);
	border-block-end: 1px solid var(--color-accent);
	transform: rotate(135deg);
	vertical-align: middle;
  }
  
  html[dir="ltr"] .project-crumbs__list li:not(:last-child)::after {
	border-inline-start: 0;
	border-inline-end: 1px solid var(--color-accent);
	border-block-end: 1px solid var(--color-accent);
	transform: rotate(-45deg);
  }
  
  .project-crumbs a,
  .project-crumbs span {
	color: var(--color-text);
	text-decoration: none;
  }
  
  .project-details__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 2vw, 26px);
	font-weight: 300;
	line-height: 30px;
	letter-spacing: -0.06em;
  }
  
  .project-details__text {
	font-size: 20px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.06em;
	color: var(--color-text);
  }
  
  .project-specs {
	margin: 0;
	width: 680px;
	min-width: 0;
  }
  
  .project-specs__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid #cebbaa66;
	color: var(--color-text);
	font-size: var(--fs-body);
	font-weight: 300;
	letter-spacing: var(--track);
	line-height: 1.2;
  }
  
  .project-specs dt {
	margin: 0;
	flex: 0 0 auto;
	font-weight: 400;
  }
  
  .project-specs dd {
	margin: 0;
	font-weight: 300;
	text-align: start;
  }
  
  .project-specs__chip {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.95rem;
	border-radius: 999px;
	background: var(--color-accent, #cebbaa);
	font-size: 20px;
	font-weight: 300;
	letter-spacing: var(--track);
	line-height: 1.2;
	color: #ffffff;
  }
  
  /* ----- Gallery ----- */
  .project-gallery {
	padding-block: 0 100px;
  }
  
  .project-gallery__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 400px;
	gap: 16px;
  }
  
  .project-gallery__item {
	margin: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #ece6df;
	min-height: 0;
  }
  
  .project-gallery__item--small {
	grid-column: span 3;
  }
  
  .project-gallery__item--medium {
	grid-column: span 4;
  }
  
  .project-gallery__item--large {
	grid-column: span 5;
  }

  /* Lone video: same large width, centered in the 12-col row. */
  .project-gallery__item--solo {
	grid-column: 4 / span 5;
  }
  
  /* Odd rows: small | large | medium — Even rows: medium | large | small (via PHP size classes) */
  .project-gallery__item--small .project-gallery__btn,
  .project-gallery__item--medium .project-gallery__btn,
  .project-gallery__item--large .project-gallery__btn,
  .project-gallery__item--solo .project-gallery__btn {
	width: 100%;
	height: 100%;
  }
  
  .project-gallery__btn {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
  }
  
  .project-gallery__img,
  .project-gallery__item img,
  .project-gallery__item video.project-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-gallery__item video.project-gallery__img {
	pointer-events: none;
	background: #d9d0c6;
  }

  .project-gallery__item:hover .project-gallery__img,
  .project-gallery__item:hover img,
  .project-gallery__item:hover video.project-gallery__img,
  .project-gallery__item:focus-within .project-gallery__img,
  .project-gallery__item:focus-within img,
  .project-gallery__item:focus-within video.project-gallery__img {
	transform: scale(1.05);
  }

  @media (prefers-reduced-motion: reduce) {
	.project-gallery__img,
	.project-gallery__item img,
	.project-gallery__item video.project-gallery__img {
	  transition: none;
	}

	.project-gallery__item:hover .project-gallery__img,
	.project-gallery__item:hover img,
	.project-gallery__item:hover video.project-gallery__img,
	.project-gallery__item:focus-within .project-gallery__img,
	.project-gallery__item:focus-within img,
	.project-gallery__item:focus-within video.project-gallery__img {
	  transform: none;
	}
  }
  
  .project-gallery__play {
	position: absolute;
	inset: 50% auto auto 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(37, 37, 37, 0.55);
	pointer-events: none;
  }
  
  .project-gallery__play::before {
	content: "";
	position: absolute;
	inset: 50% auto auto 52%;
	transform: translate(-40%, -50%);
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent #fff;
  }

  .project-gallery:not(.is-expanded) .project-gallery__item.is-extra {
	display: none;
  }

  .project-gallery__actions {
	display: flex;
	justify-content: center;
	margin-top: 32px;
  }

  .project-gallery__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border: 1px solid #252525;
	border-radius: 999px;
	background: transparent;
	color: #252525;
	font: inherit;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.2;
	cursor: pointer;
	transition:
	  background 0.25s var(--anim-ease, cubic-bezier(0.22, 1, 0.36, 1)),
	  color 0.25s ease,
	  border-color 0.25s ease;
  }

  .project-gallery__more:hover,
  .project-gallery__more:focus-visible {
	background: #252525;
	color: #fff;
	outline: none;
  }

  @media (min-width: 721px) {
	.project-gallery:not(:has(.project-gallery__item.is-extra)) .project-gallery__actions {
	  display: none;
	}
  }
  
  /* Lightbox */
  .rma-lightbox {
	position: fixed;
	inset: 0;
	/* Above apt-modal stacking (.project-apartments → 10000 while open). */
	z-index: 11000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgba(20, 20, 20, 0);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
	  opacity 0.32s ease,
	  visibility 0.32s ease,
	  background 0.32s ease;
  }
  
  .rma-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	background: rgba(20, 20, 20, 0.92);
  }
  
  .rma-lightbox__inner {
	position: relative;
	max-width: min(1100px, 100%);
	max-height: 90vh;
	width: 100%;
	transform: scale(0.96) translateY(12px);
	opacity: 0;
	transition:
	  transform 0.34s ease,
	  opacity 0.34s ease;
  }
  
  .rma-lightbox.is-open .rma-lightbox__inner {
	transform: scale(1) translateY(0);
	opacity: 1;
  }
  
  .rma-lightbox__media {
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: 80vh;
	min-height: 200px;
  }

  .rma-lightbox__media:has(> img) {
	background: #fff;
	padding: clamp(2rem, 4.5vw, 3.75rem);
	border-radius: 8px;
	box-sizing: border-box;
  }
  
  .rma-lightbox__media img,
  .rma-lightbox__media video {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 8px;
  }

  .rma-lightbox__media:has(> img) img {
	max-height: calc(80vh - 2 * clamp(2rem, 4.5vw, 3.75rem));
	border-radius: 0;
  }
  
  .rma-lightbox__close,
  .rma-lightbox__prev,
  .rma-lightbox__next {
	position: absolute;
	display: grid;
	place-items: center;
	border: 0;
	background: var(--color-accent);
	color: var(--color-secondary);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 10px rgb(0 0 0 / 0.18);
	transition:
	  background 0.2s ease,
	  transform 0.2s ease;
  }
  
  .rma-lightbox__close:hover,
  .rma-lightbox__prev:hover,
  .rma-lightbox__next:hover {
	background: var(--color-primary);
	transform: scale(1.05);
  }
  
  .rma-lightbox__close {
	top: -0.75rem;
	inset-inline-end: -0.75rem;
	z-index: 2;
  }
  
  .rma-lightbox__prev,
  .rma-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
  }
  
  .rma-lightbox__prev {
	left: -0.75rem;
	right: auto;
  }
  
  .rma-lightbox__next {
	right: -0.75rem;
	left: auto;
  }
  
  .rma-lightbox__prev:hover,
  .rma-lightbox__next:hover {
	transform: translateY(-50%) scale(1.05);
  }
  
  .rma-lightbox__close svg,
  .rma-lightbox__prev svg,
  .rma-lightbox__next svg {
	width: 20px;
	height: 20px;
	display: block;
	pointer-events: none;
  }
  
  /* Keep chevrons physical L/R even on RTL pages */
  html[dir="rtl"] .rma-lightbox__prev svg,
  html[dir="rtl"] .rma-lightbox__next svg {
	transform: none;
  }
  
  .project-gallery__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #d9d0c6;
  }
  
  /* ----- Environment (home-projects bleed + 4.5 peek) ----- */
  .project-environment {
	--env-visible: 4;
	--env-peek: 12.5%;
	--env-slide-pad: 24px;
	--env-media-h: 430px;
	padding-block: 100px;
	overflow: visible;
  }
  
  .project-environment__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 40px;
  }
  
  .project-environment__title-row {
	display: flex;
	align-items: center;
	gap: 12px;
  }

  .project-environment__title {
	margin: 0;
	font-size: clamp(1.75rem, 2.6vw, 64px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: var(--track);
  }
  
  .project-environment__subtitle {
	margin: 8px 0 0;
	font-size: var(--fs-body);
	font-weight: 300;
	letter-spacing: var(--track);
	line-height: 1.2;
	color: var(--color-text);
  }
  
  /*
   * Start flush with main (no inset padding). Bleed left to viewport.
   * Visual 4.5 via slidesToShow:4 + list end peek (home-projects pattern — no RTL clip).
   * overflow visible so nav can straddle the first-card edge into the side gutter.
   */
  .project-environment__slider {
	position: relative;
	z-index: 1;
	width: calc(50% + 50vw);
	max-width: none;
	margin-inline-start: 0;
	margin-inline-end: calc(50% - 50vw);
	padding: 0;
	overflow: visible;
	box-sizing: border-box;
  }

  /* Desktop: tucked against the left of the title. Mobile JS keeps this in the head. */
  .project-environment__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
	margin-top: 24px;
	direction: ltr;
  }

  html[dir="ltr"] .project-environment__nav {
	justify-content: flex-start;
  }

  .project-environment__title-row > .project-environment__nav {
	width: auto;
	margin-top: 0;
	flex: 0 0 auto;
  }

  html[dir="ltr"] .project-environment__title-row > .project-environment__nav {
	order: -1;
  }

  .project-environment__nav[hidden] {
	display: none !important;
  }

  .project-environment__arrow {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--color-accent, #cebbaa);
	border-radius: 50%;
	background: var(--color-accent, #cebbaa);
	color: var(--color-white, #fff);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .project-environment__arrow:hover,
  .project-environment__arrow:focus-visible {
	background: var(--color-secondary, #252525);
	border-color: var(--color-secondary, #252525);
	color: var(--color-white, #fff);
	outline: none;
  }

  .project-environment__arrow svg {
	display: block;
	pointer-events: none;
  }

  .project-environment__arrow svg path {
	fill: currentColor;
	transition: fill 0.2s ease;
  }
  
  .project-environment__track {
	position: relative;
	margin: 0;
	padding: 0;
  }
  
  .project-environment__slide {
	padding-inline-start: 0;
	padding-inline-end: 24px;
	box-sizing: border-box;
	height: auto;
  }
  
  .project-environment .slick-slide {
	height: auto;
  }
  
  .project-environment .slick-slide > div {
	height: 100%;
  }
  
  /* Half of one slide peek on the bleed side (left in RTL) → 4.5 visible */
  .project-environment .slick-list {
	overflow: hidden !important;
	padding-inline-end: 12.5% !important;
	padding-inline-start: 0 !important;
  }
  
  html[dir="rtl"] .project-environment .slick-slide {
	float: right !important;
  }
  
  html[dir="rtl"] .project-environment .slick-track {
	left: auto !important;
	right: 0 !important;
  }
  
  html[dir="ltr"] .project-environment .slick-slide {
	float: left !important;
  }
  
  html[dir="ltr"] .project-environment .slick-track {
	right: auto !important;
	left: 0 !important;
  }

  html[dir="ltr"] .project-environment__head,
  html[dir="ltr"] .project-environment__title,
  html[dir="ltr"] .project-environment__subtitle,
  html[dir="ltr"] .project-env-card__body,
  html[dir="ltr"] .project-env-card__title,
  html[dir="ltr"] .project-env-card__text {
	direction: ltr;
	text-align: left;
  }
  
  .project-env-card {
	width: 100%;
	height: 100%;
  }
  
  .project-env-card__media {
	width: 100%;
	height: var(--env-media-h, 430px);
	display: flex;
	overflow: hidden;
	border-radius: 8px;
	background: #ece6df;
  }
  
  .project-env-card__img,
  .project-env-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }
  
  .project-env-card__body {
	padding: 12px 0 0;
	text-align: start;
  }
  
  .project-env-card__title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.2;
	color: var(--color-text, #252525);
	text-align: start;
  }
  
  .project-env-card__text {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.3;
	letter-spacing: -0.04em;
	color: var(--color-text, #5a5a5a);
	text-align: start;
  }
  
  /* ----- Features (copy + arrows | video + CPT slider, apt-style bleed) ----- */
  .project-features {
	position: relative;
	padding-block: 100px;
	overflow: visible;
  }

  .project-features__ornament {
	position: absolute;
	top: 0;
	right: calc(100% + var(--project-flow-pad) - 100vw);
	left: auto;
	z-index: 0;
	width: 556px;
	height: 861.515px;
	max-width: none;
	pointer-events: none;
	user-select: none;
	object-fit: contain;
	object-position: top right;
  }

  .project-features__body {
	--feat-gap: 16px;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: stretch;
	gap: clamp(1.5rem, 3vw, 24px);
	width: calc(50% + 50vw);
	max-width: none;
	margin-inline-start: 0;
	margin-inline-end: calc(50% - 50vw);
	box-sizing: border-box;
  }

  .project-features__copy {
	flex: 0 0 clamp(220px, 22vw, 375px);
	max-width: 375px;
	min-width: 0;
	align-self: flex-start;
  }

  .project-features__title {
	margin: 0 0 20px;
	font-size: clamp(1.75rem, 2.4vw, 64px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--color-text, #252525);
  }

  .project-features__text {
	margin: 0;
	font-size: var(--fs-body, 18px);
	font-weight: 300;
	line-height: 1.45;
	letter-spacing: -0.04em;
	color: var(--color-text, #4a3f38);
  }

  .project-features__text p {
	margin: 0;
  }

  .project-features__text p + p {
	margin-top: 0.85em;
  }

  html[dir="ltr"] .project-features__nav{
	justify-content: start;
  }

  .project-features__nav {
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 10px;
	margin-top: 24px;
	direction: ltr; /* keep ← left / → right regardless of page RTL */
  }

  .project-features__nav[hidden] {
	display: none !important;
  }

  .project-features__arrow {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--color-accent, #cebbaa);
	border-radius: 50%;
	background: var(--color-accent, #cebbaa);
	color: var(--color-white, #fff);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .project-features__arrow:hover,
  .project-features__arrow:focus-visible {
	background: var(--color-secondary, #252525);
	border-color: var(--color-secondary, #252525);
	color: var(--color-white, #fff);
	outline: none;
  }

  .project-features__arrow svg {
	display: block;
	pointer-events: none;
  }

  .project-features__arrow svg path {
	fill: currentColor;
	transition: fill 0.2s ease;
  }

  /* Static video card — stretch to full row height (match slider cards) */
  .project-features__video {
	flex: 0 0 288px;
	width: 288px;
	max-width: 288px;
	margin-inline-start: 24px;
	min-width: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
  }

  .project-features__video .project-feat-card {
	width: 100%;
	height: 100%;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
  }

  .project-features__video .project-feat-card__media {
	width: 100%;
	flex: 1 1 auto;
	height: 100%;
	min-height: 0;
	align-self: stretch;
  }

  .project-features__video .project-feat-card__img,
  .project-features__video .project-feat-card__media img,
  .project-features__video .project-feat-card__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }

  .project-features__slider {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
  }

  .project-features__track {
	margin: 0;
	min-width: 0;
	width: 100%;
  }

  .project-feat-card.is-video .project-feat-card__media::before{
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26.17%, #000000 100%);
	content: '';
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	width: 100%;
	z-index: 1;
  }
  .project-feat-card.is-video .project-feat-card__media{
	position: relative;
  }

  /*
   * ~2.5 visible: slidesToShow:2 + list end peek (home/env pattern).
   * Avoid variableWidth here — it clips the first RTL slide.
   */
  .project-features__slide {
	padding-inline-start: 0;
	padding-inline-end: 24px;
	box-sizing: border-box;
	height: auto;
  }

  /* Too few cards to fill the row: same image width as the environment carousel. */
  .project-features__track.is-static {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 24px;
	width: 100%;
  }

  .project-features__track.is-static .project-features__slide {
	flex: 0 0 var(--feat-media, 408px);
	width: var(--feat-media, 408px);
	max-width: var(--feat-media, 408px);
	padding-inline: 0;
  }

  .project-features .slick-list {
	overflow: hidden !important;
	padding-inline-start: 0 !important;
	padding-inline-end: 25% !important; /* half of one of 2 slides → 2.5 */
  }

  .project-features .slick-track {
	display: flex !important;
	align-items: stretch;
  }

  .project-features .slick-slide {
	height: auto;
	float: none !important;
	box-sizing: border-box;
  }

  .project-features .slick-slide > div {
	height: 100%;
  }

  html[dir="rtl"] .project-features .slick-slide {
	float: right !important;
  }

  html[dir="rtl"] .project-features .slick-track {
	left: auto !important;
	right: 0 !important;
  }

  html[dir="ltr"] .project-features .slick-slide {
	float: left !important;
  }

  html[dir="ltr"] .project-features .slick-track {
	right: auto !important;
	left: 0 !important;
  }

  /* Open hand on the draggable slides; closed hand while the press is held. */
  .project-environment__slider.has-env-nav .slick-list,
  .project-environment__slider.has-env-nav .slick-slide,
  .project-environment__slider.has-env-nav .slick-slide *,
  .project-features:has(.project-features__nav:not([hidden])) .project-features__slider .slick-list,
  .project-features:has(.project-features__nav:not([hidden])) .project-features__slider .slick-slide,
  .project-features:has(.project-features__nav:not([hidden])) .project-features__slider .slick-slide * {
	cursor: grab;
  }

  .project-environment__slider.has-env-nav .slick-list:active,
  .project-environment__slider.has-env-nav .slick-list:active *,
  .project-features:has(.project-features__nav:not([hidden])) .project-features__slider .slick-list:active,
  .project-features:has(.project-features__nav:not([hidden])) .project-features__slider .slick-list:active * {
	cursor: grabbing;
  }

  html[dir="ltr"] .project-features__copy,
  html[dir="ltr"] .project-features__title,
  html[dir="ltr"] .project-features__text {
	direction: ltr;
	text-align: left;
  }

  .project-feat-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
  }

  .project-features__slide .project-feat-card {
	width: 100%;
	max-width: var(--feat-media, none);
  }

  .project-feat-card__media {
	position: relative;
	display: block;
	width: 100%;
	height: 430px;
	padding: 0;
	border: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #ece6df;
	cursor: default;
  }

  .project-feat-card.is-video .project-feat-card__media {
	cursor: pointer;
  }

  .project-feat-card__img,
  .project-feat-card__media img,
  .project-feat-card__media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }

  .project-feat-card__overlay {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-direction: column-reverse;
	gap: 16px;
	padding: 20px;
	color: #fff;
	text-align: start;
	pointer-events: none;
  }

  .project-feat-card__overlay-copy {
	display: grid;
	gap: 0.35rem;
	min-width: 0;
  }

  .project-feat-card__overlay-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.04em;
  }

  .project-feat-card__overlay-text {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.3;
	letter-spacing: -0.03em;
	overflow: hidden;
  }

  .project-feat-card__play {
	position: relative;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid #EFE7DD;
	background: #EFE7DD;
  }

  .project-feat-card__play::before {
	content: "";
	position: absolute;
	inset: 50% auto auto 52%;
	transform: translate(-40%, -50%);
	border-style: solid;
	border-width: 8px 0 8px 12px;
	border-color: transparent transparent transparent var(--color-text);
  }

  .project-feat-card__caption {
	margin: 12px 0 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.04em;
	color: var(--color-text, #252525);
  }

  .project-feat-card__body {
	display: grid;
	gap: 8px;
	padding-top: 0;
	min-width: 0;
  }

  .project-feat-card__body .project-feat-card__caption {
	margin: 12px 0 0;
  }

  .project-feat-card__excerpt {
	margin: 0;
	font-weight: 300;
	font-size: 16px;
	line-height: 130%;
	letter-spacing: -0.05em; /* -5% */
	color: var(--color-text, #5a5a5a);
	text-align: start;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
  }
  
  /* ----- Apartments ----- */
  .project-apartments {
	position: relative;
	z-index: 1;
	padding-block: 100px 4.5rem;
  }

  .project-apartments__embed {
	width: 100%;
	margin-bottom: 2.5rem;
  }

  .project-apartments__iframe {
	display: block;
	width: 100%;
	height: 80vh;
	border: 0;
	border-radius: 8px;
	background: var(--color-bg, #faf8f5);
  }
  
  .project-section-head {
	margin-bottom: 64px;
  }
  
  .project-section-head--center {
	text-align: center;
  }
  
  .project-section-head__title {
	font-size: 80px !important;
	font-weight: 400 !important;
	letter-spacing: -0.04em !important;
	margin: 0;
	line-height: 0.72 !important;
	color: var(--color-text);
  }

  .project-section-head__text {
	margin: 0.85rem 0 0;
	font-size: var(--fs-body, 18px);
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: -0.03em;
	color: var(--color-text);
  }
  
  .project-section-head--on-dark .project-section-head__title,
  .project-section-head--on-dark .project-section-head__text {
	color: #f5f0ea;
	font-size: 24px;
	line-height: 1;
	font-weight: 400;
	letter-spacing: -0.04em;
  }
  
  .project-apt-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 2.25rem;
  }
  
  .project-apt-chips__btn {
	appearance: none;
	border: 1px solid var(--color-accent);
	border-radius: 999px;
	padding: 8px 20px;
	background: #fff;
	color: var(--color-secondary, #252525);
	font-size: 20px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.04em;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  
  .project-apt-chips__btn:hover,
  .project-apt-chips__btn.is-active {
	background: var(--color-accent, #cebbaa);
	border-color: var(--color-accent, #cebbaa);
	color: #fff;
  }
  
  .project-apartments__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: stretch;
  }

  .project-apartments__more {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
  }

  .project-apartments__more[hidden] {
	display: none !important;
  }

  .project-apartments__more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	padding: 0.85rem 2.25rem;
	border: 1px solid #CEBBAA;
	border-radius: 999px;
	background: transparent;
	color: var(--color-secondary, #1a1a1a);
	font-size: var(--fs-body, 1rem);
	font-weight: 300;
	letter-spacing: var(--track, 0.02em);
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  }

  .project-apartments__more-btn:hover {
	background: var(--color-secondary, #1a1a1a);
	color: #fff;
  }

  .project-apartments__cell {
	min-width: 0;
	opacity: 1;
	transform: translateY(0) scale(1);
	transition:
	  opacity 0.32s ease,
	  transform 0.32s ease;
	will-change: opacity, transform;
  }

  .project-apartments__cell.is-entering {
	opacity: 0;
	transform: translateY(18px) scale(0.96);
  }

  .project-apartments__cell.is-hiding {
	opacity: 0;
	transform: translateY(10px) scale(0.97);
	pointer-events: none;
  }

  .project-apartments__cell.is-hidden {
	display: none;
  }

  .project-apartments__empty {
	display: none;
	margin-top: 0.5rem;
	padding: 3rem 1.5rem;
	border: 1px solid rgba(206, 187, 170, 0.55);
	border-radius: 16px;
	background: linear-gradient(180deg, #faf7f3 0%, #f3eee8 100%);
	text-align: center;
  }

  .project-apartments__empty.is-visible,
  .project-apartments__empty:not([hidden]) {
	display: block;
	animation: project-apt-empty-in 0.4s ease both;
  }

  .project-apartments__empty[hidden] {
	display: none !important;
  }

  @keyframes project-apt-empty-in {
	from {
	  opacity: 0;
	  transform: translateY(12px);
	}
	to {
	  opacity: 1;
	  transform: translateY(0);
	}
  }

  .project-apartments__empty-inner {
	max-width: 28rem;
	margin-inline: auto;
  }

  .project-apartments__empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 1.25rem;
	border-radius: 50%;
	background: rgba(206, 187, 170, 0.28);
	color: var(--color-secondary, #252525);
  }

  .project-apartments__empty-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.25;
	color: var(--color-secondary, #252525);
  }

  .project-apartments__empty-text {
	margin: 0;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.5;
	letter-spacing: -0.03em;
	color: #5a5a5a;
  }
  
  .project-apartments .apt-card {
	height: 100%;
	max-height: none;
  }

  @media (prefers-reduced-motion: reduce) {
	.project-apartments__cell,
	.project-apartments__empty.is-visible,
	.project-apartments__empty:not([hidden]) {
	  transition: none;
	  animation: none;
	}
  }
  
  /* ----- Contact banner (Figma: form left / image+title right) ----- */
  .project-contact {
	padding-block: 0 4rem;
  }

  .project-contact__banner::after{
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	/* Dark brand-brown scrim — keeps photo visible, white type readable. */
	background:
	  linear-gradient(270deg, rgba(74, 58, 46, 0.4) 0%, rgba(74, 58, 46, 0.62) 55%),
	  rgba(74, 58, 46, 0.52);
	z-index: 1;
	pointer-events: none;
  }
  
  .project-contact__banner {
	--contact-beige: var(--color-accent, #cebbaa);
	direction: ltr; /* form physical left, media right */
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 487px;
	overflow: hidden;
	border-radius: 28px;
	gap: 80px;
	padding: 56px;
	position: relative;
	background-color: var(--contact-beige);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	box-shadow: none;
  }
  
  .project-contact__form-col {
	position: relative;
	z-index: 2;
	direction: rtl;
	display: flex;
	align-items: center;
	isolation: isolate;

	/* Opaque so parent banner image never shows through the form */
	background-image: none !important;
  }
  
  .project-contact__media-col {
	position: relative;
	z-index: 2;
	direction: rtl;
	display: flex;
	
	align-items: flex-start;
	justify-content: flex-end;
	color: #fff;
	text-align: end;
	background: transparent;
  }

  html[dir="ltr"] .project-contact__form-col,
  html[dir="ltr"] .project-contact__media-col,
  html[dir="ltr"] .project-contact__title,
  html[dir="ltr"] .rma-form--project {
	direction: ltr;
	text-align: left;
  }

  html[dir="ltr"] .project-contact__media-col {
	justify-content: flex-start;
	text-align: left;
  }

  html[dir="ltr"] .rma-form--project input[type="text"],
  html[dir="ltr"] .rma-form--project input[type="tel"],
  html[dir="ltr"] .rma-form--project input[type="email"],
  html[dir="ltr"] .rma-form--project textarea,
  html[dir="ltr"] .rma-form--project .rma-form__consent {
	direction: ltr;
	text-align: left;
  }
  
  
  .project-contact__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: clamp(1.85rem, 3.2vw, 42px);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #fff;
	text-align: start;
  }
  
  .project-contact__title p {
	margin: 0;
	/* Beat global `p { font-size: var(--fs-body) }` so the display size inherits. */
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
  }

  .project-contact__title p + p,
  .project-contact__title strong,
  .project-contact__title b {
	font-weight: 700;
  }

  .project-contact__title strong,
  .project-contact__title b {
	display: inline;
	font-size: 1.05em;
  }
  
  .rma-form--project .rma-form__label {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: rgb(255 255 255 / 0.92);
  }

  .rma-form--project {
	display: grid;
	gap: 0.85rem;
	width: 100%;
	max-width: 406px;
  }
  
  .rma-form--project input[type="text"],
  .rma-form--project input[type="tel"],
  .rma-form--project input[type="email"],
  .rma-form--project textarea {
	width: 100%;
	padding: 0.95rem 1.35rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.42);
	color: #fff;
	font: inherit;
	font-weight: 300;
	letter-spacing: -0.03em;
	text-align: start;
	box-shadow: none;
	outline: none;
	transition: background 0.2s ease;
  }

  .rma-form--project input::placeholder,
  .rma-form--project textarea::placeholder {
	color: rgba(255, 255, 255, 0.78);
	opacity: 1;
  }

  .rma-form--project input:focus,
  .rma-form--project textarea:focus {
	background: rgba(255, 255, 255, 0.55);
  }
  
  .rma-form--project textarea {
	min-height: 3rem;
	border-radius: 999px;
	resize: none;
  }
  
  .rma-form--project .rma-form__consent {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	margin-top: 0.15rem;
	font-size: 0.72rem;
	font-weight: 300;
	line-height: 1.45;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.92);
	text-align: start;
  }

  .rma-form--project .rma-form__consent input[type="checkbox"] {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: 0.15rem;
	accent-color: #252525;
	border-radius: 2px;
  }
  
  .project-contact__submit {
	width: 100%;
	margin-top: 0.25rem;
	border: 0;
	border-radius: 999px;
	padding: 0.95rem 1.5rem;
	background: #252525;
	color: #fff;
	font: inherit;
	font-weight: 600;
	letter-spacing: -0.03em;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
  }

  .project-contact__submit:hover {
	background: #1a1a1a;
  }
  
  .project-contact__status.is-error {
	color: #5c1212;
  }
  
  .project-contact__status.is-ok {
	color: #143d1f;
  }
  
  /* ----- Timeline (true full-viewport-width dark band) ----- */
  .project-timeline {
	grid-column: 1 / -1;
	grid-row: 2;
	position: relative;
	z-index: 1;
	width: calc(100% + (2 * var(--project-flow-pad)));
	max-width: none;
	margin-left: calc(-1 * var(--project-flow-pad));
	margin-right: calc(-1 * var(--project-flow-pad));
	padding-block: 100px 100px;
	box-sizing: border-box;
	overflow: hidden;
	background: #252525;
	color: #f5f0ea;
  }

  .project-timeline::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: 900px;
	height: 900px;
	pointer-events: none;
	background: radial-gradient(
	  90% 90% at 100% 100%,
	  #cebbaa 0%,
	  rgba(206, 187, 170, 0.42) 20%,
	  rgba(206, 187, 170, 0) 50%
	);
  }

  html[dir="rtl"] .project-timeline {
	direction: rtl;
  }

  html[dir="ltr"] .project-timeline {
	direction: ltr;
  }

  .project-timeline > .container {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	width: 100%;
	margin-inline: auto;
	padding-inline: clamp(0.75rem, 2vw, 1.25rem);
	box-sizing: border-box;
  }

  .project-timeline .project-section-head {
	margin-bottom: clamp(1.75rem, 4vw, 64px);
  }

  .project-timeline .project-section-head__title {
	font-size: clamp(2rem, 5.5vw, 80px) !important;
	font-weight: 400 !important;
	letter-spacing: -0.04em !important;
	line-height: 1.05 !important;
	color: #f5f0ea !important;
	margin: 0 auto;
  }

  .project-timeline .project-section-head__title strong,
  .project-timeline .project-section-head__title b {
	color: #cebbaa !important;
	font-weight: 700 !important;
  }

  .project-timeline .project-section-head__text {
	margin: 0.85rem auto 0;
	font-size: clamp(0.95rem, 2.1vw, 1.5rem);
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: -0.03em;
	color: rgba(245, 240, 234, 0.88);
  }
  
  .project-timeline__steps {
	--tl-cols: 7;
	--tl-icon: 56px;
	--tl-icon-active: 70px;
	--tl-num-size: clamp(2.25rem, 3.4vw, 88px);
	--tl-num-lh: 0.94;
	--tl-step-w: auto;
	position: relative;
	margin-bottom: 2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
  }

  .project-timeline__steps::-webkit-scrollbar {
	display: none;
  }

  .project-timeline__steps-inner {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--tl-cols), minmax(0, 1fr));
	gap: 0.25rem;
	width: 100%;
	min-width: 100%;
	align-items: start;
  }

  /* Line only between first ↔ last icon centers, vertically through icons */
  .project-timeline__rail {
	position: absolute;
	z-index: 0;
	left: calc(100% / (var(--tl-cols) * 2));
	width: calc(100% - (100% / var(--tl-cols)));
	top: calc((var(--tl-num-size) * var(--tl-num-lh)) + (var(--tl-icon) / 2));
	height: 2px;
	transform: translateY(-50%);
	background: rgba(206, 187, 170, 0.45);
	pointer-events: none;
  }
  
  .project-timeline__step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: opacity 0.3s ease;
  }
  
  .project-timeline__step.is-active {
	opacity: 1;
  }
  
  .project-timeline__num {
	font-size: var(--tl-num-size);
	font-weight: 300;
	line-height: var(--tl-num-lh);
	color: #CEBBAA1A;
	transition: color 0.35s ease;
  }
  
  .project-timeline__step.is-active .project-timeline__num {
	color: #CEBBAA38;
  }
  
  .project-timeline__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: var(--tl-icon);
	height: var(--tl-icon);
	border-radius: 50%;
	border: 1px solid rgba(206, 187, 170, 0.55);
	background: #252525; /* covers rail behind icon */
	transition:
	  width 0.35s ease,
	  height 0.35s ease,
	  background 0.35s ease,
	  border-color 0.35s ease;
  }
  
  .project-timeline__step.is-active .project-timeline__icon {
	width: var(--tl-icon-active);
	height: var(--tl-icon-active);
	background: #CEBBAA;
	border-color: var(--color-accent, #cebbaa);
  }
  
  .project-timeline__icon-img,
  .project-timeline__icon img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	/* inactive → white */
	filter: brightness(0) invert(1);
	transition: filter 0.35s ease, width 0.35s ease, height 0.35s ease;
  }

  .project-timeline__step.is-active .project-timeline__icon-img,
  .project-timeline__step.is-active .project-timeline__icon img {
	/* active → black */
	filter: brightness(0);
  }
  
  .project-timeline__label {
	font-size: clamp(13px, 1.15vw, 17px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.04em;
	text-align: center;
	margin-top: 14px;
	max-width: 12ch;
	transition: color 0.3s ease, opacity 0.3s ease;
  }
  
  .project-timeline__panels {
	position: relative;
	padding: clamp(1.5rem, 3vw, 48px) clamp(1.25rem, 3.5vw, 56px);
	border: 1px solid #CEBBAA66;
	border-radius: 16px;
	background: #FAF8F514;
	display: flex;
	flex-direction: column;
	gap: 20px;
	overflow: hidden;
  }
  
  .project-timeline__body-label {
	margin: 0;
	font-size: clamp(1.15rem, 2vw, 26px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.04em;
	color: #FFFFFF;
  }
  
  .project-timeline__body {
	font-size: clamp(0.95rem, 1.4vw, 20px);
	font-weight: 300;
	line-height: 1.45;
	letter-spacing: -0.04em;
	color: #FFFFFF;
  }

  .project-timeline__body p {
	margin: 0 0 0.75em;
  }

  .project-timeline__body p:last-child {
	margin-bottom: 0;
  }
  
  .project-timeline__panel {
	opacity: 0;
	transform: translateY(18px);
	transition:
	  opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
	  transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
  }

  .project-timeline__panel.is-active {
	opacity: 1;
	transform: translateY(0);
  }

  .project-timeline__panel.is-leaving {
	opacity: 0;
	transform: translateY(-12px);
	transition:
	  opacity 0.28s ease,
	  transform 0.28s ease;
  }

  .project-timeline__panel[hidden] {
	display: none !important;
  }

  @media (prefers-reduced-motion: reduce) {
	.project-timeline__panel,
	.project-timeline__panel.is-leaving,
	.project-timeline__icon,
	.project-timeline__icon-img,
	.project-timeline__icon img,
	.project-timeline__num {
	  transition: none;
	}
  }

  /* Timeline responsive */
  @media (max-width: 1400px) {
	.project-timeline {
	  padding-block: 80px;
	  --tl-icon: 56px;
	  --tl-icon-active: 70px;
	}

	.project-timeline__steps {
	  --tl-num-size: clamp(2.25rem, 5vw, 88px);
	  --tl-icon: 56px;
	}

	.project-timeline__rail {
	  top: calc((var(--tl-num-size) * var(--tl-num-lh)) + (var(--tl-icon) / 2));
	}
  }

  @media (max-width: 1200px) {
	.project-timeline {
	  padding-block: 72px;
	}

	.project-timeline .project-section-head__title {
	  font-size: clamp(1.85rem, 4.5vw, 3.5rem) !important;
	}

	.project-timeline .project-section-head__text {
	  font-size: clamp(0.95rem, 2vw, 1.25rem);
	}

	.project-timeline__steps {
	  --tl-icon: 52px;
	  --tl-icon-active: 64px;
	  --tl-num-size: clamp(2rem, 4.5vw, 4rem);
	  margin-bottom: 1.75rem;
	}

	.project-timeline__steps-inner {
	  gap: 0.35rem;
	}

	.project-timeline__icon-img,
	.project-timeline__icon img {
	  width: 28px;
	  height: 28px;
	}

	.project-timeline__label {
	  margin-top: 14px;
	  font-size: clamp(14px, 1.5vw, 17px);
	}
  }

  @media (max-width: 1024px) {
	.project-timeline {
	  padding-block: 64px;
	}

	.project-timeline::after {
	  width: 640px;
	  height: 640px;
	}

	.project-timeline .project-section-head {
	  margin-bottom: 1.75rem;
	}

	.project-timeline .project-section-head__title {
	  font-size: clamp(1.75rem, 6vw, 2.75rem) !important;
	  line-height: 1.1 !important;
	  max-width: 16ch;
	}

	.project-timeline .project-section-head__text {
	  margin-top: 0.65rem;
	  font-size: clamp(0.9rem, 3.2vw, 1.1rem);
	  line-height: 1.45;
	  max-width: 28rem;
	  padding-inline: 0.25rem;
	}

	.project-timeline__steps {
	  --tl-step-w: 7.5rem;
	  --tl-icon: 48px;
	  --tl-icon-active: 58px;
	  --tl-num-size: clamp(2rem, 7vw, 3.25rem);
	  margin-bottom: 1.5rem;
	  padding-bottom: 0.25rem;
	  scroll-snap-type: x mandatory;
	}

	.project-timeline__steps-inner {
	  display: flex;
	  grid-template-columns: none;
	  width: max-content;
	  min-width: 100%;
	  gap: 0;
	  align-items: flex-start;
	}

	.project-timeline__rail {
	  left: calc(var(--tl-step-w) / 2);
	  width: calc(100% - var(--tl-step-w));
	  top: calc((var(--tl-num-size) * var(--tl-num-lh)) + (var(--tl-icon) / 2));
	}

	.project-timeline__step {
	  flex: 0 0 var(--tl-step-w);
	  width: var(--tl-step-w);
	  min-width: var(--tl-step-w);
	  max-width: var(--tl-step-w);
	  padding-inline: 0.5rem;
	  box-sizing: border-box;
	  scroll-snap-align: center;
	}

	.project-timeline__icon-img,
	.project-timeline__icon img {
	  width: 24px;
	  height: 24px;
	}

	.project-timeline__label {
	  margin-top: 12px;
	  font-size: 14px;
	  line-height: 1.3;
	  max-width: 100%;
	}

	.project-timeline__panels {
	  gap: 14px;
	  border-radius: 14px;
	  padding: 1.35rem 1.2rem;
	}

	.project-timeline__body-label {
	  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
	  line-height: 1.25;
	}

	.project-timeline__body {
	  font-size: 15px;
	  line-height: 1.5;
	}
  }

  @media (max-width: 720px) {
	.project-timeline {
	  padding-block: 52px;
	}

	.project-timeline::after {
	  width: 420px;
	  height: 420px;
	}

	.project-timeline > .container {
	  padding-inline: 1rem;
	}

	.project-timeline .project-section-head {
	  margin-bottom: 1.35rem;
	}

	.project-timeline .project-section-head__title {
	  font-size: clamp(1.55rem, 7vw, 2.15rem) !important;
	  line-height: 1.15 !important;
	  max-width: 14ch;
	}

	.project-timeline .project-section-head__text {
	  margin-top: 0.55rem;
	  font-size: 0.95rem;
	  line-height: 1.45;
	  max-width: 22rem;
	}

	.project-timeline__steps {
	  --tl-step-w: 6.25rem;
	  --tl-icon: 44px;
	  --tl-icon-active: 52px;
	  --tl-num-size: clamp(1.75rem, 8vw, 2.5rem);
	  margin-bottom: 1.25rem;
	}

	.project-timeline__rail {
	  left: calc(var(--tl-step-w) / 2);
	  width: calc(100% - var(--tl-step-w));
	  top: calc((var(--tl-num-size) * var(--tl-num-lh)) + (var(--tl-icon) / 2));
	}

	.project-timeline__step {
	  flex-basis: var(--tl-step-w);
	  width: var(--tl-step-w);
	  min-width: var(--tl-step-w);
	  max-width: var(--tl-step-w);
	  padding-inline: 0.35rem;
	}

	.project-timeline__icon-img,
	.project-timeline__icon img {
	  width: 22px;
	  height: 22px;
	}

	.project-timeline__label {
	  margin-top: 10px;
	  font-size: 12.5px;
	  line-height: 1.3;
	}

	.project-timeline__panels {
	  padding: 1.15rem 1rem;
	  gap: 12px;
	  border-radius: 12px;
	}

	.project-timeline__body-label {
	  font-size: 1.05rem;
	  line-height: 1.3;
	}

	.project-timeline__body {
	  font-size: 14.5px;
	  line-height: 1.5;
	}
  }

  @media (max-width: 480px) {
	.project-timeline {
	  padding-block: 44px;
	}

	.project-timeline .project-section-head__title {
	  font-size: clamp(1.4rem, 7.5vw, 1.85rem) !important;
	}

	.project-timeline .project-section-head__text {
	  font-size: 0.875rem;
	  line-height: 1.45;
	}

	.project-timeline__steps {
	  --tl-step-w: 5.5rem;
	  --tl-icon: 40px;
	  --tl-icon-active: 48px;
	  --tl-num-size: 1.65rem;
	}

	.project-timeline__rail {
	  left: calc(var(--tl-step-w) / 2);
	  width: calc(100% - var(--tl-step-w));
	  top: calc((var(--tl-num-size) * var(--tl-num-lh)) + (var(--tl-icon) / 2));
	}

	.project-timeline__step {
	  flex-basis: var(--tl-step-w);
	  width: var(--tl-step-w);
	  min-width: var(--tl-step-w);
	  max-width: var(--tl-step-w);
	  padding-inline: 0.25rem;
	}

	.project-timeline__icon-img,
	.project-timeline__icon img {
	  width: 20px;
	  height: 20px;
	}

	.project-timeline__label {
	  font-size: 11.5px;
	  margin-top: 8px;
	}

	.project-timeline__panels {
	  padding: 1rem 0.9rem;
	  border-radius: 10px;
	}

	.project-timeline__body-label {
	  font-size: 1rem;
	}

	.project-timeline__body {
	  font-size: 14px;
	  line-height: 1.5;
	}
  }
  
  /* ----- Location (same live map as homepage) ----- */
  .project-location.home-map {
	--loc-aside: calc(var(--project-anchors-max, 11.25rem) + var(--project-flow-gap, 1.5rem) + 1.5rem);
	grid-column: 1 / -1;
	grid-row: 3;
	z-index: 1;
	width: calc(100% + (2 * var(--project-flow-pad)));
	max-width: none;
	margin-top: 0;
	margin-left: calc(-1 * var(--project-flow-pad));
	margin-right: calc(-1 * var(--project-flow-pad));
	padding: 0;
	min-height: min(890px, 100svh);
	box-sizing: border-box;
	background: var(--color-bg, #f7f4f0);
	overflow: hidden;
	direction: rtl;
  }

  html[dir="ltr"] .project-location.home-map {
	direction: ltr;
  }

  .project-location.home-map .home-map__head {
	z-index: 4;
	padding-right: var(--loc-aside);
	box-sizing: border-box;
	max-width: 100%;
  }

  html[dir="ltr"] .project-location.home-map .home-map__head {
	padding-left: var(--loc-aside);
	padding-right: var(--gutter, 1.25rem);
  }

  .project-location.home-map .home-map__list {
	inset-inline-start: var(--loc-aside);
	inset-inline-end: auto;
	z-index: 4;
  }

  html[dir="ltr"] .project-location.home-map .home-map__list {
	inset-inline-start: var(--loc-aside);
	inset-inline-end: auto;
  }

  .project-location.home-map .home-map__name[data-pin-color] {
	color: var(--pin-color);
  }

  .project-location.home-map.is-category-focus .home-map__name {
	color: #c5c0b8;
  }

  .project-location.home-map.is-category-focus .home-map__name.is-active {
	color: #252525;
  }

  .project-location .map-pin-tip {
	position: absolute;
	z-index: 6;
	max-width: min(16rem, calc(100% - 1rem));
	padding: 0.45rem 0.75rem 0.5rem;
	background: #fff;
	color: #252525;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-align: center;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(37, 37, 37, 0.14);
	pointer-events: none;
  }

  .project-location .map-pin-tip[hidden] {
	display: none !important;
  }

  .project-location .map-pin-tip::after {
	content: "";
	position: absolute;
	left: var(--tip-arrow, 50%);
	bottom: -6px;
	width: 0;
	height: 0;
	transform: translateX(-50%);
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	border-top: 6px solid #fff;
  }

  /* ----- Related (homepage home-projects design, full-bleed) ----- */
  .project-related.home-projects {
	grid-column: 1 / -1;
	grid-row: 4;
	position: relative;
	z-index: 1;
	width: calc(100% + (2 * var(--project-flow-pad)));
	max-width: none;
	margin-left: calc(-1 * var(--project-flow-pad));
	margin-right: calc(-1 * var(--project-flow-pad));
	padding-block: 100px;
	padding-inline: 0;
	box-sizing: border-box;
	overflow: hidden;
	background: linear-gradient(
	  224deg,
	  var(--color-primary) 0%,
	  var(--color-bg) 50.5%
	);
	border-bottom: 1px solid var(--color-primary);
  }

  html[dir="rtl"] .project-related.home-projects {
	direction: rtl;
  }

  html[dir="ltr"] .project-related.home-projects {
	direction: ltr;
  }

  .project-related .home-projects__head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2.5rem;
	padding-inline: max(var(--gutter, 1.25rem), calc((100% - var(--container, 1400px)) / 2 + var(--gutter, 1.25rem)));
	max-width: none;
	width: 100%;
	box-sizing: border-box;
  }

  .project-related .home-projects__slider {
	--projects-slider-inset: max(var(--gutter, 1.25rem), calc((100% - var(--container, 1400px)) / 2 + var(--gutter, 1.25rem)));
	position: relative;
	z-index: 1;
	width: 100%;
	padding-inline-start: var(--projects-slider-inset);
	padding-inline-end: 0;
	overflow: hidden;
  }

  .project-related .home-projects__ornament {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 0;
	width: min(49rem, 55vw);
	height: auto;
	max-height: 30.5rem;
	object-fit: contain;
	object-position: left bottom;
	pointer-events: none;
	user-select: none;
  }
  
  .project-promo.listing-promo {
	grid-column: 1 / -1;
	grid-row: 5;
	position: relative;
	z-index: 1;
	width: calc(100% + (2 * var(--project-flow-pad)));
	max-width: none;
	margin-left: calc(-1 * var(--project-flow-pad));
	margin-right: calc(-1 * var(--project-flow-pad));
	margin-block: 0;
	padding-block: 0;
	box-sizing: border-box;
	overflow: hidden;
	direction: rtl;
  }

  html[dir="ltr"] .project-promo.listing-promo {
	direction: ltr;
  }

  html[dir="ltr"] .project-promo.listing-promo--text,
  html[dir="ltr"] .project-promo.listing-promo--text .listing-promo__grid,
  html[dir="ltr"] .project-promo .listing-promo__copy,
  html[dir="ltr"] .project-promo .listing-promo__title,
  html[dir="ltr"] .project-promo .listing-promo__text,
  html[dir="ltr"] .project-promo .listing-promo__text p,
  html[dir="ltr"] .project-promo .listing-promo__text.rma-rich {
	direction: ltr;
	text-align: left;
  }

  .project-promo.listing-promo--text .listing-promo__grid {
	max-width: none;
	width: 100%;
	margin-inline: 0;
	padding-inline: max(
	  var(--gutter, 1.25rem),
	  calc((100% - var(--container, 1400px)) / 2 + var(--gutter, 1.25rem))
	);
  }

  .project-faq.listing-faq {
	grid-column: 1 / -1;
	grid-row: 6;
	position: relative;
	z-index: 1;
	width: calc(100% + (2 * var(--project-flow-pad)));
	max-width: none;
	margin-left: calc(-1 * var(--project-flow-pad));
	margin-right: calc(-1 * var(--project-flow-pad));
	margin-block: 0;
	padding-block: 100px;
	padding-inline: var(--gutter, 24px);
	box-sizing: border-box;
	direction: rtl;
  }

  html[dir="ltr"] .project-faq.listing-faq {
	direction: ltr;
  }

  html[dir="ltr"] .project-faq .listing-faq__inner,
  html[dir="ltr"] .project-faq .listing-faq__intro,
  html[dir="ltr"] .project-faq .listing-faq__title,
  html[dir="ltr"] .project-faq .listing-faq__text,
  html[dir="ltr"] .project-faq .listing-faq__text.rma-rich,
  html[dir="ltr"] .project-faq .faq-item__q button,
  html[dir="ltr"] .project-faq .faq-item__a-inner,
  html[dir="ltr"] .project-faq .faq-item__a-inner.rma-rich {
	direction: ltr;
	text-align: left;
  }

  .project-faq .listing-faq__inner {
	max-width: var(--container, 1400px);
	width: 100%;
	margin-inline: auto;
	padding-inline: 0;
	box-sizing: border-box;
  }
  
  /* ----- Responsive ----- */
  @media (max-width: 1600px) {
	.project-flow {
	  --project-anchors-max: 9.5rem;
	  --project-flow-gap: 1rem;
	}

	.project-environment {
	  --env-media-h: 430px;
	}

	.project-env-card__media {
	  height: var(--env-media-h);
	}
  }

  @media (max-width: 1400px) {
	.project-environment {
	  --env-visible: 3;
	  --env-peek: 14%;
	  --env-slide-pad: 20px;
	  padding-block: 80px;
	}

	.project-environment__head {
	  gap: 1.5rem;
	  margin-bottom: 32px;
	}

	.project-environment__slide {
	  padding-inline-end: 20px;
	}

	.project-environment .slick-list {
	  padding-inline-end: 14% !important;
	}

	.project-contact__banner {
	  gap: 56px;
	  padding: 48px;
	  min-height: 460px;
	}

	.project-contact__title {
	  font-size: clamp(1.75rem, 3vw, 38px);
	  line-height: 1.15;
	}

	.project-section-head__title {
	  font-size: clamp(2.25rem, 5vw, 4rem) !important;
	  line-height: 0.95 !important;
	}

	.project-location.home-map {
	  padding: 0;
	}

	.project-location__title {
	  font-size: 56px;
	  margin-bottom: 28px;
	}

	.project-location__map-surface {
	  height: min(70vh, 700px);
	  min-height: 480px;
	}

	.project-location__legend {
	  gap: 40px;
	}

	.project-location__legend-item {
	  font-size: 28px;
	}

	.project-location__card-title {
	  font-size: 24px;
	}

	.project-apartments__grid {
	  grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.project-apartments .apt-card__plan {
	  height: 170px;
	}
  }

  @media (max-width: 1200px) {
	.project-flow {
	  --project-anchors-max: 8.5rem;
	}

	.project-apartments__grid {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.project-details__row {
	  flex-wrap: wrap;
	  gap: 2.5rem;
	}

	.project-specs {
	  width: 100%;
	  max-width: 680px;
	  flex: 1 1 100%;
	}

	.project-contact__banner {
	  gap: 36px;
	  padding: 40px 32px;
	  min-height: 420px;
	  border-radius: 24px;
	}

	.project-contact__title {
	  font-size: clamp(1.65rem, 3.2vw, 34px);
	  line-height: 1.2;
	}

	.rma-form--project {
	  max-width: none;
	}

	.project-environment .slick-list {
	  padding-inline-end: 16% !important;
	}

	.project-env-card__title {
	  font-size: 18px;
	}

	.project-env-card__text {
	  font-size: 15px;
	}

	.project-location.home-map {
	  padding: 0;
	}

	.project-location__title {
	  font-size: 48px;
	  margin-bottom: 24px;
	}

	.project-location__map-surface {
	  height: min(64vh, 560px);
	  min-height: 420px;
	}

	.project-location__legend {
	  gap: 32px;
	}

	.project-location__legend-item {
	  font-size: 24px;
	}
  }
  
  @media (max-width: 1100px) {
	.project-flow {
	  --project-flow-pad: clamp(0.75rem, 3vw, 1rem);
	  display: flex;
	  flex-direction: column;
	  direction: inherit;
	  gap: 0;
	  padding-inline: var(--project-flow-pad);
	}

	.project-flow__main,
	.project-flow__main--before {
	  grid-column: auto;
	  grid-row: auto;
	  max-width: 100%;
	  width: 100%;
	}

	.project-timeline {
	  grid-column: auto;
	  grid-row: auto;
	  order: 0;
	  width: calc(100% + (2 * var(--project-flow-pad)));
	  margin-left: calc(-1 * var(--project-flow-pad));
	  margin-right: calc(-1 * var(--project-flow-pad));
	}

	.project-location.home-map {
	  --loc-aside: var(--gutter, 1.25rem);
	  grid-column: auto;
	  grid-row: auto;
	  order: 0;
	  width: calc(100% + (2 * var(--project-flow-pad)));
	  margin-top: 0;
	  margin-left: calc(-1 * var(--project-flow-pad));
	  margin-right: calc(-1 * var(--project-flow-pad));
	  padding: 0;
	  min-height: 0;
	}

	.project-location.home-map .home-map__head {
	  padding-right: var(--gutter, 1.25rem);
	  padding-left: var(--gutter, 1.25rem);
	}

	.project-location.home-map .home-map__list {
	  inset: auto;
	}

	.project-location__stage {
	  display: flex;
	  flex-direction: column;
	  gap: 1.25rem;
	}

	.project-location__map {
	  display: flex;
	  flex-direction: column;
	  gap: 16px;
	}

	.project-location__map-surface {
	  position: relative;
	  width: 100%;
	  min-height: 420px;
	  height: 62vw;
	  max-height: 560px;
	  overflow: hidden;
	  line-height: 0;
	}

	.project-location__card-media img {
	  width: 100%;
	  height: 100%;
	  min-height: 0;
	  object-fit: cover;
	}

	.project-location__card {
	  position: relative;
	  left: auto !important;
	  top: auto !important;
	  bottom: auto !important;
	  width: 100%;
	  max-width: none;
	  margin-top: 0;
	  transform: none !important;
	  box-shadow: 0 8px 24px rgba(37, 37, 37, 0.12);
	}

	.project-location__card:not(.is-open) {
	  display: none;
	  opacity: 0;
	  visibility: hidden;
	  pointer-events: none;
	}

	.project-location__card.is-open {
	  display: block;
	  opacity: 1;
	  visibility: visible;
	  pointer-events: auto;
	}

	html[dir="ltr"] .project-location__card {
	  transform: none !important;
	}

	.project-location__card:not(:has(.project-location__card-media)) {
	  grid-template-columns: 1fr;
	}

	.project-location__legend {
	  position: static;
	  right: auto;
	  left: auto;
	  transform: none;
	  margin-top: 0;
	  gap: 0.75rem 1rem;
	  flex-wrap: wrap;
	  flex-direction: row;
	  align-items: center;
	  justify-content: flex-start;
	}

	.project-related.home-projects {
	  grid-column: auto;
	  grid-row: auto;
	  order: 0;
	  width: calc(100% + (2 * var(--project-flow-pad)));
	  margin-left: calc(-1 * var(--project-flow-pad));
	  margin-right: calc(-1 * var(--project-flow-pad));
	  padding-block: 64px;
	}

	.project-related .home-projects__head {
	  flex-wrap: wrap;
	  gap: 1.25rem;
	  margin-bottom: 1.75rem;
	  padding-inline: var(--gutter, 1rem);
	}

	.project-related .home-projects__slider {
	  padding-inline-start: var(--gutter, 1rem);
	}

	.project-promo.listing-promo,
	.project-faq.listing-faq {
	  grid-column: auto;
	  grid-row: auto;
	  order: 0;
	  width: calc(100% + (2 * var(--project-flow-pad)));
	  margin-left: calc(-1 * var(--project-flow-pad));
	  margin-right: calc(-1 * var(--project-flow-pad));
	}

	.project-promo .listing-promo__grid {
	  gap: 16px;
	  min-height: 0;
	}

	.project-promo.listing-promo--text .listing-promo__grid {
	  padding-inline: var(--gutter, 1rem);
	}

	.project-faq.listing-faq {
	  padding-block: 64px;
	}

	.project-promo .listing-promo__copy {
	  padding: 8px var(--gutter, 1rem) 28px;
	  gap: 16px;
	}

	.project-anchors {
	  position: sticky;
	  top: var(--header-h, 3.75rem);
	  z-index: 40;
	  grid-column: auto;
	  grid-row: auto;
	  order: -1;
	  width: calc(100% + (2 * var(--project-flow-pad)));
	  max-width: none;
	  margin-inline: calc(-1 * var(--project-flow-pad));
	  padding: 0.65rem var(--project-flow-pad) 0.75rem;
	  direction: inherit;
	  justify-self: stretch;
	  box-sizing: border-box;
	  pointer-events: auto;
	  background: var(--color-bg, #faf8f5);
	}

	.single-project section[id] {
	  scroll-margin-top: calc(var(--header-h, 3.75rem) + 3.25rem);
	}

	.project-anchors__list {
	  flex-direction: row;
	  flex-wrap: nowrap;
	  align-items: center;
	  justify-content: flex-start;
	  gap: 0.65rem 0.9rem;
	  overflow-x: auto;
	  -webkit-overflow-scrolling: touch;
	  scrollbar-width: none;
	  padding-bottom: 0.15rem;
	}

	.project-anchors__list::-webkit-scrollbar {
	  display: none;
	}

	.project-anchors__link {
	  font-size: 15px;
	  max-width: none;
	  white-space: nowrap;
	  flex-shrink: 0;
	}

	.project-environment__head {
	  flex-wrap: wrap;
	  align-items: flex-start;
	  gap: 1.25rem 1.5rem;
	}
  }

  @media (max-width: 1024px) {
	.project-details__row {
	  display: flex;
	  flex-direction: column;
	  gap: 2rem;
	}

	.project-location.home-map {
	  padding: 0;
	}

	.project-location__inner {
	  padding-inline: 0;
	}

	.project-location__stage {
	  display: flex;
	  flex-direction: column;
	  gap: 1.25rem;
	}

	.project-location__title {
	  font-size: 36px;
	  margin-bottom: 20px;
	  max-width: none;
	}

	.project-location__map-surface {
	  height: min(62vw, 480px);
	  min-height: 360px;
	}

	.project-location__legend {
	  position: static;
	  right: auto;
	  left: auto;
	  transform: none;
	  margin-top: 0;
	  gap: 12px 16px;
	  flex-wrap: wrap;
	  flex-direction: row;
	  align-items: center;
	  justify-content: flex-start;
	}

	.project-location__legend-item {
	  font-size: 18px;
	  padding: 4px 10px;
	}

	.project-location__pin {
	  --pin-w: 28px;
	  --pin-h: 34px;
	}

	.project-location__pin.is-active {
	  --pin-w: 40px;
	  --pin-h: 49px;
	}

	.project-location__card-media {
	  height: 160px;
	}

	.project-location__card-title {
	  font-size: 22px;
	}

	.project-location__card-meta {
	  font-size: 14px;
	}

	.project-promo .listing-promo__copy {
	  padding: 64px 0;
	}

	.project-promo .listing-promo__media {
	  min-height: 360px;
	}

	.project-faq.listing-faq {
	  padding-block: 56px;
	}

	.project-faq .listing-faq__inner {
	  gap: 28px;
	}

	.project-faq .listing-faq__title {
	  font-size: 40px;
	}

	.project-faq .listing-faq__text,
	.project-faq .listing-faq__text.rma-rich {
	  font-size: 18px;
	  line-height: 1.45;
	}

	.project-faq .faq-item__q button {
	  font-size: 18px;
	  line-height: 1.3;
	  padding: 14px 0;
	}

	.project-faq .faq-item__a-inner,
	.project-faq .faq-item__a-inner.rma-rich {
	  font-size: 16px;
	  line-height: 1.45;
	}

	.project-features__body {
	  display: flex;
	  flex-direction: column;
	  align-items: stretch;
	  width: 100%;
	  margin-inline-end: 0;
	  gap: 1.25rem;
	}

	.project-features__copy {
	  flex: none;
	  max-width: none;
	  width: 100%;
	  align-self: flex-start;
	  display: grid;
	  grid-template-columns: minmax(0, 1fr) auto;
	  align-items: center;
	  column-gap: 0.75rem;
	  row-gap: 0.75rem;
	}

	.project-features__video {
	  flex: none;
	  width: 100%;
	  max-width: none;
	  margin-inline-start: 0;
	  align-self: stretch;
	  min-height: 280px;
	  height: 320px;
	}

	.project-features__video .project-feat-card,
	.project-features__video .project-feat-card__media {
	  width: 100%;
	  max-width: none;
	  height: 100%;
	}

	.project-features__slider {
	  flex: unset;
	  min-width: 0;
	  width: calc(50% + 50vw);
	  margin-inline-end: calc(50% - 50vw);
	}

	.project-features .slick-list {
	  padding-inline-start: 0 !important;
	  padding-inline-end: 22% !important;
	}

	.project-feat-card__media {
	  height: 320px;
	  max-height: 320px;
	  aspect-ratio: auto;
	}

	.project-features__slide .project-feat-card__media {
	  height: 320px;
	  max-height: 320px;
	}

	.project-features {
	  padding-block: 64px;
	}

	.project-features__ornament {
	  width: min(556px, 46vw);
	  height: auto;
	  aspect-ratio: 556 / 861.515;
	}

	.project-features__title {
	  grid-column: 1;
	  grid-row: 1;
	  font-size: clamp(1.5rem, 4vw, 2.5rem);
	  margin: 0;
	  min-width: 0;
	}

	.project-features__text {
	  grid-column: 1 / -1;
	  grid-row: 2;
	}

	.project-features__nav {
	  grid-column: 2;
	  grid-row: 1;
	  justify-content: flex-end;
	  margin-top: 0;
	}

	.project-feat-card__caption {
	  font-size: 18px;
	}

	.project-feat-card__excerpt {
	  font-size: 15px;
	  -webkit-line-clamp: 3;
	}

	.project-features__slide {
	  width: auto !important;
	  padding-inline-end: 16px;
	}

	.project-section-head {
	  margin-bottom: 40px;
	}

	.project-section-head__title {
	  font-size: clamp(1.75rem, 6vw, 3rem) !important;
	  line-height: 1 !important;
	}

	.project-details__text {
	  font-size: clamp(1rem, 2.5vw, 1.125rem);
	}

	.project-apartments {
	  padding-block: 64px 3.5rem;
	}

	.project-apt-chips {
	  gap: 8px 10px;
	  margin-bottom: 1.75rem;
	}

	.project-apt-chips__btn {
	  font-size: 16px;
	  padding: 7px 16px;
	}

	.project-apartments .apt-card__title {
	  font-size: 22px;
	  line-height: 1.2;
	}

	.project-apartments .apt-card__plan {
	  height: 160px;
	}

	.project-apartments .apt-card__spec dt,
	.project-apartments .apt-card__spec dd,
	.project-apartments .apt-card__btn {
	  font-size: 18px;
	}

	.project-contact__banner {
	  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	  gap: 40px;
	  padding: 40px 36px;
	  min-height: 440px;
	  border-radius: 24px;
	}

	.project-contact__form-col {
	  align-items: center;
	}

	.rma-form--project {
	  max-width: none;
	}

	.project-contact__title {
	  font-size: clamp(1.55rem, 3.4vw, 32px);
	  line-height: 1.2;
	}
  
	.project-details__row {
	  flex-direction: column;
	  gap: 2rem;
	}

	.project-specs {
	  width: 100%;
	  max-width: none;
	  flex: 1 1 auto;
	  display: flex;
	  flex-direction: column;
	}

	.project-specs__row--status {
	  order: 99;
	}
  
	.project-gallery__grid {
	  grid-template-columns: repeat(6, 1fr);
	  grid-auto-rows: minmax(200px, 28vw);
	  gap: 12px;
	}
  
	.project-gallery__item--small,
	.project-gallery__item--medium,
	.project-gallery__item--large {
	  grid-column: span 2;
	}

	.project-gallery__item--solo {
	  grid-column: 3 / span 2;
	}

	.project-environment {
	  --env-visible: 2;
	  --env-peek: 18%;
	  --env-slide-pad: 16px;
	  --env-media-h: 320px;
	  padding-block: 64px;
	}

	.project-environment__head {
	  flex-direction: row;
	  flex-wrap: nowrap;
	  align-items: center;
	  justify-content: space-between;
	  gap: 0.75rem 1rem;
	  margin-bottom: 28px;
	}

	.project-environment__titles {
	  min-width: 0;
	  flex: 1 1 auto;
	}

	.project-environment .btn-outline {
	  flex: 0 0 auto;
	  width: auto;
	  max-width: none;
	  white-space: nowrap;
	  padding: 0.55rem 0.85rem;
	  font-size: 0.9rem;
	}

	.project-environment__title {
	  font-size: clamp(1.5rem, 5vw, 2.75rem);
	}

	.project-environment__slide {
	  padding-inline-end: 16px;
	}

	.project-environment .slick-list {
	  padding-inline-end: 18% !important;
	}

	.project-env-card__media {
	  height: 320px;
	}

	.project-env-card__body {
	  padding-top: 10px;
	}

	.project-env-card__title {
	  margin-bottom: 8px;
	  font-size: 17px;
	}

	.project-env-card__text {
	  font-size: 14px;
	  line-height: 1.35;
	}
  
	.rma-lightbox {
	  padding: 1rem;
	}

	.rma-lightbox__media:has(> img) {
	  padding: 1.75rem;
	}

	.rma-lightbox__media:has(> img) img {
	  max-height: calc(80vh - 3.5rem);
	}

	.rma-lightbox__prev {
	  left: 0.5rem;
	  right: auto;
	}
  
	.rma-lightbox__next {
	  right: 0.5rem;
	  left: auto;
	}
  
	.rma-lightbox__close {
	  top: 0.5rem;
	  inset-inline-end: 0.5rem;
	}
  }
  
  @media (max-width: 900px) {
	.project-contact {
	  padding-block: 0 3rem;
	}

	.project-contact__banner {
	  direction: ltr;
	  display: flex;
	  flex-direction: column-reverse;
	  gap: 28px;
	  padding: 28px 24px 32px;
	  min-height: 0;
	  border-radius: 20px;
	  background-position: center top;
	}

	.project-contact__banner::after {
	  background: rgba(74, 58, 46, 0.62);
	}

	.project-contact__media-col {
	  width: 100%;
	  min-height: 0;
	  justify-content: flex-start;
	  align-items: flex-start;
	  background: transparent;
	}

	.project-contact__form-col {
	  width: 100%;
	  align-items: stretch;
	  background-image: none !important;
	}

	.rma-form--project {
	  max-width: none;
	  width: 100%;
	}

	.project-contact__title {
	  max-width: none;
	  font-size: clamp(1.5rem, 5.5vw, 1.85rem);
	  line-height: 1.25;
	}

	.rma-form--project .rma-form__consent {
	  font-size: 0.7rem;
	}

	.project-location.home-map {
	  padding: 0;
	}

	.project-location__title {
	  font-size: 32px;
	  margin-bottom: 16px;
	}

	.project-location__legend {
	  gap: 8px 12px;
	}

	.project-location__legend-item {
	  font-size: 14px;
	  padding: 3px 8px;
	}

	.project-location__pin {
	  --pin-w: 24px;
	  --pin-h: 29px;
	}

	.project-location__pin.is-active {
	  --pin-w: 34px;
	  --pin-h: 42px;
	}

	.project-location__card {
	  display: grid;
	  grid-template-columns: 112px minmax(0, 1fr);
	  align-items: stretch;
	}

	.project-location__card.is-open {
	  display: grid;
	}

	.project-location__card-media {
	  grid-row: 1 / -1;
	  height: 100%;
	  min-height: 112px;
	}

	.project-location__card-body {
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  padding: 12px;
	}

	.project-location__card-title {
	  font-size: 18px;
	}

	.project-location__card-meta {
	  font-size: 14px;
	}

	.project-promo .listing-promo__copy {
	  padding: 4px 0 24px;
	  gap: 14px;
	}

	.project-promo .listing-promo__media {
	  min-height: 240px;
	  height: 240px;
	}

	.project-faq.listing-faq {
	  padding-block: 48px;
	}
  }

  @media (max-width: 768px) {
	.project-environment__head .project-environment__nav {
	  width: auto;
	  margin-top: 0;
	  flex: 0 0 auto;
	}

	.project-environment__slider > .btn-outline {
	  display: flex;
	  width: fit-content;
	  margin-top: 24px;
	  margin-inline: auto;
	}
  }

  @media (max-width: 720px) {
	.project-details {
	  padding-block: 2.5rem 3rem;
	}

	.project-gallery {
	  padding-block: 0 3.5rem;
	}

	.project-gallery__grid {
	  grid-template-columns: 1fr;
	  grid-auto-rows: minmax(200px, 56vw);
	}

	.project-gallery:not(.is-expanded) .project-gallery__item.is-extra-mobile {
	  display: none;
	}

	.project-gallery__actions {
	  margin-top: 24px;
	}

	.project-gallery__more {
	  width: auto;
	  max-width: none;
	  min-width: 0;
	  padding-inline: 1.35rem;
	  font-size: 16px;
	}

	.project-apartments__grid {
	  grid-template-columns: 1fr;
	}

	.project-apt-chips {
	  flex-wrap: nowrap;
	  justify-content: flex-start;
	  overflow-x: auto;
	  -webkit-overflow-scrolling: touch;
	  scrollbar-width: none;
	  margin-inline: -1rem;
	  padding-inline: 1rem;
	  padding-bottom: 4px;
	}

	.project-apt-chips::-webkit-scrollbar {
	  display: none;
	}

	.project-apt-chips__btn {
	  flex: 0 0 auto;
	}

	.project-apartments .apt-card__inner {
	  gap: 10px;
	  padding: 18px 16px;
	}

	.project-apartments .apt-card__title {
	  font-size: 20px;
	  line-height: 1.2;
	}

	.project-apartments .apt-card__plan {
	  height: 180px;
	}

	.project-apartments .apt-card__spec dt,
	.project-apartments .apt-card__spec dd {
	  font-size: 16px;
	  white-space: normal;
	}

	.project-apartments .apt-card__btn {
	  font-size: 16px;
	}
  
	.project-gallery__item--small,
	.project-gallery__item--medium,
	.project-gallery__item--large,
	.project-gallery__item--solo {
	  grid-column: 1 / -1;
	}
  
	.project-environment {
	  padding-block: 48px;
	}

	.project-features {
	  padding-block: 48px;
	}

	.project-features__ornament {
	  width: min(556px, 72vw);
	  height: auto;
	  aspect-ratio: 556 / 861.515;
	}

	.project-features__body {
	  flex-direction: column;
	  gap: 1.25rem;
	}

	.project-features__video {
	  width: 100%;
	  max-width: none;
	  flex: 1 1 auto;
	  margin-inline-start: 0;
	  min-height: 260px;
	  height: 280px;
	}

	.project-features__video .project-feat-card,
	.project-features__video .project-feat-card__media {
	  width: 100%;
	  max-width: none;
	  height: 100%;
	}

	.project-features__slider {
	  flex: unset;
	  width: calc(50% + 50vw);
	  margin-inline-end: calc(50% - 50vw);
	}

	.project-features__nav {
	  margin-top: 0;
	}

	.project-features__arrow,
	.project-environment__arrow {
	  width: 40px;
	  height: 40px;
	}

	.project-feat-card__caption {
	  font-size: 16px;
	  margin-top: 10px;
	}

	.project-feat-card__excerpt {
	  font-size: 14px;
	  line-height: 130%;
	  -webkit-line-clamp: 3;
	}

	.project-feat-card__body {
	  gap: 6px;
	}

	.project-features__slide {
	  width: auto !important;
	  padding-inline-end: 12px;
	}

	.project-features .slick-list {
	  padding-inline-start: 0 !important;
	  padding-inline-end: 22% !important;
	}

	.project-feat-card__media {
	  height: 300px;
	  max-height: 300px;
	}

	.project-feat-card__overlay {
	  padding: 1rem 0.85rem 0.9rem;
	}

	.project-feat-card__overlay-title {
	  font-size: 16px;
	}

	.project-feat-card__play {
	  width: 42px;
	  height: 42px;
	}

	.project-environment__head {
	  flex-direction: row;
	  flex-wrap: nowrap;
	  align-items: center;
	  margin-bottom: 24px;
	  gap: 0.65rem 0.85rem;
	}

	.project-environment .btn-outline {
	  padding: 0.5rem 0.75rem;
	  font-size: 0.85rem;
	}

	.project-environment__subtitle {
	  font-size: 15px;
	}

	.project-environment__slide {
	  padding-inline-end: 12px;
	}

	.project-environment .slick-list {
	  padding-inline-end: 22% !important;
	}

	.project-env-card__media {
	  height: 300px;
	  border-radius: 6px;
	}

	.project-env-card__title {
	  font-size: 16px;
	}

	.project-env-card__text {
	  font-size: 13px;
	  display: -webkit-box;
	  -webkit-line-clamp: 3;
	  -webkit-box-orient: vertical;
	  overflow: hidden;
	}

	.project-location.home-map {
	  padding: 0;
	}

	.project-location__title {
	  font-size: 28px;
	  margin-bottom: 12px;
	}

	.project-location__legend {
	  gap: 6px 10px;
	}

	.project-location__legend-item {
	  font-size: 13px;
	  padding: 2px 7px;
	}

	.project-location__card {
	  grid-template-columns: 96px minmax(0, 1fr);
	}

	.project-location__card-media {
	  min-height: 96px;
	}

	.project-location__card-title {
	  font-size: 16px;
	}

	.project-promo.listing-promo,
	.project-faq.listing-faq {
	  width: calc(100% + (2 * var(--project-flow-pad)));
	}

	.project-promo.listing-promo--text .listing-promo__grid {
	  padding-inline: 0.75rem;
	}

	.project-promo .listing-promo__copy {
	  padding: 4px 0 20px;
	  gap: 12px;
	}

	.project-faq .listing-faq__title {
	  font-size: 32px;
	}

	.project-faq .listing-faq__text,
	.project-faq .listing-faq__text.rma-rich {
	  font-size: 17px;
	  line-height: 1.45;
	}

	.project-faq.listing-faq {
	  padding-block: 40px;
	}

	.project-faq .faq-item__q button {
	  font-size: 17px;
	  line-height: 1.3;
	  padding: 12px 0;
	}

	.project-faq .faq-item__a-inner,
	.project-faq .faq-item__a-inner.rma-rich {
	  font-size: 15px;
	  line-height: 1.45;
	}
  
	.project-contact {
	  padding-block: 0 2.5rem;
	}

	.project-contact__banner {
	  gap: 22px;
	  padding: 22px 18px 26px;
	  border-radius: 18px;
	}

	.project-contact__title {
	  font-size: clamp(1.4rem, 5.5vw, 1.7rem);
	  line-height: 1.25;
	}

	.rma-form--project {
	  gap: 0.7rem;
	}

	.rma-form--project input[type="text"],
	.rma-form--project input[type="tel"],
	.rma-form--project input[type="email"],
	.rma-form--project textarea,
	.project-contact__submit {
	  padding: 0.85rem 1.15rem;
	}

	.project-apartments {
	  padding-block: 48px 3rem;
	}

	.project-apartments__empty {
	  padding: 2.25rem 1.15rem;
	}

	.project-details__title {
	  font-size: 22px;
	  line-height: 1.3;
	}

	.project-section-head {
	  margin-bottom: 28px;
	}

	.project-section-head__title {
	  font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
	  line-height: 1.05 !important;
	}

	.project-related .home-projects__title {
	  font-size: clamp(1.5rem, 7vw, 2.25rem);
	}
  
	.project-details__text,
	.project-anchors__link {
	  font-size: 16px;
	}

	.project-crumbs__list {
	  font-size: 14px;
	  margin-bottom: 1.25rem;
	}

	.project-specs__row {
	  font-size: 15px;
	}

	.project-specs__chip {
	  font-size: 15px;
	  padding: 0.3rem 0.75rem;
	}
  }

  @media (max-width: 480px) {
	.project-flow {
	  padding-inline: 0.75rem;
	}

	.project-contact__banner {
	  gap: 18px;
	  padding: 18px 16px 22px;
	  border-radius: 16px;
	}

	.project-contact__banner::after {
	  background: rgba(74, 58, 46, 0.66);
	}

	.project-contact__title {
	  font-size: clamp(1.35rem, 5.5vw, 1.6rem);
	}

	.rma-form--project .rma-form__consent {
	  font-size: 0.65rem;
	  gap: 0.5rem;
	}

	.project-features {
	  padding-block: 40px;
	}

	.project-features__ornament {
	  width: min(556px, 78vw);
	  height: auto;
	  aspect-ratio: 556 / 861.515;
	}

	.project-timeline::after {
	  width: 300px;
	  height: 300px;
	}

	.project-features__title {
	  font-size: clamp(1.35rem, 7vw, 1.75rem);
	}

	.project-features__text {
	  font-size: 15px;
	}

	.project-features__arrow {
	  width: 40px;
	  height: 40px;
	}

	.project-features__slide {
	  width: auto !important;
	  padding-inline-end: 10px;
	}

	.project-features .slick-list {
	  padding-inline-start: 0 !important;
	  padding-inline-end: 28% !important;
	}

	.project-feat-card__media,
	.project-features__video .project-feat-card__media {
	  height: 260px;
	  max-height: 260px;
	}

	.project-feat-card__caption {
	  font-size: 15px;
	}

	.project-feat-card__excerpt {
	  font-size: 13px;
	  -webkit-line-clamp: 2;
	}

	.project-feat-card__overlay {
	  padding: 14px;
	  gap: 12px;
	}

	.project-feat-card__overlay-title {
	  font-size: 15px;
	}

	.project-feat-card__overlay-text {
	  font-size: 13px;
	}

	.project-section-head__title {
	  font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
	}

	.project-apartments {
	  padding-block: 40px 2.5rem;
	}

	.project-apt-chips__btn {
	  font-size: 15px;
	  padding: 6px 14px;
	}

	.project-apartments .apt-card__plan {
	  height: 150px;
	}

	.project-apartments .apt-card__title {
	  font-size: 18px;
	}

	.project-related .home-projects__title {
	  font-size: 30px;
	}

	.project-environment {
	  padding-block: 40px;
	}

	.project-environment__title {
	  font-size: clamp(1.35rem, 7vw, 1.75rem);
	}

	.project-environment__slide {
	  padding-inline-end: 10px;
	}

	.project-environment .slick-list {
	  padding-inline-end: 28% !important;
	}

	.project-env-card__media {
	  height: 260px;
	}

	.project-gallery__grid {
	  gap: 10px;
	  grid-auto-rows: minmax(180px, 62vw);
	}

	.rma-lightbox__close,
	.rma-lightbox__prev,
	.rma-lightbox__next {
	  width: 40px;
	  height: 40px;
	}
  }

  /* ----- Apartment popup (single project) ----- */
  .apt-card__btn {
	border: 0;
	font: inherit;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
  }

  html.is-apt-modal-open {
	overflow: hidden;
  }

  /* Modal lives inside .project-apartments (z-index: 1). The contact
     banner form-col is isolation + z-index: 2, so it paints over the popup.
     Flatten that stacking only while the modal is open. */
  html.is-apt-modal-open .project-apartments {
	z-index: 10000;
  }

  html.is-apt-modal-open .project-contact,
  html.is-apt-modal-open .project-contact__banner,
  html.is-apt-modal-open .project-contact__form-col,
  html.is-apt-modal-open .project-contact__media-col,
  html.is-apt-modal-open .project-contact__title {
	z-index: 0;
	isolation: auto;
  }

  .apt-modal {
	position: fixed;
	inset: 0;
	z-index: 2500;
	display: grid;
	place-items: center;
	padding: 32px 20px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.32s ease, visibility 0.32s ease;
  }

  .apt-modal[hidden] {
	display: none !important;
  }

  .apt-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
  }

  .apt-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(37, 37, 37, 0.48);
  }

  .apt-modal__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(380px, 1fr);
	direction: ltr;
	width: min(1400px, 100%);
	background: #fff;
	border-radius: 24px;
	border: 1px solid #CEBBAA;
	overflow: hidden;
	box-shadow: 0 28px 80px rgba(37, 37, 37, 0.22);
	outline: none;
	transform: translateY(22px) scale(0.98);
	opacity: 0;
	transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
  }

  .apt-modal.is-open .apt-modal__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
  }

  .apt-modal__chrome,
  .apt-modal__handle,
  .apt-modal__close {
	display: none;
  }

  .apt-modal__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	background: #fff;
  }

  .apt-modal__visual {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
  }

  .apt-modal__sold {
	position: absolute;
	top: 16px;
	left: -50px;
	z-index: 3;
	width: 190px;
	padding: 4px 0;
	background: #252525;
	color: #fff;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.2;
	text-align: center;
	/* Modal dialog is LTR; keep Hebrew "נמכר!" with ! at the end. */
	direction: rtl;
	unicode-bidi: isolate;
	transform: rotate(-40deg);
	pointer-events: none;
  }

  html[dir="ltr"] .apt-modal__sold {
	left: auto;
	right: -50px;
	direction: ltr;
	transform: rotate(40deg);
  }

  .apt-modal__download {
	--apt-download-color: var(--color-secondary);
	position: absolute;
	top: 22px;
	right: 22px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 18px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid var(--apt-download-color);
	border-radius: 999px;
	background: var(--color-white);
	color: var(--apt-download-color);
	font-size: 16px;
	font-weight: 300;
	line-height: 1;
	text-decoration: none;
	direction: rtl;
	cursor: pointer;
	transition: color 0.5s;
  }

  /* Uiverse cssbuttons-io/slippery-jellyfish-67 — brand colors */
  .apt-modal__download::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 100%;
	left: 100%;
	width: 200px;
	height: 150px;
	border-radius: 50%;
	background: var(--apt-download-color);
	transition: all 0.7s;
	pointer-events: none;
  }

  .apt-modal__download:hover,
  .apt-modal__download:focus-visible {
	color: var(--color-white);
	background: var(--color-white);
  }

  .apt-modal__download:hover::before,
  .apt-modal__download:focus-visible::before {
	top: -30px;
	left: -30px;
  }

  .apt-modal__download:active::before {
	background: var(--color-text);
	transition: background 0s;
  }

  .apt-modal__download-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
  }

  .apt-modal__download > span {
	position: relative;
	z-index: 1;
  }

  .apt-modal__plan-wrap {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 72px 48px 20px;
	box-sizing: border-box;
  }

  .apt-modal__plan-nav {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 18px;
	box-sizing: border-box;
	pointer-events: none;
	direction: ltr;
  }

  .apt-modal__plan-arrow {
	pointer-events: auto;
  }

  .apt-modal__plan-wrap.has-plan-nav:hover .apt-modal__plan-arrow,
  .apt-modal__plan-wrap.has-plan-nav:focus-within .apt-modal__plan-arrow {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
  }

  @media (hover: none), (pointer: coarse) {
	.apt-modal__plan-wrap.has-plan-nav .apt-modal__plan-arrow {
	  opacity: 0.72;
	  visibility: visible;
	  transform: none;
	}
  }

  .apt-modal__plan-track {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
  }

  .apt-modal__plan-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
  }

  .apt-modal__plan-slide.is-active {
	opacity: 1;
	pointer-events: auto;
  }

  .apt-modal__plan-slide img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	min-width: 0;
	min-height: 0;
	cursor: zoom-in;
  }

  .apt-modal__plan-zoom {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(37, 37, 37, 0.72);
	color: #fff;
	cursor: zoom-in;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.92);
	transition:
	  opacity 0.22s ease,
	  visibility 0.22s ease,
	  transform 0.22s ease,
	  background 0.2s ease;
  }

  .apt-modal__plan-zoom:hover,
  .apt-modal__plan-zoom:focus-visible {
	background: rgba(37, 37, 37, 0.88);
	transform: translate(-50%, -50%) scale(1.04);
  }

  .apt-modal__plan-zoom:focus-visible {
	outline: 2px solid var(--color-secondary, #2f5b8a);
	outline-offset: 3px;
  }

  .apt-modal__plan-wrap:not(.is-empty):hover .apt-modal__plan-zoom,
  .apt-modal__plan-wrap:not(.is-empty):focus-within .apt-modal__plan-zoom {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
  }

  @media (hover: none), (pointer: coarse) {
	.apt-modal__plan-wrap:not(.is-empty) .apt-modal__plan-zoom {
	  opacity: 0.85;
	  visibility: visible;
	  pointer-events: auto;
	  transform: translate(-50%, -50%) scale(1);
	}
  }

  .apt-modal__plan-empty {
	display: none;
	margin: 0;
	padding: 2rem 1.25rem;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: rgb(37 37 37 / 0.55);
	text-align: center;
  }

  .apt-modal__plan-wrap.is-empty .apt-modal__plan-track {
	display: none;
  }

  .apt-modal__plan-wrap.is-empty .apt-modal__plan-empty {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 280px;
  }

  .apt-modal__details {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 40px 28px;
	min-width: 0;
	min-height: 0;
	overflow: auto;
	background: #fff;
	border-left: 1px solid #EFE7DD;
	direction: rtl;
	text-align: start;
  }

  html[dir="ltr"] .apt-modal__dialog,
  html[dir="ltr"] .apt-modal__details,
  html[dir="ltr"] .apt-modal__spec dt,
  html[dir="ltr"] .apt-modal__features {
	direction: ltr;
	text-align: left;
  }

  html[dir="ltr"] .apt-modal__spec dd {
	text-align: right;
  }

  html[dir="ltr"] .apt-modal__download {
	direction: ltr;
	left: 22px;
	right: auto;
  }

  .apt-modal__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
  }

  .apt-modal__title {
	margin: 0;
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.04em;
	text-align: center;
	color: #252525;
  }

  .apt-modal__nav {
	display: grid;
	place-items: center;
	width: auto;
	height: auto;
	padding: 0 2px;
	border: 0;
	background: transparent;
	color: var(--color-secondary);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
  }

  .apt-modal__nav:hover,
  .apt-modal__nav:focus-visible {
	color: var(--color-accent);
	outline: none;
  }

  .apt-modal__nav:disabled,
  .apt-modal__nav:disabled:hover {
	opacity: 0.35;
	color: var(--color-secondary);
	cursor: default;
  }

  .apt-modal__nav svg {
	display: block;
  }

  .apt-modal__nav--next svg {
	transform: rotate(180deg);
  }

  html[dir="rtl"] .apt-modal__nav--prev svg {
	transform: rotate(180deg);
  }

  html[dir="rtl"] .apt-modal__nav--next svg {
	transform: none;
  }

  .apt-modal__specs {
	display: grid;
	gap: 0;
	margin: 0;
  }

  .apt-modal__spec {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
	gap: 16px;
	align-items: baseline;
	padding: 8px 0;
	border-bottom: 1px solid #252525;
  }

  .apt-modal__spec dt {
	margin: 0;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-text);
    white-space: nowrap;
	text-align: start;
  }

  .apt-modal__spec dd {
	margin: 0;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--color-text);
    white-space: normal;
	overflow-wrap: anywhere;
	text-align: end;
  }

  .apt-modal__features {
	display: grid;
	gap: 8px;
	margin: 4px 0 0;
	padding: 0;
	list-style: disc;
	padding-inline-start: 18px;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-text);
  }

  .apt-modal__form-wrap {
	flex: 0 0 auto;
	padding: 16px;
	background: #cebbaa;
	direction: rtl;
  }

  html[dir="ltr"] .apt-modal__form-wrap,
  html[dir="ltr"] .apt-modal__form-wrap .rma-form--apt-modal,
  html[dir="ltr"] .apt-modal__form-wrap .gform_wrapper,
  html[dir="ltr"] .apt-modal__form-wrap form,
  html[dir="ltr"] .apt-modal__form-wrap .gform_body,
  html[dir="ltr"] .apt-modal__form-wrap .gform_fields,
  html[dir="ltr"] .apt-modal__form-wrap .gform_footer,
  html[dir="ltr"] .apt-modal__consent,
  html[dir="ltr"] .apt-modal__form-row {
	direction: ltr !important;
	text-align: left;
  }

  html[dir="ltr"] .apt-modal__form-wrap input[type="text"],
  html[dir="ltr"] .apt-modal__form-wrap input[type="tel"],
  html[dir="ltr"] .apt-modal__form-wrap input[type="email"],
  html[dir="ltr"] .apt-modal__form-wrap textarea,
  html[dir="ltr"] .apt-modal__form-wrap input::placeholder,
  html[dir="ltr"] .apt-modal__form-wrap textarea::placeholder {
	direction: ltr !important;
	text-align: left !important;
  }

  .apt-modal__form-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(210px, 0.95fr);
	gap: 12px;
	align-items: end;
  }

  .apt-modal__field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
  }

  .apt-modal__form-row .apt-modal__submit {
	grid-column: 4;
	grid-row: 1;
  }

  .rma-form--apt-modal input[type="text"],
  .rma-form--apt-modal input[type="tel"],
  .rma-form--apt-modal input[type="email"],
  .rma-form--apt-modal textarea {
	width: 100%;
	height: 50px;
	padding: 0 20px;
	border: 2px solid var(--color-accent, #cebbaa);
	border-radius: 999px;
	background: #fff;
	color: var(--color-secondary, #252525);
	font: inherit;
	font-size: 16px;
	font-weight: 300;
	box-sizing: border-box;
	outline: none;
  }

  .rma-form--apt-modal input::placeholder,
  .rma-form--apt-modal textarea::placeholder {
	color: var(--color-secondary, #252525);
	opacity: 0.72;
  }

  .apt-modal__submit,
  .rma-form--apt-modal .gform_button,
  .rma-form--apt-modal input[type="submit"] {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: var(--color-secondary, #252525);
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
  }

  .apt-modal__submit:hover,
  .apt-modal__submit:focus-visible {
	background: #1a1a1a;
	color: #fff;
	box-shadow: 0 6px 18px rgb(37 37 37 / 0.18);
	transform: translateY(-1px);
	outline: none;
  }

  .apt-modal__submit:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgb(37 37 37 / 0.08);
  }

  .apt-modal__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	color: #fff;
  }

  .apt-modal__consent input[type="checkbox"] {
	margin-top: 2px;
	accent-color: #fff;
  }

  .rma-form--apt-modal .gform_wrapper {
	margin: 0;
  }

  .rma-form--apt-modal .gform_heading,
  .rma-form--apt-modal .gfield_label,
  .rma-form--apt-modal .gfield--type-hidden {
	display: none !important;
  }

  .rma-form--apt-modal .gform_body,
  .rma-form--apt-modal .gform_fields,
  .rma-form--apt-modal .gform_footer {
	margin: 0;
	padding: 0;
  }

  .rma-form--apt-modal .gform_fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(210px, 0.95fr);
	gap: 12px;
	align-items: center;
  }

  .rma-form--apt-modal .gform_footer {
	display: contents;
  }

  .rma-form--apt-modal .gform_footer .gform_button,
  .rma-form--apt-modal .gform_footer input[type="submit"] {
	grid-column: 4;
	grid-row: 1;
  }

  .rma-form--apt-modal .gfield--type-consent,
  .rma-form--apt-modal .gfield--type-checkbox,
  .rma-form--apt-modal .gfield--type-html,
  .rma-form--apt-modal .gfield.gfield--type-consent,
  .rma-form--apt-modal .gfield.gfield--type-checkbox,
  .rma-form--apt-modal .gfield.gfield--type-html,
  .rma-form--apt-modal .gfield--type-consent[class*="width"],
  .rma-form--apt-modal .gfield--type-checkbox[class*="width"],
  .rma-form--apt-modal .gfield--type-html[class*="width"] {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: none !important;
  }

  .rma-form--apt-modal .gfield--type-consent label,
  .rma-form--apt-modal .gfield--type-html {
	font-size: 13px;
	font-weight: 300;
	line-height: 1.4;
	color: #fff;
  }

  .rma-form--apt-modal .gfield {
	margin: 0 !important;
	padding: 0 !important;
  }

  @media (max-width: 1100px) {
	.apt-modal__dialog {
	  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
	}

	.apt-modal__form-row,
	.rma-form--apt-modal .gform_fields {
	  grid-template-columns: 1fr 1fr;
	}

	html[dir="ltr"] .apt-modal__form-row,
	html[dir="ltr"] .rma-form--apt-modal .gform_fields {
	  grid-template-columns: 1fr 1fr;
	}

	.apt-modal__form-row .apt-modal__submit,
	.rma-form--apt-modal .gform_footer .gform_button,
	.rma-form--apt-modal .gform_footer input[type="submit"],
	html[dir="ltr"] .apt-modal__form-row .apt-modal__submit,
	html[dir="ltr"] .rma-form--apt-modal .gform_footer .gform_button,
	html[dir="ltr"] .rma-form--apt-modal .gform_footer input[type="submit"] {
	  grid-column: 1 / -1;
	  grid-row: auto;
	}
  }

  @media (max-width: 1024px) {
	.apt-modal {
	  padding: 16px;
	  place-items: center;
	}

	.apt-modal__dialog {
	  display: flex;
	  flex-direction: column;
	  width: min(720px, 100%);
	  max-width: 100%;
	  max-height: min(92dvh, 900px);
	  overflow-x: hidden;
	  overflow-y: auto;
	  -webkit-overflow-scrolling: touch;
	  overscroll-behavior: contain;
	  border-radius: 20px;
	}

	.apt-modal__chrome {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  position: sticky;
	  top: 0;
	  z-index: 6;
	  flex: 0 0 auto;
	  min-height: 44px;
	  padding: 10px 16px 0;
	  background: #fff;
	}

	.apt-modal__close {
	  display: grid;
	  place-items: center;
	  position: absolute;
	  top: 8px;
	  inset-inline-end: 10px;
	  z-index: 6;
	  width: 36px;
	  height: 36px;
	  padding: 0;
	  border: 0;
	  border-radius: 50%;
	  background: #f4efe9;
	  color: #252525;
	  cursor: pointer;
	}

	.apt-modal__close svg {
	  display: block;
	}

	.apt-modal__details {
	  order: 1;
	  flex: 0 0 auto;
	  overflow: visible;
	  border: 0;
	  padding: 12px 24px 18px;
	  gap: 16px;
	}

	.apt-modal__main {
	  order: 2;
	  display: flex;
	  flex-direction: column;
	  flex: 0 0 auto;
	  min-height: 0;
	  overflow: visible;
	}

	.apt-modal__visual {
	  flex: 0 0 auto;
	  height: auto;
	  min-height: 0;
	}

	.apt-modal__plan-wrap {
	  height: auto;
	  min-height: 0;
	  padding: 52px 20px 16px;
	}

	.apt-modal__plan-track {
	  position: relative;
	  height: auto;
	  min-height: 220px;
	}

	.apt-modal__plan-slide {
	  position: absolute;
	  inset: 0;
	}

	.apt-modal__plan-slide.is-active {
	  position: relative;
	  inset: auto;
	}

	.apt-modal__plan-slide img {
	  width: auto;
	  height: auto;
	  max-width: 100%;
	  max-height: min(52vh, 420px);
	  object-fit: contain;
	}

	.apt-modal__form-wrap {
	  flex: 0 0 auto;
	  padding: 16px;
	  min-width: 0;
	  width: 100%;
	  overflow: visible;
	}

	.apt-modal__title {
	  font-size: 26px;
	}

	.apt-modal__form-row {
	  display: grid;
	  grid-template-columns: 1fr;
	  gap: 10px;
	}

	.apt-modal__form-row input[type="email"],
	.apt-modal__form-row .apt-modal__submit,
	html[dir="ltr"] .apt-modal__form-row .apt-modal__submit {
	  grid-column: 1 / -1;
	  grid-row: auto;
	}
  }

  @media (max-width: 767px) {
	html.is-apt-modal-open,
	html.is-apt-modal-open body {
	  overflow: hidden;
	  overscroll-behavior: none;
	}

	html.is-apt-modal-open .float-dock,
	html.is-apt-modal-open .a11y-toolbar__toggle {
	  opacity: 0;
	  visibility: hidden;
	  pointer-events: none;
	}

	.apt-modal {
	  padding: 0;
	  padding-top: max(80px, env(safe-area-inset-top));
	  place-items: end stretch;
	  align-items: end;
	}

	.apt-modal__dialog {
	  width: 100%;
	  max-width: none;
	  height: calc(100vh - 80px);
	  max-height: calc(100vh - 80px);
	  height: calc(100dvh - max(80px, env(safe-area-inset-top)));
	  max-height: calc(100dvh - max(80px, env(safe-area-inset-top)));
	  border-radius: 20px 20px 0 0;
	  border-bottom: 0;
	}

	.apt-modal.is-open .apt-modal__dialog {
	  transform: none;
	}

	.apt-modal__chrome {
	  min-height: 40px;
	  padding: 8px 16px 0;
	}

	.apt-modal__handle {
	  display: block;
	  width: 40px;
	  height: 4px;
	  border-radius: 999px;
	  background: #d9cfc4;
	}

	.apt-modal__details {
	  padding: 4px 20px 14px;
	  gap: 14px;
	}

	.apt-modal__head {
	  min-height: 44px;
	}

	.apt-modal__nav {
	  min-width: 44px;
	  min-height: 44px;
	}

	.apt-modal__title {
	  font-size: 22px;
	  line-height: 1.15;
	}

	.apt-modal__spec dt,
	.apt-modal__spec dd {
	  font-size: 16px;
	  white-space: normal;
	}

	.apt-modal__features {
	  font-size: 15px;
	}

	.apt-modal__sold {
	  top: 22px;
	  left: -42px;
	  width: 160px;
	  font-size: 15px;
	}

	.apt-modal__download {
	  top: 12px;
	  right: 12px;
	  max-width: calc(100% - 24px);
	  font-size: 13px;
	  padding: 8px 12px;
	}

	.apt-modal__plan-wrap {
	  padding: 48px 16px 20px;
	}

	.apt-modal__form-wrap {
	  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
	}

	.apt-modal__form-row {
	  grid-template-columns: 1fr;
	  gap: 10px;
	}

	.apt-modal__form-row .apt-modal__submit,
	html[dir="ltr"] .apt-modal__form-row .apt-modal__submit {
	  grid-column: 1 / -1;
	}
  }

  @media (max-width: 480px) {
	.apt-modal__details {
	  padding: 2px 16px 12px;
	  gap: 12px;
	}

	.apt-modal__title {
	  font-size: 20px;
	}

	.apt-modal__spec {
	  gap: 10px;
	  padding: 7px 0;
	}

	.apt-modal__spec dt,
	.apt-modal__spec dd {
	  font-size: 15px;
	}

	.apt-modal__plan-wrap {
	  padding: 48px 14px 12px;
	}

	.apt-modal__form-wrap {
	  padding: 10px 12px max(12px, env(safe-area-inset-bottom));
	}

	.apt-modal__form-row {
	  grid-template-columns: 1fr;
	  gap: 8px;
	}

	.rma-form--apt-modal input[type="text"],
	.rma-form--apt-modal input[type="tel"],
	.rma-form--apt-modal input[type="email"],
	.rma-form--apt-modal textarea,
	.apt-modal__submit,
	.rma-form--apt-modal .gform_button,
	.rma-form--apt-modal input[type="submit"] {
	  height: auto;
	  min-height: 44px;
	  font-size: 15px;
	}

	.apt-modal__submit {
	  white-space: normal;
	  padding: 10px 14px;
	  line-height: 1.25;
	}
  }
  