:root {
	--qe-navy: #071a2b;
	--qe-navy-2: #0d263d;
	--qe-ink: #0a1c2c;
	--qe-blue: #1672e6;
	--qe-blue-light: #70b8ff;
	--qe-ivory: #f4f1ea;
	--qe-paper: #fbfaf7;
	--qe-white: #fff;
	--qe-slate: #5f6b76;
	--qe-line: rgba(7, 26, 43, 0.14);
	--qe-line-light: rgba(255, 255, 255, 0.2);
	--qe-shadow: 0 28px 70px rgba(5, 22, 37, 0.12);
	--qe-radius: 22px;
	--qe-container: 1240px;
	--qe-gutter: clamp(20px, 4vw, 64px);
	--qe-serif: Georgia, "Times New Roman", serif;
	--qe-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
}

body {
	margin: 0;
	background: var(--qe-ivory);
	color: var(--qe-ink);
	font-family: var(--qe-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.is-menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

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

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

button {
	color: inherit;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--qe-serif);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.04;
	overflow-wrap: break-word;
	text-wrap: balance;
}

h1 {
	font-size: clamp(3.25rem, 7.5vw, 7.8rem);
}

h2 {
	font-size: clamp(2.35rem, 5.2vw, 5.1rem);
}

h3 {
	font-size: clamp(1.45rem, 2.3vw, 2.15rem);
}

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

:focus-visible {
	outline: 3px solid var(--qe-blue-light);
	outline-offset: 4px;
}

.qe-container {
	width: min(100% - (var(--qe-gutter) * 2), var(--qe-container));
	margin-inline: auto;
}

.qe-skip-link {
	position: fixed;
	z-index: 9999;
	top: -80px;
	left: 20px;
	padding: 12px 18px;
	border-radius: 0 0 10px 10px;
	background: var(--qe-blue);
	color: var(--qe-white);
	font-weight: 700;
	transition: top 0.2s ease;
}

.qe-skip-link:focus {
	top: 0;
}

.qe-eyebrow {
	display: inline-block;
	color: var(--qe-blue);
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.115em;
	line-height: 1.3;
	text-transform: uppercase;
}

.qe-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.qe-button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 750;
	letter-spacing: -0.01em;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.qe-button:hover {
	transform: translateY(-2px);
}

.qe-button--blue {
	background: var(--qe-blue);
	color: var(--qe-white);
}

.qe-button--blue:hover {
	background: #0c5fc6;
}

.qe-button--light {
	background: var(--qe-white);
	color: var(--qe-navy);
}

.qe-button--ghost-light {
	border-color: rgba(255, 255, 255, 0.44);
	color: var(--qe-white);
}

.qe-button--ghost-light:hover {
	border-color: var(--qe-white);
	background: rgba(255, 255, 255, 0.08);
}

.qe-button--block {
	width: 100%;
}

.qe-text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--qe-blue);
	font-size: 0.92rem;
	font-weight: 760;
}

.qe-text-link span {
	transition: transform 0.2s ease;
}

.qe-text-link:hover span {
	transform: translate(3px, -3px);
}

.qe-text-link--light {
	color: var(--qe-blue-light);
}

/* Header */
.qe-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(7, 26, 43, 0.94);
	color: var(--qe-white);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.qe-header__inner {
	display: flex;
	min-height: 76px;
	align-items: center;
	gap: 28px;
}

.qe-brand {
	display: inline-flex;
	min-width: max-content;
	align-items: center;
	gap: 11px;
}

.qe-brand__mark {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.qe-brand__custom-logo {
	width: auto;
	max-width: min(280px, 50vw);
	max-height: 48px;
}

.qe-brand__word {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.qe-brand__word strong {
	color: var(--qe-white);
	font-size: 0.91rem;
	letter-spacing: 0.015em;
}

.qe-brand__word small {
	margin-top: 6px;
	color: var(--qe-blue-light);
	font-size: 0.48rem;
	letter-spacing: 0.04em;
}

.qe-nav {
	margin-left: auto;
}

.qe-nav__list,
.qe-mobile-nav__list,
.qe-footer ul,
.qe-footer .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.qe-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(4px, 1vw, 18px);
}

.qe-nav__list > li {
	position: relative;
}

.qe-nav__list a {
	display: block;
	padding: 11px 8px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.82rem;
	font-weight: 620;
	transition: color 0.2s ease;
}

.qe-nav__list a:hover,
.qe-nav__list .current-menu-item > a,
.qe-nav__list .current_page_item > a {
	color: var(--qe-white);
}

.qe-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	display: none;
	min-width: 240px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--qe-line-light);
	border-radius: 14px;
	background: var(--qe-navy);
	list-style: none;
	box-shadow: var(--qe-shadow);
}

.qe-nav__list li:hover > .sub-menu,
.qe-nav__list li:focus-within > .sub-menu {
	display: block;
}

.qe-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qe-header__cta {
	padding: 10px 17px;
	border-radius: 999px;
	background: var(--qe-white);
	color: var(--qe-navy);
	font-size: 0.8rem;
	font-weight: 750;
}

