/* Header */
.emm-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: var(--emm-black);
	padding: 16px var(--emm-gutter);
}

.admin-bar .emm-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.emm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-width: 0;
	gap: 24px;
}

.emm-logo {
	min-width: 0;
	flex: 0 1 auto;
}

.emm-logo img {
	width: min(326px, 100%);
	height: auto;
	max-height: 65px;
	object-fit: contain;
}

.emm-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.emm-nav__list,
.emm-nav .menu {
	overflow: visible;
	position: relative;
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0 0 14px;
}

.emm-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.emm-nav__list a,
.emm-nav__link {
	position: relative;
	z-index: 1;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.7px;
	color: #e5e7eb;
	text-decoration: none;
	transition: color var(--emm-duration) var(--emm-ease);
}

.emm-nav__list a:hover,
.emm-nav__list a:focus-visible,
.emm-nav__link:hover,
.emm-nav__link:focus-visible,
.emm-nav .current-menu-item > a,
.emm-nav a.is-active {
	color: var(--emm-gold-light);
}

.emm-nav__wave {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 1px;
	height: 2.5px;
	border-radius: 999px;
	background-color: var(--emm-gold);
	background-image: var(--emm-gold-grad);
	pointer-events: none;
	transform: translate3d(0, 0, 0) scaleX(1);
	transform-origin: left center;
	will-change: transform;
	visibility: hidden;
}

.emm-nav__wave.is-on {
	visibility: visible;
}

.emm-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: var(--emm-white);
	cursor: pointer;
	padding: 10px;
	min-width: 44px;
	min-height: 44px;
	transition: opacity var(--emm-duration) var(--emm-ease);
}

.emm-nav-toggle:hover,
.emm-nav-toggle:focus-visible {
	opacity: 0.75;
}

.emm-nav-toggle:active {
	opacity: 0.5;
}

.emm-nav-toggle__bars {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}

.emm-nav-toggle__bars span {
	position: absolute;
	left: 0;
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.emm-nav-toggle__bars span:nth-child(1) {
	top: 0;
}

.emm-nav-toggle__bars span:nth-child(2) {
	top: 7px;
}

.emm-nav-toggle__bars span:nth-child(3) {
	top: 14px;
}

body.emm-nav-open .emm-nav-toggle__bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.emm-nav-open .emm-nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

body.emm-nav-open .emm-nav-toggle__bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.emm-nav-backdrop {
	display: none;
}

/* Buttons */
.emm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-decoration: none;
	border: 0;
	border-radius: var(--emm-radius-btn);
	font-weight: 700;
	white-space: nowrap;
	max-width: 100%;
	box-sizing: border-box;
	cursor: pointer;
	transition:
		filter var(--emm-duration) var(--emm-ease),
		box-shadow var(--emm-duration) var(--emm-ease),
		background-color var(--emm-duration) var(--emm-ease),
		background-image var(--emm-duration) var(--emm-ease),
		color var(--emm-duration) var(--emm-ease),
		border-color var(--emm-duration) var(--emm-ease),
		opacity var(--emm-duration) var(--emm-ease);
}

.emm-btn:focus-visible {
	outline: 2px solid var(--emm-gold-light);
	outline-offset: 3px;
}

.emm-btn:active {
	filter: brightness(0.88);
	box-shadow: none;
}

