/* ==========================================================================
   QUBE Design & Build
   Desktop layout follows the 1920px artboard: 1 design px = var(--u).
   The page is split into five 384px columns; content sits in the middle
   three (x 384 → 1536) with 1px guide lines between columns.
   ========================================================================== */

:root {
	--bg: #272727;
	--bg-footer: #1e1e1e;
	--line: #3b3b3b;
	--card: #373737;
	--card-video: #3b3b3b;
	--chip: #444444;
	--field: #313131;
	--muted: #787878;
	--overlay: #5f5f5f;
	--white: #ffffff;
	--black: #000000;
	--nav-current: #999999;

	--font: "PT Sans Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
	--ls-wide: 0.2em;
	--ls-btn: 0.14em;
	--ls-name: 0.06em;
	--ls-copy: 0.1em;

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

	/* 1 design pixel, measured against the body container (excludes scrollbar). */
	--u: calc(min(100cqw, 2560px) / 1920);
	--wrap-x: calc(384 * var(--u));
	--gutter: 20px;
}

/* ---------- Reset ---------- */

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

html {
	background: var(--bg);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	container-type: inline-size;
	margin: 0;
	background: var(--bg);
	color: var(--white);
	font-family: var(--font);
	font-size: max(15px, calc(18 * var(--u)));
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

p,
h1,
h2,
h3,
ul,
ol,
figure,
address {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: 400;
}

ul,
ol {
	list-style: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

::selection {
	background: var(--white);
	color: var(--black);
}

:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 3px;
}

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

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 200;
	padding: 10px 18px;
	background: var(--white);
	color: var(--black);
	border-radius: 999px;
	transform: translateY(-150%);
	transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
	transform: none;
}

.spaced {
	letter-spacing: var(--ls-wide);
}

/* ---------- Layout ---------- */

.site {
	position: relative;
	overflow: clip;
}

.site-main {
	position: relative;
	display: block;
}

.site-main > section,
.site-main > article {
	position: relative;
}

/* Everything except hero backgrounds sits above the guide lines. */
.site-main > section > :not(.hero__bg),
.site-main > article > * {
	position: relative;
	z-index: 2;
}

.wrap {
	margin-left: var(--wrap-x);
	margin-right: var(--wrap-x);
}

.grid-lines {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	/* As in the layout: lines show on the dark page, fade out over bright photos. */
	mix-blend-mode: lighten;
}

.grid-lines span {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--line);
	transform-origin: 50% 0;
}

.grid-lines span:nth-child(1) { left: 20%; }
.grid-lines span:nth-child(2) { left: 40%; }
.grid-lines span:nth-child(3) { left: 60%; }
.grid-lines span:nth-child(4) { left: 80%; }

/* Soft shadow at the top of a section (49px #1f1f1f → #272727). */
.section-shadow::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: calc(49 * var(--u));
	background: linear-gradient(to bottom, #1f1f1f, rgba(39, 39, 39, 0));
	z-index: 2;
	pointer-events: none;
}

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

.section-title {
	font-size: max(24px, calc(38 * var(--u)));
	line-height: 1.24;
	letter-spacing: var(--ls-wide);
	text-align: center;
	text-transform: uppercase;
	/* Balance the trailing letter-spacing so centred titles sit on centre. */
	text-indent: var(--ls-wide);
}

.section-title--left {
	text-align: left;
	text-indent: 0;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.9em;
	border-radius: 999px;
	font-size: max(13px, calc(14.9 * var(--u)));
	letter-spacing: var(--ls-btn);
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
	will-change: transform;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* Fill wipe on hover. */
.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform 0.5s var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before {
	transform: translateY(0);
}

.btn--black {
	background: var(--black);
	color: var(--white);
}

.btn--black::before {
	background: var(--white);
}

.btn--black:hover {
	color: var(--black);
}

.btn--white {
	background: var(--white);
	color: var(--black);
}

.btn--white::before {
	background: var(--black);
}

.btn--white:hover {
	color: var(--white);
	box-shadow: inset 0 0 0 1px var(--white);
}

.btn--outline {
	color: var(--white);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.btn--outline::before {
	background: var(--white);
}

.btn--outline:hover {
	color: var(--black);
}

.btn--sm {
	width: calc(200 * var(--u));
	min-width: 170px;
	height: calc(56 * var(--u));
	min-height: 46px;
	padding: 0 1.5em;
}

.btn--md {
	width: calc(230 * var(--u));
	min-width: 170px;
	height: calc(62 * var(--u));
	min-height: 48px;
}

.btn--lg {
	width: calc(388 * var(--u));
	min-width: 260px;
	height: calc(73 * var(--u));
	min-height: 54px;
	font-size: max(14px, calc(17.5 * var(--u)));
}

.btn--wide {
	width: calc(384 * var(--u));
	min-width: 260px;
	height: calc(62 * var(--u));
	min-height: 52px;
	font-size: max(14px, calc(16.1 * var(--u)));
	letter-spacing: var(--ls-wide);
}

.btn .qube-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	transition: transform 0.4s var(--ease-out);
}

.btn:hover .qube-icon--arrow-right {
	transform: translateX(4px);
}

.cta-row {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: calc(10 * var(--u));
	font-size: max(13px, calc(12 * var(--u)));
}

.arrow-link .qube-icon {
	width: max(14px, calc(15 * var(--u)));
	height: max(14px, calc(15 * var(--u)));
	transition: transform 0.4s var(--ease-out);
}

.arrow-link:hover .qube-icon--arrow-right {
	transform: translateX(5px);
}

.arrow-link--back:hover .qube-icon {
	transform: translateX(-5px);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
}

.brand-box {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(384 * var(--u));
	height: calc(384 * var(--u));
	background: rgba(39, 39, 39, 0.6);
	--logo-x: 108;
	--logo-y: 72;
	--logo-w: 122;
	--rule-x: 115;
	--rule-y: 177;
	--social-x: 104;
	--social-y: 258;
}

.brand-box--home {
	width: calc(299 * var(--u));
	height: calc(555 * var(--u));
	--logo-x: 88;
	--logo-y: 64;
	--logo-w: 78;
	--rule-x: 192;
	--rule-y: 80;
	--social-x: 181;
	--social-y: 161;
}

/* On pages without a hero photo the box is the page colour, as in the layout. */
body:not(.has-hero) .brand-box {
	background: var(--bg);
}

.brand-box__logo {
	position: absolute;
	left: calc(var(--logo-x) * var(--u));
	top: calc(var(--logo-y) * var(--u));
	width: calc(var(--logo-w) * var(--u));
	color: var(--white);
}

.brand-box__logo svg {
	width: 100%;
	height: auto;
}

.brand-box__rule {
	position: absolute;
	left: calc(var(--rule-x) * var(--u));
	top: calc(var(--rule-y) * var(--u));
	width: 1px;
	height: calc(53 * var(--u));
	background: rgba(255, 255, 255, 0.5);
	transform-origin: 50% 0;
}

.brand-box__social {
	position: absolute;
	left: calc(var(--social-x) * var(--u));
	top: calc(var(--social-y) * var(--u));
	display: flex;
	flex-direction: column;
	gap: calc(24 * var(--u));
}

.brand-box__social a {
	display: block;
	width: max(18px, calc(22 * var(--u)));
	height: max(18px, calc(22 * var(--u)));
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.3s, transform 0.4s var(--ease-out);
}

.brand-box__social a:hover {
	color: var(--white);
	transform: scale(1.15);
}

.brand-box__social svg {
	width: 100%;
	height: 100%;
}

/* ---------- Primary nav ---------- */

.primary-nav {
	position: absolute;
	top: calc(59 * var(--u));
	right: var(--wrap-x);
	display: flex;
	align-items: center;
	gap: calc(41 * var(--u));
}

.primary-nav ul,
.sticky-bar__nav ul {
	display: flex;
	align-items: center;
	gap: calc(57 * var(--u));
}

.primary-nav a,
.sticky-bar__nav a {
	position: relative;
	display: inline-block;
	font-size: max(14px, calc(20.7 * var(--u)));
	letter-spacing: 0.18em;
	line-height: 1.25;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--white);
	transition: color 0.3s;
}