.qe-menu-toggle {
	display: none;
	position: relative;
	z-index: 2;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 9px;
	border: 0;
	background: transparent;
	color: var(--qe-white);
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.qe-menu-toggle__label {
	font-size: 0.76rem;
}

.qe-menu-toggle__icon {
	display: grid;
	width: 26px;
	gap: 7px;
}

.qe-menu-toggle__icon i {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: var(--qe-white);
	transition: transform 0.2s ease;
}

.qe-menu-toggle[aria-expanded="true"] .qe-menu-toggle__icon i:first-child {
	transform: translateY(4px) rotate(45deg);
}

.qe-menu-toggle[aria-expanded="true"] .qe-menu-toggle__icon i:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.qe-mobile-nav {
	position: absolute;
	z-index: 20;
	top: 100%;
	right: 0;
	left: 0;
	height: calc(100svh - 76px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--qe-navy);
	color: var(--qe-white);
	box-shadow: 0 28px 60px rgba(4, 16, 28, 0.32);
}

.qe-mobile-nav[hidden] {
	display: none;
}

@supports (height: 100dvh) {
	.qe-mobile-nav {
		height: calc(100dvh - 76px);
	}
}

.qe-mobile-nav nav {
	padding-block: 28px 44px;
}

.qe-mobile-nav__list > li {
	border-bottom: 1px solid var(--qe-line-light);
}

.qe-mobile-nav__list a {
	display: block;
	padding: 18px 0;
	font-family: var(--qe-serif);
	font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.qe-mobile-nav__list .sub-menu {
	padding: 0 0 14px 18px;
	list-style: none;
}

.qe-mobile-nav__list .sub-menu a {
	padding: 9px 0;
	font-family: var(--qe-sans);
	font-size: 1rem;
}

.qe-mobile-nav .qe-button {
	margin-top: 28px;
}

/* Hero */
.qe-hero {
	display: grid;
	min-height: calc(100svh - 76px);
	grid-template-columns: minmax(440px, 0.88fr) minmax(0, 1.12fr);
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-hero > *,
.qe-page-hero > *,
.qe-service-hero > *,
.qe-contact-hero > *,
.qe-contact-band > *,
.qe-renovation > *,
.qe-deliverables > * {
	min-width: 0;
}

.qe-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(64px, 10vh, 130px) var(--qe-gutter) 42px;
	background:
		linear-gradient(145deg, transparent 0 58%, rgba(22, 114, 230, 0.1) 58% 70%, transparent 70%),
		var(--qe-navy);
}

.qe-hero__copy {
	max-width: 660px;
}

.qe-hero__copy h1 {
	max-width: 8ch;
	margin: 24px 0 30px;
	font-size: clamp(3.8rem, 6.9vw, 7.5rem);
}

.qe-hero__copy > p {
	max-width: 620px;
	margin-bottom: 34px;
	color: rgba(255, 255, 255, 0.74);
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	line-height: 1.55;
}

.qe-hero__foot {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--qe-line-light);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.qe-hero__foot p {
	margin: 0;
}

.qe-hero__foot span {
	color: rgba(255, 255, 255, 0.48);
}

.qe-hero__media {
	position: relative;
	min-height: 680px;
	background-image:
		linear-gradient(90deg, rgba(7, 26, 43, 0.34), transparent 35%),
		var(--qe-hero-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.qe-hero__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(4, 17, 28, 0.42));
	content: "";
}

.qe-hero__media-label {
	position: absolute;
	z-index: 1;
	right: max(96px, var(--qe-gutter));
	bottom: 42px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 14px;
	background: rgba(7, 26, 43, 0.5);
	color: var(--qe-white);
	backdrop-filter: blur(12px);
}

.qe-hero__media-label span {
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.qe-hero__media-label strong {
	font-family: var(--qe-serif);
	font-size: 1.5rem;
}

/* Shared sections */
.qe-section {
	position: relative;
	padding: clamp(84px, 10vw, 148px) 0;
}

.qe-section--white {
	background: var(--qe-paper);
}

.qe-section--ivory {
	background: var(--qe-ivory);
}

.qe-section--navy {
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-section-heading {
	max-width: 860px;
	margin-bottom: clamp(42px, 6vw, 78px);
}

.qe-section-heading h2 {
	margin: 16px 0 0;
}

.qe-section-heading > p,
.qe-section-heading--split > p {
	color: var(--qe-slate);
	font-size: 1.05rem;
}

.qe-section-heading--split {
	display: grid;
	max-width: none;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.65fr);
	gap: clamp(36px, 7vw, 110px);
	align-items: end;
}

.qe-section-heading--light > p,
.qe-section-heading--light p {
	color: rgba(255, 255, 255, 0.63);
}

.qe-section-heading--light .qe-eyebrow {
	color: var(--qe-blue-light);
}

.qe-proof {
	border-bottom: 1px solid var(--qe-line);
	background: var(--qe-paper);
}

.qe-proof__inner {
	display: grid;
	grid-template-columns: minmax(300px, 1.7fr) repeat(3, minmax(120px, 0.55fr));
	align-items: stretch;
}

.qe-proof__intro,
.qe-proof__stat {
	padding: 34px 28px;
}

.qe-proof__intro {
	padding-left: 0;
}

.qe-proof__intro p {
	max-width: 600px;
	margin: 10px 0 0;
	font-family: var(--qe-serif);
	font-size: 1.35rem;
	line-height: 1.25;
}

.qe-proof__stat {
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 1px solid var(--qe-line);
}

.qe-proof__stat strong {
	font-family: var(--qe-serif);
	font-size: clamp(2.4rem, 4vw, 4rem);
	line-height: 1;
}

.qe-proof__stat span {
	margin-top: 8px;
	color: var(--qe-slate);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Core service split */
.qe-core-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.qe-core-service {
	overflow: hidden;
	border-radius: var(--qe-radius);
	background: var(--qe-white);
	box-shadow: var(--qe-shadow);
}

.qe-core-service__media {
	min-height: clamp(300px, 37vw, 520px);
	background-position: center;
	background-size: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.qe-core-service:hover .qe-core-service__media {
	transform: scale(1.025);
}

.qe-core-service--qs .qe-core-service__media {
	background-image: linear-gradient(180deg, rgba(7, 26, 43, 0.08), rgba(7, 26, 43, 0.36)), var(--qe-core-image, url("../images/qs-workspace.webp"));
}

.qe-core-service--build .qe-core-service__media {
	background-image: linear-gradient(180deg, transparent, rgba(7, 26, 43, 0.28)), var(--qe-core-image, url("../images/hero-villa.webp"));
}

.qe-core-service__body {
	padding: clamp(28px, 4vw, 52px);
}

.qe-core-service__body h3 {
	max-width: 12ch;
	margin: 14px 0 20px;
	font-size: clamp(2rem, 3.7vw, 3.8rem);
}

.qe-core-service__body p {
	max-width: 56ch;
	color: var(--qe-slate);
}

/* Lifecycle */
.qe-lifecycle {
	overflow: hidden;
}

.qe-lifecycle__backdrop {
	position: absolute;
	inset: 0;
	opacity: 0.19;
	background:
		linear-gradient(rgba(112, 184, 255, 0.22) 1px, transparent 1px),
		linear-gradient(90deg, rgba(112, 184, 255, 0.22) 1px, transparent 1px),
		linear-gradient(0deg, rgba(7, 26, 43, 0.72), rgba(7, 26, 43, 0.72)),
		var(--qe-lifecycle-image, url("../images/qs-workspace.webp")) center / cover;
	background-size: 72px 72px, 72px 72px, cover, cover;
}

.qe-lifecycle .qe-container {
	position: relative;
}

.qe-lifecycle__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 34px;
}

.qe-stage {
	padding: clamp(28px, 4vw, 50px);
	border: 1px solid rgba(112, 184, 255, 0.45);
	border-radius: var(--qe-radius);
	background: rgba(5, 22, 37, 0.78);
	backdrop-filter: blur(12px);
}

.qe-stage__head {
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 36px;
}

.qe-stage__head strong {
	color: var(--qe-blue-light);
	font-family: var(--qe-serif);
	font-size: 2.2rem;
}

.qe-stage__head h3 {
	margin: 0;
	font-family: var(--qe-sans);
	font-size: 1.05rem;
	letter-spacing: 0;
}

.qe-stage ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.qe-stage li {
	position: relative;
	margin-top: 16px;
	padding-left: 26px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.88rem;
}

.qe-stage li::before {
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--qe-blue-light);
	content: "";
}

/* Deliverables */
.qe-deliverables {
	display: grid;
	padding: 0;
	grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
	background: var(--qe-paper);
}

.qe-deliverables__visual {
	display: flex;
	min-height: 980px;
	align-items: flex-end;
	padding: clamp(40px, 6vw, 90px);
	background:
		linear-gradient(180deg, rgba(7, 26, 43, 0.03) 30%, rgba(7, 26, 43, 0.88) 100%),
		var(--qe-deliverables-image, url("../images/deliverables-worktable-premium.webp")) center / cover;
	color: var(--qe-white);
}

.qe-deliverables__visual h2 {
	margin: 16px 0 0;
	font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.qe-deliverables__content {
	padding: clamp(72px, 9vw, 136px) clamp(28px, 7vw, 110px);
}

.qe-deliverables__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 30px;
}

.qe-deliverable {
	display: grid;
	min-height: 170px;
	grid-template-columns: 38px 1fr;
	gap: 14px;
	padding: 28px 0;
	border-top: 1px solid var(--qe-line);
}

.qe-deliverable > span {
	color: var(--qe-blue);
	font-size: 0.7rem;
	font-weight: 800;
}

.qe-deliverable h3 {
	margin: 0 0 14px;
	font-family: var(--qe-sans);
	font-size: 1rem;
	letter-spacing: 0;
}

.qe-deliverable p {
	margin: 0;
	color: var(--qe-slate);
	font-size: 0.82rem;
	line-height: 1.5;
}

/* Dynamic services */
.qe-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.qe-service-card {
	min-height: 430px;
	border: 1px solid var(--qe-line);
	border-radius: var(--qe-radius);
	background: var(--qe-paper);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.qe-service-card:hover {
	transform: translateY(-6px);
	background: var(--qe-white);
	box-shadow: var(--qe-shadow);
}

.qe-service-card > a {
	display: flex;
	height: 100%;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(26px, 3vw, 38px);
}

.qe-service-card__number {
	margin-bottom: 42px;
	color: var(--qe-blue);
	font-family: var(--qe-serif);
	font-size: 2rem;
}

.qe-service-card h3 {
	margin: 12px 0 16px;
	font-size: clamp(1.65rem, 2.5vw, 2.4rem);
}

.qe-service-card p {
	color: var(--qe-slate);
	font-size: 0.94rem;
}

.qe-service-card ul {
	margin: 12px 0 26px;
	padding: 0;
	list-style: none;
}

.qe-service-card li {
	padding: 5px 0;
	border-bottom: 1px solid var(--qe-line);
	color: var(--qe-slate);
	font-size: 0.8rem;
}

.qe-service-card .qe-text-link {
	margin-top: auto;
}

.qe-service-index .qe-service-card {
	min-height: 396px;
}

.qe-service-index .qe-service-card__number {
	margin-bottom: 30px;
	font-family: var(--qe-sans);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.qe-service-index .qe-service-card h3 {
	display: -webkit-box;
	min-height: 2.42em;
	margin: 11px 0 13px;
	overflow: hidden;
	font-family: var(--qe-sans);
	font-size: clamp(1.22rem, 1.65vw, 1.52rem);
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.21;
	text-wrap: pretty;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.qe-service-index .qe-service-card p {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.88rem;
	line-height: 1.58;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/* Projects */
.qe-project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 20px;
}

.qe-project-card {
	overflow: hidden;
	border: 1px solid var(--qe-line-light);
	border-radius: 18px;
	background: var(--qe-navy-2);
	transition: border-color 0.25s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.qe-project-card:hover {
	border-color: rgba(22, 114, 230, 0.32);
	box-shadow: 0 24px 48px rgba(7, 26, 43, 0.11);
	transform: translateY(-4px);
}

.qe-project-card__link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
}

.qe-project-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.qe-project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.qe-project-card:hover .qe-project-card__media img {
	transform: scale(1.04);
}

.qe-project-card__arrow {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid rgba(7, 26, 43, 0.08);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--qe-navy);
	font-size: 1.08rem;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.qe-project-card:hover .qe-project-card__arrow {
	background: var(--qe-blue);
	color: var(--qe-white);
	transform: rotate(45deg);
}

.qe-project-card__body {
	display: flex;
	min-height: 202px;
	flex-direction: column;
	padding: 24px 24px 22px;
}

.qe-project-card__division {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	min-height: 26px;
	margin-bottom: 16px;
	padding: 5px 9px;
	border: 0;
	border-radius: 999px;
	color: var(--qe-blue-light);
	background: rgba(112, 184, 255, 0.1);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	line-height: 1;
	text-transform: uppercase;
}

.qe-project-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: var(--qe-blue-light);
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.105em;
	line-height: 1.3;
	text-transform: uppercase;
}

.qe-project-card h3 {
	display: -webkit-box;
	min-height: 2.36em;
	margin: 15px 0 10px;
	overflow: hidden;
	color: var(--qe-white);
	font-family: var(--qe-sans);
	font-size: clamp(1.08rem, 1.42vw, 1.38rem);
	font-weight: 720;
	letter-spacing: -0.022em;
	line-height: 1.18;
	text-wrap: pretty;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.qe-project-card p {
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.79rem;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Process, sectors, quotes */
.qe-process {
	background: var(--qe-paper);
}

.qe-process__list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--qe-line);
	list-style: none;
}

.qe-process__list li {
	display: grid;
	grid-template-columns: 90px minmax(200px, 0.55fr) minmax(0, 1fr);
	gap: 24px;
	align-items: baseline;
	padding: 30px 0;
	border-bottom: 1px solid var(--qe-line);
}

.qe-process__list li > span {
	color: var(--qe-blue);
	font-family: var(--qe-serif);
	font-size: 1.7rem;
}

.qe-process__list h3 {
	margin: 0;
}

.qe-process__list p {
	margin: 0;
	color: var(--qe-slate);
}

.qe-sectors__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--qe-line);
	border-left: 1px solid var(--qe-line);
}

.qe-sectors__list span {
	padding: 32px 24px;
	border-right: 1px solid var(--qe-line);
	border-bottom: 1px solid var(--qe-line);
	font-family: var(--qe-serif);
	font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.qe-testimonials {
	background: var(--qe-paper);
}

.qe-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.qe-quote {
	display: flex;
	min-height: 300px;
	flex-direction: column;
	justify-content: space-between;
	margin: 0;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--qe-line);
	border-radius: var(--qe-radius);
	background: var(--qe-ivory);
}

.qe-quote > p {
	font-family: var(--qe-serif);
	font-size: clamp(1.4rem, 2.4vw, 2.1rem);
	line-height: 1.32;
}

.qe-quote footer {
	display: flex;
	flex-direction: column;
	font-size: 0.82rem;
}

.qe-quote footer span {
	color: var(--qe-slate);
}

/* Forms and CTA */
.qe-contact-band {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-contact-band__visual {
	min-height: 880px;
	background:
		linear-gradient(180deg, rgba(7, 26, 43, 0.05), rgba(7, 26, 43, 0.5)),
		var(--qe-contact-image, url("../images/contact-hospitality.webp")) center / cover;
}

.qe-contact-band__content {
	padding: clamp(70px, 9vw, 130px) clamp(28px, 8vw, 120px);
}

.qe-contact-band__content > h2 {
	max-width: 11ch;
	margin: 16px 0 24px;
}

.qe-contact-band__content > p {
	max-width: 640px;
	color: rgba(255, 255, 255, 0.66);
}

.qe-enquiry-form {
	margin-top: 38px;
}

.qe-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.qe-form-grid label {
	display: block;
}

.qe-form-grid label > span {
	display: block;
	margin-bottom: 7px;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.qe-form-grid__full {
	grid-column: 1 / -1;
}

.qe-enquiry-form input,
.qe-enquiry-form select,
.qe-enquiry-form textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 9px;
	outline: 0;
	background: rgba(255, 255, 255, 0.07);
	color: inherit;
}

.qe-enquiry-form select option {
	color: var(--qe-navy);
}

.qe-enquiry-form input:focus,
.qe-enquiry-form select:focus,
.qe-enquiry-form textarea:focus {
	border-color: var(--qe-blue-light);
	box-shadow: 0 0 0 3px rgba(112, 184, 255, 0.15);
}

.qe-enquiry-form .qe-button {
	margin-top: 22px;
	border: 0;
	cursor: pointer;
}

.qe-form-privacy {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.72rem;
}

.qe-honeypot {
	position: absolute;
	left: -9999px;
}

.qe-form-notice {
	margin: 20px 0;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 0.9rem;
}

.qe-form-notice--success {
	background: rgba(43, 193, 117, 0.18);
	color: #b8f3d4;
}

.qe-form-notice--error {
	background: rgba(227, 80, 80, 0.18);
	color: #ffc3c3;
}

.qe-enquiry-section {
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-enquiry-section__grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(48px, 8vw, 120px);
}

.qe-enquiry-section__grid > div:first-child {
	position: sticky;
	top: 130px;
	align-self: start;
}

.qe-enquiry-section__grid h2 {
	margin: 16px 0 24px;
	font-size: clamp(2.35rem, 4vw, 4.4rem);
	overflow-wrap: anywhere;
}

.qe-enquiry-section__grid > div:first-child p {
	color: rgba(255, 255, 255, 0.65);
}

/* Page heroes */
.qe-page-hero {
	display: grid;
	min-height: 720px;
	grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-page-hero__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: clamp(70px, 10vw, 140px) var(--qe-gutter);
}

.qe-page-hero__copy h1 {
	width: 100%;
	max-width: 100%;
	margin: 18px 0 28px;
	font-size: clamp(3.25rem, 4.8vw, 6rem);
	overflow-wrap: anywhere;
}

.qe-page-hero__copy p {
	max-width: 620px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 1.1rem;
}

.qe-page-hero__media {
	min-height: 560px;
	background-position: center;
	background-size: cover;
}

.qe-page-hero__media--drawings {
	background-image: linear-gradient(90deg, rgba(7, 26, 43, 0.18), transparent 48%), var(--qe-page-hero-image, url("../images/services-worktable-premium.webp"));
	background-position: 52% center;
}

.qe-page-hero--projects .qe-page-hero__media {
	background-image: linear-gradient(90deg, rgba(7, 26, 43, 0.25), transparent), url("../images/portfolio-villa.webp");
}

.qe-page-hero--about .qe-page-hero__media {
	background-image: linear-gradient(90deg, rgba(7, 26, 43, 0.16), transparent), url("../images/maison-aela.webp");
}

.qe-page-hero--service .qe-page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qe-page-hero--compact {
	display: block;
	min-height: 0;
	padding: clamp(90px, 12vw, 170px) 0;
}

.qe-page-hero--compact h1 {
	max-width: 11ch;
	margin: 16px 0 24px;
}

.qe-page-hero--compact p {
	max-width: 650px;
	color: rgba(255, 255, 255, 0.68);
}

.qe-service-hero {
	display: grid;
	min-height: calc(100svh - 76px);
	grid-template-columns: 0.85fr 1.15fr;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-service-hero__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: clamp(72px, 10vw, 140px) var(--qe-gutter);
}

.qe-service-hero__copy h1 {
	width: 100%;
	max-width: 100%;
	margin: 18px 0 28px;
	font-size: clamp(3.25rem, 4.8vw, 6rem);
	overflow-wrap: anywhere;
}

.qe-service-hero__copy > p {
	max-width: 600px;
	margin-bottom: 32px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 1.08rem;
}

.qe-service-hero__media {
	min-height: 650px;
	background-position: center;
	background-size: cover;
}

.qe-service-hero--qs .qe-service-hero__media {
	background-image: linear-gradient(90deg, rgba(7, 26, 43, 0.28), transparent), url("../images/qs-workspace.webp");
}

.qe-service-hero--build .qe-service-hero__media {
	background-image: linear-gradient(90deg, rgba(7, 26, 43, 0.28), transparent), url("../images/hero-villa.webp");
}

/* Service and about page components */
.qe-stage-list {
	border-top: 1px solid var(--qe-line);
}

.qe-stage-row {
	display: grid;
	grid-template-columns: 90px minmax(220px, 0.6fr) minmax(0, 1fr);
	gap: 30px;
	padding: 38px 0;
	border-bottom: 1px solid var(--qe-line);
}

.qe-stage-row > span {
	color: var(--qe-blue);
	font-family: var(--qe-serif);
	font-size: 2rem;
}

.qe-stage-row h3 {
	margin: 0;
}

.qe-stage-row ul {
	margin: 0;
	padding-left: 22px;
	color: var(--qe-slate);
}

.qe-output-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.qe-output-card {
	display: flex;
	min-height: 300px;
	padding: 26px;
	flex-direction: column;
	border: 1px solid var(--qe-line);
	border-radius: 16px;
	background: var(--qe-paper);
}

.qe-output-card > span {
	color: var(--qe-blue);
	font-size: 0.72rem;
	font-weight: 800;
}

.qe-output-card h3 {
	margin: 28px 0 12px;
	font-family: var(--qe-sans);
	font-size: 1.02rem;
	line-height: 1.35;
	letter-spacing: 0;
}

.qe-output-card p {
	margin: 0;
	color: var(--qe-slate);
	font-size: 0.83rem;
	line-height: 1.65;
}

.qe-output-card__content {
	flex: 1;
}

.qe-output-card .qe-output-card__use {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--qe-line);
	color: var(--qe-ink);
	font-size: 0.72rem;
	line-height: 1.45;
}

.qe-output-card__use strong {
	display: block;
	margin-bottom: 4px;
	color: var(--qe-blue);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.qe-reasons,
.qe-control-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--qe-line-light);
	border-left: 1px solid var(--qe-line-light);
}

.qe-reasons article,
.qe-control-grid article {
	padding: 30px;
	border-right: 1px solid var(--qe-line-light);
	border-bottom: 1px solid var(--qe-line-light);
}

.qe-reasons h3,
.qe-control-grid h3 {
	font-family: var(--qe-sans);
	font-size: 1rem;
	letter-spacing: 0;
}

.qe-reasons p,
.qe-control-grid p {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.86rem;
}

.qe-construction-scope {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.qe-construction-scope article {
	display: flex;
	min-height: 390px;
	padding: 28px;
	flex-direction: column;
	border: 1px solid var(--qe-line);
	border-radius: 16px;
}

.qe-construction-scope article > span {
	color: var(--qe-blue);
	font-family: var(--qe-serif);
	font-size: 2rem;
}

.qe-construction-scope h3 {
	margin: 34px 0 14px;
	font-size: 1.32rem;
	line-height: 1.08;
}

.qe-construction-scope p {
	margin: 0;
	color: var(--qe-slate);
	font-size: 0.88rem;
	line-height: 1.65;
}

.qe-construction-scope__content {
	flex: 1;
}

.qe-construction-scope .qe-construction-scope__use {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--qe-line);
	color: var(--qe-ink);
	font-size: 0.75rem;
	line-height: 1.45;
}

.qe-construction-scope__use strong {
	display: block;
	margin-bottom: 4px;
	color: var(--qe-blue);
	font-family: var(--qe-sans);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.qe-renovation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--qe-ivory);
}

.qe-renovation__media {
	min-height: 760px;
	background: linear-gradient(180deg, transparent, rgba(7, 26, 43, 0.25)), url("../images/maison-aela.webp") center / cover;
}

.qe-renovation__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(64px, 8vw, 120px);
}