@media (hover: hover) {
	.emm-btn--gold:hover,
	.emm-btn--gold:focus-visible,
	.emm-btn--gold-nav:hover,
	.emm-btn--gold-nav:focus-visible,
	.emm-btn--gold-sm:hover,
	.emm-btn--gold-sm:focus-visible,
	.emm-btn--solid:hover,
	.emm-btn--solid:focus-visible {
		filter: brightness(1.1);
		box-shadow: 0 6px 16px rgba(193, 134, 44, 0.35);
	}

	.emm-btn--ghost:hover,
	.emm-btn--ghost:focus-visible,
	.emm-body a.emm-btn--ghost:hover,
	.emm-body a.emm-btn--ghost:focus-visible {
		filter: none;
		color: var(--emm-white);
		background: rgba(255, 255, 255, 0.12);
		border-color: var(--emm-white);
		text-shadow: 0 0 16px rgba(255, 255, 255, 0.55);
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	}

	.emm-feature--gold .emm-btn--white:hover,
	.emm-feature--gold .emm-btn--white:focus-visible,
	.emm-body .emm-feature--gold a.emm-btn--white:hover,
	.emm-body .emm-feature--gold a.emm-btn--white:focus-visible {
		filter: none;
		color: var(--emm-gold-light);
		background: var(--emm-black);
		box-shadow: 0 8px 20px rgba(16, 10, 12, 0.28);
	}

	.emm-feature--dark .emm-btn--white:hover,
	.emm-feature--dark .emm-btn--white:focus-visible,
	.emm-body .emm-feature--dark a.emm-btn--white:hover,
	.emm-body .emm-feature--dark a.emm-btn--white:focus-visible {
		filter: none;
		color: var(--emm-white);
		background: var(--emm-white);
		background-image: var(--emm-gold-grad);
		box-shadow: 0 8px 20px rgba(193, 134, 44, 0.35);
	}
}

.emm-btn--ghost:active,
.emm-body a.emm-btn--ghost:active {
	filter: none;
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--emm-gold-light);
}

.emm-feature--gold .emm-btn--white:active,
.emm-body .emm-feature--gold a.emm-btn--white:active {
	filter: none;
	background: #1a1214;
	color: var(--emm-gold-light);
}

.emm-feature--dark .emm-btn--white:active,
.emm-body .emm-feature--dark a.emm-btn--white:active {
	filter: brightness(0.92);
}

.emm-btn--gold,
.emm-btn--gold-nav {
	background-image: var(--emm-gold-grad);
	color: var(--emm-white);
}

.emm-btn--gold {
	width: 284px;
	height: 58px;
	padding: 10px 24px;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0.8px;
}

.emm-btn--gold-nav {
	width: 197px;
	height: 41px;
	padding: 10px 24px;
	gap: 8px;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
	letter-spacing: 0.35px;
	color: var(--emm-white);
}

.emm-body a.emm-btn--ghost,
.emm-btn--ghost {
	width: 321px;
	height: 58px;
	padding: 16px 32px;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0.8px;
	color: var(--emm-gold-light);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid var(--emm-gold-text);
	backdrop-filter: blur(8px);
	text-shadow: 0 0 12px rgba(235, 211, 175, 0.45);
}

.emm-body a.emm-btn--white,
.emm-btn--white {
	width: 284px;
	height: 58px;
	padding: 10px 24px;
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0.8px;
	color: var(--emm-gold);
	background: var(--emm-white);
}

.emm-body a.emm-btn--gold-sm,
.emm-btn--gold-sm {
	width: 158px;
	height: 44px;
	padding: 10px 18px 10px 24px;
	gap: 12px;
	background-image: var(--emm-gold-grad);
	color: var(--emm-white);
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0.8px;
}

.emm-btn--solid {
	width: 222.7px;
	height: 60px;
	padding: 16px;
	gap: 8px;
	border-radius: var(--emm-radius-btn-sm);
	background: var(--emm-gold);
	color: var(--emm-white);
	font-size: 20px;
	line-height: 28px;
	font-weight: 700;
}

.emm-icon {
	display: block;
	flex-shrink: 0;
}

/* Service cards */
.emm-service-card {
	--emm-card-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	width: 100%;
	max-width: 626px;
	height: 400px;
	border-radius: var(--emm-radius-card);
	overflow: hidden;
	box-shadow: var(--emm-shadow-card);
	color: var(--emm-white);
	transition: transform 450ms var(--emm-card-ease), box-shadow 450ms var(--emm-card-ease);
}

.emm-service-card__link {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	text-decoration: none;
	color: inherit;
	padding: 32px;
}

.emm-service-card__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.emm-service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 700ms var(--emm-card-ease);
}

.emm-service-card__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.22) 52%, rgba(0, 0, 0, 0) 100%);
}

.emm-service-card__gradient::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.72) 62%, rgba(0, 0, 0, 0.12) 100%);
	opacity: 0;
	transition: opacity 450ms var(--emm-card-ease);
}

.emm-service-card__body {
	position: relative;
	z-index: 1;
	transform: translateY(12px);
	transition: transform 450ms var(--emm-card-ease);
}

