/* =========================================================
   loves-bay-kiama — main.css
   Header + Hero (section-hero)

   Global design tokens (draft v1 — adjust here when the
   palette/typography is finalized):
     Canvas........ Soft White  #FAF9F6  (body background)
     Sections...... Warm Ivory  #F4F1EB  (card / block feel)
                    Sand Beige  #DDD3C5  (deeper blocks)
     Accent........ Stone Taupe #B5A99B  (1px borders)
     Text.......... Charcoal    #343631
     Headings...... Bodoni Moda, 400
     Body.......... Nunito Sans, 1.6–1.8 line-height

   Fonts (enqueued in functions.php): Bodoni Moda, Nunito Sans
   ========================================================= */

:root {
	/* typography */
	--serif: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
	--sans: 'Nunito Sans', 'Helvetica Neue', Arial, sans-serif;

	/* color tokens */
	--soft-white: #FAF9F6;
	--ivory: #F4F1EB;
	--sand: #DDD3C5;
	--taupe: #B5A99B;
	--charcoal: #343631;
	--white: #ffffff;
	--ink: #343631; /* alias for text on light surfaces */

	/* motion & layout */
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 108px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* anchor targets clear the fixed header */
section[id] { scroll-margin-top: 90px; }

/* section titles: Bodoni Moda italic */
.section-intro__title,
.section-inspiration__title,
.section-architecture__title,
.section-spaces__title,
.section-living__title,
.section-location__title,
.section-amenities__title,
.enquiry__title {
	font-style: italic;
}

body {
	font-family: var(--sans);
	background: var(--white);
	color: var(--charcoal);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

/* ================= HEADER ================= */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	padding: 0 64px;
	color: var(--white);
	background: transparent;
	transition: background 0.55s var(--ease-out), height 0.55s var(--ease-out),
		box-shadow 0.55s var(--ease-out), color 0.55s var(--ease-out);
}

/* scrolled: white bar, dark text, shorter height */
.site-header.is-scrolled {
	background: var(--white);
	color: var(--ink);
	height: 76px;
	box-shadow: 0 1px 0 rgba(52, 54, 49, 0.08);
}

/* entrance animation (first page load) */
body.home .site-header {
	opacity: 0;
	transform: translateY(-12px);
	animation: lbk-fade-down 1.2s var(--ease-out) 0.9s forwards;
}
@keyframes lbk-fade-down {
	to { opacity: 1; transform: translateY(0); }
}

/* ---- left nav ---- */
.site-header__nav {
	display: flex;
	align-items: center;
	gap: clamp(24px, 2.6vw, 42px);
}
.site-header__nav a {
	position: relative;
	color: inherit;
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}
.site-header__nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s var(--ease-out);
}
.site-header__nav a:hover { opacity: 0.55; }
.site-header__nav a:hover::after,
.site-header__nav a.is-active::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* ---- logo cluster ---- */
.site-header__logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
	text-decoration: none;
}

/* both mark variants stacked in one grid cell for a crossfade swap */
.site-header__logo-marks {
	display: grid;
	justify-items: center;
}
.site-header__logo-marks > img {
	grid-area: 1 / 1;
	width: 60px;
	height: auto;
	transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
}
.site-header__logo-mark--light { opacity: 1; transform: translateY(0); }
.site-header__logo-mark--dark  { opacity: 0; transform: translateY(-10px); }

.site-header__logo-name {
	display: block;
	width: 150px;          /* adjust to your brand-name.png aspect ratio */
	height: auto;
	margin-top: 10px;
	max-height: 40px;
	transition: opacity 0.35s ease, visibility 0.35s, transform 0.45s var(--ease-out),
		margin 0.55s var(--ease-out), max-height 0.55s var(--ease-out);
}

/* scrolled (Kalesma-style swap):
   the white lockup fades & lifts away, the dark icon drops in */
.site-header.is-scrolled .site-header__logo-name {
	opacity: 0;
	visibility: hidden;
	max-height: 0;
	margin-top: 0;
	transform: translateY(-8px);
}
.site-header.is-scrolled .site-header__logo-mark--light {
	opacity: 0;
	transform: translateY(-8px);
}
.site-header.is-scrolled .site-header__logo-mark--dark {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.12s;
}

/* ---- right cluster: phone + enquire ---- */
.site-header__actions {
	margin-left: auto; /* pin to the right edge */
	display: flex;
	align-items: center;
	gap: 36px;
}

.site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.18em;
	transition: opacity 0.3s;
}
.site-header__phone svg { width: 15px; height: 15px; }
.site-header__phone:hover { opacity: 0.6; }

/* white pill button on the transparent hero */
.site-header__enquire {
	display: inline-block;
	padding: 13px 36px;
	border: 1px solid var(--white);
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out),
		border-color 0.45s var(--ease-out);
}
.site-header__enquire:hover {
	background: transparent;
	color: var(--white);
}

/* scrolled: outlined dark button on the white bar */
.site-header.is-scrolled .site-header__enquire {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}
.site-header.is-scrolled .site-header__enquire:hover {
	background: var(--ink);
	color: var(--white);
}


/* ================= HERO ================= */
.hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
	background: var(--charcoal); /* avoids flash before first image loads */
}

/* ---- slides ---- */
.hero__slides {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.6s ease;
	will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
}
.hero__slide.is-active img {
	animation: lbk-kenburns 6.5s var(--ease-out) forwards;
}
@keyframes lbk-kenburns {
	from { transform: scale(1.12); }
	to   { transform: scale(1.0); }
}

/* ---- overlay ---- */
.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	/* stronger darkening — the white lockup and copy sit on top of the video */
	background: linear-gradient(to bottom,
		rgba(0, 0, 0, 0.22) 0%,
		rgba(0, 0, 0, 0.12) 30%,
		rgba(0, 0, 0, 0.14) 65%,
		rgba(0, 0, 0, 0.32) 100%);
	pointer-events: none;
}

/* ---- center content ---- */
.hero__content {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	pointer-events: none;
}

/* large lockup above the hero title */
.hero__logo {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: clamp(24px, 10vh, 120px);
}
.hero__logo img {
	display: block;
	width: min(600px, 80vw);
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.35));
}

