/*
 * Khashab Furniture local custom styles.
 */

@font-face {
	font-family: "Dosis";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/dosis-latin-wght-normal.woff2") format("woff2");
}

:root {
	--kh-brown: #553527;
	--kh-brown-dark: #26150f;
	--kh-brown-soft: #8f6652;
	--kh-clay: #c49a78;
	--kh-cream: #f4eadb;
	--kh-paper: #fbf6ee;
	--kh-line: rgba(85, 53, 39, .18);
	--kh-text: #241710;
	--kh-muted: #77665d;
	--kh-shadow: 0 26px 80px rgba(85, 53, 39, .18);
}

html {
	margin: 0;
	padding: 0;
	background: var(--kh-paper);
	scroll-behavior: smooth;
}

html body.khashab-template-home {
	margin-top: 0 !important;
}

body.khashab-template-home {
	margin: 0;
	overflow-x: hidden;
	background: var(--kh-paper);
	color: var(--kh-text);
	font-family: Arial, Helvetica, sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.khashab-template-home a {
	color: inherit;
}

body.home .website-wrapper {
	background: var(--kh-paper);
}

body.home .main-page-wrapper {
	overflow-x: clip;
	background: var(--kh-paper);
	padding-top: 0;
}

body.home .whb-header {
	display: none;
}

body.home .kh-original-hero {
	display: none;
}

body.home .elementor-element-09c1083 {
	display: none !important;
}

body.home .scrollToTop {
	display: none !important;
}

body.home .elementor-widget-image,
body.home .elementor-widget-image .elementor-widget-container,
body.home .elementor-widget-image a {
	overflow: hidden;
}

body.home .elementor-widget-image img {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.kh-studio-home {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	padding-top: 0;
	background: var(--kh-paper);
	color: var(--kh-text);
	font-family: "Dosis", Arial, Helvetica, sans-serif;
}

.kh-studio-home * {
	box-sizing: border-box;
}

.kh-studio-home ~ * {
	display: none !important;
}

.kh-reveal {
	opacity: 0;
	transform: translate3d(0, 26px, 0);
	transition:
		opacity .75s ease,
		transform .75s cubic-bezier(.21, .84, .28, 1);
	transition-delay: var(--kh-delay, 0ms);
}

.kh-reveal.kh-in-view {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.kh-studio-hero.kh-reveal {
	opacity: 1;
	transform: none;
}

.kh-about.kh-reveal {
	opacity: 1;
	transform: none;
}

.kh-studio-hero {
	position: sticky;
	top: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: var(--kh-brown-dark);
	color: #fff;
}

@supports (height: 100dvh) {
	.kh-studio-hero {
		height: 100dvh;
		min-height: 100dvh;
	}
}

.kh-hero-bg,
.kh-hero-shade {
	position: absolute;
	inset: 0;
}

.kh-hero-bg {
	z-index: 0;
	background-position: center;
	background-size: cover;
	filter: saturate(.98);
	transform: scale(1.02);
	transition: opacity .34s ease;
}

.kh-hero-bg--next {
	z-index: 1;
	opacity: 0;
}

.kh-studio-hero.is-swapping .kh-hero-bg--next {
	opacity: 1;
}

.kh-hero-shade {
	z-index: 2;
	background:
		linear-gradient(90deg, rgba(38, 21, 15, .2), rgba(38, 21, 15, .06) 42%, rgba(38, 21, 15, .26)),
		linear-gradient(180deg, rgba(38, 21, 15, .08), rgba(38, 21, 15, .3));
}

.kh-hero-statement {
	position: relative;
	z-index: 3;
	align-self: start;
	justify-self: start;
	width: min(1080px, calc(100% - 120px));
	margin-top: clamp(32px, 6vh, 68px);
	margin-left: clamp(42px, 8vw, 150px);
	text-align: left;
	
}

.kh-hero-statement h1 {
	margin: 0;
	color: #fff8ed;
	font-family: "Dosis", "Trebuchet MS", Arial, sans-serif;
	font-size: clamp(54px, 5.35vw, 92px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-wrap: balance;
}

.kh-hero-statement a {
	display: inline-block;
	color: inherit;
	font-style: normal;
	text-decoration: none;
	transition:
		color .2s ease,
		text-decoration-color .2s ease;
}

.kh-hero-statement a[data-hero-image] {
	text-decoration: underline;
	text-decoration-color: rgba(255, 248, 237, .82);
	text-decoration-thickness: .045em;
	text-underline-offset: .11em;
}

.kh-hero-statement a:hover,
.kh-hero-statement a:focus-visible {
	color: #fff;
	text-decoration-color: var(--kh-clay);
}

/* ==============================
   Floating nav
============================== */

.kh-floating-nav {
	position: fixed;
	left: 50%;
	bottom: max(24px, env(safe-area-inset-bottom));
	z-index: 100;

	width: 416px;
	height: 56px;
	padding: 5px;

	display: grid;
	grid-template-columns: 132px 1fr auto;
	align-items: center;
	column-gap: 8px;

	border: 0;
	border-radius: 999px;
	background: rgba(244, 234, 219, .88);

	box-shadow:
		inset 0 0 0 1px rgba(38, 21, 15, .08),
		0 18px 48px rgba(38, 21, 15, .2);

	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);

	transform: translateX(-50%);
	transition:
		background .32s ease,
		box-shadow .32s ease,
		border-radius .42s cubic-bezier(.22, 1, .36, 1);
}

.kh-floating-nav.is-over-light,
.kh-floating-nav.is-menu-open {
	background: rgba(244, 234, 219, .96);
	box-shadow:
		inset 0 0 0 1px rgba(38, 21, 15, .08),
		0 12px 28px rgba(38, 21, 15, .12);
}

.kh-floating-nav a,
.kh-floating-nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 0;
	background: transparent;
	color: var(--kh-brown-dark);
	font-family: "Dosis", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

/* Logo and menu occupy the same area */
.kh-floating-mark,
.kh-floating-menu {
	grid-column: 1;
	grid-row: 1;
}

/* Logo */
.kh-floating-mark {
	position: relative;
	z-index: 1;
	justify-self: start;

	width: 42px;
	height: 42px;
	min-width: 42px;

	border-radius: 50%;
	overflow: hidden;
	background: transparent;

	opacity: 1;
	transform: scale(1);
	pointer-events: auto;

	transition:
		opacity .34s ease,
		transform .46s cubic-bezier(.22, 1, .36, 1);
}

.kh-floating-mark img {
	position: absolute;
	inset: 0;
	display: block;
	width: 42px;
	height: 42px;
	object-fit: cover;
	border-radius: 50%;
	transition: opacity .22s ease;
}

.kh-logo-before {
	opacity: 1;
}

.kh-logo-after {
	opacity: 0;
}

.kh-floating-nav.is-over-light .kh-logo-before {
	opacity: 0;
}

.kh-floating-nav.is-over-light .kh-logo-after {
	opacity: 1;
}

/* Logo fades while menu slides over it */
.kh-floating-nav.is-menu-open .kh-floating-mark {
	opacity: 0;
	transform: scale(.72);
	pointer-events: none;
}

/* Menu button */
.kh-floating-menu {
	position: relative;
	z-index: 2;
	justify-self: start;

	height: 46px;
	min-height: 46px;
	gap: 10px;
	padding: 0 18px 0 14px;
	border-radius: 999px;

	color: var(--kh-brown-dark) !important;

	transform: translateX(48px);
	transition:
		transform .48s cubic-bezier(.22, 1, .36, 1),
		color .24s ease;
}

/* Menu moves over the logo position without layout jump */
.kh-floating-nav.is-menu-open .kh-floating-menu {
	transform: translateX(0);
}

.kh-floating-menu::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;

	transition:
		width .34s cubic-bezier(.22, 1, .36, 1),
		height .34s cubic-bezier(.22, 1, .36, 1),
		border-color .24s ease,
		background .24s ease,
		transform .38s cubic-bezier(.22, 1, .36, 1);
}

.kh-floating-nav.is-menu-open .kh-floating-menu::before {
	width: 14px;
	height: 14px;
	border: 0;
	background:
		linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
	transform: rotate(45deg);
}

/* CTA */
.kh-floating-cta {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;

	height: 46px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 999px;

	background: var(--kh-brown) !important;
	color: #fff !important;

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .16),
		0 3px 10px rgba(38, 21, 15, .25);
}

.kh-floating-nav.is-over-light .kh-floating-cta {
	background: var(--kh-brown) !important;
	color: #fff !important;
}

/* Popup panel */
.kh-floating-panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% + 8px);

	width: 416px;
	display: grid;
	gap: 0;

	padding: 30px 32px 28px;
	border-radius: 22px;

	background: rgba(244, 234, 219, .98);
	box-shadow:
		inset 0 0 0 1px rgba(38, 21, 15, .08),
		0 22px 58px rgba(38, 21, 15, .24);

	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);

	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 18px, 0) scale(.975);
	transform-origin: bottom center;

	transition:
		opacity .28s ease .18s,
		transform .48s cubic-bezier(.22, 1, .36, 1) .12s;
}

