.sg-development-home-page .dh-page {
  --dh-panel: #11120f;
  --dh-soft: #d8d2c6;
  --dh-plan-canvas: #f7f4ec;
}

.sg-development-home-page .bp-status--confirm {
  color: var(--bp-gold-soft, #e0bd54);
}

.sg-development-home-page .dh-price-note,
.sg-development-home-page .dh-disclosure {
  color: var(--bp-muted, #aaa69d);
  font-size: 14px;
  line-height: 1.65;
}

.sg-development-home-page .dh-price-note {
  max-width: 660px;
  margin: 9px 0 0;
}

.sg-development-home-page .dh-disclosure {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 2px solid var(--bp-gold, #d8b04c);
  background: var(--dh-panel);
}

.sg-development-home-page .bp-gallery-preview__item.dh-media--plan,
.sg-development-home-page .bp-lightbox__stage figure.dh-card--plan,
.sg-development-home-page .dh-similar .dh-card--plan .bp-property-card__media {
  background: var(--dh-plan-canvas);
}

.sg-development-home-page img.dh-media--plan {
  object-fit: contain !important;
  object-position: center;
  background: var(--dh-plan-canvas);
}

.sg-development-home-page .bp-gallery-preview img.dh-media--plan,
.sg-development-home-page .bp-lightbox__stage img.dh-media--plan {
  padding: clamp(12px, 2vw, 28px);
}

.sg-development-home-page .dh-project-link-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--bp-line, #30312c);
  background: var(--dh-panel);
}

.sg-development-home-page .dh-project-link-section h2,
.sg-development-home-page .dh-project-link-section p {
  margin-right: 0;
}

.sg-development-home-page .dh-project-link-section .bp-button {
  white-space: nowrap;
}

.sg-development-home-page .dh-represented-by .bp-listed-by__row > img {
  object-fit: contain;
  padding: 9px;
  background: #070806;
}

.sg-development-home-page .dh-similar {
  --dh-similar-gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(70px, 8vw, 110px);
}

.sg-development-home-page .dh-similar__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.sg-development-home-page .dh-similar__heading .bp-section-heading {
  margin: 0;
}

.sg-development-home-page .dh-similar__heading .bp-section-heading > p:last-child {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--bp-muted, #aaa69d);
  font-size: 16px;
  line-height: 1.6;
}

.sg-development-home-page .dh-similar__controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.sg-development-home-page .dh-similar__controls button {
  width: 50px;
  height: 50px;
  display: grid;
  flex: 0 0 50px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--bp-line, #30312c);
  border-radius: 50%;
  cursor: pointer;
  background: #0b0c0a;
  color: var(--bp-cream, #f4f0e8);
}

.sg-development-home-page .dh-similar__controls button:hover,
.sg-development-home-page .dh-similar__controls button:focus-visible {
  border-color: var(--bp-gold, #d8b04c);
  color: var(--bp-gold-soft, #e0bd54);
}

.sg-development-home-page .dh-similar__controls button:disabled {
  cursor: default;
  opacity: 0.38;
}

.sg-development-home-page .dh-similar__controls svg {
  width: 23px;
  height: 23px;
}

.sg-development-home-page .dh-similar__status {
  min-width: 92px;
  color: var(--bp-muted, #aaa69d);
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.sg-development-home-page .dh-similar__instructions {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.sg-development-home-page .dh-similar__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--bp-gold, #d8b04c) #171814;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.sg-development-home-page .dh-similar__viewport:focus-visible {
  outline: 2px solid var(--bp-gold, #d8b04c);
  outline-offset: 6px;
}

.sg-development-home-page .dh-similar__track {
  width: 100%;
  min-width: 100%;
  display: flex;
  align-items: stretch;
  gap: var(--dh-similar-gap);
  margin: 0;
  padding: 0 0 18px;
}

.sg-development-home-page .dh-similar .bp-property-card {
  flex: 0 0 calc((100% - (var(--dh-similar-gap) * 3)) / 3.2);
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
}

.sg-development-home-page .dh-similar .bp-property-card__media {
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: #000;
}

.sg-development-home-page .dh-similar .bp-property-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 280ms ease;
}

.sg-development-home-page .dh-similar .dh-card--plan .bp-property-card__media img.dh-media--plan {
  padding: 12px;
}

.sg-development-home-page .dh-similar .bp-property-card:hover .bp-property-card__media img {
  transform: scale(1.018);
}

.sg-development-home-page .dh-similar .dh-card--plan:hover .bp-property-card__media img.dh-media--plan {
  transform: none;
}

.sg-development-home-page .dh-similar .bp-property-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.sg-development-home-page .dh-similar .bp-property-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.sg-development-home-page .dh-similar .bp-property-card__body .bp-button {
  margin-top: auto;
}

/* Keep WordPress/theme list rules from turning the residence trail into a numbered stack. */
.sg-development-home-page .bp-breadcrumb.bp-breadcrumbs ol {
  width: 100%;
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sg-development-home-page .bp-breadcrumb.bp-breadcrumbs li {
  min-width: 0;
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sg-development-home-page .bp-breadcrumb.bp-breadcrumbs li::marker {
  content: "";
}

/* Single-residence overlays always fill the viewport, with a reachable close control. */
.sg-development-home-page dialog.bp-lightbox,
.sg-development-home-page dialog.bp-enquiry-dialog {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw !important;
  max-width: none !important;
  max-inline-size: none !important;
  height: 100dvh !important;
  max-height: none !important;
  max-block-size: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.sg-development-home-page .bp-lightbox__topbar,
.sg-development-home-page .bp-enquiry-topbar {
  position: relative;
  padding-right: clamp(84px, 10vw, 150px);
}

.sg-development-home-page .bp-lightbox__topbar > [data-bp-lightbox-close],
.sg-development-home-page .bp-enquiry-topbar > [data-bp-enquiry-close] {
  position: absolute !important;
  top: 10px !important;
  right: clamp(14px, 2vw, 30px) !important;
  z-index: 5 !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}

@media (max-width: 980px) {
  .sg-development-home-page .dh-similar .bp-property-card {
    flex-basis: calc((100% - (var(--dh-similar-gap) * 2)) / 2.2);
  }
}

@media (max-width: 760px) {
  .sg-development-home-page .dh-project-link-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sg-development-home-page .dh-project-link-section .bp-button {
    width: 100%;
    justify-content: center;
  }

  .sg-development-home-page .dh-page--plan-first .bp-gallery-preview__item--main img {
    padding: 10px;
  }

  .sg-development-home-page .dh-similar__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .sg-development-home-page .dh-similar__controls {
    width: 100%;
    justify-content: space-between;
  }

  .sg-development-home-page .dh-similar .bp-property-card {
    flex-basis: calc((100% - var(--dh-similar-gap)) / 1.12);
  }

  .sg-development-home-page .bp-breadcrumb.bp-breadcrumbs ol {
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .sg-development-home-page .bp-breadcrumb.bp-breadcrumbs li:last-child {
    min-width: 0;
    flex: 1;
  }

  .sg-development-home-page .bp-lightbox__topbar,
  .sg-development-home-page .bp-enquiry-topbar {
    padding-right: 82px;
  }
}

/* Shared listing visual contract: single homes and project pages use the same
   palette, type, spacing, media treatment and card language. */
body.sg-development-home-page,
.sg-development-home-page .dh-page,
.sg-development-home-page dialog.bp-lightbox,
.sg-development-home-page dialog.bp-enquiry-dialog {
  --sg-page: #050505;
  --sg-surface: #0a0a08;
  --sg-surface-raised: #0e0f0c;
  --sg-ink: #f7f4ec;
  --sg-muted: #b8b4aa;
  --sg-faint: #8e8a80;
  --sg-gold: #e0bb35;
  --sg-gold-light: #f2d879;
  --sg-line: rgba(255, 255, 255, 0.16);
  --sg-gold-line: rgba(224, 187, 53, 0.5);
  --dh-plan-canvas: #f7f4ec;
  --sg-radius: 8px;
  --sg-section-y: clamp(76px, 8vw, 116px);
  --bp-black: var(--sg-page);
  --bp-ink: var(--sg-page);
  --bp-panel: var(--sg-surface-raised);
  --bp-cream: var(--sg-ink);
  --bp-gold: var(--sg-gold);
  --bp-gold-soft: var(--sg-gold-light);
  --bp-muted: var(--sg-muted);
  --bp-line: var(--sg-line);
  --bp-serif: Inter, Arial, sans-serif;
  --bp-sans: Inter, Arial, sans-serif;
  background: var(--sg-page);
  color: var(--sg-ink);
}

.sg-development-home-page .dh-page {
  overflow: clip;
  background: var(--sg-page);
  color: var(--sg-ink);
}

.sg-development-home-page .bp-container {
  width: 100%;
  max-width: 1368px;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

.sg-development-home-page .bp-breadcrumb {
  padding-top: 28px;
  color: var(--sg-faint);
  font-size: 16px;
}

.sg-development-home-page .bp-property-heading {
  max-width: 1150px;
  padding: clamp(54px, 6vw, 82px) 0 clamp(42px, 5vw, 64px);
}

.sg-development-home-page .bp-property-heading h1 {
  max-width: 1080px;
  margin-top: 16px;
  color: var(--sg-ink);
  font-family: Inter, Arial, sans-serif;
	font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.sg-development-home-page .bp-property-price {
  margin-top: 26px;
  color: var(--sg-ink);
  font-family: Inter, Arial, sans-serif;
	font-size: clamp(28px, 3vw, 40px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.sg-development-home-page .bp-property-location {
  color: var(--sg-muted);
}

.sg-development-home-page .bp-gallery-section {
	width: 100vw;
	max-width: none;
	height: clamp(600px, 47vw, 760px);
	display: grid;
	grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
	align-items: stretch;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	border-top: 1px solid var(--bp-line, #30312c);
	border-bottom: 1px solid var(--bp-line, #30312c);
	background: #0b0b0a;
}

.sg-development-home-page .dh-media-label {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: clamp(48px, 5vw, 76px) clamp(34px, 4vw, 62px) clamp(48px, 5vw, 76px) max(48px, calc((100vw - 1360px) / 2));
	border: 0;
	background: #0b0b0a;
}

.sg-development-home-page .dh-media-label .bp-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: var(--sg-gold-light);
  white-space: nowrap;
}

.sg-development-home-page .dh-media-label .bp-eyebrow::before {
  width: 32px;
  height: 1px;
  flex: 0 0 32px;
  background: var(--sg-gold);
  content: "";
}

.sg-development-home-page .dh-media-label h2 {
	max-width: 500px;
	margin: 52px 0 0;
	color: var(--sg-ink);
	font-family: Inter, Arial, sans-serif;
	font-size: clamp(42px, 4.3vw, 64px);
	font-weight: 520;
	line-height: 1.04;
	letter-spacing: -0.055em;
}

.sg-development-home-page .dh-media-label > p:last-child {
	max-width: 440px;
	margin: 22px 0 30px;
  color: var(--sg-muted);
	font-size: 16px;
	line-height: 1.7;
}

.sg-development-home-page .gallery-controls {
	display: flex;
	align-items: center;
	gap: 18px;
}

.sg-development-home-page .gallery-controls button {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--bp-line, #30312c);
	border-radius: 0;
	cursor: pointer;
	background: transparent;
	color: var(--sg-ink);
	font-size: 23px;
}

.sg-development-home-page .gallery-controls button:hover,
.sg-development-home-page .gallery-controls button:focus-visible {
	border-color: var(--sg-gold);
}

.sg-development-home-page .gallery-controls span {
	color: #77756e;
	font-size: 14px;
	letter-spacing: 0.1em;
}

.sg-development-home-page .gallery-visual,
.sg-development-home-page .gallery-stage {
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
}

.sg-development-home-page .gallery-stage {
	position: relative;
	overflow: hidden;
	background: #171716;
}

.sg-development-home-page .dh-gallery-stage-button {
	width: 100%;
	height: 100%;
	display: block;
	padding: 0;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	background: transparent;
}

.sg-development-home-page .dh-gallery-stage-button img {
	width: 100%;
	height: 100%;
	display: block;
	padding: 0;
	object-fit: cover !important;
	background: #171716;
	filter: saturate(0.72) contrast(1.03);
}

.sg-development-home-page .bp-gallery-preview__all {
	min-height: 50px;
	position: absolute;
	right: 20px;
	bottom: 18px;
	z-index: 3;
	border-radius: 2px;
	background: rgba(247, 244, 236, 0.97);
	font-family: Inter, Arial, sans-serif;
}

.sg-development-home-page .bp-property-overview,
.sg-development-home-page .bp-property-content {
  width: min(100%, 1150px);
  margin-inline: auto;
}

.sg-development-home-page .bp-key-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 32px 0;
  border: 0;
}

.sg-development-home-page .bp-key-facts li {
  min-width: 0;
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sg-ink);
}

.sg-development-home-page .bp-key-facts li:first-child {
  padding-left: 16px;
}

.sg-development-home-page .dh-key-fact__icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid var(--sg-gold-line);
  border-radius: 50%;
  color: var(--sg-gold-light);
  background: rgba(224, 187, 53, 0.06);
}

.sg-development-home-page .dh-key-fact__icon .bp-icon {
	width: 19px;
	height: 19px;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	shape-rendering: geometricPrecision;
}

.sg-development-home-page .dh-key-fact__icon .bp-icon :is(path, rect, circle) {
	vector-effect: non-scaling-stroke;
}

.sg-development-home-page .dh-key-fact__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.sg-development-home-page .dh-key-fact__copy small {
  color: var(--sg-faint);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sg-development-home-page .dh-key-fact__copy strong {
  color: var(--sg-ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.sg-development-home-page .bp-primary-cta {
  margin-top: 0;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--sg-gold-line);
  border-bottom: 1px solid var(--sg-gold-line);
  background: transparent;
}

.sg-development-home-page .bp-property-content .bp-section {
  padding: var(--sg-section-y) 0;
}

.sg-development-home-page :is(.bp-section, .bp-section-heading) h2,
.sg-development-home-page .dh-similar__heading h2,
.sg-development-home-page .bp-property-question h2 {
  color: var(--sg-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 540;
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.sg-development-home-page .bp-property-question h2 {
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.08;
}

.sg-development-home-page :is(.bp-section, .bp-property-card, .bp-enquiry-dialog) h3,
.sg-development-home-page .bp-lightbox__topbar p {
  font-family: Inter, Arial, sans-serif;
}

.sg-development-home-page .bp-eyebrow {
  color: var(--sg-gold-light);
  font-size: 13px;
  letter-spacing: 0.13em;
}

.sg-development-home-page .bp-button {
  min-height: 58px;
  padding: 15px 30px;
  border-radius: 2px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.085em;
}

.sg-development-home-page .dh-disclosure,
.sg-development-home-page .dh-project-link-section,
.sg-development-home-page .bp-property-question__panel,
.sg-development-home-page .bp-enquiry-context {
  border: 0;
  border-top: 1px solid var(--sg-gold-line);
  border-radius: 0;
  background: transparent;
}

.sg-development-home-page .dh-project-link-section {
  padding-inline: 0;
  background: transparent;
}

.sg-development-home-page .bp-detail-list div,
.sg-development-home-page .bp-feature-list li {
  border-color: var(--sg-line);
}

.sg-development-home-page .bp-property-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--sg-radius);
  background: var(--sg-surface);
  box-shadow: none;
}

.sg-development-home-page .bp-property-card:hover {
  border: 0;
}

.sg-development-home-page .dh-similar .bp-property-card__body h3 a {
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.sg-development-home-page .bp-enquiry-welcome__copy h2,
.sg-development-home-page .bp-enquiry-step legend,
.sg-development-home-page .bp-enquiry-success h3 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 540;
  letter-spacing: -0.05em;
}

.sg-development-home-page .bp-enquiry-shell,
.sg-development-home-page .bp-lightbox__shell {
  background: var(--sg-page);
}

@media (max-width: 1020px) {
  .sg-development-home-page .bp-key-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.sg-development-home-page,
  .sg-development-home-page .dh-page {
    --sg-section-y: 60px;
  }

  .sg-development-home-page .bp-container {
    padding-inline: 20px;
  }

  .sg-development-home-page .bp-breadcrumb {
    padding-top: 20px;
  }

  .sg-development-home-page .bp-property-heading {
    padding: 46px 0 38px;
  }

	.sg-development-home-page .bp-property-heading h1 {
		font-size: clamp(34px, 10vw, 46px);
	}

	.sg-development-home-page .bp-property-price {
		font-size: clamp(26px, 8vw, 34px);
	}

	.sg-development-home-page .bp-gallery-section {
		height: auto;
		grid-template-columns: minmax(0, 1fr);
	}

	.sg-development-home-page .dh-media-label {
		height: auto;
		padding: 50px 20px 36px;
  }

  .sg-development-home-page .dh-media-label .bp-eyebrow {
    white-space: normal;
  }

	.sg-development-home-page .dh-media-label h2 {
		margin-top: 34px;
		font-size: clamp(38px, 11vw, 53px);
  }

	.sg-development-home-page .gallery-visual,
	.sg-development-home-page .gallery-stage {
		height: clamp(300px, 78vw, 430px);
		min-height: 300px;
	}

	.sg-development-home-page .gallery-controls button {
		width: 56px;
		height: 56px;
	}

	.sg-development-home-page .bp-gallery-preview__all {
		width: auto;
		top: auto;
		right: 12px;
		bottom: 12px;
		left: auto;
  }

  .sg-development-home-page .bp-key-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sg-development-home-page .bp-key-facts li {
    min-height: 86px;
    padding: 13px;
  }

  .sg-development-home-page .bp-key-facts li:first-child {
    padding-left: 13px;
  }

  .sg-development-home-page .dh-key-fact__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .sg-development-home-page .bp-primary-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sg-development-home-page .bp-primary-cta .bp-button {
    width: 100%;
  }

  .sg-development-home-page :is(.bp-section, .bp-section-heading) h2,
  .sg-development-home-page .dh-similar__heading h2,
	.sg-development-home-page .bp-property-question h2 {
		font-size: clamp(30px, 8.5vw, 38px);
	}
}

@media (max-width: 430px) {
  .sg-development-home-page .bp-key-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* All mobile residence actions keep their complete label on one line. The
   sizing compresses at narrow widths instead of wrapping or clipping text. */
@media (max-width: 760px) {
  body.sg-development-home-page :is(
    .elementor-location-header,
    .elementor-location-footer
  ) a.elementor-button {
    white-space: nowrap !important;
  }

  .sg-development-home-page :is(
    button,
    a.bp-button,
    .bp-gallery-preview__all,
    .bp-enquiry-close,
    .bp-enquiry-brand
  ) {
    white-space: nowrap;
  }

  .sg-development-home-page .bp-button {
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    padding-inline: clamp(12px, 4.5vw, 22px);
    font-size: clamp(10.5px, 3.5vw, 14px);
    line-height: 1;
    letter-spacing: clamp(0.02em, 0.55vw, 0.075em);
  }

  .sg-development-home-page .bp-gallery-preview__all {
    max-width: calc(100% - 24px);
    gap: 7px;
    padding-inline: clamp(10px, 3.8vw, 16px);
    font-size: clamp(10.5px, 3.5vw, 14px);
  }

  .sg-development-home-page .bp-enquiry-option {
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    padding-inline: 12px;
    font-size: clamp(9.5px, 3.6vw, 15px);
    letter-spacing: 0;
  }

  .sg-development-home-page .bp-enquiry-actions .bp-button {
    padding-inline: 10px;
  }

  .sg-development-home-page .bp-contact-link {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 320px) {
  body.sg-development-home-page .elementor-location-footer .sg-region summary {
    gap: 3px;
    padding-inline: 4px;
    font-size: clamp(10px, 4vw, 12px);
    white-space: nowrap;
  }
}

/* Icon-only and close controls use a solid, continuous focus treatment. This
   overrides the base broker stylesheet's detached outline without weakening
   focus visibility for links, form fields, or privacy controls. */
body.sg-development-home-page :is(
  .dh-similar__controls button,
  .bp-lightbox button.bp-lightbox__nav,
  .bp-lightbox__topbar > button[data-bp-lightbox-close],
  .bp-enquiry-topbar > button[data-bp-enquiry-close]
):is(:hover, :focus-visible) {
  border-color: var(--sg-gold, #e0bb35) !important;
  background: var(--sg-gold, #e0bb35) !important;
  background-color: var(--sg-gold, #e0bb35) !important;
  color: #080807 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
}

body.sg-development-home-page .bp-lightbox__topbar > button[data-bp-lightbox-close] > span {
  color: inherit !important;
}

body.sg-development-home-page :is(
  .dh-similar__controls button,
  .bp-lightbox button.bp-lightbox__nav,
  .bp-lightbox__topbar > button[data-bp-lightbox-close],
  .bp-enquiry-topbar > button[data-bp-enquiry-close]
):focus-visible {
  box-shadow: 0 0 0 2px var(--sg-gold-light, #f2d879) !important;
}

/* Keep the residence gallery identical to the project gallery. */
body.sg-development-home-page section[data-dh-project-gallery] {
  height: clamp(600px, 47vw, 760px) !important;
  min-height: 0 !important;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr) !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

body.sg-development-home-page section[data-dh-project-gallery] .gallery-copy,
body.sg-development-home-page section[data-dh-project-gallery] .gallery-visual {
  height: 100% !important;
  min-height: 0 !important;
  align-self: stretch !important;
}

body.sg-development-home-page section[data-dh-project-gallery] .gallery-copy {
  padding: clamp(48px, 5vw, 76px) clamp(34px, 4vw, 62px) clamp(48px, 5vw, 76px) max(48px, calc((100vw - 1360px) / 2)) !important;
}

body.sg-development-home-page section[data-dh-project-gallery] .gallery-copy h2 {
  max-width: 500px !important;
  margin: 0 !important;
  font-size: clamp(42px, 4.3vw, 64px) !important;
}

body.sg-development-home-page section[data-dh-project-gallery] .gallery-copy > p:not(.section-label):not(.bp-eyebrow) {
  max-width: 450px !important;
  margin: 22px 0 30px !important;
}

body.sg-development-home-page section[data-dh-project-gallery] .gallery-controls button,
body.sg-development-home-page section[data-dh-project-gallery] .gallery-controls button:is(:focus, :active) {
  width: 56px !important;
  height: 56px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #f7f4ec !important;
  font-size: 23px !important;
  line-height: 1 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.sg-development-home-page section[data-dh-project-gallery] .gallery-controls button:is(:hover, :focus-visible) {
  border-color: #e0bb35 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #f7f4ec !important;
}

body.sg-development-home-page section[data-dh-project-gallery] .gallery-controls button:disabled {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #77756e !important;
  cursor: default !important;
  opacity: 0.7 !important;
}

@media (max-width: 980px) {
  body.sg-development-home-page section[data-dh-project-gallery] {
    height: auto !important;
    grid-template-columns: 1fr !important;
  }

  body.sg-development-home-page section[data-dh-project-gallery] .gallery-copy {
    height: auto !important;
    padding: 72px clamp(24px, 7vw, 64px) 48px !important;
  }

  body.sg-development-home-page section[data-dh-project-gallery] .gallery-visual {
    height: min(62vw, 540px) !important;
    min-height: 430px !important;
  }
}

@media (max-width: 760px) {
  body.sg-development-home-page section[data-dh-project-gallery] .gallery-copy {
    padding: 48px 18px 30px !important;
  }

  body.sg-development-home-page section[data-dh-project-gallery] .gallery-copy h2 {
    font-size: clamp(36px, 10vw, 48px) !important;
  }

  body.sg-development-home-page section[data-dh-project-gallery] .gallery-visual {
    height: clamp(300px, 90vw, 400px) !important;
    min-height: 300px !important;
  }
}