.primary-nav li:first-child {
	margin-right: calc(17 * var(--u));
}

.primary-nav a::after,
.sticky-bar__nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0.18em;
	bottom: -4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: 100% 50%;
	transition: transform 0.5s var(--ease-out);
}

.primary-nav a:hover::after,
.sticky-bar__nav a:hover::after {
	transform: scaleX(1);
	transform-origin: 0 50%;
}

.primary-nav a.is-current,
.sticky-bar__nav a.is-current {
	color: var(--nav-current);
}

.page-home,
.post-type-archive-project {
	--nav-current: #3c3c3c;
}

.page-what-we-do {
	--nav-current: #000000;
}

.sticky-bar {
	--nav-current: #999999;
}

/* ---------- Search pill ---------- */

.search-pill {
	display: flex;
	align-items: center;
	width: calc(213 * var(--u));
	min-width: 170px;
	height: calc(45 * var(--u));
	min-height: 36px;
	border-radius: 999px;
	background: var(--white);
	color: var(--black);
	transition: box-shadow 0.3s, width 0.5s var(--ease-out);
}

.search-pill:focus-within {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
	width: calc(260 * var(--u));
}

.search-pill__submit {
	flex: none;
	display: grid;
	place-items: center;
	width: calc(62 * var(--u));
	min-width: 44px;
	height: 100%;
	padding-left: calc(8 * var(--u));
	color: var(--black);
}

.search-pill__submit svg {
	width: max(10px, calc(11 * var(--u)));
	height: max(10px, calc(11 * var(--u)));
}

.search-pill__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	padding: 0 calc(18 * var(--u)) 0 0;
	font-size: max(13px, calc(15.1 * var(--u)));
	letter-spacing: 0.01em;
	color: var(--black);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.search-pill__input::placeholder {
	color: var(--black);
	opacity: 1;
}

.search-pill__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* ---------- Sticky bar (appears after scrolling past the header) ---------- */

.sticky-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: max(64px, calc(84 * var(--u)));
	padding: 0 var(--wrap-x) 0 calc(108 * var(--u));
	background: rgba(30, 30, 30, 0.72);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transform: translateY(-105%);
	transition: transform 0.6s var(--ease-out);
}

.sticky-bar.is-visible {
	transform: none;
}

.sticky-bar__logo {
	display: block;
	width: max(44px, calc(58 * var(--u)));
	color: var(--white);
}

.sticky-bar__nav {
	display: flex;
	align-items: center;
	gap: calc(41 * var(--u));
}

.sticky-bar__nav a {
	font-size: max(13px, calc(17 * var(--u)));
}

.sticky-bar .search-pill {
	height: max(34px, calc(40 * var(--u)));
}

/* ---------- Menu toggle + mobile menu (hidden on desktop) ---------- */

.menu-toggle,
.mobile-menu {
	display: none;
}

/* ==========================================================================
   Page transition curtain
   ========================================================================== */

.curtain {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	pointer-events: none;
	visibility: hidden;
}

.curtain__panel {
	position: absolute;
	inset: 0;
	background: var(--bg-footer);
	transform-origin: 50% 100%;
}

.curtain__mark {
	position: relative;
	width: 92px;
	color: var(--white);
}

.js .curtain {
	visibility: visible;
}

/* ==========================================================================
   Heroes
   ========================================================================== */

.hero {
	--hero-h: 1016;
	--hero-bg-h: 1142;
	min-height: calc(var(--hero-h) * var(--u));
}

.hero__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: calc(var(--hero-bg-h) * var(--u));
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	transform-origin: 50% 30%;
	will-change: transform;
}

.hero__content {
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.hero__kicker {
	font-size: max(22px, calc(43.6 * var(--u)));
	letter-spacing: 0.12em;
	line-height: 1.2;
	margin-right: -0.12em;
}

.hero__title {
	font-size: max(34px, calc(79.6 * var(--u)));
	line-height: 1.2;
	letter-spacing: 0.18em;
	margin-right: -0.18em;
	text-transform: uppercase;
}

.hero__text {
	font-size: max(16px, calc(28 * var(--u)));
	letter-spacing: var(--ls-copy);
	line-height: 1.22;
	margin-right: -0.1em;
}

.hero__subtitle {
	font-size: max(15px, calc(29.5 * var(--u)));
	letter-spacing: var(--ls-wide);
	line-height: 1.2;
	margin-right: -0.2em;
}

/* ---------- Home hero ---------- */

.hero--home {
	--hero-h: 1016;
	--hero-bg-h: 1142;
}

.hero--home .hero__content {
	padding-top: calc(156 * var(--u));
}

.home-title {
	font-size: max(30px, calc(46.5 * var(--u)));
	line-height: 1.07;
	letter-spacing: var(--ls-name);
	margin-right: -0.06em;
}

.signature-block {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-top: calc(312 * var(--u));
}

.signature-block__sign {
	width: calc(262 * var(--u));
	min-width: 150px;
	margin-right: calc(-10 * var(--u));
	color: var(--white);
	transform: rotate(-16deg);
	transform-origin: 100% 100%;
}

.signature-block__sign svg,
.signature-block__sign img {
	width: 100%;
	height: auto;
}

.signature-block__name {
	margin-top: calc(50 * var(--u));
	margin-right: calc(-7 * var(--u));
	font-size: max(20px, calc(30.2 * var(--u)));
	letter-spacing: var(--ls-name);
	line-height: 1.25;
}

.signature-block__position {
	margin-right: calc(-7 * var(--u));
	font-size: max(13px, calc(17.5 * var(--u)));
	letter-spacing: var(--ls-copy);
	line-height: 1.25;
}

.signature-block .btn {
	margin-top: calc(52 * var(--u));
}

/* ---------- Projects hero ---------- */

.hero--projects {
	--hero-h: 1142;
	--hero-bg-h: 1142;
}

.hero--projects .hero__content {
	padding-top: calc(312 * var(--u));
}

.hero--projects .hero__title {
	margin-top: calc(4 * var(--u));
}

.hero--projects .hero__text {
	margin-top: calc(40 * var(--u));
}

.filters {
	position: absolute !important;
	left: 0;
	right: 0;
	top: calc(1031 * var(--u));
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	z-index: 5 !important;
}

.filters .dropdown {
	justify-self: center;
	width: calc(300 * var(--u));
}

/* ---------- What we do hero ---------- */

.hero--wwd {
	--hero-h: 1000;
	--hero-bg-h: 1228;
}

.hero--wwd .hero__content {
	padding-top: calc(424 * var(--u));
}

.hero--wwd .hero__text {
	margin-top: calc(14 * var(--u));
}

.hero--wwd .btn {
	margin-top: calc(50 * var(--u));
}

/* ---------- Contact hero ---------- */

.hero--contact {
	--hero-h: 1309;
	--hero-bg-h: 1308;
}

.hero--contact .hero__content {
	padding-top: calc(441 * var(--u));
}

.hero--contact .hero__subtitle {
	margin-top: calc(36 * var(--u));
}

/* ==========================================================================
   Home: concept, provides, overview
   ========================================================================== */

.concept {
	height: calc(684 * var(--u));
	margin-top: calc((1016 - 1016) * var(--u));
}

.concept__video {
	position: absolute !important;
	left: calc(263 * var(--u));
	top: 0;
	width: calc(1152 * var(--u));
	height: calc(684 * var(--u));
	border-radius: calc(32 * var(--u));
	overflow: hidden;
	background: var(--card-video);
	isolation: isolate;
}

.concept__media {
	position: absolute;
	inset: -8% 0;
}

.concept__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.play-btn {
	position: absolute;
	left: 50%;
	top: 50%;
	width: calc(88 * var(--u));
	height: calc(88 * var(--u));
	min-width: 56px;
	min-height: 56px;
	margin: calc(-44 * var(--u)) 0 0 calc(-44 * var(--u));
	border-radius: 50%;
	background: var(--black);
	color: var(--white);
	display: grid;
	place-items: center;
	z-index: 2;
	transition: transform 0.5s var(--ease-out);
}

.play-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.6);
	animation: qube-pulse 2.4s var(--ease-out) infinite;
}

