/**
 * LT Clothes Shop: the size wall.
 * One bold element: the wall of cubbies in the hero, waist across and inside leg down; each cubby's folded stack is
 * as tall as the pieces left in that size, the last piece carries the red selvedge edge, a sold-out size is dashed.
 * The same wall comes back for shirts (collar by sleeve) and jackets on a rail (chest by length).
 * Everything else is a quiet shop counter on pocketing white: hairline label rows, 2px corners, square photos,
 * no shadows, no gradients, one rinsed-indigo band. Solway throughout: 800 headings and sizes, 700 prices,
 * 500 menus and buttons, 400 reading.
 */

body {
	font-feature-settings: "kern" 1;
}

h1, h2, h3, h4,
.elementor-heading-title,
.lt-brand__name,
.lt-blog__title,
.lt-single__title,
.lt-404__title {
	letter-spacing: -0.01em;
}

.lt-num,
.lt-num p {
	font-variant-numeric: tabular-nums lining-nums;
}

.lt-vh {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.lt-h3 .elementor-heading-title {
	font-size: var(--lt-fs-xl);
}

.lt-h4 .elementor-heading-title {
	font-size: var(--lt-fs-md);
}

.lt-note.elementor-widget-text-editor {
	font-size: var(--lt-fs-sm);
	color: var(--lt-soft);
}

body .elementor-button {
	font-weight: 500;
	font-size: 1.0625rem;
	letter-spacing: 0.005em;
}

body .lt-menu a {
	font-weight: 500;
	font-size: var(--lt-fs-nav);
}

/* ---------- Top bar and header ---------- */

.e-con.lt-sec.lt-topbar-bar {
	--padding-top: 0.45rem;
	--padding-bottom: 0.45rem;
	font-size: var(--lt-fs-sm);
}

.lt-topbar-bar .elementor-widget-text-editor {
	color: var(--lt-on-dark);
	white-space: nowrap;
}

.lt-topbar-bar .lt-topbar__match {
	flex: 1 1 auto;
	min-width: 0;
}

.lt-header {
	border-bottom-color: var(--lt-line);
}

.lt-brand__mark {
	width: 2.3rem;
	height: 2.3rem;
}

.lt-brand__name {
	font-family: var(--lt-font-display);
	font-weight: 800;
	font-size: 1.45rem;
}

body a.lt-header-cta,
body a.lt-drawer__cta {
	border-radius: 2px;
	font-weight: 500;
}

/* ---------- Hero ---------- */

.e-con.lt-hero {
	--padding-top: clamp(2.75rem, 2rem + 3.5vw, 5rem);
	--padding-bottom: clamp(2.75rem, 2rem + 3.5vw, 5rem);
}

.lt-hero__title .elementor-heading-title {
	font-size: var(--lt-fs-hero);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.025em;
	max-width: 14ch;
	color: var(--lt-ink);
}

/* ---------- The size wall ---------- */

.lt-wall__title.elementor-widget-text-editor {
	font-size: var(--lt-fs-base);
}

.lt-wall__title p {
	margin: 0;
}

.lt-wall__title strong {
	font-weight: 800;
}

.e-con.lt-wall {
	--lt-cub-h: 5.5rem;
	--lt-layer: 0.78rem;
	--row-gap: 0px !important;
	--column-gap: 0px !important;
	--gap: 0px 0px !important;
	--padding-top: 2px;
	--padding-bottom: 2px;
	--padding-left: 2px;
	--padding-right: 2px;
	grid-auto-rows: auto;
}

.lt-wall > .elementor-widget-text-editor {
	margin: 0;
}

.lt-wall p {
	margin: 0;
}

/* Labels: the waist (collar, chest) across the top, the leg (sleeve, length) down the side. */
.lt-cub__head.elementor-widget-text-editor {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 0 0.45rem;
	font-weight: 800;
	font-size: var(--lt-fs-fact);
	line-height: 1.1;
	color: var(--lt-ink);
	text-align: center;
}

.lt-cub__head.lt-cub__row {
	align-items: center;
	justify-content: flex-start;
	padding: 0 0.5rem 0 0;
	text-align: left;
}

.lt-cub__head.lt-cub__corner {
	justify-content: flex-start;
	font-weight: 500;
	font-size: 0.75rem;
	color: var(--lt-soft);
	text-align: left;
}

/* One cubby: chambray back, ink shelf boards shared with its neighbours. */
.lt-wall > .lt-cub.elementor-widget-text-editor {
	position: relative;
	height: var(--lt-cub-h);
	background: var(--lt-surface);
	box-shadow: 0 0 0 2px var(--lt-ink);
	z-index: 0;
}

.lt-tint .lt-wall > .lt-cub.elementor-widget-text-editor {
	background: var(--lt-base);
}

.lt-cub__n {
	position: absolute;
	top: 0.3rem;
	left: 0.45rem;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	color: var(--lt-soft);
}

/* The folded stack: one layer per piece, two rinses alternating. */
.lt-cub {
	--n: 0;
}

.lt-cub.lt-n1 { --n: 1; }
.lt-cub.lt-n2 { --n: 2; }
.lt-cub.lt-n3 { --n: 3; }
.lt-cub.lt-n4 { --n: 4; }
.lt-cub.lt-n5 { --n: 5; }

.lt-wall > .lt-cub::after {
	content: "";
	position: absolute;
	left: 14%;
	right: 14%;
	bottom: 0.4rem;
	height: calc(var(--n) * var(--lt-layer));
	border-radius: 2px;
	background: repeating-linear-gradient(to top,
		var(--lt-primary) 0, var(--lt-primary) calc(var(--lt-layer) - 2px),
		transparent calc(var(--lt-layer) - 2px), transparent var(--lt-layer),
		var(--lt-rinse) var(--lt-layer), var(--lt-rinse) calc(2 * var(--lt-layer) - 2px),
		transparent calc(2 * var(--lt-layer) - 2px), transparent calc(2 * var(--lt-layer)));
}

/* The last piece: the selvedge edge (red line, white line) along the turn-up. */
.lt-wall > .lt-cub.is-last::after {
	height: calc(var(--lt-layer) + 3px);
	background: linear-gradient(to top, var(--lt-accent) 0, var(--lt-accent) 3px, var(--lt-base) 3px, var(--lt-base) 5px, var(--lt-primary) 5px);
}

.lt-cub.is-last .lt-cub__n {
	color: var(--lt-accent);
}

/* Sold out: an empty, dashed cubby. */
.lt-wall > .lt-cub.lt-n0::after {
	top: 0.45rem;
	bottom: 0.45rem;
	left: 0.45rem;
	right: 0.45rem;
	height: auto;
	border: 1.5px dashed var(--lt-soft);
	background: none;
}

.lt-cub.lt-n0 .lt-cub__n {
	display: none;
}

/* Jackets on a rail: the same counts as garments hanging side-on from a rod. */
.lt-wall--rail > .lt-cub::before {
	content: "";
	position: absolute;
	top: 0.75rem;
	left: 0.4rem;
	right: 0.4rem;
	height: 2px;
	background: var(--lt-soft);
}

.lt-wall--rail > .lt-cub::after {
	top: 0.75rem;
	bottom: auto;
	left: 50%;
	right: auto;
	width: calc(var(--n) * 0.85rem - 0.3rem);
	height: 72%;
	transform: translateX(-50%);
	border-radius: 0 0 2px 2px;
	background: repeating-linear-gradient(to right,
		var(--lt-primary) 0, var(--lt-primary) 0.55rem, transparent 0.55rem, transparent 0.85rem);
}

.lt-wall--rail > .lt-cub.is-last::after {
	height: 72%;
	width: 0.55rem;
	background: var(--lt-accent);
}

.lt-wall--rail > .lt-cub.lt-n0::before {
	display: none;
}

.lt-wall--rail > .lt-cub.lt-n0::after {
	top: 0.45rem;
	bottom: 0.45rem;
	left: 0.45rem;
	right: 0.45rem;
	width: auto;
	height: auto;
	transform: none;
}

.lt-wall--rail .lt-cub__n {
	top: auto;
	bottom: 0.3rem;
}

/* The key under a wall. */
.lt-key.elementor-widget-text-editor {
	font-size: var(--lt-fs-sm);
	color: var(--lt-soft);
}

p.lt-key {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin: 0;
}

.lt-key__i {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.lt-key__i::before {
	content: "";
	flex: 0 0 auto;
	width: 1.4rem;
	height: 0.9rem;
}

.lt-key__i--stack::before {
	background: linear-gradient(to top, var(--lt-primary) 0, var(--lt-primary) 0.35rem, transparent 0.35rem, transparent 0.45rem, var(--lt-rinse) 0.45rem);
	border-radius: 2px;
}

.lt-key__i--last::before {
	height: 0.55rem;
	background: linear-gradient(to top, var(--lt-accent) 0, var(--lt-accent) 3px, var(--lt-base) 3px, var(--lt-base) 5px, var(--lt-primary) 5px);
	border-radius: 2px;
}

.lt-key__i--out::before {
	border: 1.5px dashed var(--lt-soft);
}

.lt-key__i--rail::before {
	width: 1.1rem;
	background: repeating-linear-gradient(to right, var(--lt-primary) 0, var(--lt-primary) 0.25rem, transparent 0.25rem, transparent 0.42rem);
}

/* One moment: the stacks settle into their cubbies, column by column. */
.lt-hero .lt-wall > .lt-cub::after {
	animation: lt-settle 0.42s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.lt-hero .lt-wall > .lt-cub:nth-child(8n+3)::after { animation-delay: 0.06s; }
.lt-hero .lt-wall > .lt-cub:nth-child(8n+4)::after { animation-delay: 0.12s; }
.lt-hero .lt-wall > .lt-cub:nth-child(8n+5)::after { animation-delay: 0.18s; }
.lt-hero .lt-wall > .lt-cub:nth-child(8n+6)::after { animation-delay: 0.24s; }
.lt-hero .lt-wall > .lt-cub:nth-child(8n+7)::after { animation-delay: 0.30s; }
.lt-hero .lt-wall > .lt-cub:nth-child(8n)::after { animation-delay: 0.36s; }

@keyframes lt-settle {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.lt-hero .lt-wall > .lt-cub::after {
		animation: none;
	}
}

/* ---------- Products: label rows ---------- */

.e-con.lt-item {
	--padding-top: 1.15rem;
	--padding-bottom: 1.15rem;
}

.lt-item p {
	margin: 0;
}

.lt-item__name .elementor-heading-title {
	font-size: var(--lt-fs-md);
	font-weight: 700;
	line-height: 1.2;
}

.lt-item__specs.elementor-widget-text-editor {
	color: var(--lt-soft);
	font-size: var(--lt-fs-fact);
	max-width: 58ch;
}

.lt-item__sizes.elementor-widget-text-editor {
	font-size: var(--lt-fs-fact);
	line-height: 1.35;
}

.lt-item__price.elementor-widget-text-editor {
	font-size: var(--lt-fs-lg);
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
	text-align: right;
}

.lt-pl {
	display: block;
	color: var(--lt-soft);
	font-size: var(--lt-fs-sm);
	font-weight: 400;
	line-height: 1.3;
}

.lt-item__price--was.elementor-widget-text-editor {
	font-size: var(--lt-fs-md);
}

.lt-was {
	color: var(--lt-soft);
	font-weight: 400;
	text-decoration: line-through;
}

.lt-item > .elementor-widget-button {
	justify-self: end;
}

/* The selvedge label of a last-piece item. */
.lt-last {
	display: inline-block;
	padding: 0.05em 0 0.05em 0.6em;
	border-left: 4px solid var(--lt-accent);
	color: var(--lt-accent);
	font-size: var(--lt-fs-sm);
	font-weight: 700;
	line-height: 1.3;
}

.lt-item__last.elementor-widget-text-editor {
	line-height: 1;
}

/* ---------- Collections ---------- */

.lt-cols__name .elementor-heading-title {
	font-size: var(--lt-fs-md);
	font-weight: 700;
}

.lt-cols__name a {
	color: var(--lt-ink);
}

.lt-cols__name a:hover {
	color: var(--lt-primary);
}

/* ---------- Dark band (alterations) ---------- */

.lt-dark .lt-rows > .e-con {
	border-color: color-mix(in srgb, var(--lt-on-dark) 22%, var(--lt-dark));
}

.lt-dark .lt-price__note.elementor-widget-text-editor,
.lt-dark .lt-note.elementor-widget-text-editor,
.lt-dark .lt-pl {
	color: var(--lt-on-dark-soft);
}

body .lt-dark .elementor-widget-button.lt-btn--primary .elementor-button {
	background: var(--lt-on-dark);
	color: var(--lt-dark);
}

body .lt-dark .elementor-widget-button.lt-btn--primary .elementor-button:hover {
	background: #FFFFFF;
	color: var(--lt-dark);
}

/* ---------- Steps and price rows ---------- */

.e-con.lt-step {
	--padding-top: 1rem;
	--padding-bottom: 1rem;
	border-top: 1px solid var(--lt-line);
}

.lt-step__n.elementor-widget-text-editor {
	font-size: var(--lt-fs-lg);
	font-weight: 800;
	color: var(--lt-primary);
	line-height: 1;
}

.lt-step__n p {
	margin: 0;
}

.lt-step__title .elementor-heading-title {
	font-size: 1.25rem;
}

.lt-price__label {
	font-size: var(--lt-fs-base);
	font-weight: 500;
}

.lt-price__note.elementor-widget-text-editor {
	color: var(--lt-soft);
	font-size: var(--lt-fs-sm);
}

.lt-price__amount {
	font-weight: 700;
	font-size: var(--lt-fs-base);
	text-align: right;
}

/* ---------- Inner pages ---------- */

.e-con.lt-pagehead {
	--padding-top: clamp(3rem, 2rem + 4vw, 6rem);
	--padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
	border-bottom: 1px solid var(--lt-line);
}

.lt-pagehead__title .elementor-heading-title {
	max-width: 18ch;
}

.e-con.lt-people {
	border-top: 1px solid var(--lt-line);
	--padding-top: 1.5rem;
}

.e-con.lt-desks {
	border-top: 1px solid var(--lt-line);
}

.e-con.lt-desk {
	--padding-top: 1.5rem;
	--padding-bottom: 1.5rem;
	--padding-right: 1.5rem;
	border-bottom: 1px solid var(--lt-line);
}

.lt-map img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--lt-line);
}

.lt-cta__title .elementor-heading-title {
	font-size: var(--lt-fs-3xl);
	color: var(--lt-on-dark);
}

/* ---------- Footer ---------- */

.e-con.lt-sec.lt-footer {
	--padding-top: 4rem;
	--padding-bottom: 2.5rem;
}

.lt-footer__brand .elementor-heading-title {
	font-size: 1.6rem;
	font-weight: 800;
}

.lt-footer__title .elementor-heading-title {
	font-size: var(--lt-fs-sm);
	font-weight: 700;
	letter-spacing: 0;
}

.lt-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lt-links li {
	margin: 0 0 0.5rem;
}

/* ---------- Blog ---------- */

.lt-post__title {
	font-weight: 800;
}

.lt-single__content {
	font-size: var(--lt-fs-base);
}

/* ---------- Contact form ---------- */

.e-con.lt-form {
	border: 0;
	border-top: 4px solid var(--lt-primary);
	border-radius: 0;
	--lt-form-bg: var(--lt-base);
	background: var(--lt-base);
}

body .lt-form .wpforms-container {
	--wpforms-field-border-radius: 2px;
	--wpforms-button-border-radius: 2px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.e-con.lt-wall {
		--lt-cub-h: 5rem;
		--lt-layer: 0.7rem;
	}

	.e-con.lt-item {
		--row-gap: 8px !important;
	}
}

/* ---------- Phones ---------- */

@media (max-width: 767px) {
	.lt-topbar-bar .lt-topbar__line:not(.lt-topbar__match) {
		display: none;
	}

	.lt-topbar-bar .lt-topbar__match {
		white-space: normal;
	}

	.e-con.lt-wall {
		--lt-cub-h: 4rem;
		--lt-layer: 0.56rem;
	}

	.lt-cub__head.elementor-widget-text-editor {
		font-size: 0.75rem;
		padding-bottom: 0.35rem;
	}

	.lt-cub__head.lt-cub__row {
		padding-right: 0.25rem;
	}

	.lt-cub__head.lt-cub__corner {
		font-size: 0.625rem;
	}

	.lt-cub__n {
		top: 0.2rem;
		left: 0.25rem;
		font-size: 0.6875rem;
	}

	.lt-wall > .lt-cub::after {
		left: 12%;
		right: 12%;
		bottom: 0.3rem;
	}

	.lt-wall > .lt-cub.lt-n0::after {
		top: 0.3rem;
		bottom: 0.3rem;
		left: 0.3rem;
		right: 0.3rem;
	}

	.lt-wall--rail > .lt-cub::after {
		top: 0.6rem;
		bottom: auto;
		left: 50%;
		right: auto;
		width: calc(var(--n) * 0.36rem - 0.12rem);
		background: repeating-linear-gradient(to right,
			var(--lt-primary) 0, var(--lt-primary) 0.24rem, transparent 0.24rem, transparent 0.36rem);
	}

	.lt-wall--rail > .lt-cub.is-last::after {
		width: 0.24rem;
	}

	.lt-wall--rail > .lt-cub::before {
		top: 0.6rem;
		left: 0.25rem;
		right: 0.25rem;
	}

	.lt-wall--rail > .lt-cub.lt-n0::after {
		top: 0.3rem;
		bottom: 0.3rem;
		left: 0.3rem;
		right: 0.3rem;
	}

	.lt-wall--rail .lt-cub__n {
		top: auto;
		bottom: 0.15rem;
	}

	.lt-wall--rail > .lt-cub::after {
		height: 64%;
	}

	p.lt-key {
		flex-direction: column;
	}

	.lt-item > .elementor-widget-button {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.lt-item > .lt-item__sizes.elementor-widget-text-editor {
		grid-column: 1 / -1;
		grid-row: 2;
		font-size: var(--lt-fs-sm);
	}

	.lt-item > .lt-item__sizes .lt-pl {
		display: inline;
	}

	.lt-item__price.elementor-widget-text-editor {
		font-size: var(--lt-fs-md);
	}

	.e-con.lt-item {
		--row-gap: 6px !important;
	}
}
