.hero h1, .hero .h1{
	text-transform: uppercase;
	letter-spacing: 0.2em;
}
@media all and (max-width: 768px){
figcaption {
    letter-spacing: 1px;
    font-size: 8px;
    line-height: 14px;
}

figure figcaption{
	--offset: 5px;
}
	.three_column_logo_and_text__grid img{
		max-width: 100%;
		height: auto;
	}
}

/* Privacy policy tables */
.pp-table-wrap { overflow-x: auto; margin: 8px 0 20px; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.pp-table th, .pp-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(26,26,24,.14); }
.pp-table thead th { font-weight: 600; border-bottom: 2px solid currentColor; }
.pp-table tbody th { font-weight: 600; min-width: 140px; }
.pp-table tbody tr:nth-child(odd) { background: rgba(26,26,24,.04); }
.pp-table td ul { margin: 0; padding-left: 18px; }
.pp-table td li { margin-bottom: 4px; }
@media (max-width: 600px) { .pp-table { min-width: 560px; } }

/* Mobile touch-scroll fix: with overflow-x:hidden on BOTH html and body, body becomes
   its own scroll container and overscroll-behavior:none (main.min.css) stops touch
   swipes from chaining to the page. Keep it on body only (it propagates to the viewport). */
html { overflow-x: visible; }

#enquire-tab {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 70;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: 100% 100%;
    margin-top: -1px;
    background: #000;
    color: #fff;
    border: 0;
    padding: 12px 26px;
    font-size: 12.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}
/* Hero banner: the creative has the RERA details built into the image, so it must never be
   cropped. Show it full-width at its natural aspect ratio instead of the theme's 100svh cover. */
.hero,
.hero figure.hero__banner {
	height: auto;
}
.hero figure.hero__banner img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: initial;
}
@media (max-width: 768px) {
	#enquire-tab {
		padding: 10px 20px;
		font-size: 11px;
	}
}

/* Images carry width/height attributes (reserves space, no layout jump while loading);
   zero-specificity so any theme rule that sizes an image still wins. */
:where(img[width][height]) {
	height: auto;
	max-width: 100%;
}

/* ===== Enquiry popup (#enquire-modal) ===== */
.enquire-modal {
	position: fixed;
	inset: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity .3s ease;
}
.enquire-modal[hidden] { display: none; }
.enquire-modal.is-open { opacity: 1; }
html.enquire-modal-open, html.enquire-modal-open body { overflow: hidden; }
.enquire-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .82);
	backdrop-filter: blur(6px);
}
.enquire-modal__panel {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 40px);
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
	background: #111;
	color: #e7eae3;
	border: 1px solid rgba(231, 234, 227, .22);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
	padding: clamp(28px, 4vw, 48px);
	transform: translateY(16px) scale(.98);
	transition: transform .3s ease;
	outline: none;
}
/* the theme's teal "LR" watermark clashes on black – keep it as a faint neutral mark */
.enquire-modal__panel.form:before {
	opacity: .12;
	filter: grayscale(1) brightness(2.2);
}
.enquire-modal__panel > :not(.enquire-modal__close) { position: relative; z-index: 2; }
.enquire-modal__panel > .enquire-modal__close { z-index: 3; }
.enquire-modal.is-open .enquire-modal__panel { transform: none; }
.enquire-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #e7eae3;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
}
.enquire-modal__close:hover, .enquire-modal__close:focus-visible { opacity: 1; }
.enquire-modal__close:focus-visible { outline: 1px solid #e7eae3; outline-offset: 2px; }
.enquire-modal__title {
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	margin: 0 32px 10px 0;
	color: inherit;
}
.enquire-modal__text {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.5;
	opacity: .9;
}
.enquire-modal .form .gform_wrapper,
.enquire-modal .gform_wrapper {
	border: 0;
	padding: 0;
	max-width: none;
}
.enquire-modal .gform_wrapper .gform_fields { row-gap: 26px !important; }

/* ===== Sticky bottom enquiry bar (#enquire-sticky, ≥992px) ===== */
.enquire-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	background: #042b2f;
	color: #e7eae3;
	border-top: 1px solid rgba(231, 234, 227, .35);
	box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
	padding: 14px 0 10px;
	transform: translateY(110%);
	visibility: hidden;
	transition: transform .35s ease, visibility 0s linear .35s;
}
.enquire-sticky.is-visible {
	transform: none;
	visibility: visible;
	transition: transform .35s ease, visibility 0s;
}
.enquire-sticky__form {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "title fields submit" "consent consent consent";
	align-items: end;
	column-gap: clamp(20px, 2.5vw, 40px);
	row-gap: 6px;
	position: relative;
}
.enquire-sticky__title {
	grid-area: title;
	margin: 0;
	padding-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: .16em;
	font-size: 13px;
	white-space: nowrap;
}
.enquire-sticky .gform_body { grid-area: fields; }
.enquire-sticky .gform_fields.enquire-sticky__fields {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(16px, 2vw, 32px);
	row-gap: 0 !important;
}
.enquire-sticky .gform_body input {
	width: 100%;
	padding-block-end: 8px !important;
	padding-top: 4px !important;
	font-size: 16px !important;
}
.enquire-sticky .gfield_label,
.enquire-sticky .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.enquire-sticky .gform_footer {
	grid-area: submit;
	margin-top: 0 !important;
	position: static;
}
.enquire-sticky .form-submit-error {
	position: absolute;
	right: 0;
	bottom: calc(100% + 18px);
	margin: 0 !important;
	padding: 6px 12px;
	background: #fff;
	font-size: 13px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.enquire-sticky__consent {
	grid-area: consent;
	margin: 0;
	font-size: 11px;
	opacity: .75;
	text-align: right;
}
.enquire-sticky__consent a { color: inherit; }
/* keep the side tab clear of the bar */
@media (min-width: 992px) {
	.enquire-sticky .container-fluid { padding-right: 70px; }
}

.enquire-sticky:before { display: none; }


/* Screen-reader-only text (used by the homepage H1) */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
