/**
 * Craftex editorial design widgets.
 */

.craftex-fullscreen-image,
.craftex-editorial-intro,
.craftex-materials,
.craftex-fullscreen-image *,
.craftex-editorial-intro *,
.craftex-materials * {
	box-sizing: border-box;
}

.craftex-fullscreen-image {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: #202121;
	isolation: isolate;
}

@supports (height: 100dvh) {
	.craftex-fullscreen-image {
		height: 100dvh;
		min-height: 100dvh;
	}
}

.craftex-fullscreen-image__media {
	position: absolute;
	z-index: 0;
	inset: -4%;
	opacity: 1;
	transform: translate3d(0, var(--craftex-parallax-y, 0), 0) scale(var(--craftex-parallax-scale, 1));
	transform-origin: center;
	will-change: transform;
}

.craftex-fullscreen-image__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.craftex-fullscreen-image__background--mobile {
	display: none !important;
}

.craftex-fullscreen-image__overlay {
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
}

.craftex-fullscreen-image__foreground {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: flex;
	width: 100%;
	max-width: 1600px;
	margin-inline: auto;
	padding: 0 72px 54px;
	align-items: flex-end;
	justify-content: flex-start;
	pointer-events: none;
}

.craftex-fullscreen-image__logo-frame {
	--craftex-logo-offset-x: 0px;
	--craftex-logo-offset-y: 0px;
	display: block;
	width: 56px;
	max-width: 100%;
	line-height: 0;
	transform: translate3d(var(--craftex-logo-offset-x), var(--craftex-logo-offset-y), 0);
}

.craftex-fullscreen-image__logo {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	object-position: left bottom;
}

.craftex-fullscreen-image.is-craftex-motion-ready[data-craftex-reveal="yes"] .craftex-fullscreen-image__media {
	opacity: 0;
	transition:
		opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 80ms linear;
}

.craftex-fullscreen-image.is-craftex-motion-ready[data-craftex-reveal="yes"].is-craftex-visible .craftex-fullscreen-image__media {
	opacity: 1;
}

.craftex-editorial-intro {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	color: #3e3f3f;
	background: #d8d7cc;
}

@supports (min-height: 100dvh) {
	.craftex-editorial-intro {
		min-height: 100dvh;
	}
}

.craftex-editorial-intro__inner {
	display: grid;
	width: 100%;
	min-height: inherit;
	margin-inline: auto;
	padding: 120px 72px 72px;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: auto minmax(220px, 1fr);
	column-gap: 24px;
	row-gap: 36px;
}

.craftex-editorial-intro__left {
	grid-column: 1 / 5;
	grid-row: 1 / 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.craftex-editorial-intro__heading {
	margin: 0;
	align-self: start;
	font-family: "Aeoniktrial", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(1.5rem, 2vw, 2rem);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-align: left;
}

.craftex-editorial-intro__heading-text--mobile {
	display: none;
}

.craftex-editorial-intro__rule {
	flex: 1 1 auto;
	width: 1px;
	min-height: 120px;
	align-self: flex-start;
	background: rgba(62, 63, 63, 0.18);
	transform-origin: top;
}

.craftex-editorial-intro__media {
	min-width: 0;
	margin: 0;
	grid-column: 6 / 13;
	grid-row: 1;
}

.craftex-editorial-intro__image-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 2.4 / 1;
	background: rgba(62, 63, 63, 0.08);
}

.craftex-editorial-intro__image-media {
	position: absolute;
	inset: -5%;
	transform: translate3d(0, var(--craftex-parallax-y, 0), 0) scale(1.02);
	will-change: transform;
}

.craftex-editorial-intro__image-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Keep the desktop section at one viewport and let the image consume only
   the space left after padding, copy and grid gaps. */
