body.template-landing,
body.template-textiles {
	--glass-border: rgba(255, 255, 255, 0.58);
	--glass-fill: rgba(255, 255, 255, 0.38);
	--glass-shadow: 0 20px 60px rgba(22, 38, 52, 0.16);
	--ink: #202b33;
}

body.template-landing {
	min-height: 100vh;
	min-width: 0;
	width: 100vw;
	padding: 0;
	overflow-x: hidden;
}

body.template-landing #wrapper {
	width: 100vw;
	max-width: 100vw;
}

body.template-landing #container,
body.template-landing #content {
	width: 100vw;
	max-width: 100vw;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

body.template-landing #footer {
	width: 100vw;
	max-width: 100vw;
}

body.template-landing .logo-container {
	position: fixed;
	top: 3.3rem;
	left: 50%;
	width: max-content;
	max-width: calc(100% - 2rem);
	padding: 0.65rem 1rem 0.7rem;
	border: 1px solid var(--glass-border);
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.52);
	box-shadow: var(--glass-shadow);
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	backdrop-filter: blur(18px) saturate(145%);
	transform: translateX(-50%);
}

body.template-landing .logo-container .logo {
	width: 6rem;
}

body.template-landing .logo-text {
	margin: 0.4rem 0 0;
	color: var(--ink);
	font-size: 0.72rem;
	letter-spacing: 0.045em;
	white-space: nowrap;
}

body.template-landing .oblique {
	min-height: 100svh;
	background: #dce7e8;
}

body.template-landing .oblique .main-block-oblique {
	min-height: 100svh;
}

body.template-landing .oblique .skew-block-repeat {
	flex: 1;
	min-height: 100svh;
	margin: 0 -1px;
	opacity: 1;
}

body.template-landing .oblique .skew-block-repeat a {
	display: block;
	min-height: 100%;
	overflow: hidden;
}

body.template-landing .oblique .skew-block-repeat a::after {
	display: none;
}

body.template-landing .oblique .skew-block-repeat:hover .image-img {
	transform: scale(1.045);
}

body.template-landing .oblique .skew-block-repeat + .skew-block-repeat .oblique-inner::before {
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1.25rem;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
	content: "";
	pointer-events: none;
}

body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass {
	top: 50%;
	left: 50%;
	bottom: auto;
	width: min(30rem, calc(100% - 3rem));
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transform: translate(-50%, -50%);
}

body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass.caption-bottom {
	top: 50%;
}

body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass .img-cont,
body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass .img-fab {
	width: 3.2rem;
	filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.2));
}

body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass h2 {
	display: block;
	margin-top: 0.9rem;
	color: white;
	font-size: clamp(1.15rem, 2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: 0.16em;
	opacity: 1;
	visibility: visible;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

body.template-landing .oblique .skew-block-repeat a button,
body.template-landing .oblique .skew-block-repeat a .discover-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.8rem;
	margin-top: 1.15rem;
	padding: 0.7rem 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.12);
	color: white !important;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	opacity: 1;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

body.template-landing .oblique .skew-block-repeat a:hover button,
body.template-landing .oblique .skew-block-repeat a:hover .discover-button,
body.template-landing .oblique .skew-block-repeat a:focus-visible button,
body.template-landing .oblique .skew-block-repeat a:focus-visible .discover-button {
	background: rgba(255, 255, 255, 0.28);
	transform: translateY(-2px);
}

body.template-landing .footer {
	position: absolute;
	z-index: 2;
	right: 1.25rem;
	bottom: 1.1rem;
	max-width: calc(100vw - 2.5rem);
	padding: 0.65rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.42);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

body.template-landing .footer .copyright {
	margin: 0;
	color: var(--ink) !important;
	font-size: 0.72rem;
}

body.template-textiles {
	min-width: 0;
	width: 100vw;
	padding: 0;
	overflow-x: hidden;
	background:
		radial-gradient(ellipse at 12% 0%, rgba(134, 220, 229, 0.24), transparent 38rem),
		radial-gradient(ellipse at 88% 8%, rgba(239, 183, 190, 0.24), transparent 40rem),
		#f5f4f1;
	color: var(--ink);
}

body.template-textiles #wrapper {
	width: 100vw;
	max-width: 100vw;
}

body.template-textiles #container,
body.template-textiles #content {
	width: 100%;
	margin: 0;
	padding: 0;
}

body.template-textiles .logo-container {
	position: fixed;
	z-index: 10003;
	top: 1rem;
	left: 1rem;
	padding: 0.65rem 1rem;
	border: 1px solid var(--glass-border);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.56);
	box-shadow: 0 12px 36px rgba(22, 38, 52, 0.12);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	text-align: center;
	transform: none;
}

