:root {
	--mg-brown: var(--ast-global-color-0);
	--mg-burgundy: var(--ast-global-color-1);
	--mg-muted-brown: var(--ast-global-color-2);
	--mg-paper: var(--ast-global-color-3);
	--mg-paper-soft: var(--ast-global-color-4);
	--mg-off-white: var(--ast-global-color-5);
	--mg-focus: var(--ast-global-color-6);
	--mg-project-card-gap: 1px;
	--mg-project-card-image-gap: 1px;
	--mg-line: color-mix(in srgb, var(--mg-brown) 24%, transparent);
	--mg-line-strong: color-mix(in srgb, var(--mg-brown) 34%, transparent);
	--mg-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--mg-header-height: 66px;
	--mg-header-z: 80;
	--mg-glass-bg: rgba(64, 24, 0, 0.46);
	--mg-glass-bg-soft: rgba(122, 98, 82, 0.34);
	--mg-glass-line: rgba(248, 246, 241, 0.24);
	--mg-glass-text: var(--mg-off-white);
	--margloo-brown: var(--mg-brown);
	--margloo-brown-soft: var(--mg-muted-brown);
	--margloo-paper: var(--mg-paper);
	--margloo-line: var(--mg-line);
	--margloo-line-strong: var(--mg-line-strong);
	--margloo-focus: var(--mg-focus);
	--margloo-ink: var(--mg-brown);
	--margloo-muted: var(--mg-muted-brown);
	--margloo-accent: var(--mg-burgundy);
	--margloo-paper-soft: var(--mg-paper-soft);
	--margloo-off-white: var(--mg-off-white);
}

body {
	background: var(--mg-paper);
	color: var(--mg-brown);
}

body.wp-child-theme-margloo-astra-child #masthead,
body.wp-child-theme-margloo-astra-child #ast-desktop-header,
body.wp-child-theme-margloo-astra-child #ast-mobile-header,
body.wp-child-theme-margloo-astra-child .elementor-location-header {
	display: none !important;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--mg-focus);
	outline-offset: 4px;
}

.home.ast-separate-container #primary,
.home.ast-separate-container .ast-article-single,
.home.ast-page-builder-template .site-content {
	background: var(--mg-paper);
	margin: 0;
	padding: 0;
}

.home .site-content .ast-container {
	display: block;
	max-width: none;
	padding: 0;
}

.margloo-site {
	background: var(--mg-paper);
	color: var(--mg-brown);
	min-height: 100vh;
}

.margloo-site-content {
	background: var(--mg-paper);
}

.margloo-skip-link:focus {
	background: var(--mg-paper);
	border: 1px solid var(--mg-line-strong);
	clip: auto;
	clip-path: none;
	color: var(--mg-brown);
	font-size: 0.75rem;
	font-weight: 700;
	height: auto;
	left: 1rem;
	line-height: 1;
	padding: 0.75rem 1rem;
	position: fixed;
	text-transform: uppercase;
	top: 1rem;
	width: auto;
	z-index: 10000;
}

.margloo-home {
	background: var(--mg-paper);
	color: var(--mg-brown);
	min-height: 100vh;
	padding: 0;
	width: 100%;
}

.margloo-site-header {
	background: transparent;
	color: var(--mg-brown);
	font-size: 16px;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: var(--mg-header-z);
}

.margloo-site-header__main,
.mg-view-toggle {
	background: color-mix(in srgb, var(--mg-paper) 94%, transparent);
	border-bottom: 1px solid var(--mg-line);
	color: currentColor;
	transition:
		background 260ms ease,
		border-color 260ms ease,
		color 260ms ease,
		backdrop-filter 260ms ease,
		-webkit-backdrop-filter 260ms ease;
}

.margloo-site-header__main {
	position: relative;
}

.margloo-site-header__inner {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
	min-height: var(--mg-header-height);
	padding: 12px clamp(16px, 3.4vw, 60px);
}