.play-btn svg {
	width: 36%;
	height: 36%;
	margin-left: 6%;
}

.play-btn:hover {
	transform: scale(1.08);
}

@keyframes qube-pulse {
	0% { transform: scale(1); opacity: 0.8; }
	100% { transform: scale(1.7); opacity: 0; }
}

.concept__box {
	position: absolute !important;
	left: calc(1323 * var(--u));
	top: calc(186 * var(--u));
	width: calc(374 * var(--u));
	min-height: calc(347 * var(--u));
	padding: calc(62 * var(--u)) calc(62 * var(--u)) calc(56 * var(--u)) calc(62 * var(--u));
	background: var(--black);
	z-index: 3 !important;
}

.concept__title {
	font-size: max(20px, calc(32.7 * var(--u)));
	letter-spacing: 0.08em;
	line-height: 1.25;
	white-space: nowrap;
}

.concept__text {
	margin-top: calc(22 * var(--u));
	padding-left: calc(7 * var(--u));
	max-width: calc(250 * var(--u));
	font-size: max(14px, calc(15.1 * var(--u)));
	line-height: 1.72;
}

/* ---------- We provides ---------- */

.provides {
	height: calc(531 * var(--u));
	padding-top: calc(110 * var(--u));
}

.provides__track {
	position: relative;
	width: calc(190 * (var(--count) - 1) * var(--u));
	margin: calc(78 * var(--u)) auto 0;
}

.provides__list {
	display: flex;
	justify-content: space-between;
}

.provides__step {
	position: relative;
	width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.provides__label {
	white-space: nowrap;
	font-size: max(14px, calc(18 * var(--u)));
	line-height: 1.2;
	margin-bottom: calc(36 * var(--u));
}

.provides__dot {
	width: calc(52 * var(--u));
	height: calc(52 * var(--u));
	min-width: 22px;
	min-height: 22px;
	border-radius: 50%;
	background: var(--white);
	position: relative;
	z-index: 1;
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.provides__step:hover .provides__dot {
	transform: scale(1.12);
	box-shadow: 0 0 0 calc(10 * var(--u)) rgba(255, 255, 255, 0.12);
}

.provides__line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(26 * var(--u));
	height: 1px;
	background: var(--white);
	transform-origin: 0 50%;
}

/* ---------- Projects overview ---------- */

.overview {
	padding-top: calc(146 * var(--u));
	padding-bottom: calc(139 * var(--u));
}

.overview .project-grid {
	margin-top: calc(63 * var(--u));
}

.overview__cta {
	display: flex;
	justify-content: center;
	margin-top: calc(51 * var(--u));
}

/* ==========================================================================
   Project tiles
   ========================================================================== */

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--overlay);
}

.project-tile {
	position: relative;
	aspect-ratio: 640 / 889;
	overflow: hidden;
	background: var(--overlay);
}

.project-tile__link {
	position: absolute;
	inset: 0;
	display: block;
}

.project-tile__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.project-tile__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 1.4s var(--ease-out);
}

.project-tile__overlay {
	position: absolute;
	inset: 0;
	background: var(--overlay);
	mix-blend-mode: multiply;
	transition: opacity 0.7s var(--ease-out);
}

.project-tile__label {
	position: absolute;
	left: calc(72 * var(--u));
	top: calc(61 * var(--u));
	right: calc(40 * var(--u));
	transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

.project-tile__title {
	font-size: max(20px, calc(30 * var(--u)));
	letter-spacing: var(--ls-name);
	line-height: 1.2;
}

.project-tile__location {
	font-size: max(15px, calc(24 * var(--u)));
	letter-spacing: 0.055em;
	line-height: 1.2;
	margin-top: calc(-2 * var(--u));
}

.project-tile__zoom {
	position: absolute;
	left: 50%;
	top: 50%;
	width: calc(121 * var(--u));
	height: calc(121 * var(--u));
	min-width: 64px;
	min-height: 64px;
	margin: calc(-60.5 * var(--u)) 0 0 calc(-60.5 * var(--u));
	border-radius: 50%;
	background: var(--black);
	color: var(--white);
	display: grid;
	place-items: center;
	opacity: 0;
	transform: scale(0.4);
	transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
	pointer-events: none;
}

.project-tile__zoom svg {
	width: 25%;
	height: 25%;
}

@media (hover: hover) {
	.project-tile:hover .project-tile__overlay {
		opacity: 0;
	}

	.project-tile:hover .project-tile__img {
		transform: scale(1.08);
	}

	.project-tile:hover .project-tile__label {
		opacity: 0;
		transform: translateY(-12px);
	}

	.project-tile:hover .project-tile__zoom {
		opacity: 1;
		transform: translate(var(--zx, 0px), var(--zy, 0px)) scale(1);
	}
}

.project-tile__link:focus-visible {
	outline-offset: -6px;
}

.project-tile__link:focus-visible .project-tile__overlay {
	opacity: 0;
}

.project-tile__link:focus-visible .project-tile__zoom {
	opacity: 1;
	transform: scale(1);
}

/* ==========================================================================
   Projects archive
   ========================================================================== */

.projects-list {
	padding-bottom: calc(134 * var(--u));
}

.project-results {
	min-height: 40vh;
	transition: opacity 0.4s var(--ease-out);
}

.project-results.is-loading {
	opacity: 0.35;
	pointer-events: none;
}

.search-summary {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	padding: 0 20px 26px;
	font-size: max(13px, calc(15 * var(--u)));
	color: rgba(255, 255, 255, 0.75);
}

.search-summary a {
	border-bottom: 1px solid currentColor;
	color: var(--white);
}

.load-more {
	display: flex;
	justify-content: center;
	margin-top: calc(60 * var(--u));
}

.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	padding: calc(160 * var(--u)) 20px;
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
}