body.template-textiles .logo-container .logo {
	width: 6rem;
}

body.template-textiles .logo-text {
	margin: 0.25rem 0 0;
	font-size: 0.62rem;
}

body.template-textiles .logo-text .discover-button {
	margin: 0.4rem auto 0;
	padding: 0.35rem 0.75rem;
	font-size: 0.6rem;
}

body.template-textiles #header {
	position: fixed;
	z-index: 10004;
	top: 1rem;
	right: auto;
	bottom: auto;
	left: 1rem;
	width: auto;
	height: 2.75rem;
	min-height: 0;
	padding: 0;
	margin: 0;
	line-height: 1;
	background: none;
	box-shadow: none;
	transform: none;
}

body.template-textiles #header nav {
	position: static;
	display: flex;
	align-items: center;
	height: 100%;
	margin: 0;
	padding: 0;
	background: transparent !important;
	box-shadow: none !important;
}

body.template-textiles #header .discover-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 1rem;
	color: var(--ink);
	cursor: pointer;
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 24px rgba(31, 45, 54, 0.12);
	-webkit-backdrop-filter: blur(14px) saturate(145%);
	backdrop-filter: blur(14px) saturate(145%);
	text-decoration: none;
	transition: color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body.template-textiles #header .discover-toggle:hover {
	background: rgba(255, 255, 255, 0.34);
	color: #568b91 !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(31, 45, 54, 0.16);
}

body.template-textiles #header .discover-toggle:focus-visible {
	outline: 3px solid rgba(86, 139, 145, 0.55);
	outline-offset: 3px;
}

body.template-textiles #header .discover-toggle:active {
	transform: scale(0.96);
}

body.template-textiles .menu-toggle-icon {
	display: flex;
	width: 1.25rem;
	flex-direction: column;
	gap: 0.28rem;
}

body.template-textiles .menu-toggle-icon span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform 180ms ease, width 180ms ease;
}

body.template-textiles .menu-toggle-icon span:nth-child(2) {
	width: 75%;
}

body.template-textiles .discover-toggle:hover .menu-toggle-icon span:nth-child(2) {
	width: 100%;
}

body.template-textiles #content > .textiles-intro {
	max-width: 54rem;
	margin: 0 auto;
	padding: 2rem 1.5rem 0.75rem;
	text-align: center;
}

body.template-textiles .textiles-eyebrow {
	margin: 0 0 0.75rem;
	color: #568b91;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

body.template-textiles .textiles-intro h1 {
	margin: 0;
	color: var(--ink);
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

body.template-textiles .textiles-intro-copy {
	max-width: 34rem;
	margin: 1rem auto 0;
	color: #65727a;
	font-size: 1rem;
	line-height: 1.7;
}

body.template-textiles .textiles-brand-card {
	position: absolute;
	z-index: 2;
	top: 0.15rem;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(23rem, calc(100% - 2rem));
	margin: 0;
	padding: 0.5rem;
	text-align: center;
	transform: translateX(-50%);
}

body.template-textiles .textiles-brand-logo {
	display: block;
}

body.template-textiles .textiles-brand-logo img {
	display: block;
	width: clamp(4.5rem, 8vw, 6rem);
	height: auto;
	margin: 0 auto;
}

body.template-textiles .textiles-brand-tagline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem;
	margin: 0.3rem 0 0;
	color: #202b33;
	font-size: 0.78rem;
	letter-spacing: 0.035em;
}

body.template-textiles .textiles-brand-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 0.9rem;
}

body.template-textiles .textiles-brand-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 6.5rem;
	padding: 0.55rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 999px;
	appearance: none;
	background: rgba(255, 255, 255, 0.44);
	box-shadow: 0 5px 16px rgba(31, 45, 54, 0.08);
	color: var(--ink);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	font-family: inherit;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

body.template-textiles .textiles-brand-actions > button.textiles-brand-button,
body.template-textiles .textiles-brand-actions > button.textiles-brand-button:hover,
body.template-textiles .textiles-brand-actions > button.textiles-brand-button:focus-visible {
	color: #000 !important;
}

body.template-textiles .textiles-brand-button:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 8px 20px rgba(31, 45, 54, 0.13);
	color: var(--ink);
}

body.template-textiles .textiles-brand-button:focus-visible {
	outline: 3px solid rgba(86, 139, 145, 0.55);
	outline-offset: 3px;
}