/* poster heading: Bodoni Moda 400, wide contrast strokes */
.hero__title {
	width: 100%;
	text-align: center;
	font-family: var(--sans);
	font-weight: 400;
	font-size: clamp(18px, 4vw, 24px);
	line-height: 1.18;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--white);
	text-shadow: 0 1px 30px rgba(0, 0, 0, 0.15);
}

/* mask reveal per line */
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
	display: block;
	transform: translateY(110%);
	animation: lbk-line-up 1.4s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.5s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.68s; }
@keyframes lbk-line-up {
	to { transform: translateY(0); }
}

.hero__cta {
	margin-top: 44px;
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	color: var(--white);
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	cursor: pointer;
	padding: 8px 2px;
	position: relative;
	opacity: 0;
	animation: lbk-fade-in 1.2s ease 1.3s forwards;
}
.hero__cta::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 1px;
	background: var(--white);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.55s var(--ease-out);
}
.hero__cta:hover::after { transform: scaleX(1); transform-origin: left; }
.hero__cta .chevron {
	display: inline-block;
	font-family: var(--serif);
	font-size: 16px;
	line-height: 1;
	transition: transform 0.45s var(--ease-out);
}
.hero__cta:hover .chevron { transform: translateX(5px); }
@keyframes lbk-fade-in { to { opacity: 1; } }

/* ---- slide progress bar ---- */
.hero__progress {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 6;
	height: 2px;
	background: rgba(255, 255, 255, 0.18);
}
.hero__progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--white);
}
.hero__progress span.run { animation: lbk-progress 6.5s linear forwards; }
@keyframes lbk-progress { from { width: 0; } to { width: 100%; } }

/* ---- scroll hint ---- */
.hero__scroll {
	position: absolute;
	bottom: 34px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	width: 1px;
	height: 56px;
	background: rgba(255, 255, 255, 0.3);
	overflow: hidden;
}
.hero__scroll::after {
	content: "";
	position: absolute;
	top: -100%; left: 0;
	width: 100%; height: 100%;
	background: var(--white);
	animation: lbk-scroll-hint 2.2s var(--ease-out) infinite;
}
@keyframes lbk-scroll-hint {
	0%   { top: -100%; }
	55%  { top: 0; }
	100% { top: 100%; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
	.site-header { padding: 0 20px; }

	/* mobile: nav hidden, only logo at top */
	.site-header__nav { display: none; }

	/* at top of page on mobile: only centered logo + brand name */
	.site-header__actions { display: none; }

	/* scrolled on mobile: logo moves left, phone icon + enquire appear right */
	.site-header.is-scrolled .site-header__actions {
		display: flex;
		gap: 22px;
	}
	.site-header.is-scrolled .site-header__logo {
		left: 20px;
		transform: none;
	}
	.site-header__phone span { display: none; } /* icon only */
	.site-header__enquire { padding: 11px 22px; font-size: 11px; }
	.site-header__logo-name { width: 120px; }
}


/* ================= SECTION INTRO ================= */
.section-intro {
	background: var(--white);
	padding: clamp(72px, 10vw, 140px) clamp(24px, 6vw, 96px);
}

.section-intro__inner {
	max-width: 1560px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.04fr 1fr;
	gap: clamp(48px, 7vw, 180px);
	align-items: center;
}

/* ---- image column ---- */
.section-intro__media {
	position: relative;
	overflow: hidden;
}
.section-intro__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 1.6s var(--ease-out);
}
.section-intro.is-visible .section-intro__media img {
	transform: scale(1);
}

/* ---- text column ---- */
.section-intro__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(38px, 4.2vw, 52px);
	line-height: 1.28;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}

/* mask reveal per line (activated by .is-visible from main.js) */
.section-intro__title .line { display: block; overflow: hidden; }
.section-intro__title .line > span {
	display: block;
	transform: translateY(110%);
	transition: transform 1.1s var(--ease-out);
}
.section-intro.is-visible .section-intro__title .line:nth-child(1) > span { transition-delay: 0.15s; transform: translateY(0); }
.section-intro.is-visible .section-intro__title .line:nth-child(2) > span { transition-delay: 0.3s; transform: translateY(0); }

.section-intro__body {
	margin-top: clamp(32px, 3.4vw, 52px);
	max-width: 520px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--charcoal);
}
.section-intro__body p + p { margin-top: 26px; }

.section-intro__tagline {
	margin-top: clamp(56px, 6vw, 88px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1d1f1a;
}

/* fade-up reveal */
.section-intro__body,
.section-intro__tagline {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-intro.is-visible .section-intro__body   { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.section-intro.is-visible .section-intro__tagline { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }

@media (max-width: 900px) {
	.section-intro__inner { grid-template-columns: 1fr; }
	/* text column first, image below */
	.section-intro__content { order: -1; }
	.section-intro__media { order: 1; padding: 0 20px; } /* breathing room around the portrait image */
	.section-intro__body { max-width: 100%; }
}


/* ================= SECTION CAROUSEL ================= */
.section-carousel {
	background: var(--white);
	padding: clamp(40px, 6vw, 60px) 0; /* full-bleed image */
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-carousel.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.carousel {
	position: relative;
	width: 100%;
}

/* ---- viewport & track ---- */
.carousel__viewport {
	overflow: hidden;
}
.carousel__track {
	display: flex;
	transition: transform 0.9s var(--ease-out);
}
.carousel__slide {
	flex: 0 0 100%;
	min-width: 0;
	display: flex;
	justify-content: center;
}
.carousel__slide img {
	display: block;
	/* width-first: full screen, capped at 2160px so ultrawide monitors don't over-crop */
	width: min(100vw, 2160px);
	height: 85vh;          /* fill the height, crop top/bottom via cover */
	object-fit: cover;
	object-position: center;
}

/* ---- arrows: white circle buttons (same language as the gallery cue) ---- */
.carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(52, 54, 49, 0.12);
	border-radius: 999px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
	color: var(--charcoal);
	cursor: pointer;
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.carousel__arrow svg { width: 18px; height: 18px; }
.carousel__arrow--prev { left: clamp(14px, 3vw, 44px); }
.carousel__arrow--next { right: clamp(14px, 3vw, 44px); }
.carousel__arrow--prev:hover { transform: translateY(-50%) translateX(-4px); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14); }
.carousel__arrow--next:hover { transform: translateY(-50%) translateX(4px); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14); }

/* ---- dots ---- */
.carousel__dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}
.carousel__dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--taupe);
	opacity: 0.55;
	cursor: pointer;
	transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}