.cta-row--projects {
	margin-top: calc(133 * var(--u));
}

/* ---------- Dropdown (filters + form selects) ---------- */

.dropdown {
	position: relative;
}

.dropdown__toggle {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: calc(61 * var(--u));
	min-height: 46px;
	padding: 0 1.2em;
	border-radius: calc(14 * var(--u));
	background: var(--black);
	color: var(--white);
	font-size: max(13px, calc(14.9 * var(--u)));
	letter-spacing: var(--ls-btn);
	text-transform: uppercase;
	transition: border-radius 0.3s var(--ease-out), background-color 0.3s;
}

.dropdown--filter.is-active .dropdown__toggle::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 10px;
	border-radius: 50%;
	background: var(--white);
}

.dropdown__value {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dropdown__menu {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% - calc(20 * var(--u)));
	z-index: 1;
	padding: calc(20 * var(--u)) 0 0;
	max-height: 0;
	overflow: hidden;
	background: var(--white);
	border-radius: 0 0 calc(14 * var(--u)) calc(14 * var(--u));
	color: var(--black);
	visibility: hidden;
	transition: max-height 0.5s var(--ease-out), visibility 0s linear 0.5s;
}

.dropdown.is-open .dropdown__menu,
.no-js .dropdown:focus-within .dropdown__menu {
	max-height: 340px;
	overflow-y: auto;
	visibility: visible;
	transition: max-height 0.5s var(--ease-out), visibility 0s;
}

.dropdown__menu a,
.dropdown__menu [role="option"] {
	display: block;
	padding: calc(5 * var(--u)) calc(33 * var(--u));
	min-height: 28px;
	line-height: 1.3;
	font-size: max(13px, calc(14.4 * var(--u)));
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.dropdown__menu li:last-child a,
.dropdown__menu li:last-child [role="option"] {
	padding-bottom: calc(10 * var(--u));
}

.dropdown--filter .dropdown__menu a[aria-selected="true"],
.dropdown--filter .dropdown__menu a:hover,
.dropdown--filter .dropdown__menu a:focus-visible {
	background: var(--black);
	color: var(--white);
	outline: none;
}

/* ==========================================================================
   Single project
   ========================================================================== */

.project-detail {
	padding-top: calc(331 * var(--u));
	padding-bottom: calc(139 * var(--u));
}

.project-feature {
	display: grid;
	grid-template-columns: 2fr 1fr;
	min-height: calc(614 * var(--u));
}

.project-feature__media {
	position: relative;
	overflow: hidden;
	background: var(--white);
}

.project-feature__media img {
	position: absolute;
	inset: -6% 0;
	width: 100%;
	height: 112%;
	object-fit: cover;
}

.project-feature__info {
	display: flex;
	flex-direction: column;
	background: var(--card);
	padding: calc(67 * var(--u)) calc(74 * var(--u)) calc(80 * var(--u)) calc(39 * var(--u));
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: calc(13 * var(--u)) calc(10 * var(--u));
	margin-left: calc(-6 * var(--u));
}

.chip {
	display: inline-flex;
	align-items: center;
	height: calc(23 * var(--u));
	min-height: 22px;
	padding: 0 calc(24 * var(--u));
	border-radius: 999px;
	background: var(--chip);
	color: var(--muted);
	font-size: max(11px, calc(10 * var(--u)));
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.project-feature__head {
	margin-top: calc(56 * var(--u));
}

.project-feature__title {
	font-size: max(22px, calc(30 * var(--u)));
	letter-spacing: var(--ls-name);
	line-height: 1.2;
	text-transform: uppercase;
}

.project-feature__location {
	font-size: max(15px, calc(22 * var(--u)));
	letter-spacing: var(--ls-name);
	line-height: 1.2;
	text-transform: uppercase;
}

.project-feature__meta {
	margin-top: auto;
	padding-top: calc(40 * var(--u));
}

.project-feature__budget {
	font-size: max(15px, calc(16 * var(--u)));
	line-height: 1.2;
}

.project-feature__meta hr {
	margin: calc(18 * var(--u)) 0 calc(14 * var(--u));
	border: 0;
	border-top: 0.5px solid var(--muted);
}

.project-feature__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: var(--muted);
	font-size: max(11px, calc(10 * var(--u)));
	text-transform: uppercase;
}

.project-feature__nav {
	display: flex;
	justify-content: space-between;
	margin-top: calc(44 * var(--u));
}

.project-content {
	max-width: 900px;
	margin-top: calc(80 * var(--u));
	color: rgba(255, 255, 255, 0.82);
}

.masonry {
	margin-top: calc(114 * var(--u));
	column-count: 5;
	column-gap: calc(9 * var(--u));
}

.masonry__item {
	display: block;
	margin-bottom: calc(9 * var(--u));
	break-inside: avoid;
	overflow: hidden;
	background: #1e1e1e;
	position: relative;
}

.masonry__item img {
	width: 100%;
	transition: transform 1s var(--ease-out), filter 0.6s;
}

.masonry__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	transition: background-color 0.5s;
}

.masonry__item:hover img {
	transform: scale(1.06);
}

.masonry__item:hover::after {
	background: rgba(0, 0, 0, 0.18);
}

.cta-row--single {
	margin-top: calc(55 * var(--u));
}

/* ==========================================================================
   What we do: service process
   ========================================================================== */

.process {
	padding-top: calc(126 * var(--u));
	padding-bottom: calc(176 * var(--u));
}

.process__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: calc(118 * var(--u));
	margin-top: calc(111 * var(--u));
}

.process__step {
	padding-left: calc(41 * var(--u));
	padding-right: calc(30 * var(--u));
}

.process__step:nth-child(3n + 2) {
	padding-left: calc(45 * var(--u));
}

.process__step:nth-child(3n) {
	padding-left: calc(65 * var(--u));
}

.process__icon {
	width: calc(53 * var(--u));
	height: calc(53 * var(--u));
	min-width: 44px;
	min-height: 44px;
	color: var(--white);
}

.process__title {
	margin-top: calc(26 * var(--u));
	font-size: max(15px, calc(18 * var(--u)));
	letter-spacing: 0.06em;
	line-height: 1.25;
}

.process__points {
	margin-top: calc(14 * var(--u));
	font-size: max(14px, calc(18 * var(--u)));
	line-height: 1.2;
}

.process__points li {
	position: relative;
	padding-left: calc(18 * var(--u));
	max-width: calc(260 * var(--u));
}

.process__points li + li {
	margin-top: calc(10 * var(--u));
}

.process__points li::before {
	content: "•";
	position: absolute;
	left: 0;
}

.process__content {
	margin-top: calc(100 * var(--u));
}

.cta-row--process {
	margin-top: calc(124 * var(--u));
}

/* ==========================================================================
   Contact
   ========================================================================== */

.enquiry {
	display: grid;
	grid-template-columns: 1fr 2fr;
	margin-top: calc(150 * var(--u));
	padding-bottom: calc(90 * var(--u));
}

.enquiry__title {
	font-size: max(22px, calc(32.1 * var(--u)));
	letter-spacing: var(--ls-wide);
	line-height: 1.25;
}

.enquiry__text {
	margin-top: calc(34 * var(--u));
	max-width: calc(290 * var(--u));
	font-size: max(15px, calc(18.4 * var(--u)));
	line-height: 1.95;
}