.qe-renovation__copy h2 {
	margin: 16px 0 24px;
}

.qe-renovation__copy > p {
	color: var(--qe-slate);
}

.qe-renovation__copy ul {
	margin: 24px 0 0;
	padding: 0;
	border-top: 1px solid var(--qe-line);
	list-style: none;
}

.qe-renovation__copy li {
	padding: 13px 0;
	border-bottom: 1px solid var(--qe-line);
}

.qe-split-cta {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.qe-split-cta > a {
	min-height: 440px;
	padding: clamp(48px, 7vw, 100px);
	background: var(--qe-navy);
	color: var(--qe-white);
	transition: background 0.2s ease;
}

.qe-split-cta > a + a {
	border-left: 1px solid var(--qe-line-light);
	background: var(--qe-navy-2);
}

.qe-split-cta > a:hover {
	background: #103453;
}

.qe-split-cta h2 {
	max-width: 10ch;
	margin: 16px 0 44px;
}

.qe-about-intro,
.qe-leadership__grid {
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(50px, 9vw, 150px);
}

.qe-about-intro h2,
.qe-leadership h2 {
	margin: 16px 0 0;
}

.qe-about-intro p {
	color: var(--qe-slate);
	font-size: 1.08rem;
}

.qe-leadership h3 {
	color: var(--qe-blue-light);
	font-family: var(--qe-sans);
	font-size: 0.95rem;
	letter-spacing: 0;
}

.qe-leadership__grid > div:last-child {
	color: rgba(255, 255, 255, 0.68);
	font-size: 1.08rem;
}

.qe-team-section {
	background: var(--qe-white);
}

.qe-team-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
	gap: clamp(40px, 8vw, 120px);
	align-items: end;
	margin-bottom: clamp(42px, 6vw, 72px);
}