body.template-textiles .textiles-brand-button-primary {
	border-color: rgba(86, 139, 145, 0.32);
	background: rgba(134, 220, 229, 0.28);
}

body.template-textiles .textiles-marquee {
	position: fixed;
	z-index: 10003;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
	left: 50%;
	width: min(90rem, calc(100% - 3rem));
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0.72), rgba(220, 240, 239, 0.52), rgba(255, 255, 255, 0.72));
	box-shadow: 0 12px 32px rgba(31, 45, 54, 0.16);
	-webkit-backdrop-filter: blur(18px) saturate(135%);
	backdrop-filter: blur(18px) saturate(135%);
	transform: translateX(-50%);
}

body.template-textiles .textiles-marquee-track {
	display: flex;
	width: max-content;
	animation: textiles-marquee-scroll 32s linear infinite;
}

body.template-textiles .textiles-marquee-track span {
	display: flex;
	align-items: center;
	gap: 1.15rem;
	padding: 0.8rem 1.15rem;
	color: #445b60;
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
}

body.template-textiles .textiles-marquee-track i {
	width: 0.38rem;
	height: 0.38rem;
	border: 1px solid rgba(86, 139, 145, 0.55);
	border-radius: 50%;
	background: rgba(134, 220, 229, 0.48);
	box-shadow: 0 0 14px rgba(134, 220, 229, 0.55);
}

@keyframes textiles-marquee-scroll {
	to {
		transform: translateX(-50%);
	}
}

body.template-textiles #main.thumb-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.8rem, 1.5vw, 1.35rem);
	width: min(90rem, calc(100% - 3rem));
	margin: 0 auto;
	padding: 0 0 5rem;
}

body.template-textiles #main.thumb-container .thumb {
	width: 100% !important;
	min-width: 0;
	aspect-ratio: 1.18;
	border: 1px solid rgba(255, 255, 255, 0.76);
	border-radius: 1.2rem;
	background: rgba(255, 255, 255, 0.45);
	box-shadow: 0 14px 36px rgba(31, 45, 54, 0.12);
	isolation: isolate;
}

body.template-textiles #main.thumb-container .thumb:nth-child(2),
body.template-textiles #main.thumb-container .thumb:nth-child(8) {
	aspect-ratio: 1.5;
}

body.template-textiles #main.thumb-container .thumb::after {
	z-index: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(13, 22, 27, 0.58) 100%);
	opacity: 0.82;
	transition: opacity 250ms ease;
}

body.template-textiles #main.thumb-container .thumb:hover::after {
	opacity: 1;
}

body.template-textiles #main.thumb-container .thumb > .image {
	z-index: -1;
	border-radius: inherit;
}

body.template-textiles #main.thumb-container .thumb > .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.template-textiles #main.thumb-container .thumb:hover > .image img {
	transform: scale(1.045);
}

body.template-textiles #main.thumb-container .thumb > h2 {
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	width: fit-content;
	max-width: calc(100% - 2rem);
	padding: 0.65rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.52);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

body.template-textiles #main.thumb-container .thumb > h2:empty {
	display: none;
}

body.template-textiles #main.thumb-container .thumb > p {
	position: absolute;
	right: 1rem;
	bottom: 4rem;
	left: 1rem;
	z-index: 1;
	display: block;
	margin: 0;
	color: white;
	font-size: 0.9rem;
	line-height: 1.5;
	opacity: 0;
	transform: translateY(0.4rem);
	transition: opacity 220ms ease, transform 220ms ease;
}

body.template-textiles #main.thumb-container .thumb:hover > p,
body.template-textiles #main.thumb-container .thumb:focus-within > p {
	opacity: 1;
	transform: translateY(0);
}

body.template-textiles #header nav > ul > li a,
body.template-textiles #footer,
body.template-textiles #footer2 {
	-webkit-backdrop-filter: blur(20px) saturate(135%);
	backdrop-filter: blur(20px) saturate(135%);
}

body.template-textiles #footer,
body.template-textiles #footer2 {
	border: 1px solid rgba(255, 255, 255, 0.48);
	border-radius: 1.5rem 1.5rem 0 0;
	background: rgba(30, 42, 48, 0.78);
	box-shadow: 0 -18px 60px rgba(18, 27, 32, 0.2);
	color: rgba(255, 255, 255, 0.9);
}

body.template-textiles #footer2,
body.template-textiles #footer2 + .copyright {
	display: none !important;
}

body.template-textiles #footer h2,
body.template-textiles #footer2 h1,
body.template-textiles #footer2 h2 {
	color: white;
}

body.template-textiles #footer .text-box {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.07);
}