.carousel__dot.is-active {
	opacity: 1;
	transform: scale(1.35);
}

@media (max-width: 900px) {
	/* mobile: show the full CGI, no height crop */
	.carousel__slide img { width: 100%; height: auto; aspect-ratio: 3840 / 2557; }
	.carousel__arrow { width: 40px; height: 40px; }
	.carousel__dots { margin-top: 22px; }
}


/* ================= SECTION STATEMENT (纯文本过渡) ================= */
.section-statement {
	background: var(--white);
	text-align: center;
	padding: clamp(20px, 14vw, 60px) clamp(24px, 6vw, 96px);
}

.section-statement__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(34px, 4.6vw, 52px);
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}

.section-statement__body {
	margin: clamp(36px, 4vw, 52px) auto 0;
	max-width: 960px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--charcoal);
}

.section-statement__tagline {
	margin-top: clamp(56px, 6vw, 84px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1d1f1a;
}

/* fade-up reveal on scroll (activated by .is-visible from main.js) */
.section-statement__title,
.section-statement__body,
.section-statement__tagline {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-statement.is-visible .section-statement__title   { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-statement.is-visible .section-statement__body    { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.section-statement.is-visible .section-statement__tagline { opacity: 1; transform: translateY(0); transition-delay: 0.46s; }


/* ================= SECTION ARCHITECTURE ================= */
.section-architecture {
	background: var(--white);
	/* right edge bleeds to the screen (no right padding), per the design */
	padding: clamp(40px, 6vh, 60px) 0 clamp(40px, 6vh, 60px) clamp(24px, 8.5vw, 170px);
}

.section-architecture__inner {
	display: grid;
	/* left col ~24% / gap ~18% / right col ~50%, matching the design */
	grid-template-columns: 0.8fr 2.1fr;
	gap: clamp(48px, 8vw, 220px);
	align-items: end; /* portrait bottom aligns with the tagline bottom */
}

/* ---- left portrait image ---- */
.section-architecture__portrait {
	overflow: hidden;
	align-self: end;
}
.section-architecture__portrait img,
.section-architecture__portrait video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3; /* ~0.67, matches the design */
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 1.6s var(--ease-out);
}
.section-architecture.is-visible .section-architecture__portrait img,
.section-architecture.is-visible .section-architecture__portrait video { transform: scale(1); }

/* ---- right block: landscape image + text ---- */
.section-architecture__landscape {
	overflow: hidden;
}
.section-architecture__landscape img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 8 / 5; /* ~1.6, matches the design */
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 1.6s var(--ease-out);
}
.section-architecture.is-visible .section-architecture__landscape img { transform: scale(1); }

.section-architecture__title {
	margin-top: clamp(28px, 3vw, 44px);
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(34px, 3.8vw, 52px);
	line-height: 1.12;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}

.section-architecture__body {
	margin-top: clamp(20px, 2.4vw, 32px);
	max-width: 800px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--charcoal);
}

.section-architecture__tagline {
	margin-top: clamp(36px, 4vw, 56px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1d1f1a;
}

/* fade-up reveal */
.section-architecture__title,
.section-architecture__body,
.section-architecture__tagline {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-architecture.is-visible .section-architecture__title   { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.section-architecture.is-visible .section-architecture__body    { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.section-architecture.is-visible .section-architecture__tagline { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

@media (max-width: 900px) {
	.section-architecture { padding: 40px 0; }
	.section-architecture__inner { grid-template-columns: 1fr; }
	/* right block first (image + text), portrait image below */
	.section-architecture__main { order: -1; }
	.section-architecture__portrait { order: 1; padding: 0 24px; }
	/* text keeps side margins while the landscape image bleeds full-width */
	.section-architecture__title,
	.section-architecture__body,
	.section-architecture__tagline { padding: 0 24px; }
}


/* ================= SECTION SPACES ================= */
.section-spaces {
	background: var(--white);
	text-align: center;
	padding: clamp(40px, 6vh, 110px) clamp(24px, 6vw, 96px) clamp(40px, 6vh, 110px);
}

.section-spaces__media {
	max-width: 860px;
	margin: 0 auto;
	overflow: hidden;
}
.section-spaces__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 4;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 1.6s var(--ease-out);
}
.section-spaces.is-visible .section-spaces__media img { transform: scale(1); }

.section-spaces__title {
	margin-top: clamp(28px, 3.4vh, 44px);
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(36px, 4vw, 52px);
	line-height: 1.12;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}

.section-spaces__body {
	margin: clamp(32px, 4.5vh, 52px) auto 0;
	max-width: 960px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--charcoal);
}

.section-spaces__tagline {
	margin-top: clamp(40px, 5.5vh, 64px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1d1f1a;
}

/* fade-up reveal */
.section-spaces__title,
.section-spaces__body,
.section-spaces__tagline {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-spaces.is-visible .section-spaces__title   { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.section-spaces.is-visible .section-spaces__body    { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.section-spaces.is-visible .section-spaces__tagline { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

@media (max-width: 900px) {
	.section-spaces { padding-left: 0; padding-right: 0; }
	.section-spaces__media { max-width: 100%; } /* image bleeds full-width */
	.section-spaces__title,
	.section-spaces__body,
	.section-spaces__tagline { padding: 0 24px; }
}


/* ================= SECTION LIVING ================= */
.section-living {
	background: var(--white);
	padding: clamp(48px, 6vw, 96px) 0; /* air above/below the full-screen panel */
}

.section-living__panel {
	position: relative;
	width: min(100vw, 2160px);
	height: 100vh;
	margin: 0 auto;
	overflow: hidden;
}

.section-living__bg {
	position: absolute;
	inset: 0;
}
.section-living__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 2s var(--ease-out);
}
.section-living.is-visible .section-living__bg img { transform: scale(1); }

/* subtle legibility gradient */
.section-living__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom,
		rgba(0, 0, 0, 0.22) 0%,
		rgba(0, 0, 0, 0.12) 35%,
		rgba(0, 0, 0, 0.12) 70%,
		rgba(0, 0, 0, 0.25) 100%);
	pointer-events: none;
}

.section-living__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 24px;
	color: var(--soft-white);
}

.section-living__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(38px, 4.6vw, 52px);
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}

.section-living__body {
	margin-top: clamp(30px, 4vh, 48px);
	max-width: 960px;
	font-size: 18px;
	line-height: 1.85;
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.section-living__tagline {
	margin-top: clamp(36px, 5vh, 60px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

/* fade-up reveal */
.section-living__title,
.section-living__body,
.section-living__tagline {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-living.is-visible .section-living__title   { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.section-living.is-visible .section-living__body    { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.section-living.is-visible .section-living__tagline { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }


/* ================= SECTION RESIDENCE (unit showcase, alternating) =================
   NOTE: currently unused — kept as backup. The floorplan section replaced it. */
.section-residence {
	background: var(--white);
	padding: clamp(64px, 8vw, 120px) clamp(24px, 6vw, 96px);
}
.section-residence + .section-residence { padding-top: 0; } /* tighten stacked units */

.residence__inner {
	max-width: 1720px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(48px, 5vw, 100px);
	align-items: stretch;
}

/* ---- image ---- */
.residence__media {
	overflow: hidden;
}
.residence__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 1.6s var(--ease-out);
}
.section-residence.is-visible .residence__media img { transform: scale(1); }

/* ---- text column: top group + bottom buttons ---- */
.residence__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.residence__title {
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #1d1f1a;
}

/* specs row: icons + values (icons are placeholders, swap later) */
.residence__specs {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.4vw, 34px);
	margin-top: clamp(24px, 3vh, 40px);
	font-size: 17px;
	font-weight: 600;
	color: #6d6f6a;
}
.residence__spec {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.residence__spec svg {
	width: 22px;
	height: 22px;
	stroke: #6d6f6a;
}
.residence__spec--label { font-weight: 400; }

.residence__body {
	margin-top: clamp(28px, 4vh, 44px);
	max-width: 620px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--charcoal);
}

/* ---- pill buttons (ENQUIRE style), equal width ---- */
.residence__actions {
	display: flex;
	gap: clamp(20px, 2.4vw, 36px);
}
.residence__btn {
	display: inline-block;
	width: clamp(190px, 15vw, 250px); /* both buttons share one width */
	text-align: center;
	padding: 15px 20px;
	background: transparent;
	color: var(--charcoal);
	border: 1px solid var(--charcoal);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.residence__btn:hover {
	background: var(--charcoal);
	color: var(--soft-white);
}

/* ---- mirrored variant ---- */
.section-residence--flip .residence__media { order: 2; }
.section-residence--flip .residence__content { order: 1; }

/* fade-up reveal */
.residence__title,
.residence__specs,
.residence__body,
.residence__actions {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-residence.is-visible .residence__title   { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-residence.is-visible .residence__specs   { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.section-residence.is-visible .residence__body    { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
.section-residence.is-visible .residence__actions { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

@media (max-width: 900px) {
	.residence__inner { grid-template-columns: 1fr; gap: 36px; }
	.section-residence--flip .residence__media { order: 0; } /* image first on mobile */
	.residence__media img { aspect-ratio: 3 / 2; height: auto; }
	.residence__actions { flex-wrap: wrap; }
	.residence__btn { width: 100%; } /* full-width stacked buttons on mobile */
}


/* ================= SECTION LOCATION ================= */
.section-location {
	background: var(--white);
	padding: clamp(36px, 4vw, 64px) clamp(24px, 4.2vw, 80px) clamp(80px, 9vw, 130px);
}

.section-location__inner {
	max-width: 1780px;
	margin: 0 auto;
}

/* ---- panoramic banner ----
   annotation map: must show the FULL image, no cropping */
.section-location__media {
	overflow: hidden;
}
.section-location__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain; /* never crop — the location labels must stay visible */
	transform: scale(1.08);
	transition: transform 1.8s var(--ease-out);
}
.section-location.is-visible .section-location__media img { transform: scale(1); }

/* ---- left-aligned copy, compact editorial spacing ---- */
.section-location__title {
	margin-top: clamp(32px, 3.4vw, 48px);
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(32px, 3.2vw, 52px);
	line-height: 1.12;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}

.section-location__body {
	margin-top: clamp(16px, 1.8vw, 24px);
	max-width: 800px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--charcoal);
}

.section-location__tagline {
	margin-top: clamp(22px, 2.4vw, 30px);
	margin-bottom: clamp(24px, 3vw, 40px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1d1f1a;
}

/* fade-up reveal */
.section-location__title,
.section-location__body,
.section-location__tagline {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-location.is-visible .section-location__title   { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-location.is-visible .section-location__body    { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.section-location.is-visible .section-location__tagline { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

@media (max-width: 900px) {
	.section-location { padding-left: 0; padding-right: 0; }
	.section-location__title,
	.section-location__body,
	.section-location__tagline { padding: 0 24px; }
}


/* ================= SECTION ENQUIRY ================= */
.section-enquiry {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 92vh;
}

/* ================= LEFT PANEL ================= */
.enquiry__info {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(48px, 6vw, 96px);
	background-size: cover;
	background-position: bottom;
	overflow: hidden;
}
.enquiry__info-inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 420px;
}

/* complete dark lockup: mark + brand name + Kiama Heights stacked in one image */
.enquiry__mark img {
	display: block;
	width: min(480px, 100%);
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

.enquiry__contact {
	margin-top: 44px;
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--charcoal);
}
.enquiry__contact a {
	display: block;
	padding: 9px 0;
	color: inherit;
	text-decoration: none;
}
.enquiry__contact a:hover { opacity: 0.6; }

/* developer logo (stacked, centered) + socials */
.enquiry__social {
	margin-top: 52px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}
.enquiry__forte {
	display: block;
	max-width: 130px;
	height: auto;
}
.enquiry__social-links { display: flex; gap: 20px; }

/* footer tagline of the left panel */
.enquiry__tagline {
	margin-top: 48px;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: #6d6f6a;
}
.enquiry__social-links a {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.enquiry__social-links a:hover { opacity: 0.6; }
.enquiry__social-links img { max-width: 100%; max-height: 100%; }

/* ================= RIGHT PANEL (form) ================= */
.enquiry__form-panel {
	background: var(--sand); /* #DDD3C5 */
	display: flex;
	align-items: center;
	padding: clamp(48px, 6vw, 96px);
}
.enquiry__form-inner {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
}

.enquiry__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(36px, 3.4vw, 52px);
	letter-spacing: 0.01em;
	color: #241f1a;
}
.enquiry__desc {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.7;
	color: #241f1a;
	max-width: 420px;
}

/* ---- underline-style fields (static markup + CF7 overrides) ---- */
.enquiry__form {
	margin-top: clamp(36px, 5vh, 56px);
}
.enquiry__form form > * { margin-top: 26px; }
.enquiry__form form > *:first-child { margin-top: 0; }

/* first/last name side by side */
.enquiry__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.enquiry__label,
.enquiry__form label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #241f1a;
}
.enquiry__input,
.enquiry__form input[type="text"],
.enquiry__form input[type="email"],
.enquiry__form input[type="tel"],
.enquiry__form input[type="number"],
.enquiry__form select {
	width: 100%;
	margin-top: 6px;
	padding: 9px 0 11px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--taupe);
	border-radius: 0;
	font-family: var(--sans);
	font-size: 15px;
	color: #241f1a;
	outline: none;
	transition: border-color 0.35s ease;
}
.enquiry__form textarea {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--taupe);
	border-radius: 0;
	font-family: var(--sans);
	font-size: 15px;
	color: #241f1a;
	outline: none;
}
.enquiry__input:focus,
.enquiry__form :is(input, select, textarea):focus { border-bottom-color: #241f1a; }
.enquiry__input::placeholder,
.enquiry__form ::placeholder { color: rgba(36, 31, 26, 0.35); }

.enquiry__form select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241f1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	background-size: 16px;
}
.enquiry__form input[type="submit"],
.enquiry__submit {
	margin-top: 40px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: 0;
	padding: 4px 0;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #241f1a;
	cursor: pointer;
	position: relative;
}
.enquiry__form input[type="submit"]::after,
.enquiry__submit::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 1px;
	background: #241f1a;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease-out);
}
.enquiry__form input[type="submit"]:hover::after,
.enquiry__submit:hover::after { transform: scaleX(1); transform-origin: left; }

/* CF7 housekeeping */
/* hide CF7's own spinner entirely — ours is drawn after the submit button */
.enquiry__form .wpcf7-spinner { display: none !important; }

/* while sending: dim the button + small ring after it */
.enquiry__form form[data-status="submitting"] input[type="submit"] {
	pointer-events: none;
	opacity: 0.55;
}
.enquiry__form form[data-status="submitting"] p:has(> .wpcf7-submit)::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 14px;
	border: 2px solid rgba(36, 31, 26, 0.25);
	border-top-color: #241f1a;
	border-radius: 999px;
	vertical-align: -2px;
	animation: lbk-spin 0.7s linear infinite;
}
@keyframes lbk-spin {
	to { transform: rotate(360deg); }
}
.enquiry__form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 12px 16px;
	border: 1px solid #241f1a;
	font-size: 13px;
	color: #241f1a;
}

/* ---- success state (form hidden, thank-you shown) ---- */
.enquiry__success {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 320px;
	text-align: center;
}
.enquiry__success.is-visible { display: flex; }
.enquiry__success-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--taupe);
	border-radius: 999px;
	color: #241f1a;
	margin-bottom: 24px;
}
.enquiry__success-icon svg { width: 24px; height: 24px; }
.enquiry__success-title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 28px;
	color: #241f1a;
	margin-bottom: 12px;
}
.enquiry__success-text {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(36, 31, 26, 0.7);
	max-width: 380px;
}

/* ---- CF7 layout adaptors (matches the paste-in form template) ---- */
.enquiry__form .enquiry-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.enquiry__form p { margin: 0; }
.enquiry__form .wpcf7-form-control-wrap { display: block; }
@media (max-width: 900px) {
	.enquiry__form .enquiry-cols { grid-template-columns: 1fr; gap: 0; }
}

/* fade-up reveal */
.enquiry__info-inner > *,
.enquiry__form-inner > * {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.section-enquiry.is-visible .enquiry__info-inner > *,
.section-enquiry.is-visible .enquiry__form-inner > * { opacity: 1; transform: translateY(0); }
.section-enquiry.is-visible .enquiry__form-inner > *:nth-child(1) { transition-delay: 0.1s; }
.section-enquiry.is-visible .enquiry__form-inner > *:nth-child(2) { transition-delay: 0.18s; }
.section-enquiry.is-visible .enquiry__form-inner > *:nth-child(3) { transition-delay: 0.26s; }

@media (max-width: 900px) {
	.section-enquiry { grid-template-columns: 1fr; }
	.enquiry__info { min-height: auto; }
	.enquiry__form-panel { padding: 56px 24px; }
	.enquiry__row { grid-template-columns: 1fr; gap: 0; }
	.enquiry__row .enquiry__field + .enquiry__field { margin-top: 26px; }
}

/* ================= FOOTER ================= */
.site-footer {
	text-align: center;
	padding: 32px 24px;
}
.site-footer-copy {
	font-size: 12px;
	letter-spacing: 0.06em;
	color: #6d6f6a;
}


/* ================= LIGHTBOX (residence gallery / floor plan) =================
   NOTE: only used by the (currently disabled) section-residence — kept as backup. */
.lb {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(38, 38, 38, 0.9); /* 半透明深灰 */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s;
}
.lb.is-open { opacity: 1; visibility: visible; }

.lb__dialog {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 64px 24px 96px;
}

/* prev / next pinned to the screen edges */
.lb__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	color: #fff;
	cursor: pointer;
	transition: background 0.3s ease;
}
.lb__arrow:hover { background: rgba(255, 255, 255, 0.32); }
.lb__arrow svg { width: 18px; height: 18px; }
.lb__arrow--prev { left: clamp(12px, 3vw, 48px); }
.lb__arrow--next { right: clamp(12px, 3vw, 48px); }

.lb__close {
	position: absolute;
	top: 22px;
	right: 26px;
	z-index: 5;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.lb__close:hover { opacity: 1; transform: rotate(90deg); }
.lb__close svg { width: 26px; height: 26px; }

.lb__counter {
	position: absolute;
	top: 34px;
	left: 30px;
	font-size: 12px;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.75);
}

/* stage */
.lb__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}
.lb__image {
	display: block;
	max-width: min(88vw, 1500px);
	max-height: 68vh;
	object-fit: contain;
	box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
	transition: opacity 0.3s ease;
}
.lb__image.is-fading { opacity: 0; }

/* thumbnails: horizontally scrollable when they overflow */
.lb__thumbs {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	max-width: 92vw;
	overflow-x: auto;
	padding: 4px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
}
.lb__thumbs::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.lb__thumb {
	flex: 0 0 auto;
	width: 64px;
	height: 48px;
	padding: 0;
	border: 1px solid transparent;
	background: none;
	cursor: pointer;
	opacity: 0.55;
	overflow: hidden;
	scroll-snap-align: center;
	transition: opacity 0.3s ease, border-color 0.3s ease;
}
.lb__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lb__thumb:hover { opacity: 0.85; }
.lb__thumb.is-active { opacity: 1; border-color: #fff; }

/* single-image (floor plan) mode: no arrows / thumbs / counter */
.lb--single .lb__arrow,
.lb--single .lb__thumbs,
.lb--single .lb__counter { display: none; }

@media (max-width: 900px) {
	.lb__image { max-height: 58vh; }
	.lb__arrow { display: none; } /* swipe instead */
	.lb__dialog { padding: 56px 0 88px; }
}


/* ================= SECTION FLOORPLAN ================= */
.section-floorplan {
	background: var(--white);
	padding: clamp(40px, 6vh, 110px) clamp(24px, 6vw, 96px);
}
.section-floorplan__inner {
	max-width: 1720px;
	margin: 0 auto;
}

.section-floorplan__title {
	text-align: center;
	font-family: var(--serif);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(38px, 4.2vw, 52px);
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}

/* ---- unit tabs: full pill bar ---- */
.floorplan__tabs {
	display: flex;
	margin: clamp(36px, 4vw, 56px) auto 0;
	max-width: 860px;
	background: #EFEBE3;
	border-radius: 999px;
	padding: 6px;
}
.floorplan__tab {
	flex: 1;
	padding: 14px 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--charcoal);
	cursor: pointer;
	transition: background 0.4s var(--ease-out), color 0.4s ease;
}
.floorplan__tab.is-active {
	background: #CFC4B4;
	color: #1d1f1a;
}

/* ---- plan image (level labels are baked into the artwork) ---- */
.floorplan__plan {
	margin-top: clamp(48px, 6vw, 80px);
}
.floorplan__plan img {
	display: block;
	width: 100%;
	max-width: 1080px; /* desktop cap; mobile stays full container width */
	height: auto;
	margin: 0 auto;
}

/* ---- bottom row: specs + body ---- */
.floorplan__meta {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: clamp(32px, 5vw, 90px);
	align-items: start;
	max-width: 1100px;
	margin: clamp(48px, 6vw, 80px) auto 0;
}
.floorplan__specs {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.4vw, 34px);
	font-size: 17px;
	font-weight: 600;
	color: #6d6f6a;
}
.floorplan__spec {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.floorplan__spec img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}
.floorplan__body {
	font-size: 17px;
	line-height: 1.85;
	color: var(--charcoal);
	max-width: 640px;
}

/* ---- scroll reveal ---- */
.section-floorplan__title,
.floorplan__tabs,
.floorplan__plan,
.floorplan__meta {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-floorplan.is-visible .section-floorplan__title { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-floorplan.is-visible .floorplan__tabs          { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.section-floorplan.is-visible .floorplan__plan          { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.section-floorplan.is-visible .floorplan__meta          { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

@media (max-width: 900px) {
	.floorplan__tabs {
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.floorplan__tabs::-webkit-scrollbar { display: none; }
	.floorplan__tab { flex: 0 0 auto; padding: 12px 26px; }
	.floorplan__meta { grid-template-columns: 1fr; }
}


/* ================= SECTION AMENITIES =================
   editorial numbered list on a stone-texture band */
.section-amenities {
	position: relative;
	padding: clamp(64px, 8vw, 110px) clamp(24px, 6vw, 96px); /* horizontal band feel */
	background-color: var(--soft-white);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.section-amenities__inner {
	max-width: 1560px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: clamp(56px, 8vw, 140px);
	align-items: start;
}

/* ---- left: editorial intro ---- */
.section-amenities__eyebrow {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--charcoal);
}
.section-amenities__title {
	margin-top: 22px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(38px, 4.2vw, 52px);
	line-height: 1.28;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}
.section-amenities__title .line { display: block; overflow: hidden; }

/* ---- right: spec list, 3 cols x 2 rows ---- */
.amenities__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: clamp(32px, 4vw, 64px);
}
.amenity {
	padding: clamp(20px, 2.4vw, 32px) 0;
	border-top: 1px solid rgba(52, 54, 49, 0.16);
}
/* first row carries no top hairline */
.amenity:nth-child(-n + 3) { padding-top: 0; border-top: 0; }

.amenity__name {
	margin-top: 8px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(19px, 1.6vw, 23px);
	line-height: 1.25;
	color: #1d1f1a;
}
.amenity__desc {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--charcoal);
}

/* ---- scroll reveal ---- */
.section-amenities__eyebrow,
.section-amenities__title { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.amenity { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }

.section-amenities.is-visible .section-amenities__eyebrow { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.section-amenities.is-visible .section-amenities__title   { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-amenities.is-visible .amenity:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.section-amenities.is-visible .amenity:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }
.section-amenities.is-visible .amenity:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.46s; }
.section-amenities.is-visible .amenity:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.54s; }
.section-amenities.is-visible .amenity:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.62s; }
.section-amenities.is-visible .amenity:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }

@media (max-width: 1100px) {
	.amenities__list { grid-template-columns: 1fr 1fr; }
	.amenity:nth-child(-n + 3) { padding-top: clamp(20px, 2.4vw, 32px); border-top: 1px solid rgba(52, 54, 49, 0.16); }
	.amenity:nth-child(-n + 2) { padding-top: 0; border-top: 0; }
}
@media (max-width: 1000px) {
	.section-amenities__inner { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 64px); }
}
@media (max-width: 700px) {
	.amenities__list { grid-template-columns: 1fr; }
	.amenity:nth-child(-n + 2) { padding-top: clamp(20px, 2.4vw, 32px); border-top: 1px solid rgba(52, 54, 49, 0.16); }
	.amenity:first-child { padding-top: 0; border-top: 0; }
}


/* ================= SECTION VIDEO (property film) ================= */
.section-video {
	background: var(--white);
	padding: clamp(72px, 9vw, 130px) clamp(24px, 6vw, 96px);
}
.section-video__inner {
	max-width: 1560px;
	margin: 0 auto;
}

.video__frame {
	position: relative;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #14181a;
}
.video__frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* poster + play overlay */
.video__poster {
	position: absolute;
	inset: 0;
	z-index: 2;
	border: 0;
	padding: 0;
	cursor: pointer;
	background-color: #14181a;
	background-size: cover;
	background-position: center;
}
/* soft darkening so the button reads on bright frames */
.video__poster::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 12, 0.18);
	transition: background 0.4s ease;
}
.video__poster:hover::before { background: rgba(10, 12, 12, 0.32); }

.video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 84px;
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	background: rgba(10, 12, 12, 0.18);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: transform 0.45s var(--ease-out), background 0.35s ease;
	pointer-events: none; /* clicks land on the poster button */
}
.video__poster:hover .video__play {
	transform: translate(-50%, -50%) scale(1.08);
	background: rgba(10, 12, 12, 0.34);
}
.video__play svg {
	width: 26px;
	height: 26px;
	margin-left: 4px; /* optical centering of the triangle */
	fill: #fff;
}

/* duration chip */
.video__duration {
	position: absolute;
	right: 20px;
	bottom: 18px;
	z-index: 3;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	background: rgba(10, 12, 12, 0.35);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	pointer-events: none;
}

/* reveal */
.video__frame {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-video.is-visible .video__frame { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
	.section-video { padding-left: 0; padding-right: 0; }
	.video__frame { max-width: 100%; }
}


/* ================= LOCATION MAP (interactive hotspots) =================
   the full image must always show — no scale-crop on the map */
.section-location__media.location-map {
	overflow: visible;
}
.section-location__media.location-map img {
	transform: none;
}
.section-location.is-visible .section-location__media.location-map img {
	transform: none;
}

/* ---- point listing: compact 3 vertical columns of numbers, right-aligned ---- */
.location-list {
	list-style: none;
	margin-top: clamp(24px, 3vw, 40px);
	margin-left: auto;               /* pin to the right */
	width: fit-content;
	display: grid;
	grid-template-rows: repeat(3, auto); /* 3 rows, numbered down each column */
	grid-auto-flow: column;
	column-gap: clamp(20px, 2.6vw, 40px);
	row-gap: 4px;
}
.location-list__item {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--charcoal);
	white-space: nowrap;
}
.location-list__num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 12px;
	color: var(--taupe);
	letter-spacing: 0.08em;
	flex: 0 0 auto;
}
@media (max-width: 900px) {
	.location-list { grid-template-rows: repeat(4, auto); }
}
/* small phones: keep 2 columns, left-aligned with breathing room */
@media (max-width: 560px) {
	.location-list {
		grid-template-rows: repeat(4, auto);
		width: auto;
		margin-left: 0;
		padding-left: 24px; /* align with the copy padding above */
		justify-content: start;
		column-gap: 28px;
	}
	.location-list__item { white-space: normal; font-size: 12.5px; }
}

.location-map__viewport {
	position: relative;
	width: 100%;
}
.location-map__layer {
	position: relative;
	width: 100%;
}
.location-map__layer img {
	width: 100%;
	height: auto;
	display: block;
}

/* ---- hotspots (invisible hit areas over the baked-in numbers) ---- */
.lbk-hotspot {
	position: absolute;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -50%);
	cursor: pointer;
	border-radius: 999px;
	z-index: 2;
	-webkit-tap-highlight-color: transparent;
}
.lbk-hotspot--main {
	width: 150px;
	height: 150px;
	cursor: default;
	z-index: 3;
}

/* ---- name tooltip ---- */
.lbk-tip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	background: var(--white);
	color: #1d1f1a;
	padding: 8px 18px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s;
	pointer-events: none;
	z-index: 50;
}
.lbk-tip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: var(--white);
}
/* top-row points: tooltip drops below the dot instead */
.lbk-tip--down {
	bottom: auto;
	top: calc(100% + 10px);
	transform: translateX(-50%) translateY(-4px);
}
.lbk-tip--down::after {
	top: auto;
	bottom: 100%;
	border-top-color: transparent;
	border-bottom-color: var(--white);
}