.kh-floating-nav.is-menu-open .kh-floating-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0) scale(1);
}

.kh-floating-panel a {
	justify-content: flex-start;
	color: var(--kh-text);
}

.kh-floating-panel__primary {
	min-height: 52px !important;
	border-bottom: 1px solid rgba(85, 53, 39, .14) !important;
	color: #222 !important;
	font-size: 26px !important;
	font-weight: 800 !important;

	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity .34s ease,
		transform .44s cubic-bezier(.22, 1, .36, 1);
}

.kh-floating-panel__secondary {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	padding-top: 22px;
}

.kh-floating-panel__secondary a {
	min-height: auto !important;
	color: rgba(36, 23, 16, .68) !important;
	font-size: 16px !important;
	font-weight: 800 !important;

	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity .34s ease,
		transform .44s cubic-bezier(.22, 1, .36, 1);
}

.kh-floating-nav.is-menu-open .kh-floating-panel__primary,
.kh-floating-nav.is-menu-open .kh-floating-panel__secondary a {
	opacity: 1;
	transform: translateY(0);
}

.kh-floating-nav.is-menu-open .kh-floating-panel__primary:nth-child(1) {
	transition-delay: .28s;
}

.kh-floating-nav.is-menu-open .kh-floating-panel__primary:nth-child(2) {
	transition-delay: .34s;
}