@media (min-width: 768px) {
	.craftex-editorial-intro--image-dynamic {
		height: 100vh;
		height: 100svh;
	}

	@supports (height: 100dvh) {
		.craftex-editorial-intro--image-dynamic {
			height: 100dvh;
		}
	}

	.craftex-editorial-intro--image-dynamic .craftex-editorial-intro__inner {
		height: 100%;
		min-height: 0;
		grid-template-rows: minmax(0, 1fr) auto;
	}

	.craftex-editorial-intro--image-dynamic .craftex-editorial-intro__media {
		display: flex;
		flex-direction: column;
		height: 100%;
		min-height: 0;
	}

	.craftex-editorial-intro--image-dynamic .craftex-editorial-intro__image-frame {
		flex: 1 1 0%;
		height: auto;
		min-height: 0;
		aspect-ratio: auto;
	}

	.craftex-editorial-intro--image-dynamic .craftex-editorial-intro__caption {
		flex: 0 0 auto;
	}
}

.craftex-editorial-intro__caption {
	display: block;
	margin-top: 12px;
	font-family: "OCRBLetterpressMW01-Regular", "OCR B Std", "Courier New", monospace;
	font-size: 0.625rem;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.14em;
	text-align: right;
	text-transform: uppercase;
}

.craftex-editorial-intro__copy {
	min-width: 0;
	align-self: end;
	font-family: "Aeoniktrial", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.8125rem;
	font-weight: 300;
	line-height: 1.25;
	text-align: justify;
}

.craftex-editorial-intro__copy--one {
	grid-column: 6 / 9;
	grid-row: 2;
}

.craftex-editorial-intro__copy--two {
	grid-column: 10 / 13;
	grid-row: 2;
}

.craftex-editorial-intro__copy p {
	margin: 0 0 1em;
	text-align: justify;
}

.craftex-editorial-intro__copy p:last-child {
	margin-bottom: 0;
}

.craftex-editorial-intro__cta-wrap {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	transform: translateY(var(--craftex-cta-offset-y, 16px));
}