/* desktop: pure CSS hover reveal */
@media (min-width: 769px) {
	.lbk-hotspot:hover .lbk-tip {
		opacity: 1;
		visibility: visible;
		transform: translateX(-50%) translateY(0);
	}
}

/* ---- mobile: zoomed, draggable viewport ---- */
@media (max-width: 768px) {
	.location-map__viewport {
		height: 68vh;
		min-height: 320px;
		overflow: hidden;
		touch-action: none;
		cursor: grab;
	}
	.location-map__viewport:active {
		cursor: grabbing;
	}
	.location-map__layer {
		position: absolute;
		top: 0;
		left: 0;
		width: 300%; /* 3x zoom */
		will-change: transform;
	}
}

/* ---- mobile: tooltip floated to <body> so the viewport cannot clip it ----
   absolute (page coords), not fixed — it scrolls away with the page */
.lbk-tip--floating {
	position: absolute !important;
	left: 0;
	top: 0;
	right: auto !important;
	bottom: auto !important;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	z-index: 2000;
	animation: lbkTipIn 0.25s ease;
}
.lbk-tip--floating::after {
	display: none !important;
}
@keyframes lbkTipIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}


/* ================= HERO VIDEO BACKGROUND =================
   (experimental: video loop replaces the image slideshow; logo is baked in) */