.enquiry-form {
	display: grid;
	grid-template-columns: calc(223 * var(--u)) calc(253 * var(--u)) 1fr;
	grid-template-areas:
		"name location message"
		"email property message"
		"phone condition submit"
		"status status status";
	column-gap: calc(8 * var(--u));
	row-gap: calc(11 * var(--u));
	margin-top: calc(80 * var(--u));
	align-items: start;
}

.field--name { grid-area: name; }
.field--email { grid-area: email; }
.field--phone { grid-area: phone; }
.field--location { grid-area: location; }
.field--property { grid-area: property; }
.field--condition { grid-area: condition; }
.field--message { grid-area: message; height: 100%; }
.enquiry-form__submit { grid-area: submit; display: flex; justify-content: flex-end; }
.enquiry-form__status { grid-area: status; }

.field {
	position: relative;
}

.field__input {
	display: block;
	width: 100%;
	height: calc(56 * var(--u));
	min-height: 48px;
	padding: 0 calc(19 * var(--u));
	border: 1px solid transparent;
	border-radius: calc(10 * var(--u));
	background: var(--field);
	color: var(--white);
	font-size: max(15px, calc(18.4 * var(--u)));
	line-height: 1.3;
	outline: none;
	transition: border-color 0.3s, background-color 0.3s;
	-webkit-appearance: none;
	appearance: none;
}

.field__input::placeholder {
	color: var(--white);
	opacity: 1;
}

.field__input:focus {
	border-color: rgba(255, 255, 255, 0.45);
	background: #363636;
}

.field.is-invalid .field__input {
	border-color: #d97a6c;
}

textarea.field__input {
	height: 100%;
	min-height: calc(123 * var(--u));
	padding-top: calc(12 * var(--u));
	resize: vertical;
}

select.field__input {
	padding-right: calc(50 * var(--u));
	cursor: pointer;
}

select.field__input option {
	color: var(--black);
	background: var(--white);
}

.field__caret {
	position: absolute;
	right: calc(18 * var(--u));
	top: 50%;
	width: max(14px, calc(16 * var(--u)));
	height: max(14px, calc(16 * var(--u)));
	margin-top: max(-7px, calc(-8 * var(--u)));
	color: #9b9b9b;
	pointer-events: none;
	transition: transform 0.3s var(--ease-out);
}

/* Enhanced select (built by main.js) */
.field--select.is-enhanced select.field__input {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
}

.select-ui__toggle {
	display: flex;
	align-items: center;
	width: 100%;
	height: calc(56 * var(--u));
	min-height: 48px;
	padding: 0 calc(50 * var(--u)) 0 calc(19 * var(--u));
	border-radius: calc(10 * var(--u));
	background: var(--field);
	color: var(--white);
	font-size: max(15px, calc(18.4 * var(--u)));
	text-align: left;
	position: relative;
	z-index: 2;
	transition: border-radius 0.3s var(--ease-out);
}

.select-ui__toggle span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.field--select.is-open .select-ui__toggle {
	border-radius: calc(10 * var(--u)) calc(10 * var(--u)) 0 0;
}

.field--select.is-open .field__caret {
	transform: rotate(180deg);
}

.field--select .field__caret {
	z-index: 3;
}

.field--select .dropdown__menu {
	top: 100%;
	padding-top: calc(6 * var(--u));
	border-radius: 0 0 calc(10 * var(--u)) calc(10 * var(--u));
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
	z-index: 10;
}

.field--select.is-open .dropdown__menu {
	max-height: 320px;
	overflow-y: auto;
	visibility: visible;
	transition: max-height 0.5s var(--ease-out), visibility 0s;
}

.field--select .dropdown__menu [role="option"][aria-selected="true"],
.field--select .dropdown__menu [role="option"].is-active {
	background: #dedede;
}

.field--select.is-open {
	z-index: 10;
}

.enquiry-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.btn--send {
	width: calc(139 * var(--u));
	min-width: 120px;
	height: calc(55 * var(--u));
	min-height: 48px;
}

.btn--send.is-loading .btn__label::after {
	content: "…";
}

.enquiry-form__status {
	min-height: 1.5em;
	margin-top: calc(8 * var(--u));
	font-size: max(14px, calc(17 * var(--u)));
	letter-spacing: 0.04em;
}

.enquiry-form__status.is-sent {
	color: #b9e4c3;
}

.enquiry-form__status.is-error {
	color: #f0a497;
}

/* ---------- Contact info + map ---------- */

.contact-info {
	display: grid;
	grid-template-columns: calc(768 * var(--u)) 1fr;
	min-height: calc(592 * var(--u));
	background: var(--bg);
}

.contact-info__panel {
	position: relative;
	padding: calc(92 * var(--u)) 0 calc(80 * var(--u)) calc(117 * var(--u));
}

.contact-info__list > li {
	display: flex;
	gap: calc(26 * var(--u));
}

.contact-info__list > li + li {
	margin-top: calc(56 * var(--u));
}

.contact-info__icon {
	flex: none;
	width: max(18px, calc(22 * var(--u)));
	height: max(18px, calc(22 * var(--u)));
	margin-top: calc(1 * var(--u));
}

.contact-info__label,
.contact-info__value {
	display: block;
	font-size: max(15px, calc(18 * var(--u)));
	letter-spacing: var(--ls-wide);
	line-height: 1.25;
}

.contact-info__value {
	margin-top: calc(17 * var(--u));
	transition: opacity 0.3s;
}

.contact-info__value:hover {
	opacity: 0.7;
}

.contact-info__address {
	margin-top: calc(17 * var(--u));
	font-size: max(15px, calc(18 * var(--u)));
	line-height: 1.3;
}

.contact-info__social {
	gap: calc(26 * var(--u)) !important;
}

.contact-info__social a {
	display: block;
	width: max(20px, calc(22 * var(--u)));
	height: max(20px, calc(22 * var(--u)));
	transition: transform 0.4s var(--ease-out);
}

.contact-info__social a:hover {
	transform: scale(1.15);
}

.contact-info__social svg {
	width: 100%;
	height: 100%;
}

.contact-info__vertical {
	position: absolute;
	left: calc(603 * var(--u));
	top: calc(57 * var(--u));
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: calc(102.5 * var(--u));
	letter-spacing: 0.24em;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.24);
	white-space: nowrap;
	pointer-events: none;
}

.contact-info__map {
	position: relative;
	overflow: hidden;
	background: #2e2e2e;
}

.contact-info__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	/* Dark, desaturated map to match the layout. */
	filter: grayscale(1) invert(0.9) contrast(0.85) brightness(0.8);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	position: relative;
	z-index: 3;
	background: var(--bg-footer);
	color: var(--muted);
	padding: calc(127 * var(--u)) 0 calc(96 * var(--u));
	min-height: calc(392 * var(--u));
	font-size: max(12.5px, calc(13.9 * var(--u)));
	line-height: 1.3;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, calc(384 * var(--u)));
	margin-left: var(--wrap-x);
}

.site-footer a {
	transition: color 0.3s;
}

.site-footer a:hover {
	color: var(--white);
}

.footer-item {
	display: flex;
	gap: calc(24 * var(--u));
}

.footer-item + .footer-item {
	margin-top: calc(28 * var(--u));
}

.footer-item__icon {
	flex: none;
	width: max(12px, calc(14 * var(--u)));
	height: max(12px, calc(14 * var(--u)));
	margin-top: calc(1 * var(--u));
}