.kh-floating-nav.is-menu-open .kh-floating-panel__primary:nth-child(3) {
	transition-delay: .40s;
}

.kh-floating-nav.is-menu-open .kh-floating-panel__primary:nth-child(4) {
	transition-delay: .46s;
}

.kh-floating-nav.is-menu-open .kh-floating-panel__secondary a:nth-child(1) {
	transition-delay: .52s;
}

.kh-floating-nav.is-menu-open .kh-floating-panel__secondary a:nth-child(2) {
	transition-delay: .56s;
}

.kh-floating-nav.is-menu-open .kh-floating-panel__secondary a:nth-child(3) {
	transition-delay: .60s;
}

.kh-kicker,
.kh-section-label {
	margin: 0;
	color: var(--kh-brown);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.kh-button,
.kh-text-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid var(--kh-brown);
	border-radius: 999px;
	background: var(--kh-brown);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	transition:
		background .2s ease,
		color .2s ease,
		transform .2s ease;
}

.kh-text-link {
	margin-top: 28px;
	background: transparent;
	color: var(--kh-brown);
}

.kh-button--quiet {
	margin-left: 10px;
	background: transparent;
	color: var(--kh-brown);
}

.kh-button:hover,
.kh-text-link:hover {
	transform: translateY(-2px);
	background: var(--kh-brown-dark);
	color: #fff;
}

.kh-about,
.kh-featured,
.kh-process,
.kh-enquiry {
	position: relative;
	z-index: 5;
	width: 100%;
	margin: 0;
	padding: clamp(92px, 11vw, 170px) max(38px, calc((100vw - 1320px) / 2));
	border-top: 1px solid var(--kh-line);
	background: var(--kh-paper);
}

.kh-about {
	display: grid;
	grid-template-columns: minmax(120px, .16fr) minmax(0, .6fr) minmax(260px, .24fr);
	gap: clamp(24px, 5vw, 76px);
	align-items: start;
	min-height: 72vh;
	padding-top: clamp(240px, 27vw, 390px);
}

.kh-about__copy h2,
.kh-process__head h2,
.kh-enquiry h2 {
	margin: 0;
	color: var(--kh-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(40px, 5.2vw, 92px);
	font-weight: 400;
	line-height: .98;
	letter-spacing: 0;
	text-wrap: balance;
}

.kh-about__copy p {
	margin: 30px 0 0;
	color: var(--kh-muted);
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.75;
}

.kh-about__image,
.kh-featured-preview,
.kh-enquiry figure {
	position: relative;
	overflow: hidden;
	margin: 0;
	background: var(--kh-cream);
	box-shadow: var(--kh-shadow);
}

.kh-about__image {
	aspect-ratio: 1161 / 1355;
	border-radius: 8px;
}

.kh-about__image img,
.kh-featured-preview img,
.kh-enquiry img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.kh-featured-preview img {
	transform: scale(1);
	transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.kh-featured-preview.is-zooming img {
	transform: scale(1.045);
}

.kh-featured__layout {
	display: grid;
	grid-template-columns: minmax(0, .58fr) minmax(320px, .42fr);
	gap: clamp(28px, 5vw, 76px);
	margin-top: 28px;
}

.kh-project-list {
	border-top: 1px solid var(--kh-line);
}

.kh-project-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 18px;
	align-items: center;
	min-height: clamp(76px, 8vw, 112px);
	border-bottom: 1px solid var(--kh-line);
	color: var(--kh-text);
	text-decoration: none;
}

.kh-project-row span {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 4.6vw, 74px);
	font-weight: 400;
	line-height: .95;
	letter-spacing: 0;
	transition: color .2s ease, transform .2s ease;
}