.hero__video {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* ================= HERO CONTENT CHOREOGRAPHY =================
   Timeline over the film: line 1 fades in 1-3s, line 2 in 4-6s,
   the logo + CTA appear at 7s and stay. Never on screen together. */
.hero__logo,
.hero__cta,
.hero__title .line > span {
	opacity: 0;
	transition: opacity 1.1s ease;
}
.hero__title .line > span {
	animation: none; /* disable the old mask entrance */
	transform: none;
}
.hero__cta { animation: none; }
.hero__logo.is-shown,
.hero__cta.is-shown,
.hero__title .line.is-on > span { opacity: 1; }


/* ================= HERO ELEMENTS: INDEPENDENT CENTERING =================
   The logo and the title each sit at the exact centre of the hero —
   never stacked. Only one is visible at a time (choreography above). */
.hero__content { display: block; }
.hero__logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	margin-bottom: 0;
}
.hero__title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.hero__cta {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin-top: clamp(220px, 36vh, 340px); /* well below the centre line */
}


/* ================= SECTION INSPIRATION (statement + property film) ================= */
.section-inspiration {
	background: var(--white);
	text-align: center;
	padding: clamp(40px, 6vw, 60px) clamp(24px, 6vw, 96px);
}
.section-inspiration__inner {
	max-width: 1560px;
	margin: 0 auto;
}