.footer-item__label {
	margin-bottom: calc(14 * var(--u));
}

.footer-item--inline {
	align-items: center;
	gap: calc(15 * var(--u));
}

.footer-item--inline + .footer-item--inline {
	margin-top: calc(20 * var(--u));
}

.footer-item--inline .footer-item__icon {
	width: max(18px, calc(22 * var(--u)));
	height: max(18px, calc(22 * var(--u)));
	margin: 0;
}

.site-footer__copy {
	margin-top: calc(18 * var(--u));
	font-size: max(12px, calc(13.6 * var(--u)));
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: calc(-1 * var(--u));
}

.site-footer__brand .logo-mark {
	width: calc(70 * var(--u));
	min-width: 56px;
	color: var(--white);
	transition: transform 0.6s var(--ease-out);
}

.site-footer__brand a:hover .logo-mark {
	transform: rotate(-8deg) scale(1.06);
}

.site-footer__brand p {
	margin-top: calc(28 * var(--u));
	margin-right: -0.2em;
}

.site-footer address {
	line-height: 1.87;
	margin-top: calc(-4 * var(--u));
}

/* ==========================================================================
   WhatsApp float
   ========================================================================== */

.whatsapp-float {
	position: fixed;
	right: calc(145 * var(--u));
	bottom: calc(108 * var(--u));
	z-index: 40;
	display: grid;
	place-items: center;
	width: calc(87 * var(--u));
	height: calc(87 * var(--u));
	min-width: 54px;
	min-height: 54px;
	border-radius: 50%;
	background: var(--black);
	color: var(--white);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.whatsapp-float svg {
	width: 52%;
	height: 52%;
}

.whatsapp-float:hover {
	transform: scale(1.08) rotate(-6deg);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: grid;
	place-items: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}

.lightbox.is-open {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.4s var(--ease-out), visibility 0s;
}

.lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.94);
}

.lightbox__stage {
	position: relative;
	width: min(88vw, 1400px);
	height: min(80vh, 900px);
	display: grid;
	place-items: center;
}

.lightbox__stage img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}

.lightbox__stage iframe,
.lightbox__stage video {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	max-height: 100%;
	border: 0;
	background: var(--black);
	border-radius: 14px;
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--white);
	color: var(--black);
	transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.lightbox__btn:hover {
	transform: scale(1.08);
}

.lightbox__btn svg {
	width: 22px;
	height: 22px;
}

.lightbox__close {
	top: 24px;
	right: 24px;
}

.lightbox__prev {
	left: 24px;
	top: 50%;
	margin-top: -27px;
}

.lightbox__next {
	right: 24px;
	top: 50%;
	margin-top: -27px;
}

.lightbox.is-single .lightbox__prev,
.lightbox.is-single .lightbox__next,
.lightbox.is-single .lightbox__counter {
	display: none;
}

.lightbox__counter {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}

html.lightbox-open,
html.menu-open {
	overflow: hidden;
}

/* ==========================================================================
   Basic pages (default templates, 404)
   ========================================================================== */

.basic-page {
	padding-top: calc(300 * var(--u));
	padding-bottom: calc(160 * var(--u));
	min-height: 70vh;
}

.basic-page__head {
	margin-bottom: calc(60 * var(--u));
}

.basic-page--404 {
	text-align: center;
}

.basic-page__code {
	font-size: max(90px, calc(200 * var(--u)));
	letter-spacing: 0.2em;
	line-height: 1;
	margin-bottom: 30px;
	color: rgba(255, 255, 255, 0.15);
	text-indent: 0.2em;
}

.basic-page--404 .cta-row {
	margin-top: 50px;
}

.entry-content {
	max-width: 820px;
	font-size: max(16px, calc(18.4 * var(--u)));
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.86);
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2,
.entry-content h3 {
	letter-spacing: var(--ls-name);
	color: var(--white);
	line-height: 1.3;
}

.entry-content a {
	border-bottom: 1px solid currentColor;
}

.entry-content ul {
	list-style: disc;
	padding-left: 1.2em;
}

.entry-content ol {
	list-style: decimal;
	padding-left: 1.2em;
}

.post-list li {
	border-bottom: 1px solid var(--line);
}

.post-list a {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font-size: 22px;
}

.post-list__date {
	font-size: 14px;
	color: var(--muted);
}

/* ==========================================================================
   Animation initial states (only when JS + motion are available)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal],
	.js [data-intro],
	.js [data-tile],
	.js [data-step],
	.js .masonry__item {
		opacity: 0;
	}

	.js [data-split] {
		visibility: hidden;
	}

	.js .grid-lines span,
	.js .brand-box__rule {
		transform: scaleY(0);
	}

	.js .provides__line {
		transform: scaleX(0);
	}

	.js .provides__dot {
		transform: scale(0);
	}

	.js [data-clip-reveal] {
		clip-path: inset(100% 0 0 0);
	}

	.js .brand-box {
		clip-path: inset(0 0 100% 0);
	}

	.js .primary-nav li,
	.js .primary-nav .search-pill {
		opacity: 0;
	}

	.js [data-signature] {
		clip-path: inset(0 100% 0 0);
	}
}

/* Split text helpers */
.split-line {
	overflow: clip;
	overflow-clip-margin: 0.1em;
	padding-bottom: 0.04em;
	margin-bottom: -0.04em;
}

/* Safety net: if animation setup fails, show everything. */
.anim-off [data-reveal],
.anim-off [data-intro],
.anim-off [data-tile],
.anim-off [data-step],
.anim-off .masonry__item,
.anim-off .primary-nav li,
.anim-off .primary-nav .search-pill {
	opacity: 1 !important;
}

.anim-off [data-split] {
	visibility: visible !important;
}

.anim-off .grid-lines span,
.anim-off .brand-box__rule,
.anim-off .provides__line,
.anim-off .provides__dot {
	transform: none !important;
}

.anim-off [data-clip-reveal],
.anim-off .brand-box,
.anim-off [data-signature] {
	clip-path: none !important;
}

.anim-off .curtain {
	visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.curtain {
		display: none;
	}
}

/* ==========================================================================
   Large desktop / laptop fine-tuning
   ========================================================================== */

@media (max-width: 1440px) and (min-width: 1024px) {
	.concept__text {
		max-width: none;
	}
}

/* ==========================================================================
   Tablet & mobile (< 1024px)
   ========================================================================== */