body.template-textiles #footer input[type="text"],
body.template-textiles #footer input[type="email"],
body.template-textiles #footer textarea {
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 0.75rem;
	background: rgba(255, 255, 255, 0.1);
	color: white;
}

body.template-textiles #footer input::placeholder,
body.template-textiles #footer textarea::placeholder {
	color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
	body.template-textiles #main.thumb-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: min(60rem, calc(100% - 2rem));
	}

	body.template-textiles #main.thumb-container .thumb:nth-child(2),
	body.template-textiles #main.thumb-container .thumb:nth-child(8) {
		aspect-ratio: 1.18;
	}
}

@media (max-width: 600px) {
	body.template-landing .logo-container {
		top: 3.3rem;
		padding: 0.45rem 0.65rem 0.5rem;
	}

	body.template-landing .logo-container .logo {
		width: 3.5rem;
	}

	body.template-landing .logo-text {
		font-size: 0.58rem;
	}

	body.template-landing .oblique .main-block-oblique {
		min-height: 100svh;
	}

	body.template-landing .oblique .skew-block {
		margin: 0;
	}

	body.template-landing .oblique .main-block-oblique {
		width: 100vw;
		max-width: 100vw;
	}

	body.template-landing .oblique .skew-block {
		margin: 0;
	}

	body.template-landing .oblique .skew-block-repeat {
		width: 100%;
		flex: 1 1 100%;
		min-height: 50svh;
		margin: 0;
	}

	body.template-landing .oblique .skew-block-repeat a,
	body.template-landing .oblique .skew-block-repeat a .oblique-inner,
	body.template-landing .oblique .skew-block-repeat a .image-wrapper {
		transform: none;
	}

	body.template-landing .oblique .skew-block-repeat + .skew-block-repeat .oblique-inner::before {
		display: none;
	}

	body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass h2 {
		font-size: 0.82rem;
		letter-spacing: 0.07em;
	}

	body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass {
		top: 50%;
		bottom: auto;
		width: min(22rem, calc(100% - 2rem));
		padding: 0;
		transform: translate(-50%, -50%);
	}

	body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass.caption-top {
		top: 50%;
	}

	body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass .img-cont,
	body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass .img-fab {
		width: 2.2rem;
	}

	body.template-landing .oblique .skew-block-repeat .oblique-caption.tile-glass h2 {
		margin-top: 0.5rem;
		font-size: 0.95rem;
	}

	body.template-landing .footer {
		right: 0.75rem;
		bottom: 0.7rem;
	}

	body.template-textiles .logo-container {
		top: 0.65rem;
		left: 0.65rem;
		padding: 0.45rem 0.65rem;
	}

	body.template-textiles #header {
		top: 0.65rem;
		right: auto;
		left: 0.65rem;
	}

	body.template-textiles .logo-container .logo {
		width: 4.5rem;
	}

	body.template-textiles .logo-text {
		font-size: 0.52rem;
	}

	body.template-textiles #content > .textiles-intro {
		padding: 1.5rem 1rem 0.5rem;
	}

	body.template-textiles .textiles-marquee {
		right: 0.625rem;
		bottom: calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
		left: 0.625rem;
		width: auto;
		transform: none;
	}

	body.template-textiles .textiles-intro-copy {
		font-size: 0.9rem;
	}

	body.template-textiles .logo-text .discover-button {
		margin-top: 0.25rem;
		padding: 0.25rem 0.55rem;
		font-size: 0.55rem;
	}

	body.template-textiles #content > .textiles-intro {
		padding-top: 1.5rem;
	}

	body.template-textiles #main.thumb-container {
		grid-template-columns: 1fr;
		gap: 0.85rem;
		width: calc(100% - 1.25rem);
		padding-bottom: 6rem;
	}

	body.template-textiles #main.thumb-container .thumb,
	body.template-textiles #main.thumb-container .thumb:nth-child(2),
	body.template-textiles #main.thumb-container .thumb:nth-child(8) {
		aspect-ratio: 1.2;
		border-radius: 1rem;
	}

	body.template-textiles .textiles-brand-card {
		width: calc(100% - 1rem);
		padding: 0.35rem;
	}

	body.template-textiles #main.thumb-container .thumb > p {
		opacity: 1;
		transform: none;
	}

	body.template-textiles .panel {
		right: 0.5rem;
		bottom: 0.5rem;
		left: 0.5rem;
		width: auto;
		max-height: 82vh;
		padding: 2.5rem 1.25rem 1.5rem;
		border-radius: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.template-landing *,
	body.template-textiles * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