.section-inspiration__title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(34px, 4.6vw, 52px);
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}
.section-inspiration__body {
	margin: clamp(32px, 4vw, 48px) auto 0;
	max-width: 960px;
	font-size: 17px;
	line-height: 1.85;
	color: var(--charcoal);
}
.section-inspiration__tagline {
	margin-top: clamp(36px, 5vw, 56px);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1d1f1a;
}

/* the film sits below the copy (video__frame styles are shared) */
.section-inspiration .video__frame {
	margin-top: clamp(48px, 6vw, 80px);
}

/* fade-up reveal */
.section-inspiration__title,
.section-inspiration__body,
.section-inspiration__tagline,
.section-inspiration .video__frame {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-inspiration.is-visible .section-inspiration__title   { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-inspiration.is-visible .section-inspiration__body    { opacity: 1; transform: translateY(0); transition-delay: 0.24s; }
.section-inspiration.is-visible .section-inspiration__tagline { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }
.section-inspiration.is-visible .video__frame                 { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

@media (max-width: 900px) {
	.section-inspiration { padding-left: 0; padding-right: 0; }
	.section-inspiration__title,
	.section-inspiration__body,
	.section-inspiration__tagline { padding: 0 24px; }
	.section-inspiration .video__frame { max-width: 100%; }
}


/* ================= SECTION GALLERY (ragged drag strip + lightbox) ================= */
.section-gallery {
	background: var(--white);
	padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 6vw, 60px);
	overflow: hidden;
}

.section-gallery__head {
	max-width: 1560px;
	margin: 0 auto;
	padding: 0 clamp(24px, 6vw, 96px);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
}
.section-gallery__title {
	font-family: var(--serif);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(38px, 4.2vw, 52px);
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #1d1f1a;
}
.section-gallery__hint {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--taupe);
	white-space: nowrap;
}

/* ---- horizontal drag strip ---- */
.gallery__strip-wrap {
	position: relative;
	margin-top: clamp(36px, 4.5vw, 56px);
}
.gallery__strip-wrap::before,
.gallery__strip-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: clamp(24px, 6vw, 96px);
	z-index: 2;
	pointer-events: none;
}
.gallery__strip-wrap::before {
	left: 0;
	background: linear-gradient(to right, var(--white), rgba(255, 255, 255, 0));
}
.gallery__strip-wrap::after {
	right: 0;
	background: linear-gradient(to left, var(--white), rgba(255, 255, 255, 0));
}