@media (max-width: 1023px) {
	:root {
		--gutter: 32px;
		--wrap-x: var(--gutter);
	}

	body {
		font-size: 16px;
	}

	.grid-lines span:nth-child(1) { left: var(--gutter); }
	.grid-lines span:nth-child(2) { left: 50%; }
	.grid-lines span:nth-child(3) { display: none; }
	.grid-lines span:nth-child(4) { left: calc(100% - var(--gutter)); }

	.section-shadow::before {
		height: 40px;
	}

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

	.primary-nav {
		display: none;
	}

	.brand-box {
		width: 96px;
		height: 96px;
		--logo-x: 0;
		--logo-y: 0;
	}

	.brand-box--home {
		width: 84px;
		height: 196px;
	}

	.brand-box {
		display: grid;
		place-items: center;
	}

	.brand-box__logo {
		position: static;
		width: 56px;
	}

	.brand-box--home .brand-box__logo {
		width: 30px;
	}

	.brand-box__rule,
	.brand-box__social {
		display: none;
	}

	.menu-toggle {
		position: fixed;
		top: calc(20px + env(safe-area-inset-top));
		right: var(--gutter);
		z-index: 60;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 7px;
		width: 52px;
		height: 52px;
		border-radius: 50%;
		background: var(--white);
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
		transition: background-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
	}

	.menu-toggle__bar {
		display: block;
		width: 20px;
		height: 1.5px;
		background: var(--black);
		transition: transform 0.5s var(--ease-out), background-color 0.4s;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-of-type {
		transform: translateY(4.25px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-of-type {
		transform: translateY(-4.25px) rotate(-45deg);
	}

	.sticky-bar {
		height: calc(92px + env(safe-area-inset-top));
		padding: env(safe-area-inset-top) var(--gutter) 0;
	}

	.sticky-bar__nav {
		display: none;
	}

	.sticky-bar__logo {
		width: 50px;
	}

	.mobile-menu {
		position: fixed;
		inset: 0;
		z-index: 55;
		display: block;
		background: var(--bg-footer);
		clip-path: circle(0 at calc(100% - var(--gutter) - 26px) calc(46px + env(safe-area-inset-top)));
		visibility: hidden;
		transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.mobile-menu.is-open {
		clip-path: circle(150% at calc(100% - var(--gutter) - 26px) calc(46px + env(safe-area-inset-top)));
		visibility: visible;
		transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
	}

	.mobile-menu__inner {
		display: flex;
		flex-direction: column;
		gap: 40px;
		min-height: 100%;
		padding: calc(120px + env(safe-area-inset-top)) var(--gutter) calc(40px + env(safe-area-inset-bottom));
	}

	.mobile-menu__nav li {
		border-bottom: 1px solid var(--line);
		overflow: hidden;
	}

	.mobile-menu__nav a {
		display: flex;
		align-items: baseline;
		gap: 18px;
		padding: 18px 0;
		font-size: clamp(30px, 8vw, 46px);
		letter-spacing: 0.14em;
		line-height: 1.1;
	}

	.mobile-menu__nav a.is-current {
		color: #999999;
	}

	.mobile-menu__num {
		font-size: 13px;
		letter-spacing: 0.1em;
		color: var(--muted);
	}

	.mobile-menu .search-pill {
		width: 100%;
		height: 52px;
	}

	.mobile-menu .search-pill:focus-within {
		width: 100%;
	}

	.mobile-menu__meta {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin-top: auto;
		font-size: 16px;
		letter-spacing: var(--ls-copy);
		color: rgba(255, 255, 255, 0.75);
	}

	.mobile-menu__social {
		display: flex;
		gap: 18px;
		margin-top: 10px;
	}

	.mobile-menu__social a {
		width: 26px;
		height: 26px;
	}

	.mobile-menu__social svg {
		width: 100%;
		height: 100%;
	}

	/* ---------- Heroes ---------- */

	.hero {
		min-height: 0;
	}

	.hero__bg {
		height: 100%;
	}

	.hero__img {
		object-position: 30% 0;
	}

	.hero--home {
		min-height: min(100svh, 980px);
		display: flex;
		flex-direction: column;
	}

	.hero--home .hero__bg {
		height: calc(100% + 120px);
	}

	.hero--home .hero__content {
		flex: 1;
		padding-top: calc(130px + env(safe-area-inset-top));
		padding-bottom: 170px;
	}

	.home-title {
		font-size: clamp(34px, 7vw, 52px);
	}

	.signature-block {
		margin-top: auto;
		padding-top: 60px;
	}

	.signature-block__sign {
		width: clamp(170px, 34vw, 240px);
		margin-right: 0;
	}

	.signature-block__name {
		margin-top: 36px;
		margin-right: 0;
		font-size: 24px;
	}

	.signature-block__position {
		margin-right: 0;
		font-size: 16px;
	}

	.signature-block .btn {
		margin-top: 28px;
	}

	.hero__title {
		font-size: clamp(36px, 8.4vw, 70px);
		letter-spacing: 0.14em;
		margin-right: -0.14em;
	}

	.hero__kicker {
		font-size: clamp(20px, 4.6vw, 34px);
	}

	.hero__text {
		font-size: clamp(16px, 3.4vw, 22px);
	}

	.hero__subtitle {
		font-size: clamp(14px, 3.4vw, 22px);
		letter-spacing: 0.14em;
		margin-right: -0.14em;
	}

	.hero--projects {
		padding-bottom: 40px;
	}

	.hero--projects .hero__content {
		padding-top: calc(170px + env(safe-area-inset-top));
		min-height: min(78svh, 700px);
		justify-content: center;
	}

	.hero--projects .hero__text {
		margin-top: 24px;
	}

	.filters {
		position: relative !important;
		top: auto;
		margin-top: 48px;
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}

	.filters .dropdown {
		width: 100%;
	}

	.hero--wwd .hero__content {
		padding-top: calc(170px + env(safe-area-inset-top));
		min-height: min(72svh, 640px);
		justify-content: center;
		padding-bottom: 40px;
	}

	.hero--wwd .hero__text {
		margin-top: 14px;
	}

	.hero--wwd .btn {
		margin-top: 32px;
	}

	.hero--contact .hero__content {
		padding-top: calc(170px + env(safe-area-inset-top));
		min-height: min(56svh, 500px);
		justify-content: center;
	}

	.hero--contact .hero__subtitle {
		margin-top: 18px;
	}

	/* ---------- Home ---------- */

	.concept {
		height: auto;
		padding: 0 var(--gutter);
		margin-top: -40px;
	}

	.concept__video {
		position: relative !important;
		left: 0;
		width: 100%;
		height: auto;
		aspect-ratio: 1152 / 684;
		border-radius: 20px;
	}

	.play-btn {
		margin: -32px 0 0 -32px;
		width: 64px;
		height: 64px;
	}

	.concept__box {
		position: relative !important;
		left: auto;
		top: auto;
		width: min(88%, 460px);
		min-height: 0;
		margin: -60px 0 0 auto;
		padding: 36px 32px 40px;
	}

	.concept__title {
		font-size: 26px;
	}

	.concept__text {
		max-width: none;
		margin-top: 16px;
		padding-left: 0;
		font-size: 16px;
	}

	.provides {
		height: auto;
		padding: 100px var(--gutter) 110px;
	}

	.provides__track {
		width: calc(100% - 60px);
		margin-top: 64px;
	}

	.provides__label {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.provides__dot {
		width: 28px;
		height: 28px;
	}

	.provides__line {
		bottom: 14px;
	}

	.overview {
		padding-top: 100px;
		padding-bottom: 100px;
	}

	.overview .project-grid {
		margin-top: 50px;
	}

	.overview__cta {
		margin-top: 44px;
	}

	/* ---------- Tiles ---------- */

	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-grid--home .project-tile:nth-child(3):last-child {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 11;
	}

	.project-tile__label {
		left: 24px;
		top: 24px;
	}

	.project-tile__title {
		font-size: 22px;
	}

	.project-tile__location {
		font-size: 17px;
	}

	.project-tile__overlay {
		opacity: 0.75;
	}

	.project-tile__zoom {
		display: none;
	}

	/* ---------- Archive ---------- */

	.projects-list {
		padding-bottom: 90px;
	}

	.cta-row--projects {
		margin-top: 70px;
	}

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

	.project-detail {
		padding-top: calc(130px + env(safe-area-inset-top));
		padding-bottom: 90px;
	}

	.project-feature {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.project-feature__media {
		aspect-ratio: 768 / 614;
	}

	.project-feature__info {
		padding: 36px 32px 40px;
		min-height: 380px;
	}

	.project-feature__head {
		margin-top: 40px;
	}

	.project-feature__nav {
		margin-top: 36px;
	}

	.chip {
		padding: 0 14px;
	}

	.masonry {
		margin-top: 60px;
		column-count: 3;
		column-gap: 8px;
	}

	.masonry__item {
		margin-bottom: 8px;
	}

	.cta-row--single {
		margin-top: 50px;
	}

	/* ---------- What we do ---------- */

	.process {
		padding-top: 80px;
		padding-bottom: 100px;
	}

	.process__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 56px 32px;
		margin-top: 64px;
	}

	.process__step,
	.process__step:nth-child(3n + 2),
	.process__step:nth-child(3n) {
		padding: 0;
	}

	.process__title {
		margin-top: 18px;
	}

	.process__points li {
		padding-left: 16px;
		max-width: none;
	}

	.cta-row--process {
		margin-top: 80px;
	}

	/* ---------- Contact ---------- */

	.enquiry {
		grid-template-columns: 1fr;
		margin-top: 30px;
		padding-bottom: 80px;
	}

	.enquiry__text {
		max-width: 420px;
		margin-top: 16px;
		line-height: 1.6;
	}

	.enquiry-form {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"name location"
			"email property"
			"phone condition"
			"message message"
			"submit submit"
			"status status";
		gap: 10px;
		margin-top: 36px;
	}

	.field__input,
	.select-ui__toggle {
		border-radius: 10px;
		padding-left: 18px;
	}

	textarea.field__input {
		min-height: 140px;
		padding-top: 14px;
	}

	.field__caret {
		right: 16px;
	}

	.enquiry-form__submit {
		justify-content: flex-end;
		margin-top: 8px;
	}

	.contact-info {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.contact-info__panel {
		padding: 80px var(--gutter) 70px;
		overflow: hidden;
	}

	.contact-info__list > li {
		gap: 18px;
	}

	.contact-info__list > li + li {
		margin-top: 36px;
	}

	.contact-info__value,
	.contact-info__address {
		margin-top: 10px;
	}

	.contact-info__vertical {
		left: auto;
		right: -0.12em;
		top: 50%;
		transform: translateY(-50%) rotate(180deg);
		font-size: clamp(64px, 16vw, 120px);
		color: rgba(255, 255, 255, 0.07);
	}

	.contact-info__map {
		height: 380px;
	}

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

	.site-footer {
		padding: 70px var(--gutter) calc(110px + env(safe-area-inset-bottom));
		min-height: 0;
		font-size: 13px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 44px 24px;
		margin: 0;
	}

	.site-footer__brand {
		order: -1;
		grid-column: 1 / -1;
		align-items: flex-start;
	}

	.site-footer__brand p {
		margin-top: 16px;
	}

	.site-footer__social {
		grid-column: 1 / -1;
		order: 5;
	}

	.footer-item {
		gap: 14px;
	}

	.footer-item + .footer-item {
		margin-top: 24px;
	}

	.footer-item__label {
		margin-bottom: 8px;
	}

	.whatsapp-float {
		right: var(--gutter);
		bottom: calc(24px + env(safe-area-inset-bottom));
		width: 58px;
		height: 58px;
	}

	.basic-page {
		padding-top: calc(160px + env(safe-area-inset-top));
		padding-bottom: 100px;
	}

	.lightbox__stage {
		width: 94vw;
		height: 72vh;
	}

	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 20px;
		margin: 0;
	}

	.lightbox__prev {
		left: calc(50% - 70px);
	}

	.lightbox__next {
		right: calc(50% - 70px);
	}

	.lightbox__counter {
		bottom: auto;
		top: 36px;
	}

	.lightbox__close {
		top: 20px;
		right: 20px;
	}
}

/* ==========================================================================
   Phones (< 640px)
   ========================================================================== */

@media (max-width: 639px) {
	:root {
		--gutter: 20px;
	}

	.grid-lines span:nth-child(2) {
		display: none;
	}

	.brand-box {
		width: 84px;
		height: 84px;
	}

	.brand-box__logo {
		width: 48px;
	}

	.brand-box--home {
		width: 70px;
		height: 168px;
	}

	.brand-box--home .brand-box__logo {
		width: 26px;
	}

	.menu-toggle {
		top: calc(16px + env(safe-area-inset-top));
		width: 48px;
		height: 48px;
	}

	.sticky-bar {
		height: calc(80px + env(safe-area-inset-top));
	}

	.hero--home .hero__content {
		padding-bottom: 140px;
	}

	.hero__img {
		object-position: 22% 0;
	}

	.hero--projects .hero__img {
		object-position: 18% 0;
	}

	.hero--contact .hero__img {
		object-position: 40% 0;
	}

	.filters {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 36px;
	}

	.concept {
		margin-top: -70px;
	}

	.concept__box {
		width: calc(100% - 24px);
		margin-top: -36px;
		padding: 30px 26px 34px;
	}

	.concept__title {
		font-size: 23px;
	}

	/* Vertical timeline for "We provides". */
	.provides__track {
		width: auto;
		max-width: 320px;
		margin: 56px auto 0;
		padding-left: 0;
	}

	.provides__list {
		flex-direction: column;
		gap: 34px;
	}

	.provides__step {
		width: auto;
		flex-direction: row-reverse;
		justify-content: flex-end;
		gap: 22px;
	}

	.provides__label {
		margin: 0;
		font-size: 18px;
		letter-spacing: 0.06em;
	}

	.provides__dot {
		width: 24px;
		height: 24px;
		min-width: 24px;
		min-height: 24px;
	}

	.provides__line {
		left: 11.5px;
		right: auto;
		top: 12px;
		bottom: 12px;
		width: 1px;
		height: auto;
		transform-origin: 50% 0;
	}

	.js .provides__line {
		transform: scaleY(0);
	}

	.project-grid {
		grid-template-columns: 1fr;
	}

	.project-grid--home .project-tile:nth-child(3):last-child {
		aspect-ratio: 640 / 889;
	}

	.project-tile {
		aspect-ratio: 4 / 5;
	}

	.masonry {
		column-count: 2;
		column-gap: 6px;
	}

	.masonry__item {
		margin-bottom: 6px;
	}

	.project-feature__info {
		padding: 30px 24px 34px;
	}

	.process__grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.process__step {
		display: grid;
		grid-template-columns: 52px 1fr;
		column-gap: 20px;
	}

	.process__icon {
		grid-row: span 2;
	}

	.process__title {
		margin-top: 2px;
	}

	.process__points {
		margin-top: 10px;
	}

	.enquiry-form {
		grid-template-columns: 1fr;
		grid-template-areas:
			"name"
			"email"
			"phone"
			"location"
			"property"
			"condition"
			"message"
			"submit"
			"status";
	}

	.btn--send {
		width: 100%;
	}

	.contact-info__map {
		height: 300px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.btn--lg,
	.btn--wide {
		width: 100%;
		max-width: 360px;
	}

	.lightbox__stage {
		height: 64vh;
	}
}