.emm-service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--emm-gold);
	color: var(--emm-white);
	transition: transform 450ms var(--emm-card-ease);
}

.emm-service-icon--photo {
	background: var(--emm-white);
	padding: 0;
}

.emm-service-icon__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.emm-service-card__kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 0;
}

.emm-service-card__kicker span:last-child {
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: var(--emm-gold-text);
}

.emm-service-card h3 {
	margin: 0 0 12px;
	font-size: 23.1px;
	line-height: 32px;
	font-weight: 700;
}

.emm-service-card__expand {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition: grid-template-rows 480ms var(--emm-card-ease), opacity 320ms ease;
}

.emm-service-card__expand-inner {
	min-height: 0;
	overflow: hidden;
}

.emm-service-card__expand p,
.emm-service-card__expand li {
	margin: 0;
	font-size: 14.9px;
	line-height: 24px;
	color: var(--emm-card-body);
}

.emm-service-card__expand ul {
	margin: 8px 0 0;
	padding-left: 1.1em;
}

.emm-service-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: var(--emm-gold-text);
}

.emm-service-card__cta span {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	white-space: nowrap;
	transform: translateX(-10px);
	transition: max-width 450ms var(--emm-card-ease), opacity 350ms ease, transform 450ms var(--emm-card-ease);
}

.emm-service-card.is-active,
.emm-service-card:focus-within {
	transform: translateY(-6px);
	box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35);
}

.emm-service-card.is-active .emm-service-card__media img,
.emm-service-card:focus-within .emm-service-card__media img {
	transform: scale(1.1);
}

.emm-service-card.is-active .emm-service-card__gradient::after,
.emm-service-card:focus-within .emm-service-card__gradient::after {
	opacity: 1;
}

.emm-service-card.is-active .emm-service-card__body,
.emm-service-card:focus-within .emm-service-card__body {
	transform: translateY(0);
}

.emm-service-card.is-active .emm-service-icon,
.emm-service-card:focus-within .emm-service-icon {
	transform: scale(1.06);
}

.emm-service-card.is-active .emm-service-card__expand,
.emm-service-card:focus-within .emm-service-card__expand {
	grid-template-rows: 1fr;
	opacity: 1;
}

.emm-service-card.is-active .emm-service-card__cta span,
.emm-service-card:focus-within .emm-service-card__cta span {
	max-width: 220px;
	opacity: 1;
	transform: translateX(0);
}

@media (hover: hover) and (pointer: fine) {
	.emm-service-card:hover {
		transform: translateY(-6px);
		box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35);
	}

	.emm-service-card:hover .emm-service-card__media img {
		transform: scale(1.1);
	}

	.emm-service-card:hover .emm-service-card__gradient::after {
		opacity: 1;
	}

	.emm-service-card:hover .emm-service-card__body {
		transform: translateY(0);
	}

	.emm-service-card:hover .emm-service-icon {
		transform: scale(1.06);
	}

	.emm-service-card:hover .emm-service-card__expand {
		grid-template-rows: 1fr;
		opacity: 1;
	}

	.emm-service-card:hover .emm-service-card__cta span {
		max-width: 220px;
		opacity: 1;
		transform: translateX(0);
	}
}

@media (hover: none), (pointer: coarse) {
	.emm-service-card.is-active {
		height: auto;
		min-height: 400px;
	}
}

/* Why-us cards */
.emm-why-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 24px;
	width: 100%;
	max-width: 302px;
	box-sizing: border-box;
}

.emm-why-card__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--emm-gray-50);
	border: 1px solid var(--emm-gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--emm-gold);
	box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 24px;
}

.emm-why-card h3 {
	margin: 0 0 12px;
	font-size: 17.4px;
	line-height: 28px;
	font-weight: 700;
	color: var(--emm-ink);
}

.emm-why-card p,
.emm-why-card .emm-richtext {
	margin: 0;
	font-size: 13.1px;
	line-height: 22.75px;
	color: var(--emm-muted);
}

.emm-why-card .emm-richtext p {
	margin: 0 0 0.6em;
	font: inherit;
	color: inherit;
}

.emm-why-card .emm-richtext p:last-child {
	margin-bottom: 0;
}