.margloo-site-header__role,
.margloo-site-header__contact,
.margloo-home-bar,
.margloo-project-card__meta {
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.margloo-site-header__role {
	color: currentColor;
	font-size: clamp(11px, 0.92vw, 16px);
	line-height: 0.92;
	margin: 0;
}

.margloo-site-header__role span {
	display: block;
}

.margloo-site-header__brand {
	align-items: center;
	display: flex;
	justify-content: center;
	line-height: 1;
	position: relative;
	text-decoration: none;
}

.margloo-site-header__logo {
	display: block;
	height: auto;
	max-height: 54px;
	max-width: min(var(--margloo-logo-size, 190px), 26vw);
	object-fit: contain;
	transition: opacity 220ms ease;
	width: auto;
}

.mg-logo__img--white {
	filter: brightness(0) invert(1);
	left: 50%;
	opacity: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.margloo-site-header__wordmark {
	color: currentColor;
	display: block;
	font-family: inherit;
	font-size: clamp(32px, 4vw, 53px);
	font-weight: 400;
	line-height: 0.9;
}

.margloo-site-header__contact {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: currentColor;
	cursor: pointer;
	font-size: clamp(11px, 0.82vw, 15px);
	font-weight: 700;
	justify-self: end;
	line-height: 1;
	padding: 0;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 220ms ease;
	-webkit-tap-highlight-color: transparent;
}

.margloo-site-header__brand:hover {
	opacity: 0.72;
}

.margloo-site-header__contact::after {
	background: currentColor;
	bottom: -0.22em;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	right: 0;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 420ms var(--mg-ease);
}

.margloo-site-header__contact:hover::after,
.margloo-site-header__contact[aria-expanded="true"]::after {
	transform: scaleX(1);
}

.margloo-site-header__contact:hover,
.margloo-site-header__contact:focus,
.margloo-site-header__contact:focus-visible,
.margloo-site-header__contact:active {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: currentColor;
	outline: 0 !important;
	text-decoration: none;
}

html.has-margloo-contact-drawer,
html.has-margloo-contact-drawer body {
	overflow: hidden;
}

.margloo-contact-drawer {
	color: var(--mg-brown);
	inset: 0;
	position: fixed;
	z-index: calc(var(--mg-header-z) + 40);
}

.margloo-contact-drawer[hidden] {
	display: none;
}

.margloo-contact-drawer__backdrop {
	appearance: none;
	background: color-mix(in srgb, var(--mg-muted-brown) 72%, var(--mg-paper));
	border: 0;
	box-shadow: none;
	cursor: pointer;
	inset: 0;
	opacity: 0;
	outline: 0;
	padding: 0;
	position: absolute;
	transition: opacity 560ms var(--mg-ease);
	-webkit-tap-highlight-color: transparent;
}

.margloo-contact-drawer__backdrop:hover,
.margloo-contact-drawer__backdrop:focus,
.margloo-contact-drawer__backdrop:focus-visible,
.margloo-contact-drawer__backdrop:active {
	background: color-mix(in srgb, var(--mg-muted-brown) 72%, var(--mg-paper));
	border: 0;
	box-shadow: none;
	outline: 0;
}

.margloo-contact-drawer__panel {
	align-items: stretch;
	backdrop-filter: blur(16px) saturate(120%);
	-webkit-backdrop-filter: blur(16px) saturate(120%);
	background: color-mix(in srgb, var(--mg-paper) 82%, transparent);
	border-left: 1px solid color-mix(in srgb, var(--mg-brown) 16%, transparent);
	box-shadow: -18px 0 52px color-mix(in srgb, var(--mg-brown) 10%, transparent);
	display: flex;
	height: 100%;
	justify-content: flex-start;
	margin-left: auto;
	max-width: 740px;
	min-width: 500px;
	min-height: 100%;
	overflow: auto;
	padding: clamp(34px, 5vw, 72px);
	position: relative;
	transform: translateX(100%);
	transition: transform 520ms var(--mg-ease);
	width: min(43vw, 720px);
}

.margloo-contact-drawer.is-open .margloo-contact-drawer__backdrop {
	opacity: 0.075;
}

.margloo-contact-drawer.is-open .margloo-contact-drawer__panel {
	transform: translateX(0);
}

.margloo-contact-drawer__close {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--mg-brown);
	cursor: pointer;
	height: 40px;
	padding: 0;
	position: absolute;
	right: clamp(16px, 2.6vw, 36px);
	top: clamp(16px, 2.6vw, 36px);
	width: 40px;
	transition:
		opacity 180ms ease,
		transform 220ms var(--mg-ease);
	-webkit-tap-highlight-color: transparent;
}

.margloo-contact-drawer__close:focus,
.margloo-contact-drawer__close:focus-visible,
.margloo-contact-drawer__close:hover,
.margloo-contact-drawer__close:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: 0;
}

.margloo-contact-drawer__close:hover {
	opacity: 0.62;
	transform: rotate(6deg);
}

.margloo-contact-drawer__close:focus-visible {
	opacity: 0.72;
}

.margloo-contact-drawer__close span::before,
.margloo-contact-drawer__close span::after {
	background: currentColor;
	content: "";
	height: 1px;
	left: 8px;
	position: absolute;
	right: 8px;
	top: 50%;
	transform-origin: center;
}

.margloo-contact-drawer__close span::before {
	transform: rotate(45deg);
}

.margloo-contact-drawer__close span::after {
	transform: rotate(-45deg);
}

.margloo-contact-drawer__content {
	align-self: stretch;
	display: grid;
	grid-template-rows: auto 1fr auto;
	margin: 0;
	min-height: 100%;
	text-align: left;
	width: 100%;
}

.margloo-contact-drawer__logo {
	display: block;
	height: auto;
	justify-self: center;
	margin: 0 auto;
	max-width: min(var(--margloo-logo-size, 190px), 48%);
	width: auto;
}

.margloo-contact-drawer__body {
	align-self: center;
	width: 100%;
}

.margloo-contact-drawer__intro {
	align-self: end;
	color: var(--mg-brown);
	font-size: clamp(11px, 0.78vw, 14px);
	font-weight: 700;
	line-height: 1.08;
	margin: clamp(34px, 5vw, 62px) 0 0;
	text-transform: uppercase;
}

.margloo-contact-drawer__intro span {
	display: block;
}

.margloo-contact-drawer__title {
	color: currentColor;
	font-size: clamp(17px, 1.25vw, 24px);
	font-weight: 700;
	line-height: 0.95;
	margin: 0 0 clamp(30px, 4vw, 50px);
	text-transform: uppercase;
}

.margloo-contact-drawer__items {
	display: grid;
	gap: 0;
}

.margloo-contact-drawer__item {
	border-top: 1px solid color-mix(in srgb, var(--mg-brown) 12%, transparent);
	color: currentColor;
	font-size: clamp(18px, 1.28vw, 24px);
	line-height: 1.12;
	margin: 0;
	padding: clamp(16px, 1.8vw, 24px) 0 clamp(16px, 1.8vw, 24px);
	text-transform: none;
}

.margloo-contact-drawer__item:last-child {
	padding-bottom: 0;
}