.craftex-editorial-intro__cta {
	display: inline-flex;
	width: 216px;
	max-width: 100%;
	min-height: 44px;
	padding: 8px 16px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	border: 1px solid rgba(62, 63, 63, 0.28);
	border-radius: 0;
	color: inherit;
	background: transparent;
	font-family: "OCRBLetterpressMW01-Regular", "OCR B Std", "Courier New", monospace;
	font-size: 0.6875rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	transition:
		color 240ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.craftex-editorial-intro__cta:hover,
.craftex-editorial-intro__cta:focus-visible {
	color: #fff;
	background: #3e3f3f;
}

.craftex-editorial-intro__cta:focus-visible {
	outline: 2px solid #1d82ea;
	outline-offset: 3px;
}

.craftex-editorial-intro__cta-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.craftex-editorial-intro__cta-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.craftex-editorial-intro__cta:hover .craftex-editorial-intro__cta-icon--right,
.craftex-editorial-intro__cta:focus-visible .craftex-editorial-intro__cta-icon--right {
	transform: translate3d(3px, -3px, 0);
}

.craftex-editorial-intro__cta:hover .craftex-editorial-intro__cta-icon--left,
.craftex-editorial-intro__cta:focus-visible .craftex-editorial-intro__cta-icon--left {
	transform: translate3d(-3px, -3px, 0);
}

.craftex-materials {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	color: #3e3f3f;
	background: #d8d7cc;
	isolation: isolate;
}

@supports (min-height: 100dvh) {
	.craftex-materials {
		min-height: 100dvh;
	}
}

.craftex-materials::before {
	position: absolute;
	z-index: 0;
	inset: 0;
	background-color: #3e3f3f;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 20.5v7M20.5 24h7' fill='none' stroke='black' stroke-width='.7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 20.5v7M20.5 24h7' fill='none' stroke='black' stroke-width='.7'/%3E%3C/svg%3E");
	-webkit-mask-position: left top;
	mask-position: left top;
	-webkit-mask-repeat: repeat;
	mask-repeat: repeat;
	-webkit-mask-size: 48px 48px;
	mask-size: 48px 48px;
	opacity: 0.08;
	content: "";
	pointer-events: none;
}

.craftex-materials[data-craftex-pattern="no"]::before {
	display: none;
}

.craftex-materials__inner {
	position: relative;
	z-index: 1;
	display: grid;
	width: 100%;
	min-height: inherit;
	margin-inline: auto;
	padding: 28px 54px 54px;
	grid-template-columns: 150px minmax(0, 1fr);
	column-gap: 30px;
	align-items: center;
}

.craftex-materials__title {
	/* margin: 66px 0 0; */
	align-self: start;
	justify-self: start;
	color: #3e3f3f;
	font-family: "Aeoniktrial", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(2.5rem, 4vw, 4.5rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.035em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

.craftex-materials__grid {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1260px;
	margin-inline: auto;
	gap: 12px;
	align-items: end;
	justify-content: flex-end;
	height: 100%;
}

.craftex-materials__card {
	flex: 0 0 12.5%;
	width: 12.5%;
	max-width: 100%;
	min-width: 0;
	--craftex-card-scale: 1.02;
}

.craftex-materials__card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.craftex-materials__card-link:focus-visible {
	outline: 2px solid #1d82ea;
	outline-offset: 4px;
}

.craftex-materials__image-frame {
	position: relative;
	width: 100%;
	height: 55vh;
	height: 55svh;
	max-height: 484px;
	overflow: hidden;
	aspect-ratio: auto;
	background: rgba(62, 63, 63, 0.08);
}

@supports (height: 55dvh) {
	.craftex-materials__image-frame {
		height: 55dvh;
	}
}

.craftex-materials__image-media {
	position: absolute;
	inset: -5%;
	transform: translate3d(0, var(--craftex-card-parallax-y, 0), 0) scale(var(--craftex-card-scale, 1.02));
	transform-origin: center;
	transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.craftex-materials__image-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.craftex-materials__image-mobile {
	display: none !important;
}

.craftex-materials__image-desktop {
	display: block;
}

.craftex-materials__label {
	display: block;
	width: 100%;
	transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
	margin-top: 10px;
	padding-top: 9px;
	border-top: 1px solid rgba(62, 63, 63, 0.25);
	color: #202121;
	font-family: "OCRBLetterpressMW01-Regular", "OCR B Std", "Courier New", monospace;
	font-size: 0.5625rem;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0.12em;
	text-align: right;
	text-transform: uppercase;
}

.craftex-materials__card:has(.craftex-materials__card-link[href]):hover,
.craftex-materials__card:focus-within {
	--craftex-card-scale: var(--craftex-card-hover-scale, 1.035);
}

@supports not selector(:has(*)) {
	.craftex-materials__card:hover {
		--craftex-card-scale: var(--craftex-card-hover-scale, 1.035);
	}
}

.craftex-reveal-root.is-craftex-motion-ready[data-craftex-reveal="yes"] .craftex-reveal-item {
	opacity: 0;
	transform: translate3d(0,
			calc(var(--craftex-reveal-distance, 22px) + var(--craftex-copy-offset, 0px)),
			0);
	transition:
		opacity var(--craftex-reveal-duration, 800ms) cubic-bezier(0.22, 1, 0.36, 1),
		transform var(--craftex-reveal-duration, 800ms) cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: calc(var(--craftex-reveal-order, 0) * var(--craftex-reveal-stagger, 110ms));
	will-change: opacity, transform;
}

.craftex-reveal-root.is-craftex-motion-ready[data-craftex-reveal="yes"].is-craftex-visible .craftex-reveal-item,
.craftex-reveal-root.is-craftex-motion-ready[data-craftex-reveal="yes"] .craftex-reveal-item.is-craftex-visible,
.craftex-reveal-root.is-craftex-motion-ready[data-craftex-reveal="no"] .craftex-reveal-item {
	opacity: 1;
	transform: translate3d(0, var(--craftex-copy-offset, 0px), 0);
}

.craftex-reveal-root.is-craftex-motion-ready[data-craftex-reveal="yes"] .craftex-editorial-intro__rule {
	transform: scaleY(0);
}

.craftex-reveal-root.is-craftex-motion-ready[data-craftex-reveal="yes"].is-craftex-visible .craftex-editorial-intro__rule {
	transform: scaleY(1);
}

@media (min-width: 1600px) {
	.craftex-editorial-intro__inner {
		grid-template-rows: auto minmax(280px, 1fr);
	}

	.craftex-editorial-intro__copy {
		max-width: 28rem;
		font-size: 0.875rem;
	}

	.craftex-materials__grid {
		max-width: 1260px;
	}
}

@media (max-width: 1200px) {
	.craftex-editorial-intro__inner {
		padding: 96px 48px 64px;
		grid-template-columns: repeat(8, minmax(0, 1fr));
		grid-template-rows: auto minmax(240px, 1fr);
	}

	.craftex-editorial-intro__left {
		grid-column: 1 / 4;
		grid-row: 1 / 3;
	}

	.craftex-editorial-intro__heading {
		text-align: left;
	}

	.craftex-editorial-intro__media {
		grid-column: 4 / 9;
	}

	.craftex-editorial-intro__copy--one {
		grid-column: 4 / 6;
	}

	.craftex-editorial-intro__copy--two {
		grid-column: 6 / 9;
	}

	.craftex-materials__inner {
		padding: 48px 40px 56px;
		grid-template-columns: 120px minmax(0, 1fr);
		column-gap: 24px;
	}

	.craftex-materials__title {
		font-size: clamp(2.5rem, 5vw, 3.75rem);
	}
}

@media (max-width: 900px) {
	.craftex-editorial-intro {
		min-height: auto;
	}

	.craftex-editorial-intro__inner {
		padding: 80px 40px 64px;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-template-rows: auto auto;
		row-gap: 32px;
	}

	.craftex-editorial-intro__left {
		grid-column: 1 / 3;
		grid-row: 1 / 3;
	}

	.craftex-editorial-intro__heading {
		text-align: left;
	}

	.craftex-editorial-intro__media {
		grid-column: 3 / 7;
		grid-row: 1;
		margin-top: 0;
	}

	.craftex-editorial-intro__copy--one {
		grid-column: 3 / 5;
		grid-row: 2;
	}

	.craftex-editorial-intro__copy--two {
		grid-column: 5 / 7;
		grid-row: 2;
	}

	.craftex-materials {
		min-height: auto;
	}

	.craftex-materials__inner {
		padding: 72px 36px 64px;
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: start;
	}

	.craftex-materials__title {
		margin-top: 0;
	}

	.craftex-materials__grid {
		row-gap: 32px;
	}

	.craftex-materials__image-frame {
		aspect-ratio: auto;
	}
}

@media (max-width: 767px) {
	.craftex-fullscreen-image__media--has-mobile .craftex-fullscreen-image__background--desktop {
		display: none;
	}

	.craftex-fullscreen-image__media--has-mobile .craftex-fullscreen-image__background--mobile {
		display: block !important;
	}

	.craftex-editorial-intro__heading-text--desktop {
		display: none;
	}

	.craftex-editorial-intro__heading-text--mobile {
		display: inline;
	}

	.craftex-fullscreen-image {
		height: var(--craftex-fullscreen-mobile-height, 100svh);
		min-height: var(--craftex-fullscreen-mobile-height, 100svh);
	}

	.craftex-fullscreen-image__foreground {
		padding: 0 20px 24px;
	}

	.craftex-fullscreen-image__logo-frame {
		width: 36px;
	}

	.craftex-editorial-intro__inner {
		display: flex;
		flex-direction: column;
		padding: 64px 20px 56px;
		row-gap: 0;
	}

	.craftex-editorial-intro__left {
		display: contents;
	}

	.craftex-editorial-intro__heading {
		order: 1;
		margin: 0 0 var(--craftex-mobile-title-image-gap, 137.97px) 0;
		font-size: clamp(1.5rem, 7vw, 2rem);
	}

	.craftex-editorial-intro__rule {
		display: none !important;
	}

	.craftex-editorial-intro__media {
		order: 2;
		width: var(--craftex-editorial-mobile-image-width, 344.81px);
		max-width: 100%;
		margin: 0 auto var(--craftex-mobile-image-content-gap, 77.81px);
	}

	.craftex-editorial-intro__image-frame {
		width: var(--craftex-editorial-mobile-image-width, 344.81px);
		max-width: 100%;
		height: 141.06px;
		aspect-ratio: auto;
		margin: 0 auto;
	}

	.craftex-editorial-intro__caption {
		display: none !important;
	}

	.craftex-editorial-intro__copy--one {
		order: 3;
		margin-top: 0;
		margin-bottom: 24px;
	}

	.craftex-editorial-intro__copy--two {
		order: 4;
		margin-bottom: 32px;
	}

	.craftex-editorial-intro__copy {
		--craftex-copy-offset: 0px !important;
		max-width: 38rem;
		font-size: max(0.875rem, 14px);
		line-height: 1.45;
	}

	.craftex-editorial-intro__cta-wrap {
		order: 5;
		margin-top: 0;
		display: flex;
		justify-content: flex-start;
		width: 100%;
	}

	.craftex-editorial-intro__cta {
		width: min(100%, 280px);
	}

	.craftex-materials {
		height: auto !important;
		min-height: auto !important;
		overflow: visible !important;
	}

	.craftex-reveal-root.is-craftex-motion-ready[data-craftex-reveal="yes"] .craftex-reveal-item {
		transition-delay: 0ms !important;
	}

	.craftex-materials__inner {
		display: grid;
		padding: 56px 20px 48px;
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 34px;
	}

	.craftex-materials__title {
		font-size: clamp(2.25rem, 12vw, 3.75rem);
		letter-spacing: -0.04em;
		writing-mode: horizontal-tb;
		text-align: center;
		width: 100%;
	}

	.craftex-materials__grid {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		overflow-x: visible;
		gap: 18px;
		align-items: center;
		transform: none !important;
	}

	.craftex-materials__grid::-webkit-scrollbar {
		display: none;
	}

	.craftex-materials__card {
		flex: 0 0 auto !important;
		width: var(--craftex-materials-mobile-image-width, 342px) !important;
		max-width: 100% !important;
		margin-inline: auto;
	}

	.craftex-materials__image-frame {
		width: var(--craftex-materials-mobile-image-width, 342px);
		max-width: 100%;
		height: var(--craftex-materials-mobile-image-height, 160px);
		aspect-ratio: auto;
		margin-inline: auto;
		position: relative;
		overflow: hidden;
	}

	.craftex-materials__image-media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		transform: none;
	}

	.craftex-materials__image-media img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		max-height: none;
		object-fit: var(--craftex-materials-image-fit, cover);
		object-position: var(--craftex-materials-image-position, center);
	}

	.craftex-materials__image-media--has-mobile .craftex-materials__image-desktop {
		display: none !important;
	}

	.craftex-materials__image-mobile,
	.craftex-materials__image-media--has-mobile .craftex-materials__image-mobile {
		display: block !important;
		height: var(--craftex-materials-mobile-image-height, 160px);
		max-width: 100%;
		max-height: none;
		object-fit: var(--craftex-materials-image-fit, cover);
		object-position: var(--craftex-materials-image-position, center);
	}

	.craftex-materials__label {
		display: block;
		width: 100%;
		min-height: 28px;
		margin-top: 10px;
		padding-top: 8px;
		border-top: 1px solid rgba(62, 63, 63, 0.35);
		font-size: max(0.625rem, 10px);
		text-align: right;
	}
}

@media (prefers-reduced-motion: reduce) {

	.craftex-fullscreen-image__media,
	.craftex-editorial-intro__image-media,
	.craftex-materials__image-media,
	.craftex-reveal-item,
	.craftex-editorial-intro__cta,
	.craftex-editorial-intro__cta-icon {
		animation: none !important;
		transition-duration: 0.01ms !important;
		transform: none !important;
	}

	.craftex-reveal-item,
	.craftex-fullscreen-image__media {
		opacity: 1 !important;
	}
}