.kh-project-row small {
	color: var(--kh-brown-soft);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .08em;
}

.kh-project-row:hover span,
.kh-project-row.is-active span {
	color: var(--kh-brown);
	transform: translateX(10px);
}

.kh-featured-preview {
	position: sticky;
	top: 40px;
	aspect-ratio: .86 / 1;
	align-self: start;
	border-radius: 8px;
}

.kh-featured-preview figcaption {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	padding: 14px 16px;
	border-radius: 6px;
	background: rgba(85, 53, 39, .9);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.kh-process {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(34px, 5vw, 68px);
}

.kh-process__head {
	max-width: 960px;
}

.kh-process__head h2 {
	margin-top: 22px;
	max-width: 920px;
}

.kh-process-list {
	border-top: 1px solid var(--kh-line);
}

.kh-process-row {
	border-bottom: 1px solid var(--kh-line);
}

.kh-process-row button {
	display: grid;
	grid-template-columns: 72px 1fr 42px;
	align-items: center;
	width: 100%;
	min-height: 104px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--kh-text);
	text-align: left;
	cursor: pointer;
}

.kh-process-row button span {
	color: var(--kh-brown);
	font-size: 18px;
	font-weight: 900;
}

.kh-process-row button strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 3.4vw, 52px);
	font-weight: 400;
	line-height: 1;
}

.kh-process-row button i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--kh-line);
	border-radius: 50%;
	color: var(--kh-brown);
	font-style: normal;
	font-size: 24px;
	transition: transform .2s ease;
}

.kh-process-row p {
	max-height: 0;
	margin: 0 0 0 72px;
	overflow: hidden;
	color: var(--kh-muted);
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.7;
	transition:
		max-height .28s ease,
		margin-bottom .28s ease;
}

.kh-process-row.is-open p {
	max-height: 180px;
	margin-bottom: 28px;
}

.kh-process-row.is-open button i {
	transform: rotate(45deg);
}

.kh-enquiry {
	display: grid;
	grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
	gap: clamp(28px, 5vw, 74px);
	align-items: center;
	padding-bottom: clamp(96px, 11vw, 170px);
}

.kh-enquiry figure {
	aspect-ratio: 1.1 / .78;
	border-radius: 8px;
}

.kh-enquiry h2 {
	margin-top: 18px;
	max-width: 760px;
}

.kh-enquiry .kh-button {
	margin-top: 30px;
}

@media (max-width: 1024px) {
	.kh-about,
	.kh-featured__layout,
	.kh-process,
	.kh-enquiry {
		grid-template-columns: 1fr;
	}

	.kh-featured-preview,
	.kh-process__head {
		position: relative;
		top: auto;
	}

	.kh-featured-preview {
		aspect-ratio: 1.28 / 1;
	}
}

@media (max-width: 640px) {
	.kh-hero-statement {
		width: min(100% - 32px, 920px);
		margin-top: 34px;
		margin-left: 16px;
	}

	.kh-hero-statement h1 {
		font-size: clamp(42px, 12vw, 62px);
	}

	.kh-about,
	.kh-featured,
	.kh-process,
	.kh-enquiry {
		padding: 68px 28px;
	}

	.kh-about__copy h2,
	.kh-process__head h2,
	.kh-enquiry h2 {
		font-size: clamp(38px, 12vw, 58px);
	}

	.kh-project-row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 18px 0;
	}

	.kh-project-row span {
		font-size: clamp(32px, 10vw, 48px);
	}

	.kh-process-row button {
		grid-template-columns: 48px 1fr 34px;
		min-height: 88px;
	}

	.kh-process-row button strong {
		font-size: clamp(25px, 8vw, 36px);
	}

	.kh-process-row p {
		margin-left: 48px;
	}

.kh-floating-nav {
	width: min(calc(100% - 24px), 416px);
	justify-content: flex-start;
}

.kh-floating-panel {
	width: 100%;
	padding: 26px 32px 26px;
}

.kh-floating-menu {
	padding: 0 14px;
}

.kh-floating-cta {
	padding: 0 16px;
	font-size: 13px;
}

	.kh-button--quiet {
		margin-left: 0;
		margin-top: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kh-reveal,
	.kh-project-row span,
	.kh-button,
	.kh-text-link,
	.kh-process-row button i,
	.kh-process-row p,
	.kh-hero-bg {
		opacity: 1;
		transform: none;
		transition: none;
	}
}