.margloo-contact-drawer__label {
	color: color-mix(in srgb, var(--mg-brown) 70%, transparent);
	display: block;
	font-size: clamp(9px, 0.68vw, 12px);
	font-weight: 700;
	line-height: 1;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.margloo-contact-drawer__value {
	display: inline;
}

.margloo-contact-drawer__item a,
.margloo-contact-drawer__item a:visited,
.margloo-contact-drawer__item a:hover,
.margloo-contact-drawer__item a:focus,
.margloo-contact-drawer__item a:active,
.margloo-contact-drawer__item a[x-apple-data-detectors],
.margloo-contact-drawer__item span[x-apple-data-detectors] {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: currentColor !important;
	outline: 0;
	text-decoration: none;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	transition: opacity 180ms ease;
}

.margloo-contact-drawer__item a:hover {
	opacity: 0.72;
	text-decoration: underline;
}

.margloo-site-header.is-glassy {
	color: var(--mg-glass-text);
}

.margloo-site-header.is-glassy .margloo-site-header__main,
.margloo-site-header.is-glassy .mg-view-toggle {
	background:
		linear-gradient(
			135deg,
			var(--mg-glass-bg),
			var(--mg-glass-bg-soft)
		);
	backdrop-filter: blur(16px) saturate(138%);
	-webkit-backdrop-filter: blur(16px) saturate(138%);
	border-color: var(--mg-glass-line);
}

.margloo-site-header.is-glassy .mg-logo__img--brown {
	opacity: 0;
}

.margloo-site-header.is-glassy .mg-logo__img--white {
	opacity: 1;
}

.margloo-site-header.is-glassy .mg-view-toggle__separator {
	color: color-mix(in srgb, var(--mg-glass-text) 68%, transparent);
}

.margloo-site-header.is-glassy .mg-view-toggle__button.is-active,
.margloo-site-header.is-glassy .mg-view-toggle__button[aria-pressed="true"] {
	color: var(--mg-glass-text);
}

.margloo-site-header.is-toggle-hidden .mg-view-toggle {
	border-bottom-color: transparent;
	max-height: 0;
	opacity: 0;
	padding-bottom: 0;
	padding-top: 0;
	pointer-events: none;
	transform: translateY(-0.625rem);
}

.margloo-site-footer {
	background:
		linear-gradient(
			135deg,
			color-mix(in srgb, var(--mg-paper) 92%, transparent),
			color-mix(in srgb, var(--mg-paper-soft) 58%, transparent)
		);
	border-top: 1px solid var(--mg-line);
	color: var(--mg-brown);
	position: relative;
	z-index: 1;
}

.margloo-site-footer__inner {
	align-items: center;
	display: grid;
	gap: clamp(18px, 4vw, 56px);
	grid-template-columns: minmax(150px, 0.72fr) minmax(280px, 1.25fr) minmax(180px, 0.9fr);
	min-height: 112px;
	padding: 22px clamp(84px, 7vw, 120px) 22px clamp(18px, 4vw, 64px);
}

.margloo-site-footer__brand,
.margloo-site-footer__contact,
.margloo-site-footer__meta {
	min-width: 0;
}

.margloo-site-footer__brand {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: flex-start;
}

.margloo-site-footer__logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.margloo-site-footer__logo-link:hover,
.margloo-site-footer__logo-link:focus,
.margloo-site-footer__logo-link:focus-visible,
.margloo-site-footer__logo-link:active {
	background: transparent;
	box-shadow: none;
	outline: 0;
	text-decoration: none;
}

.margloo-site-footer__logo {
	display: block;
	height: auto;
	max-width: min(var(--margloo-footer-logo-size, 150px), 24vw);
	width: auto;
}

.margloo-site-footer__eyebrow,
.margloo-site-footer__note,
.margloo-site-footer__copyright {
	font-size: clamp(9px, 0.62vw, 11px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0;
	text-transform: uppercase;
}

.margloo-site-footer__contact {
	justify-self: center;
	min-width: 0;
	width: 100%;
}

.margloo-site-footer__items {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.margloo-site-footer__item {
	align-items: baseline;
	display: inline-flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.margloo-site-footer__item + .margloo-site-footer__item::before {
	background: color-mix(in srgb, var(--mg-brown) 26%, transparent);
	content: "";
	display: inline-block;
	height: 0.82em;
	margin-right: 10px;
	width: 1px;
}

.margloo-site-footer__label {
	color: color-mix(in srgb, var(--mg-brown) 68%, transparent);
	font-size: clamp(8px, 0.58vw, 10px);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.margloo-site-footer__value {
	color: currentColor;
	display: inline-block;
	font-size: clamp(10px, 0.78vw, 13px);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	width: fit-content;
}

.margloo-site-footer__value:hover,
.margloo-site-footer__value:focus,
.margloo-site-footer__value:focus-visible,
.margloo-site-footer__value:active {
	background: transparent;
	box-shadow: none;
	color: currentColor;
	outline: 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.margloo-site-footer__meta {
	display: grid;
	gap: 7px;
	justify-items: end;
	text-align: right;
}

#ast-scroll-top.ast-scroll-top-icon {
	--mg-scroll-top-bottom: 28px;
	bottom: var(--mg-scroll-top-bottom) !important;
	right: clamp(18px, 2.5vw, 34px) !important;
	transition:
		background-color 180ms ease,
		bottom 180ms ease,
		opacity 180ms ease,
		transform 180ms ease;
}

.margloo-home h1 {
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 400;
	line-height: 0.95;
	margin: 0;
}

.margloo-home-bar {
	align-items: center;
	background: var(--mg-paper);
	border-bottom: 1px solid var(--mg-line-strong);
	display: grid;
	font-size: 0.7rem;
	grid-template-columns: minmax(7rem, 1fr) auto minmax(7rem, 1fr);
	line-height: 1;
	min-height: 32px;
	padding: 0 0.5rem;
}

.mg-view-toggle {
	align-items: center;
	border-bottom-color: var(--mg-line);
	display: flex;
	font-size: 9px;
	gap: 14px;
	justify-content: center;
	line-height: 1;
	max-height: 38px;
	opacity: 1;
	overflow: hidden;
	padding: 6px 10px 7px;
	pointer-events: auto;
	text-transform: uppercase;
	transform: translateY(0);
	transition:
		max-height 360ms var(--mg-ease),
		padding 360ms var(--mg-ease),
		opacity 260ms ease,
		transform 360ms var(--mg-ease),
		background 260ms ease,
		border-color 260ms ease,
		color 260ms ease,
		backdrop-filter 260ms ease,
		-webkit-backdrop-filter 260ms ease;
}

.margloo-home-bar__label {
	margin: 0;
}

.margloo-home-bar__label--end {
	justify-self: end;
}

.margloo-grid-tools {
	align-items: center;
	display: flex;
	gap: 0.35rem;
	justify-content: center;
	margin: 0;
	white-space: nowrap;
}

.margloo-grid-tools__label {
	color: var(--mg-brown);
}

.margloo-grid-tools__separator {
	color: var(--mg-muted-brown);
}

.margloo-grid-tools__button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--mg-brown);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	height: 1.25rem;
	justify-content: center;
	line-height: 1;
	padding: 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	text-transform: uppercase;
	user-select: none;
}

.mg-view-toggle__button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	justify-content: center;
	line-height: 1;
	min-height: 22px;
	opacity: 1;
	outline: 0;
	padding: 0 2px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 220ms ease;
	-webkit-tap-highlight-color: transparent;
}

.mg-view-toggle__button:hover,
.mg-view-toggle__button:focus,
.mg-view-toggle__button:focus-visible,
.mg-view-toggle__button:active {
	background: transparent;
	border: 0;
	box-shadow: none;
	outline: 0;
	outline-offset: 0;
}

.mg-view-toggle__button::after {
	background: currentColor;
	bottom: 2px;
	content: "";
	height: 1px;
	left: 2px;
	position: absolute;
	right: 2px;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 420ms var(--mg-ease);
}

.mg-view-toggle__button.is-active,
.mg-view-toggle__button[aria-pressed="true"] {
	color: var(--mg-brown);
}

.mg-view-toggle__button.is-active::after,
.mg-view-toggle__button[aria-pressed="true"]::after {
	transform: scaleX(1);
}

.mg-view-toggle__separator {
	color: var(--mg-muted-brown);
}

.margloo-grid-tools__button.is-active,
.margloo-grid-tools__button[aria-pressed="true"] {
	color: var(--mg-brown);
}

.margloo-project-grid {
	background: transparent;
	border: 1px solid var(--mg-line);
	border-top: 0;
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
}

.mg-project-shortcode-grid,
.mg-project-shortcode-grid.e-con,
.elementor.mg-project-shortcode-grid {
	--padding-bottom: 0;
	--padding-left: 0;
	--padding-right: 0;
	--padding-top: 0;
	background: transparent;
	border: 1px solid var(--mg-line);
	display: grid !important;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 0;
	width: 100%;
}

.mg-project-shortcode-grid > .e-con-inner,
.mg-project-shortcode-grid .elementor-widget-wrap,
.elementor.mg-project-shortcode-grid > .e-con {
	--padding-bottom: 0;
	--padding-left: 0;
	--padding-right: 0;
	--padding-top: 0;
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}

.margloo-home[data-view] .elementor-widget-shortcode:has(.mg-project-card) {
	background: transparent;
	flex: initial;
	min-width: 0;
	max-width: none;
	width: 100%;
}

.margloo-home[data-view] .elementor-widget-shortcode:has(.mg-project-card) > .elementor-widget-container,
.mg-project-shortcode-grid .elementor-widget-shortcode,
.mg-project-shortcode-grid .elementor-shortcode {
	background: transparent;
	width: 100%;
}

.mg-project-shortcode-grid .elementor-widget-shortcode .elementor-widget-container {
	background: transparent;
}

.margloo-project-card {
	background: var(--mg-paper);
	border: 1px solid var(--mg-line);
	margin: 0;
	padding: 0;
}

.margloo-project-card:not(.is-first-project-card) {
	margin-top: -1px;
}

.margloo-project-grid .margloo-project-card,
.mg-project-shortcode-grid .margloo-project-card,
.margloo-home[data-view] .margloo-project-card {
	border: 0;
	margin-top: 0;
}

.margloo-project-grid > .margloo-project-card:first-child,
.margloo-home .margloo-project-card.is-first-project-card,
.mg-project-shortcode-grid > .margloo-project-card:first-child,
.mg-project-shortcode-grid .elementor-widget-shortcode:first-of-type .margloo-project-card,
.mg-project-shortcode-grid .elementor-widget-shortcode:first-child .margloo-project-card,
.mg-project-shortcode-grid .elementor-shortcode:first-of-type .margloo-project-card,
.mg-project-shortcode-grid .elementor-shortcode:first-child .margloo-project-card {
	padding-top: 0;
}

.mg-project-shortcode-grid > .e-con-inner > .elementor-element:first-child .margloo-project-card,
.mg-project-shortcode-grid > .elementor-element:first-child .margloo-project-card {
	padding-top: 0;
}

.margloo-project-card__link,
.margloo-project-card__content {
	background: transparent;
	color: inherit;
	display: block;
	height: 100%;
	overflow: hidden;
	text-decoration: none;
	width: 100%;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	touch-action: manipulation;
	user-select: none;
}

.margloo-project-card__link:hover,
.margloo-project-card__link:focus,
.margloo-project-card__link:focus-visible,
.margloo-project-card__link:active {
	background: transparent !important;
	box-shadow: none !important;
	filter: none;
	opacity: 1;
	outline: 0 !important;
	text-decoration: none !important;
}

.margloo-project-card__link:hover img,
.margloo-project-card__link:focus img,
.margloo-project-card__link:focus-visible img,
.margloo-project-card__link:active img {
	filter: none;
	opacity: 1;
}

.margloo-project-card.is-link-disabled {
	cursor: default;
}

.margloo-project-card__images {
	background: var(--mg-line);
	box-sizing: border-box;
	display: grid;
	gap: var(--mg-project-card-image-gap);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.margloo-project-grid[data-view="desktop-2"],
.margloo-home[data-view="desktop-2"] .mg-project-shortcode-grid,
.mg-project-shortcode-grid[data-view="desktop-2"],
.margloo-project-grid[data-view="mobile-1"],
.margloo-home[data-view="mobile-1"] .mg-project-shortcode-grid,
.mg-project-shortcode-grid[data-view="mobile-1"],
.margloo-project-grid[data-view="mobile-2"],
.margloo-home[data-view="mobile-2"] .mg-project-shortcode-grid,
.mg-project-shortcode-grid[data-view="mobile-2"] {
	grid-template-columns: 1fr;
}

.margloo-project-grid[data-view="desktop-2"],
.margloo-project-grid[data-view="mobile-1"],
.margloo-project-grid[data-view="mobile-2"],
.margloo-home[data-view="desktop-2"] .mg-project-shortcode-grid,
.margloo-home[data-view="mobile-1"] .mg-project-shortcode-grid,
.margloo-home[data-view="mobile-2"] .mg-project-shortcode-grid,
.mg-project-shortcode-grid[data-view="desktop-2"],
.mg-project-shortcode-grid[data-view="mobile-1"],
.mg-project-shortcode-grid[data-view="mobile-2"] {
	background: transparent;
	border: 0;
	gap: 0;
}

.margloo-project-grid[data-view="desktop-2"] .margloo-project-card__images,
.margloo-project-grid[data-view="mobile-1"] .margloo-project-card__images,
.margloo-project-grid[data-view="mobile-2"] .margloo-project-card__images,
.margloo-home[data-view="desktop-2"] .margloo-project-card__images,
.margloo-home[data-view="mobile-1"] .margloo-project-card__images,
.margloo-home[data-view="mobile-2"] .margloo-project-card__images,
.mg-project-shortcode-grid[data-view="desktop-2"] .margloo-project-card__images,
.mg-project-shortcode-grid[data-view="mobile-1"] .margloo-project-card__images,
.mg-project-shortcode-grid[data-view="mobile-2"] .margloo-project-card__images {
	background: transparent;
	gap: 0;
}

.margloo-project-grid[data-view="desktop-4"],
.margloo-home[data-view="desktop-4"] .mg-project-shortcode-grid,
.mg-project-shortcode-grid[data-view="desktop-4"] {
	background: transparent;
	border: 0;
	gap: clamp(10px, 1.2vw, 18px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.margloo-project-grid[data-view="desktop-4"] .margloo-project-card,
.margloo-home[data-view="desktop-4"] .mg-project-shortcode-grid .margloo-project-card,
.mg-project-shortcode-grid[data-view="desktop-4"] .margloo-project-card {
	background: transparent;
	border: 0;
}

.margloo-project-grid[data-view="desktop-4"] .margloo-project-card__images,
.margloo-home[data-view="desktop-4"] .margloo-project-card__images,
.mg-project-shortcode-grid[data-view="desktop-4"] .margloo-project-card__images {
	background: transparent;
	gap: 2px;
}

.margloo-project-card[data-home-image-layout="single_left"] .mg-project-card__image-wrap--right,
.margloo-project-card[data-home-image-layout="single_right"] .mg-project-card__image-wrap--left {
	display: none;
}

.margloo-project-card[data-home-image-layout="single_left"] .margloo-project-card__images,
.margloo-project-card[data-home-image-layout="single_right"] .margloo-project-card__images {
	aspect-ratio: 3 / 2;
	grid-template-columns: 1fr;
}

.margloo-project-card[data-home-image-layout="single_left"] .margloo-project-card__media,
.margloo-project-card[data-home-image-layout="single_right"] .margloo-project-card__media {
	aspect-ratio: auto;
	height: 100%;
}

.margloo-project-grid[data-view="desktop-2"] .margloo-project-card__meta,
.margloo-project-grid[data-view="desktop-4"] .margloo-project-card__meta,
.margloo-project-grid[data-view="mobile-1"] .margloo-project-card__meta,
.margloo-project-grid[data-view="mobile-2"] .margloo-project-card__meta,
.margloo-home[data-view="desktop-2"] .margloo-project-card__meta,
.margloo-home[data-view="desktop-4"] .margloo-project-card__meta,
.margloo-home[data-view="mobile-1"] .margloo-project-card__meta,
.margloo-home[data-view="mobile-2"] .margloo-project-card__meta,
.mg-project-shortcode-grid[data-view="desktop-2"] .margloo-project-card__meta,
.mg-project-shortcode-grid[data-view="desktop-4"] .margloo-project-card__meta,
.mg-project-shortcode-grid[data-view="mobile-1"] .margloo-project-card__meta,
.mg-project-shortcode-grid[data-view="mobile-2"] .margloo-project-card__meta {
	display: none;
}

.margloo-project-card__media {
	aspect-ratio: 3 / 4;
	background: var(--mg-paper);
	isolation: isolate;
	margin: 0;
	overflow: hidden;
	position: relative;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	touch-action: manipulation;
	user-select: none;
}

.margloo-project-card__media.is-reflowing {
	pointer-events: none;
	transition: transform 520ms var(--mg-ease);
	will-change: transform;
}

.margloo-project-card__media .margloo-project-card__image,
.margloo-project-card__media img {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition:
		opacity 760ms var(--mg-ease),
		transform 980ms var(--mg-ease);
	width: 100%;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	user-select: none;
}

.margloo-project-card__media.has-hover-info::after {
	background:
		linear-gradient(
			135deg,
			color-mix(in srgb, var(--mg-brown) 58%, transparent),
			color-mix(in srgb, var(--mg-paper) 28%, transparent)
		);
	backdrop-filter: blur(10px) saturate(1.15);
	-webkit-backdrop-filter: blur(10px) saturate(1.15);
	content: "";
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 920ms var(--mg-ease);
	z-index: 1;
}

.margloo-project-card__hover-info {
	align-items: center;
	box-sizing: border-box;
	color: var(--mg-off-white);
	display: flex;
	flex-direction: column;
	font-size: clamp(8px, 0.72vw, 11px);
	font-weight: 700;
	inset: 0;
	justify-content: center;
	line-height: 1.15;
	opacity: 0;
	padding: 18px;
	pointer-events: none;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	transform: translateY(6px);
	transition:
		opacity 920ms var(--mg-ease),
		transform 1040ms var(--mg-ease);
	z-index: 2;
}

.margloo-project-card__hover-info--with-link {
	padding-bottom: 50px;
}

.margloo-project-card__hover-info--only-link {
	justify-content: center;
	padding-bottom: 18px;
}

.margloo-project-card__hover-copy {
	display: block;
	max-width: min(82%, 28rem);
}

.margloo-project-card__hover-more {
	align-items: center;
	bottom: 18px;
	color: color-mix(in srgb, var(--mg-off-white) 92%, transparent);
	display: inline-flex;
	font-size: 0.56rem;
	font-weight: 700;
	gap: 7px;
	justify-content: center;
	left: 50%;
	letter-spacing: 0;
	line-height: 1;
	opacity: 0;
	position: absolute;
	text-transform: uppercase;
	transform: translate(-50%, 4px);
	transition:
		opacity 920ms var(--mg-ease),
		transform 1040ms var(--mg-ease);
	white-space: nowrap;
}

.margloo-project-card__hover-info--only-link .margloo-project-card__hover-more {
	bottom: auto;
	top: 50%;
	transform: translate(-50%, calc(-50% + 4px));
}

.margloo-project-card__hover-more-icon {
	align-items: center;
	display: inline-flex;
	height: 12px;
	justify-content: center;
	width: 18px;
}

.margloo-project-card__hover-more-icon svg {
	display: block;
	fill: none;
	height: 11px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.35;
	width: 17px;
}

.margloo-project-card__hover-more-icon svg circle {
	fill: currentColor;
	stroke: none;
	transform-box: fill-box;
	transform-origin: center;
}

@keyframes margloo-eye-pupil {
	0%,
	18%,
	100% {
		transform: translateX(0);
	}

	34%,
	46% {
		transform: translateX(-2px);
	}

	62%,
	74% {
		transform: translateX(2px);
	}
}

.margloo-project-card__meta {
	align-items: center;
	background: var(--mg-paper);
	border: 0;
	border-top: 1px solid var(--mg-line);
	box-sizing: border-box;
	display: flex;
	font-size: 0.62rem;
	justify-content: space-between;
	line-height: 1;
	min-height: 24px;
	padding: 6px 8px;
	width: 100%;
}

.margloo-project-card__title {
	color: var(--mg-brown);
	font: inherit;
	margin: 0;
	text-transform: uppercase;
}

.margloo-project-card__media.has-hover-info.is-touch-hover .margloo-project-card__image {
	opacity: 1;
}

.margloo-project-card__media.has-hover-info.is-touch-hover::after {
	opacity: 1;
}

.margloo-project-card__media.has-hover-info.is-touch-hover .margloo-project-card__hover-info {
	opacity: 1;
	transform: translateY(0);
}

.margloo-project-card__media.has-hover-info.is-touch-hover .margloo-project-card__hover-more {
	opacity: 1;
	transform: translate(-50%, 0);
}

.margloo-project-card__media.has-hover-info.is-touch-hover .margloo-project-card__hover-info--only-link .margloo-project-card__hover-more {
	transform: translate(-50%, -50%);
}

.margloo-project-card__media.has-hover-info.is-touch-hover .margloo-project-card__hover-more-icon svg circle {
	animation: margloo-eye-pupil 2600ms var(--mg-ease) infinite;
}

@media (hover: hover) {
	.mg-view-toggle__button:hover {
		color: var(--mg-brown);
	}

	.mg-view-toggle__button:hover::after {
		transform: scaleX(1);
	}

	.margloo-project-card__media.has-hover-info:hover .margloo-project-card__image {
		opacity: 0.88;
	}

	.margloo-project-card__media.has-hover-info:hover::after {
		opacity: 1;
	}

	.margloo-project-card__media.has-hover-info:hover .margloo-project-card__hover-info {
		opacity: 1;
		transform: translateY(0);
	}

	.margloo-project-card__media.has-hover-info:hover .margloo-project-card__hover-more {
		opacity: 1;
		transform: translate(-50%, 0);
	}

	.margloo-project-card__media.has-hover-info:hover .margloo-project-card__hover-info--only-link .margloo-project-card__hover-more {
		transform: translate(-50%, -50%);
	}

	.margloo-project-card__media.has-hover-info:hover .margloo-project-card__hover-more-icon svg circle {
		animation: margloo-eye-pupil 2600ms var(--mg-ease) infinite;
	}
}

@media (hover: none), (pointer: coarse) {
	.margloo-project-card__link,
	.margloo-project-card__link:hover,
	.margloo-project-card__link:focus,
	.margloo-project-card__link:focus-visible,
	.margloo-project-card__link:active {
		background: transparent !important;
		box-shadow: none !important;
		filter: none;
		opacity: 1;
		outline: 0 !important;
		text-decoration: none !important;
	}

	.margloo-project-card__media.has-hover-info::after {
		opacity: 0;
	}

	.margloo-project-card__media.has-hover-info.is-touch-hover::after {
		background:
			linear-gradient(
				135deg,
				color-mix(in srgb, var(--mg-brown) 58%, transparent),
				color-mix(in srgb, var(--mg-paper) 28%, transparent)
			);
		backdrop-filter: blur(16px) saturate(138%);
		-webkit-backdrop-filter: blur(16px) saturate(138%);
		opacity: 1;
	}

	.margloo-project-card__link img,
	.margloo-project-card__link:hover img,
	.margloo-project-card__link:focus img,
	.margloo-project-card__link:focus-visible img,
	.margloo-project-card__link:active img,
	.margloo-project-card__media.has-hover-info.is-touch-hover .margloo-project-card__image {
		filter: none;
		opacity: 1;
	}

	.margloo-project-card__media.has-hover-info.is-touch-hover .margloo-project-card__hover-info {
		color: var(--mg-off-white);
		text-shadow:
			0 1px 14px color-mix(in srgb, var(--mg-brown) 72%, transparent),
			0 0 2px color-mix(in srgb, var(--mg-brown) 90%, transparent);
	}
}

@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
	.margloo-site-header.is-glassy .margloo-site-header__main,
	.margloo-site-header.is-glassy .mg-view-toggle {
		background: rgba(64, 24, 0, 0.88);
	}

	.margloo-contact-drawer__panel {
		background: color-mix(in srgb, var(--mg-paper) 94%, var(--mg-paper-soft));
	}

	.margloo-project-card__media.has-hover-info::after {
		background: color-mix(in srgb, var(--mg-brown) 72%, transparent);
	}
}

.margloo-empty {
	border-bottom: 1px solid var(--mg-line);
	color: var(--mg-muted-brown);
	font-size: 0.75rem;
	font-weight: 700;
	margin: 0;
	padding: 1rem 0.5rem;
	text-transform: uppercase;
}

.margloo-single-project {
	background: var(--mg-paper);
}

.margloo-single-project__article {
	margin: 0;
}

.mg-section,
.mg-section--paper {
	background: var(--mg-paper);
	color: var(--mg-brown);
}

.mg-section--soft {
	background: var(--mg-paper-soft);
	color: var(--mg-brown);
}

.mg-section--burgundy {
	background: var(--mg-burgundy);
	color: var(--mg-off-white);
}

.mg-section--white {
	background: var(--mg-off-white);
	color: var(--mg-brown);
}

.mg-credits {
	color: var(--mg-muted-brown);
}

@media (max-width: 767px) {
	:root {
		--mg-header-height: 52px;
	}

	.margloo-site-header__inner {
		grid-template-columns: 1fr auto 1fr;
		min-height: var(--mg-header-height);
		padding: 8px 12px 7px;
	}

	.margloo-site-header__role {
		font-size: clamp(7px, 1.8vw, 9px);
	}

	.margloo-site-header__brand {
		justify-self: center;
	}

	.margloo-site-header__logo {
		max-height: 38px;
		max-width: min(var(--margloo-logo-size, 136px), 40vw);
	}

	.margloo-site-header__contact {
		font-size: clamp(7px, 1.8vw, 9px);
		justify-self: end;
	}

	.margloo-site-footer__inner {
		align-items: center;
		gap: 18px;
		grid-template-columns: 1fr;
		min-height: auto;
		padding: 28px 24px 26px;
	}

	#ast-scroll-top.ast-scroll-top-icon {
		--mg-scroll-top-bottom: 28px;
		right: max(18px, env(safe-area-inset-right)) !important;
	}

	.margloo-site-footer__brand,
	.margloo-site-footer__meta {
		justify-items: center;
		text-align: center;
	}

	.margloo-site-footer__brand {
		display: grid;
		gap: 10px;
		justify-content: center;
	}

	.margloo-site-footer__logo {
		max-width: min(var(--margloo-footer-logo-size, 118px), 38vw);
	}

	.margloo-site-footer__eyebrow,
	.margloo-site-footer__note,
	.margloo-site-footer__copyright {
		font-size: 9px;
		line-height: 1.1;
	}

	.margloo-site-footer__contact {
		justify-self: stretch;
	}

	.margloo-site-footer__items {
		display: grid;
		gap: 0;
		justify-content: stretch;
		margin: 2px auto 0;
		max-width: 360px;
		width: 100%;
	}

	.margloo-site-footer__item {
		border-top: 1px solid color-mix(in srgb, var(--mg-brown) 12%, transparent);
		display: grid;
		gap: 6px;
		grid-template-columns: 68px minmax(0, 1fr);
		justify-content: stretch;
		padding: 9px 0;
		text-align: left;
		white-space: normal;
	}

	.margloo-site-footer__item:last-child {
		border-bottom: 1px solid color-mix(in srgb, var(--mg-brown) 12%, transparent);
	}

	.margloo-site-footer__item + .margloo-site-footer__item::before {
		display: none;
	}

	.margloo-site-footer__label {
		font-size: 8px;
		padding-top: 1px;
	}

	.margloo-site-footer__value {
		font-size: 11px;
		line-height: 1.12;
		max-width: 100%;
		overflow-wrap: anywhere;
		text-align: right;
		width: auto;
	}

	.margloo-site-footer__meta {
		gap: 8px;
		justify-items: center;
		max-width: 320px;
		justify-self: center;
	}

	.margloo-contact-drawer__panel {
		border-left: 0;
		max-width: none;
		min-width: 0;
		padding: 76px 24px 44px;
		width: 100%;
	}

	.margloo-contact-drawer__content {
		min-height: calc(100svh - 120px);
	}

	.margloo-contact-drawer__title {
		font-size: clamp(18px, 6vw, 28px);
		margin-bottom: 34px;
	}

	.margloo-contact-drawer__logo {
		margin: 0 auto;
		max-width: min(var(--margloo-logo-size, 152px), 44vw);
	}

	.margloo-contact-drawer__intro {
		font-size: clamp(10px, 3.1vw, 13px);
		margin: 36px 0 0;
	}

	.margloo-contact-drawer__item {
		font-size: clamp(18px, 5.4vw, 24px);
	}

	.margloo-home-bar,
	.mg-view-toggle {
		font-size: 9px;
		gap: 6px 8px;
		grid-template-areas:
			"left right"
			"view view";
		grid-template-columns: 1fr 1fr;
		min-height: 0;
		padding: 7px 8px;
	}

	.mg-view-toggle {
		display: flex;
		font-size: 8px;
		gap: 10px;
		justify-content: center;
		padding: 4px 8px 5px;
	}

	.mg-view-toggle__button {
		min-height: 24px;
		padding: 0 2px;
	}

	.margloo-home-bar__label {
		grid-area: left;
		line-height: 1.1;
	}

	.margloo-home-bar__label--end {
		grid-area: right;
		text-align: right;
	}

	.margloo-grid-tools {
		gap: 0.25rem;
		grid-area: view;
	}

	.margloo-grid-tools__button {
		text-align: center;
	}

	.margloo-project-card__hover-info--with-link {
		padding-bottom: 42px;
	}

	.margloo-project-card__hover-info--only-link {
		padding-bottom: 16px;
	}

	.margloo-project-card__hover-more {
		bottom: 14px;
		font-size: 0.46rem;
		gap: 4px;
	}

	.margloo-project-card__hover-more-icon {
		height: 10px;
		width: 15px;
	}

	.margloo-project-card__hover-more-icon svg {
		height: 9px;
		width: 14px;
	}

	.margloo-project-card__meta {
		font-size: 0.5rem;
		min-height: 21px;
		padding: 5px 7px 6px;
	}

	.margloo-project-grid[data-view="mobile-1"] .margloo-project-card__images,
	.margloo-home[data-view="mobile-1"] .margloo-project-card__images,
	.mg-project-shortcode-grid[data-view="mobile-1"] .margloo-project-card__images {
		aspect-ratio: auto;
		grid-template-columns: 1fr;
	}

	.margloo-project-grid[data-view="mobile-1"] .margloo-project-card__media,
	.margloo-home[data-view="mobile-1"] .margloo-project-card__media,
	.mg-project-shortcode-grid[data-view="mobile-1"] .margloo-project-card__media {
		aspect-ratio: 3 / 4;
		height: auto;
	}

	.margloo-project-grid[data-view="mobile-1"] .margloo-project-card[data-home-image-layout="double"][data-mobile-single-image="left"] .mg-project-card__image-wrap--right,
	.margloo-home[data-view="mobile-1"] .margloo-project-card[data-home-image-layout="double"][data-mobile-single-image="left"] .mg-project-card__image-wrap--right,
	.mg-project-shortcode-grid[data-view="mobile-1"] .margloo-project-card[data-home-image-layout="double"][data-mobile-single-image="left"] .mg-project-card__image-wrap--right {
		display: none;
	}

	.margloo-project-grid[data-view="mobile-1"] .margloo-project-card[data-home-image-layout="double"][data-mobile-single-image="right"] .mg-project-card__image-wrap--left,
	.margloo-home[data-view="mobile-1"] .margloo-project-card[data-home-image-layout="double"][data-mobile-single-image="right"] .mg-project-card__image-wrap--left,
	.mg-project-shortcode-grid[data-view="mobile-1"] .margloo-project-card[data-home-image-layout="double"][data-mobile-single-image="right"] .mg-project-card__image-wrap--left {
		display: none;
	}

	.mg-project-shortcode-grid,
	.mg-project-shortcode-grid.e-con {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.margloo-project-card__image {
		transition: none;
	}

	.margloo-project-card__media.has-hover-info::after,
	.margloo-project-card__hover-info,
	.margloo-project-card__hover-more {
		transition: none;
	}

	.margloo-project-card__hover-more-icon svg circle {
		animation: none !important;
	}

	.margloo-project-card__media.is-reflowing {
		transition: none;
	}

	.margloo-contact-drawer__backdrop,
	.margloo-contact-drawer__panel {
		transition: none;
	}
}