.qe-team-heading h2 {
	max-width: 11ch;
	margin: 16px 0 0;
	font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.qe-team-heading > p {
	margin-bottom: 7px;
	color: var(--qe-slate);
	font-size: 1rem;
}

.qe-team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.qe-team-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--qe-line);
	border-radius: 20px;
	background: var(--qe-paper);
	box-shadow: 0 12px 32px rgba(5, 22, 37, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qe-team-card:hover {
	box-shadow: 0 22px 50px rgba(5, 22, 37, 0.12);
	transform: translateY(-5px);
}

.qe-team-card__media {
	overflow: hidden;
	aspect-ratio: 4 / 4.75;
	background: #e9e7e3;
}

.qe-team-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.qe-team-card:hover .qe-team-card__media img {
	transform: scale(1.025);
}

.qe-team-card__body {
	display: flex;
	min-height: 112px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 18px;
}

.qe-team-card__body h3 {
	margin: 0 0 5px;
	font-family: var(--qe-sans);
	font-size: 1.08rem;
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.qe-team-card__body p {
	margin: 0;
	color: var(--qe-slate);
	font-size: 0.83rem;
	line-height: 1.4;
}

.qe-team-card__open {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--qe-navy);
	color: var(--qe-white);
	font-size: 1.45rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.qe-team-card__open:hover {
	background: var(--qe-blue);
	transform: rotate(45deg);
}

.qe-team-dialog {
	width: min(620px, calc(100% - 36px));
	padding: clamp(30px, 5vw, 58px);
	border: 0;
	border-radius: 24px;
	background: var(--qe-paper);
	color: var(--qe-ink);
	box-shadow: 0 35px 100px rgba(3, 14, 24, 0.35);
}

.qe-team-dialog::backdrop {
	background: rgba(3, 14, 24, 0.72);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

.qe-team-dialog__close {
	position: absolute;
	top: 18px;
	right: 18px;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--qe-line);
	border-radius: 50%;
	background: var(--qe-white);
	color: var(--qe-navy);
	font-size: 1.45rem;
	line-height: 1;
	cursor: pointer;
}

.qe-team-dialog h3 {
	margin: 18px 0 6px;
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.qe-team-dialog__role {
	margin-bottom: 26px;
	color: var(--qe-blue);
	font-weight: 750;
}

.qe-team-dialog__summary {
	color: var(--qe-slate);
	font-size: 1.04rem;
}

.qe-team-dialog__relationship {
	margin: 28px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--qe-line);
	color: var(--qe-navy);
	font-size: 0.76rem;
	font-weight: 780;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.qe-identity-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	border-top: 1px solid var(--qe-line);
	border-left: 1px solid var(--qe-line);
}

.qe-identity-grid > div {
	padding: 30px;
	border-right: 1px solid var(--qe-line);
	border-bottom: 1px solid var(--qe-line);
}

.qe-identity-grid dt {
	color: var(--qe-blue);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.qe-identity-grid dd {
	margin: 10px 0 0;
	font-family: var(--qe-serif);
	font-size: 1.25rem;
}

/* Projects */
.qe-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 44px;
}

.qe-filter a {
	padding: 9px 15px;
	border: 1px solid var(--qe-line);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
}

.qe-filter a:hover,
.qe-filter a.is-active {
	border-color: var(--qe-navy);
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-filter--division {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 0 0 clamp(68px, 8vw, 112px);
	padding: 1px;
	border: 1px solid var(--qe-line);
	border-radius: 18px;
	background: var(--qe-line);
	overflow: hidden;
}

.qe-filter--division a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	min-width: 0;
	padding: 20px 22px;
	border: 0;
	border-radius: 0;
	background: var(--qe-paper);
}

.qe-filter--division a span {
	font-family: var(--qe-serif);
	font-size: clamp(1.1rem, 1.6vw, 1.4rem);
	font-weight: 600;
	line-height: 1.15;
}

.qe-filter--division a small {
	color: var(--qe-slate);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.qe-filter--division a:hover,
.qe-filter--division a.is-active {
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-filter--division a:hover small,
.qe-filter--division a.is-active small {
	color: rgba(255, 255, 255, 0.65);
}

.qe-portfolio-division + .qe-portfolio-division {
	margin-top: clamp(88px, 11vw, 150px);
	padding-top: clamp(72px, 9vw, 112px);
	border-top: 1px solid var(--qe-line);
}

.qe-portfolio-division__head {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
	gap: clamp(40px, 8vw, 130px);
	align-items: end;
	margin-bottom: clamp(38px, 5vw, 64px);
}

.qe-portfolio-division__head h2 {
	margin: 9px 0 0;
	font-size: clamp(2.4rem, 5vw, 5.2rem);
	line-height: 0.96;
}

.qe-portfolio-division__intro {
	max-width: 540px;
}

.qe-portfolio-division__intro p {
	margin: 0 0 18px;
	color: var(--qe-slate);
	font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.qe-portfolio-division__intro span {
	display: inline-block;
	padding-top: 11px;
	border-top: 2px solid var(--qe-blue);
	color: var(--qe-navy);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.qe-portfolio-division__empty {
	padding: 28px;
	border: 1px solid var(--qe-line);
	color: var(--qe-slate);
}

.qe-project-grid--archive .qe-project-card {
	background: var(--qe-white);
}

.qe-project-grid--archive .qe-project-card h3 {
	color: var(--qe-navy);
}

.qe-project-grid--archive .qe-project-card p {
	color: var(--qe-slate);
}

.qe-project-grid--archive .qe-project-card__body {
	border-top: 1px solid var(--qe-line);
}

.qe-project-grid--archive .qe-project-card__meta {
	color: var(--qe-blue);
}

.qe-project-grid--archive .qe-project-card__division {
	color: var(--qe-blue);
	background: rgba(22, 114, 230, 0.075);
}

.qe-pagination {
	margin-top: 50px;
}

.qe-pagination ul {
	display: flex;
	gap: 8px;
	justify-content: center;
	padding: 0;
	list-style: none;
}

.qe-pagination a,
.qe-pagination span {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid var(--qe-line);
	border-radius: 50%;
}

.qe-pagination .current {
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-project-hero {
	position: relative;
	display: flex;
	min-height: 82svh;
	align-items: flex-end;
	background-image: var(--qe-project-image);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--qe-white);
}

.qe-project-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 26, 43, 0.08), rgba(7, 26, 43, 0.86));
}

.qe-project-hero__copy {
	position: relative;
	min-width: 0;
	padding-block: 90px;
}

.qe-project-hero__copy h1 {
	width: 100%;
	max-width: 100%;
	margin: 16px 0 18px;
	font-size: clamp(3.25rem, 5.5vw, 6rem);
	overflow-wrap: anywhere;
}

.qe-project-hero__copy p {
	margin: 0;
	color: rgba(255, 255, 255, 0.74);
}

.qe-project-content {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.55fr);
	gap: clamp(52px, 7vw, 108px);
	padding-block: clamp(68px, 8vw, 108px);
}

.qe-prose.qe-project-content__main {
	max-width: 760px;
	padding-block: 0;
}

.qe-prose.qe-project-content__main h2 {
	margin: clamp(44px, 6vw, 68px) 0 14px;
	padding-top: 20px;
	border-top: 1px solid var(--qe-line);
	font-family: var(--qe-sans);
	font-size: clamp(1.45rem, 2vw, 1.9rem);
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.18;
	text-wrap: pretty;
}

.qe-prose.qe-project-content__main h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.qe-prose.qe-project-content__main p {
	max-width: 68ch;
	margin-bottom: 0;
	font-size: clamp(0.98rem, 1.2vw, 1.06rem);
	line-height: 1.72;
}

.qe-project-facts {
	align-self: start;
	position: sticky;
	top: 104px;
	padding: 26px;
	border: 1px solid var(--qe-line);
	border-radius: 16px;
	background: var(--qe-paper);
}

.qe-project-facts dl {
	margin: 24px 0 0;
}

.qe-project-facts dl > div {
	padding: 14px 0;
	border-top: 1px solid var(--qe-line);
}

.qe-project-facts dt {
	color: var(--qe-slate);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.qe-project-facts dd {
	margin: 4px 0 0;
	font-weight: 650;
}

.qe-project-outcome {
	padding: 90px 0;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-project-outcome h2 {
	max-width: 28ch;
	margin: 16px 0 0;
	font-family: var(--qe-sans);
	font-size: clamp(1.6rem, 3vw, 2.6rem);
	font-weight: 680;
	letter-spacing: -0.025em;
	line-height: 1.22;
	text-wrap: pretty;
}

.qe-project-next {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-block: 42px;
	border-top: 1px solid var(--qe-line);
	font-weight: 750;
}

.qe-service-detail {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
	gap: clamp(50px, 8vw, 120px);
	padding-block: clamp(76px, 10vw, 140px);
}

.qe-service-detail aside {
	align-self: start;
	padding: 30px;
	border-radius: 16px;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-service-detail aside ul {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.qe-service-detail aside li {
	padding: 11px 0;
	border-top: 1px solid var(--qe-line-light);
}

.qe-service-tabs {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.62fr);
	gap: clamp(36px, 6vw, 86px);
	align-items: start;
	padding-block: clamp(70px, 8vw, 110px);
}

.qe-service-tabs__stage {
	min-width: 0;
	min-height: 560px;
	padding: clamp(32px, 5vw, 66px);
	border: 1px solid var(--qe-line);
	border-radius: 20px;
	background: var(--qe-paper);
	box-shadow: 0 24px 70px rgba(7, 26, 43, 0.06);
}

.qe-service-tab-panel[hidden] {
	display: none;
}

.qe-service-tab-panel {
	position: relative;
	min-width: 0;
	outline: 0;
	animation: qe-tab-in 0.32s ease both;
}

@keyframes qe-tab-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.qe-service-tab-panel__count {
	position: absolute;
	top: 0;
	right: 0;
	color: var(--qe-slate);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.qe-service-tab-panel h2 {
	max-width: 18ch;
	margin: 18px 0 clamp(34px, 5vw, 56px);
	font-family: var(--qe-sans);
	font-size: clamp(1.9rem, 3.5vw, 3.1rem);
	font-weight: 720;
	letter-spacing: -0.04em;
	line-height: 1.06;
	text-wrap: pretty;
}

.qe-service-tab-panel__copy {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-bottom: clamp(34px, 5vw, 52px);
	border: 1px solid var(--qe-line);
	border-radius: 14px;
	background: var(--qe-line);
	overflow: hidden;
}

.qe-service-tab-panel__copy > div {
	min-width: 0;
	padding: clamp(22px, 3vw, 30px);
	background: var(--qe-white);
}

.qe-service-tab-panel__copy h3 {
	margin: 0 0 13px;
	color: var(--qe-blue);
	font-family: var(--qe-sans);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	line-height: 1.3;
	text-transform: uppercase;
}

.qe-service-tab-panel__copy p {
	margin: 0;
	color: #35424e;
	font-size: clamp(0.92rem, 1.2vw, 1.02rem);
	line-height: 1.68;
}

.qe-service-tab-panel > .qe-text-link {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.qe-service-tabs__nav {
	position: sticky;
	top: 104px;
	min-width: 0;
	padding: 28px;
	border-radius: 18px;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-service-tab-list {
	margin-top: 22px;
	border-bottom: 1px solid var(--qe-line-light);
}

.qe-service-tab-button {
	display: grid;
	width: 100%;
	grid-template-columns: 28px minmax(0, 1fr) 22px;
	gap: 10px;
	align-items: center;
	padding: 17px 0;
	border: 0;
	border-top: 1px solid var(--qe-line-light);
	background: transparent;
	color: rgba(255, 255, 255, 0.68);
	text-align: left;
	cursor: pointer;
	transition: color 0.2s ease, padding 0.25s ease;
}

.qe-service-tab-button > span {
	color: var(--qe-blue-light);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.qe-service-tab-button strong {
	font-size: 0.92rem;
	font-weight: 560;
	line-height: 1.35;
}

.qe-service-tab-button i {
	font-size: 0.9rem;
	font-style: normal;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.qe-service-tab-button:hover,
.qe-service-tab-button.is-active {
	padding-left: 8px;
	color: var(--qe-white);
}

.qe-service-tab-button.is-active strong {
	font-weight: 720;
}

.qe-service-tab-button:hover i,
.qe-service-tab-button.is-active i {
	opacity: 1;
	transform: none;
}

/* Contact page */
.qe-contact-hero {
	display: grid;
	min-height: calc(100svh - 76px);
	grid-template-columns: 1fr 1fr;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-contact-hero__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: clamp(70px, 9vw, 130px) var(--qe-gutter);
}

.qe-contact-hero__copy h1 {
	width: 100%;
	max-width: 100%;
	margin: 16px 0 26px;
	font-size: clamp(3.25rem, 4.8vw, 6rem);
	overflow-wrap: anywhere;
}

.qe-contact-hero__copy > p {
	max-width: 560px;
	color: rgba(255, 255, 255, 0.66);
}

.qe-contact-hero__details {
	display: grid;
	gap: 10px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--qe-line-light);
}

.qe-contact-hero__details a,
.qe-contact-hero__details .qe-contact-value {
	display: block;
	font-family: var(--qe-serif);
	font-size: 1.35rem;
}

.qe-contact-hero__details p {
	max-width: 520px;
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.8rem;
}

.qe-contact-hero__media {
	background: linear-gradient(90deg, rgba(7, 26, 43, 0.18), transparent), url("../images/contact-hospitality.webp") center / cover;
}

.qe-contact-map {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(380px, 0.8fr);
	background: var(--qe-paper);
}

.qe-contact-map__frame {
	min-height: 650px;
	background: #e8e6e0;
}

.qe-contact-map__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 650px;
	border: 0;
	filter: saturate(0.82) contrast(1.03);
}

.qe-contact-map__content {
	display: flex;
	padding: clamp(72px, 8vw, 120px);
	flex-direction: column;
	justify-content: center;
}

.qe-contact-map__content h2 {
	max-width: 11ch;
	margin: 16px 0 24px;
	font-size: clamp(2.8rem, 4.4vw, 4.6rem);
	line-height: 0.98;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.qe-contact-map__content > p {
	max-width: 52ch;
	margin: 0;
	color: var(--qe-slate);
	font-size: 0.94rem;
	line-height: 1.72;
}

.qe-contact-map__content dl {
	margin: 36px 0;
}

.qe-contact-map__content dl div {
	padding: 16px 0;
	border-top: 1px solid var(--qe-line);
}

.qe-contact-map__content dt {
	margin-bottom: 6px;
	color: var(--qe-blue);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.qe-contact-map__content dd {
	max-width: 46ch;
	margin: 0;
	color: var(--qe-ink);
	font-size: 0.88rem;
	line-height: 1.6;
}

/* Content and blog */
.qe-prose {
	max-width: 840px;
	padding-block: clamp(60px, 9vw, 120px);
}

.qe-prose > :first-child {
	margin-top: 0;
}

.qe-prose h2 {
	margin-top: 1.35em;
	font-size: clamp(2rem, 4vw, 3.8rem);
}

.qe-prose h3 {
	margin-top: 1.5em;
}

.qe-prose p,
.qe-prose li {
	color: #35424e;
}

.qe-prose a {
	color: var(--qe-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.qe-prose figure,
.qe-prose img {
	border-radius: 14px;
}

.qe-prose .wp-block-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.qe-prose .wp-block-gallery figure {
	margin: 0;
}

.qe-prose .wp-block-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qe-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.qe-post-card {
	overflow: hidden;
	border: 1px solid var(--qe-line);
	border-radius: var(--qe-radius);
	background: var(--qe-paper);
}

.qe-post-card__media {
	aspect-ratio: 16 / 10;
}

.qe-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qe-post-card__body {
	padding: 24px;
}

.qe-post-card time {
	color: var(--qe-blue);
	font-size: 0.7rem;
	font-weight: 750;
	text-transform: uppercase;
}

.qe-post-card h2 {
	margin: 12px 0;
	font-size: 1.7rem;
}

.qe-post-card p {
	color: var(--qe-slate);
	font-size: 0.88rem;
}

.qe-article-hero {
	padding: clamp(90px, 12vw, 170px) 0;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-article-hero h1 {
	max-width: 12ch;
	margin: 16px 0 24px;
}

.qe-article-hero p {
	max-width: 700px;
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.1rem;
}

.qe-article-image {
	margin-top: -64px;
}

.qe-article-image img {
	width: 100%;
	max-height: 780px;
	border-radius: var(--qe-radius);
	object-fit: cover;
}

.qe-not-found {
	display: grid;
	min-height: 76svh;
	place-items: center;
	padding: 80px 0;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-not-found h1 {
	max-width: 9ch;
	margin: 16px 0 24px;
}

.qe-not-found p {
	max-width: 560px;
	color: rgba(255, 255, 255, 0.65);
}

/* Footer */
.qe-footer {
	background: #041421;
	color: var(--qe-white);
}

.qe-footer__top {
	display: grid;
	grid-template-columns: minmax(260px, 1.45fr) repeat(2, minmax(150px, 0.65fr)) minmax(240px, 1fr);
	gap: clamp(34px, 6vw, 84px);
	padding-block: 80px;
}

.qe-footer__brand p {
	max-width: 380px;
	margin: 26px 0 16px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.86rem;
}

.qe-footer__email {
	display: block;
	padding: 5px 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.84rem;
}

.qe-footer h2 {
	margin: 0 0 18px;
	color: var(--qe-blue-light);
	font-family: var(--qe-sans);
	font-size: 0.68rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.qe-footer li a,
.qe-footer__contact a,
.qe-footer__contact .qe-contact-value {
	display: block;
	padding: 5px 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.84rem;
}

.qe-footer__contact p {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.56);
	font-size: 0.78rem;
	line-height: 1.6;
}

.qe-footer__contact-label {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, 0.36);
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.qe-footer__contact .qe-footer__hours {
	margin: 13px 0 18px;
	padding-top: 13px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qe-footer__contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 16px;
}

.qe-footer__contact .qe-footer__contact-actions a {
	display: inline-flex;
	padding: 0;
	align-items: center;
	color: var(--qe-blue-light);
	font-size: 0.72rem;
	font-weight: 750;
}

.qe-footer__bottom {
	border-top: 1px solid var(--qe-line-light);
}

.qe-footer__bottom .qe-container {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px;
}

.qe-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.68rem;
}

.qe-whatsapp {
	position: fixed;
	z-index: 90;
	right: 20px;
	bottom: 20px;
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: #1fbf63;
	color: var(--qe-white);
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
	font-size: 1.75rem;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.qe-whatsapp:hover {
	background: #17a955;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
	transform: translateY(-2px);
}

.qe-whatsapp i,
.qe-whatsapp .svg-inline--fa {
	display: block;
	width: 27px;
	height: 27px;
	line-height: 1;
}

/* Reveal motion */
.js .qe-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.js .qe-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Tablet */
@media (max-width: 1100px) {
	.qe-nav--desktop,
	.qe-header__cta {
		display: none;
	}

	.qe-menu-toggle {
		display: flex;
	}

	.qe-header__actions {
		margin-left: auto;
	}

	.qe-hero,
	.qe-service-hero {
		grid-template-columns: 1fr 1fr;
	}

	.qe-hero__copy h1 {
		font-size: clamp(3.5rem, 7vw, 5.8rem);
	}

	.qe-proof__inner {
		grid-template-columns: 1.4fr repeat(3, 0.6fr);
	}

	.qe-service-grid,
	.qe-project-grid,
	.qe-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qe-output-grid,
	.qe-construction-scope,
	.qe-reasons,
	.qe-control-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qe-footer__top {
		grid-template-columns: 1.4fr repeat(2, 0.7fr);
	}

	.qe-footer__contact {
		grid-column: 1 / -1;
	}
}

@media (max-width: 860px) {
	.qe-team-heading {
		grid-template-columns: 1fr;
	}

	.qe-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qe-filter--division {
		grid-template-columns: 1fr;
	}

	.qe-filter--division a {
		padding: 17px 18px;
	}

	.qe-portfolio-division__head {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.qe-service-tabs {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.qe-service-tabs__nav {
		position: static;
		order: -1;
		padding: 22px;
	}

	.qe-service-tab-list {
		display: grid;
		grid-auto-columns: minmax(230px, 72vw);
		grid-auto-flow: column;
		gap: 8px;
		margin-inline: -6px;
		padding: 0 6px 8px;
		border-bottom: 0;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory;
		scrollbar-width: thin;
	}

	.qe-service-tab-button {
	min-height: 86px;
	padding: 14px;
	border: 1px solid var(--qe-line-light);
	border-radius: 12px;
	scroll-snap-align: start;
	}

	.qe-service-tab-button:hover,
	.qe-service-tab-button.is-active {
		padding-left: 14px;
		background: rgba(112, 184, 255, 0.12);
		border-color: rgba(112, 184, 255, 0.42);
	}

	.qe-project-card__body {
		min-height: 194px;
	}

	.qe-hero,
	.qe-page-hero,
	.qe-service-hero,
	.qe-contact-hero {
		grid-template-columns: 1fr;
	}

	.qe-hero {
		min-height: 0;
	}

	.qe-hero__content {
		min-height: 690px;
		padding-top: 96px;
	}

	.qe-hero__media,
	.qe-page-hero__media,
	.qe-service-hero__media,
	.qe-contact-hero__media {
		min-height: 70vw;
		max-height: 780px;
	}

	.qe-hero__media-label {
		right: 84px;
	}

	.qe-proof__inner {
		grid-template-columns: repeat(3, 1fr);
	}

	.qe-proof__intro {
		grid-column: 1 / -1;
		padding-right: 0;
	}

	.qe-proof__stat:first-of-type {
		border-left: 0;
	}

	.qe-core-services,
	.qe-lifecycle__grid,
	.qe-testimonials__grid {
		grid-template-columns: 1fr;
	}

	.qe-deliverables {
		grid-template-columns: 1fr;
	}

	.qe-deliverables__visual {
		min-height: 620px;
	}

	.qe-section-heading--split,
	.qe-contact-band,
	.qe-enquiry-section__grid,
	.qe-about-intro,
	.qe-leadership__grid,
	.qe-project-content,
	.qe-service-detail {
		grid-template-columns: 1fr;
	}

	.qe-contact-band__visual {
		min-height: 70vw;
	}

	.qe-enquiry-section__grid > div:first-child {
		position: static;
	}

	.qe-sectors__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qe-renovation {
		grid-template-columns: 1fr;
	}

	.qe-renovation__media {
		min-height: 70vw;
	}

	.qe-project-facts,
	.qe-service-detail aside {
		position: static;
		order: -1;
	}
}

/* Mobile */
@media (max-width: 620px) {
	:root {
		--qe-gutter: 20px;
		--qe-radius: 16px;
	}

	body {
		font-size: 16px;
	}

	.qe-team-grid {
		grid-template-columns: 1fr;
	}

	.qe-team-card__media {
		aspect-ratio: 4 / 4.4;
	}

	.qe-team-dialog {
		padding: 34px 24px;
	}

	.qe-project-grid {
		gap: 18px;
	}

	.qe-project-card {
		border-radius: 16px;
	}

	.qe-project-card__body {
		min-height: 190px;
		padding: 22px 20px 20px;
	}

	.qe-project-card h3 {
		font-size: 1.22rem;
	}

	.qe-service-tabs {
		padding-block: 56px 72px;
	}

	.qe-service-tabs__stage {
		min-height: 0;
		padding: 26px 20px;
		border-radius: 16px;
	}

	.qe-service-tab-panel__count {
		position: static;
		display: block;
		margin-bottom: 12px;
	}

	.qe-service-tab-panel h2 {
		margin: 15px 0 30px;
		font-size: 1.75rem;
	}

	.qe-service-tab-panel__copy {
		grid-template-columns: 1fr;
	}

	.qe-service-tab-panel__copy > div {
		padding: 22px 18px;
	}

	h1 {
		font-size: clamp(3rem, 15vw, 4.4rem);
	}

	h2 {
		font-size: clamp(2.25rem, 11vw, 3.35rem);
	}

	.qe-header__inner {
		min-height: 68px;
	}

	.qe-mobile-nav {
		height: calc(100svh - 68px);
	}

	@supports (height: 100dvh) {
		.qe-mobile-nav {
			height: calc(100dvh - 68px);
		}
	}

	.qe-brand__mark {
		width: 36px;
		height: 36px;
	}

	.qe-brand__word strong {
		font-size: 0.78rem;
	}

	.qe-brand__word small {
		display: none;
	}

	.qe-menu-toggle__label {
		display: none;
	}

	.qe-hero__content {
		min-height: 660px;
		padding-top: 76px;
	}

	.qe-hero__copy h1 {
		margin: 20px 0 26px;
		font-size: clamp(3.25rem, 16vw, 4.65rem);
	}

	.qe-hero__copy > p {
		font-size: 1rem;
	}

	.qe-hero__foot {
		align-items: flex-end;
		flex-wrap: wrap;
	}

	.qe-hero__media,
	.qe-page-hero__media,
	.qe-service-hero__media,
	.qe-contact-hero__media {
		min-height: 105vw;
	}

	.qe-hero__media-label {
		right: 20px;
		bottom: 88px;
	}

	.qe-proof__inner {
		grid-template-columns: 1fr;
	}

	.qe-proof__stat,
	.qe-proof__stat:first-of-type {
		padding-inline: 0;
		border-top: 1px solid var(--qe-line);
		border-left: 0;
	}

	.qe-section {
		padding-block: 76px;
	}

	.qe-section-heading {
		margin-bottom: 38px;
	}

	.qe-section-heading--split {
		gap: 20px;
	}

	.qe-core-service__media {
		min-height: 76vw;
	}

	.qe-lifecycle__grid,
	.qe-deliverables__grid,
	.qe-service-grid,
	.qe-project-grid,
	.qe-post-grid,
	.qe-form-grid,
	.qe-output-grid,
	.qe-construction-scope,
	.qe-reasons,
	.qe-control-grid,
	.qe-split-cta,
	.qe-identity-grid {
		grid-template-columns: 1fr;
	}

	.qe-deliverables__visual {
		min-height: 110vw;
		padding: 38px 20px;
	}

	.qe-deliverables__content {
		padding: 72px 20px;
	}

	.qe-service-card {
		min-height: 380px;
	}

	.qe-process__list li,
	.qe-stage-row {
		grid-template-columns: 48px 1fr;
	}

	.qe-process__list li p,
	.qe-stage-row ul {
		grid-column: 2;
	}

	.qe-sectors__list {
		grid-template-columns: 1fr;
	}

	.qe-contact-band__visual {
		min-height: 110vw;
	}

	.qe-contact-band__content {
		padding: 72px 20px;
	}

	.qe-form-grid__full {
		grid-column: auto;
	}

	.qe-page-hero,
	.qe-service-hero {
		min-height: 0;
	}

	.qe-page-hero__copy,
	.qe-service-hero__copy,
	.qe-contact-hero__copy {
		padding: 80px 20px;
	}

	.qe-page-hero__copy h1,
	.qe-service-hero__copy h1,
	.qe-contact-hero__copy h1,
	.qe-project-hero__copy h1,
	.qe-article-hero h1 {
		max-width: 100%;
		font-size: clamp(2.25rem, 11.5vw, 3.8rem);
		overflow-wrap: anywhere;
	}

	.qe-enquiry-section__grid h2 {
		font-size: clamp(2.25rem, 10.5vw, 3.2rem);
	}

	.qe-renovation__media {
		min-height: 110vw;
	}

	.qe-renovation__copy {
		padding: 72px 20px;
	}

	.qe-split-cta > a {
		min-height: 360px;
		padding: 58px 20px;
	}

	.qe-split-cta > a + a {
		border-top: 1px solid var(--qe-line-light);
		border-left: 0;
	}

	.qe-project-hero {
		min-height: 72svh;
	}

	.qe-project-hero__copy {
		padding-block: 58px;
	}

	.qe-project-content {
		gap: 38px;
		padding-block: 56px 72px;
	}

	.qe-prose.qe-project-content__main h2 {
		margin-top: 40px;
		padding-top: 17px;
		font-size: 1.4rem;
	}

	.qe-prose.qe-project-content__main p {
		font-size: 0.97rem;
		line-height: 1.68;
	}

	.qe-prose .wp-block-gallery {
		grid-template-columns: 1fr;
	}

	.qe-footer__top {
		grid-template-columns: 1fr;
		padding-block: 60px;
	}

	.qe-footer__contact {
		grid-column: auto;
	}

	.qe-footer__bottom .qe-container {
		flex-direction: column;
	}

	.qe-whatsapp {
		right: 14px;
		bottom: 14px;
		width: 50px;
		height: 50px;
	}
}

/* Project Intelligence */
.qe-intelligence-hero {
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 18%, rgba(35, 125, 236, 0.16), transparent 28%),
		var(--qe-navy);
	color: var(--qe-white);
}

.qe-intelligence-hero__grid {
	display: grid;
	min-height: 680px;
	grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
	gap: clamp(50px, 8vw, 130px);
	align-items: center;
}

.qe-intelligence-hero__copy {
	padding-block: clamp(100px, 12vw, 170px);
}

.qe-intelligence-hero__copy h1 {
	max-width: 10ch;
	margin: 18px 0 28px;
	font-size: clamp(4rem, 6.5vw, 6.35rem);
	line-height: 0.94;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.qe-intelligence-hero__copy > p {
	max-width: 600px;
	margin-bottom: 34px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 1rem;
	line-height: 1.7;
}

.qe-intelligence-hero__brief {
	min-height: 430px;
	padding: clamp(34px, 4vw, 56px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.045);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
	backdrop-filter: blur(10px);
}

.qe-intelligence-hero__number {
	display: block;
	margin-bottom: 72px;
	color: var(--qe-blue-light);
	font-family: var(--qe-serif);
	font-size: clamp(2.3rem, 3.4vw, 3.8rem);
	line-height: 1;
}

.qe-intelligence-hero__brief h2 {
	margin: 15px 0 30px;
	font-size: clamp(1.9rem, 2.5vw, 2.65rem);
	line-height: 1.08;
	text-wrap: balance;
}

.qe-intelligence-hero__brief ul {
	margin: 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	list-style: none;
}

.qe-intelligence-hero__brief li {
	display: flex;
	padding: 8px 0;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.86rem;
}

.qe-intelligence-hero__brief li::before {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--qe-blue);
	content: "";
}

.qe-intelligence-topics__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--qe-line);
	border-left: 1px solid var(--qe-line);
}

.qe-intelligence-topics .qe-section-heading h2,
#latest-intelligence .qe-section-heading h2 {
	max-width: 13ch;
	font-size: clamp(2.7rem, 4.2vw, 4.25rem);
	line-height: 0.99;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.qe-intelligence-topics .qe-section-heading > p,
#latest-intelligence .qe-section-heading > p {
	max-width: 540px;
	font-size: 0.96rem;
	line-height: 1.7;
}

.qe-intelligence-topic {
	display: flex;
	min-height: 310px;
	padding: 30px;
	flex-direction: column;
	border-right: 1px solid var(--qe-line);
	border-bottom: 1px solid var(--qe-line);
	color: var(--qe-ink);
	transition: color 0.25s ease, background 0.25s ease;
}

.qe-intelligence-topic > span {
	color: var(--qe-blue);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.qe-intelligence-topic h3 {
	max-width: 12ch;
	margin: 46px 0 14px;
	font-size: 1.42rem;
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.qe-intelligence-topic p {
	max-width: 32ch;
	margin: 0;
	color: var(--qe-slate);
	font-size: 0.84rem;
	line-height: 1.65;
}

.qe-intelligence-topic strong {
	display: flex;
	margin-top: auto;
	padding-top: 28px;
	align-items: center;
	justify-content: space-between;
	color: var(--qe-blue);
	font-size: 0.67rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.qe-intelligence-topic strong i {
	font-size: 1rem;
	font-style: normal;
}

.qe-intelligence-topic:hover {
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-intelligence-topic:hover p {
	color: rgba(255, 255, 255, 0.64);
}

.qe-intelligence-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	background: var(--qe-paper);
}

.qe-intelligence-feature__media {
	overflow: hidden;
	min-height: 720px;
}

.qe-intelligence-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.qe-intelligence-feature__media:hover img {
	transform: scale(1.025);
}

.qe-intelligence-feature__copy {
	display: flex;
	padding: clamp(70px, 9vw, 140px);
	flex-direction: column;
	justify-content: center;
}

.qe-intelligence-meta {
	display: flex;
	margin: 22px 0;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	color: var(--qe-blue);
	font-family: var(--qe-sans);
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.qe-intelligence-meta span + span {
	position: relative;
	padding-left: 20px;
	color: var(--qe-slate);
}

.qe-intelligence-meta span + span::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--qe-line);
	content: "";
	transform: translateY(-50%);
}

.qe-intelligence-feature__copy h2 {
	max-width: 14ch;
	margin: 10px 0 24px;
	font-size: clamp(2.65rem, 4.25vw, 4.35rem);
	line-height: 1.01;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.qe-intelligence-feature__copy h2 a {
	color: inherit;
}

.qe-intelligence-feature__copy > p {
	max-width: 58ch;
	color: var(--qe-slate);
	font-size: 0.96rem;
	line-height: 1.72;
}

.qe-text-link {
	display: inline-flex;
	margin-top: 28px;
	align-items: center;
	gap: 12px;
	color: var(--qe-ink);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.qe-text-link span {
	display: grid;
	width: 34px;
	height: 34px;
	border: 1px solid var(--qe-line);
	border-radius: 50%;
	place-items: center;
	transition: color 0.2s ease, background 0.2s ease;
}

.qe-text-link:hover span {
	background: var(--qe-blue);
	color: var(--qe-white);
}

.qe-intelligence-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.qe-intelligence-card {
	display: flex;
	overflow: hidden;
	min-height: 560px;
	flex-direction: column;
	border: 1px solid var(--qe-line);
	border-radius: 20px;
	background: var(--qe-paper);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.qe-intelligence-card:hover {
	box-shadow: var(--qe-shadow);
	transform: translateY(-4px);
}

.qe-intelligence-card__media {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--qe-navy);
}

.qe-intelligence-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.qe-intelligence-card:hover .qe-intelligence-card__media img {
	transform: scale(1.035);
}

.qe-intelligence-card__body {
	display: flex;
	padding: 28px;
	flex: 1;
	flex-direction: column;
}

.qe-intelligence-card__body .qe-intelligence-meta {
	margin: 0 0 18px;
}

.qe-intelligence-card h3,
.qe-intelligence-card h2 {
	display: -webkit-box;
	min-height: 3.35em;
	margin: 0 0 16px;
	overflow: hidden;
	font-size: clamp(1.5rem, 1.75vw, 1.88rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.qe-intelligence-card h3 a,
.qe-intelligence-card h2 a {
	color: inherit;
}

.qe-intelligence-card__body > p {
	display: -webkit-box;
	min-height: 6.45em;
	margin: 0;
	overflow: hidden;
	color: var(--qe-slate);
	font-size: 0.84rem;
	line-height: 1.62;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.qe-intelligence-card__body .qe-text-link {
	margin-top: auto;
	padding-top: 28px;
}

.qe-intelligence-principles {
	padding: clamp(80px, 10vw, 140px) 0;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-intelligence-principles .qe-container {
	display: grid;
	grid-template-columns: 0.75fr 1.25fr;
	gap: clamp(50px, 9vw, 130px);
	align-items: end;
}

.qe-intelligence-principles h2 {
	max-width: 11ch;
	margin: 16px 0 0;
	font-size: clamp(2.7rem, 4.2vw, 4.2rem);
	line-height: 1;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.qe-intelligence-principles ul {
	display: grid;
	margin: 0;
	padding: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	border-left: 1px solid rgba(255, 255, 255, 0.16);
	list-style: none;
}

.qe-intelligence-principles li {
	display: grid;
	min-height: 165px;
	padding: 24px;
	grid-template-columns: 36px 1fr;
	align-content: center;
	border-right: 1px solid rgba(255, 255, 255, 0.16);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.qe-intelligence-principles li span {
	color: var(--qe-blue-light);
	font-size: 0.68rem;
	font-weight: 800;
}

.qe-intelligence-principles li strong {
	font-family: var(--qe-serif);
	font-size: 1.7rem;
}

.qe-intelligence-principles li small {
	grid-column: 2;
	color: rgba(255, 255, 255, 0.6);
}

.qe-intelligence-cta {
	background: var(--qe-paper);
}

.qe-intelligence-cta__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: clamp(50px, 10vw, 150px);
	align-items: end;
}

.qe-intelligence-cta h2 {
	max-width: 12ch;
	margin: 16px 0 0;
	font-size: clamp(2.8rem, 4.8vw, 4.8rem);
	line-height: 0.99;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.qe-intelligence-cta__grid > div:last-child p {
	max-width: 56ch;
	margin-bottom: 30px;
	color: var(--qe-slate);
	font-size: 0.96rem;
	line-height: 1.72;
}

.qe-topic-hero {
	padding: clamp(90px, 11vw, 150px) 0;
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-topic-hero a {
	display: inline-block;
	margin-bottom: 70px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.76rem;
	font-weight: 700;
}

.qe-topic-hero h1 {
	max-width: 13ch;
	margin: 16px 0 22px;
	font-size: clamp(3.7rem, 6.2vw, 5.9rem);
	line-height: 0.96;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.qe-topic-hero p {
	max-width: 650px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 1rem;
	line-height: 1.7;
}

.qe-intelligence-article-hero {
	padding: clamp(80px, 10vw, 140px) 0 clamp(110px, 15vw, 210px);
	background: var(--qe-navy);
	color: var(--qe-white);
}

.qe-intelligence-article-hero__back {
	display: inline-block;
	margin-bottom: 80px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.76rem;
	font-weight: 700;
}

.qe-intelligence-article-hero .qe-intelligence-meta span + span {
	color: rgba(255, 255, 255, 0.55);
}

.qe-intelligence-article-hero h1 {
	max-width: 15ch;
	margin: 22px 0 28px;
	font-size: clamp(3.5rem, 6vw, 5.8rem);
	line-height: 0.97;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.qe-intelligence-article-hero > .qe-container > p {
	max-width: 720px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 1.02rem;
	line-height: 1.72;
}

.qe-intelligence-article-image {
	overflow: hidden;
	height: min(66vw, 760px);
	margin-top: clamp(-110px, -8vw, -70px);
	border-radius: 22px;
	box-shadow: var(--qe-shadow);
}

.qe-intelligence-article-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qe-intelligence-article-layout {
	display: grid;
	padding-block: clamp(70px, 9vw, 130px);
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: clamp(60px, 10vw, 150px);
	align-items: start;
}

.qe-prose.qe-intelligence-article-body {
	width: 100%;
	max-width: 800px;
	margin: 0;
	padding: 0;
}

.qe-prose.qe-intelligence-article-body > p:first-child {
	color: var(--qe-ink);
	font-size: 1.12rem;
	line-height: 1.74;
}

.qe-prose.qe-intelligence-article-body h2 {
	margin-top: 2.2em;
	padding-top: 0.7em;
	border-top: 1px solid var(--qe-line);
	font-size: clamp(1.9rem, 2.8vw, 2.55rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.qe-prose.qe-intelligence-article-body p,
.qe-prose.qe-intelligence-article-body li {
	font-size: 0.98rem;
	line-height: 1.76;
}

.qe-intelligence-article-aside {
	position: sticky;
	top: 110px;
	padding: 28px;
	border: 1px solid var(--qe-line);
	border-radius: 18px;
	background: var(--qe-paper);
}

.qe-intelligence-article-aside dl {
	margin: 28px 0;
}

.qe-intelligence-article-aside dl div {
	padding: 15px 0;
	border-top: 1px solid var(--qe-line);
}

.qe-intelligence-article-aside dt {
	margin-bottom: 5px;
	color: var(--qe-slate);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.qe-intelligence-article-aside dd {
	margin: 0;
	font-weight: 700;
}

.qe-intelligence-article-aside > p {
	color: var(--qe-slate);
	font-size: 0.82rem;
}

@media (max-width: 1100px) {
	.qe-contact-map {
		grid-template-columns: 1fr;
	}

	.qe-contact-map__frame,
	.qe-contact-map__frame iframe {
		min-height: 520px;
	}

	.qe-intelligence-hero__grid,
	.qe-intelligence-principles .qe-container,
	.qe-intelligence-cta__grid {
		grid-template-columns: 1fr;
	}

	.qe-intelligence-hero__brief {
		margin-bottom: 80px;
	}

	.qe-intelligence-topics__grid,
	.qe-intelligence-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qe-intelligence-feature {
		grid-template-columns: 1fr;
	}

	.qe-intelligence-feature__media {
		min-height: 62vw;
	}

	.qe-intelligence-feature__copy h2 {
		max-width: 15ch;
	}

	.qe-intelligence-article-layout {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 50px;
	}
}

@media (max-width: 720px) {
	.qe-contact-map__frame,
	.qe-contact-map__frame iframe {
		min-height: 88vw;
	}

	.qe-contact-map__content {
		padding: 68px 20px;
	}

	.qe-contact-map__content h2 {
		font-size: clamp(2.55rem, 11.5vw, 3.55rem);
	}

	.qe-intelligence-hero__grid {
		min-height: 0;
	}

	.qe-intelligence-hero__copy {
		padding: 82px 0 60px;
	}

	.qe-intelligence-hero__copy h1 {
		font-size: clamp(3.15rem, 15vw, 4.25rem);
		line-height: 0.96;
	}

	.qe-intelligence-hero__brief {
		min-height: 0;
		margin-bottom: 72px;
		padding: 28px;
	}

	.qe-intelligence-hero__number {
		margin-bottom: 64px;
	}

	.qe-intelligence-topics__grid,
	.qe-intelligence-grid,
	.qe-intelligence-principles ul {
		grid-template-columns: 1fr;
	}

	.qe-intelligence-topic {
		min-height: 280px;
		padding: 26px;
	}

	.qe-intelligence-feature__media {
		min-height: 92vw;
	}

	.qe-intelligence-feature__copy {
		padding: 68px 20px;
	}

	.qe-intelligence-feature__copy h2 {
		font-size: clamp(2.35rem, 10.5vw, 3.25rem);
		line-height: 1.02;
	}

	.qe-intelligence-card {
		min-height: 535px;
	}

	.qe-intelligence-principles .qe-container {
		gap: 48px;
	}

	.qe-intelligence-principles h2,
	.qe-intelligence-cta h2 {
		font-size: clamp(2.55rem, 11.5vw, 3.6rem);
	}

	.qe-topic-hero a,
	.qe-intelligence-article-hero__back {
		margin-bottom: 55px;
	}

	.qe-topic-hero h1,
	.qe-intelligence-article-hero h1 {
		font-size: clamp(2.8rem, 12vw, 3.9rem);
		line-height: 0.99;
		overflow-wrap: anywhere;
	}

	.qe-intelligence-article-image {
		width: calc(100% - 40px);
		height: 76vw;
		border-radius: 16px;
	}

	.qe-intelligence-article-layout {
		padding-block: 64px 80px;
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.qe-intelligence-article-aside {
		position: static;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.js .qe-reveal {
		opacity: 1;
		transform: none;
	}
}