.gallery__strip {
	display: flex;
	gap: clamp(16px, 2vw, 28px);
	padding: 0 clamp(24px, 6vw, 96px);
	overflow-x: auto;
	scrollbar-width: none;
	cursor: grab;
	-webkit-overflow-scrolling: touch;
}
.gallery__strip::-webkit-scrollbar { display: none; }
.gallery__strip.is-dragging { cursor: grabbing; }
.gallery__strip.is-dragging .gallery__item { pointer-events: none; }

/* each item sizes itself via --h (height) and --off (vertical offset) —
   an intentionally ragged, editorial rhythm rather than uniform bands */
.gallery__item {
	flex: 0 0 auto;
	height: var(--h, clamp(300px, 62vh, 640px));
	margin-top: var(--off, 0);
	max-width: 82vw; /* ultra-wide panoramas never bust the viewport */
	overflow: hidden;
	cursor: pointer;
}
.gallery__item img {
	display: block;
	width: auto;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 1.4s var(--ease-out);
}
.section-gallery.is-visible .gallery__item img { transform: scale(1); }

/* ---- scroll reveal (delays generated in JS) ---- */
.section-gallery__title,
.section-gallery__hint {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.gallery__item {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.section-gallery.is-visible .section-gallery__title { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.section-gallery.is-visible .section-gallery__hint  { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-gallery.is-visible .gallery__item          { opacity: 1; transform: translateY(0); } /* stagger via JS-set transitionDelay */

@media (max-width: 900px) {
	.section-gallery { padding-left: 0; padding-right: 0; }
	.gallery__item {
		height: calc(var(--h, clamp(240px, 48vh, 420px)) * 0.6);
		margin-top: calc(var(--off, 0px) * 0.4);
		/* the strip scrolls sideways anyway — never crop wide images on phones */
		max-width: none;
	}
}


/* ================= GALLERY REFINEMENTS =================
   No title — the hint is pinned to the top-right of the strip,
   inside the right fade zone. */
.gallery__strip-wrap {
	position: relative;
	margin-top: clamp(40px, 5vw, 64px);
}
.gallery__strip-wrap .section-gallery__hint {
	position: absolute;
	top: -52px;
	right: clamp(8px, 1vw, 16px); /* deep inside the right fade zone */
}


/* ================= ARCHITECTURE PORTRAIT (back to image) =================
   Mobile: the portrait sits at 60% column width, centred. */
@media (max-width: 900px) {
	.section-architecture__portrait img {
		width: 60%;
		margin: 0 auto;
	}
}


/* ================= HEADER LOGO FLASH FIX (mobile) =================
   The header ships a single brown mark (--dark), hidden at the very top of
   the page. Scrolling up used to play the old crossfade transition and the
   mark visibly glided back to the centre before vanishing — a "flash".
   Instant hide on the way back up; keep the soft fade only when scrolling
   down into the white bar. */
@media (max-width: 768px) {
	.site-header__logo-marks > img { transition: none; }
	.site-header.is-scrolled .site-header__logo-marks > img {
		transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
	}
}


/* ================= HEADER LOGO FLASH FIX (mobile) =================
   The header ships a single dark mark (--dark), hidden at the very top of
   the page. Scrolling up used to play the old crossfade transition and the
   mark visibly glided back to the centre before vanishing — a "flash".
   Instant hide on the way back up; keep the soft fade only when scrolling
   down into the white bar. */
@media (max-width: 768px) {
	.site-header__logo-marks > img { transition: none; }
	.site-header.is-scrolled .site-header__logo-marks > img {
		transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
	}
}