/* Testimonials */
.emm-quote {
	background: var(--emm-white);
	border-radius: var(--emm-radius-card);
	box-shadow: var(--emm-shadow-card);
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	max-width: 406px;
	min-height: 262px;
	box-sizing: border-box;
	overflow: hidden;
}

.emm-quote__stars {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 3px;
	color: #c5a059;
}

.emm-quote__star {
	filter: drop-shadow(0 0 0.6px #c5a059);
}

.emm-quote blockquote {
	margin: 0;
	font-style: italic;
	font-size: 14.9px;
	line-height: 26px;
	color: #000;
}

.emm-quote blockquote p {
	margin: 0 0 0.6em;
	font: inherit;
	color: inherit;
}

.emm-quote blockquote p:last-child {
	margin-bottom: 0;
}

.emm-quote__who {
	display: flex;
	align-items: center;
	gap: 8px;
}

.emm-quote__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--emm-gold);
	color: #fff;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.emm-quote__who span:not(.emm-quote__avatar) {
	font-size: 13.3px;
	line-height: 20px;
	color: #4a4a4a;
}

/* Check bullets */
.emm-checks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.emm-checks li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 16px;
	line-height: 22.4px;
	color: var(--emm-white);
}

.emm-checks__mark {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--emm-white);
	color: var(--emm-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2.5px;
}

/* Gallery */
.emm-gallery__tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	justify-content: space-between;
	gap: 0;
	list-style: none;
	margin: 0 0 42px;
	padding: 0;
	border-bottom: 0;
	max-width: 1282px;
	width: 100%;
}

.emm-gallery__tab {
	width: 100%;
	padding: 24px;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	cursor: pointer;
	font-family: var(--emm-font);
	font-weight: 700;
	font-size: 18px;
	line-height: 19px;
	letter-spacing: -0.45px;
	color: #000;
	text-align: left;
	transition: color 280ms ease, border-color 280ms ease, opacity 200ms ease;
}

.emm-gallery__tab:hover,
.emm-gallery__tab:focus-visible {
	color: var(--emm-gold);
}

.emm-gallery__tab:active {
	opacity: 0.7;
}

.emm-gallery__tab.is-active {
	color: var(--emm-gold);
	border-bottom-color: var(--emm-gold);
}

.emm-gallery__stage {
	position: relative;
}

.emm-gallery__panel {
	display: none;
	flex-direction: column;
	gap: 24px;
}

.emm-gallery__panel.is-active {
	display: flex;
	animation: emm-gallery-in 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.emm-gallery__row {
	display: none;
}

@keyframes emm-gallery-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.emm-gallery__panel.is-active {
	display: flex;
	animation: emm-gallery-in 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Before / after */
.emm-ba {
	position: relative;
	width: 100%;
	max-width: 618px;
	height: auto;
	aspect-ratio: 618 / 484;
	border-radius: var(--emm-radius-img);
	overflow: hidden;
	background: var(--emm-white);
}

.emm-ba__after,
.emm-ba__before {
	position: absolute;
	inset: 0;
}

.emm-ba__after img,
.emm-ba__before img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.emm-ba__before img {
	object-position: left center;
}

.emm-ba__before {
	width: 50%;
	overflow: hidden;
	z-index: 1;
}

.emm-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	z-index: 2;
	width: 45.4px;
	margin-left: -22.7px;
	border: 0;
	background: transparent;
	cursor: ew-resize;
	padding: 0;
}

.emm-ba__knob {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 45.4px;
	height: 45.4px;
	margin: -22.7px 0 0 -22.7px;
	border-radius: 50%;
	background: var(--emm-white);
	color: var(--emm-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.emm-ba__arrows {
	display: block;
	width: 25px;
	height: 18px;
}

.emm-ba__range {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: ew-resize;
	margin: 0;
}

.emm-ba__label {
	position: absolute;
	bottom: 12px;
	z-index: 4;
	background: rgba(0, 0, 0, 0.45);
	color: var(--emm-white);
	font-weight: 700;
	font-size: 14.9px;
	line-height: 20.87px;
	padding: 8px 18px;
	border-radius: 4px;
}

.emm-ba__label--avant {
	left: 16px;
}

.emm-ba__label--apres {
	right: 16px;
}
