/**
 * LT Shop: the measured flat.
 * One bold element: the measured flat (a technical flat sketch with chalk-blue dimension lines A-D beside a size
 * table in centimetres) in the hero, on the three piece pages and on How we measure.
 * Everything else is a quiet counter: hairline product rows, 2px corners, no shadows, no gradients.
 * Tenor Sans (one weight) for headings, menus, buttons, prices and letters; Taviraj for reading, italic for fabric.
 * Chalk blue (--lt-accent) is for measurements only.
 */

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

/* Tenor Sans for interface, figures and labels */
body .lt-menu a,
body .elementor-button,
.lt-flat__price,
.lt-flat__size,
.lt-flat__unit,
.lt-flat__label,
.lt-cm,
.lt-key,
.lt-item__price,
.lt-item__sizes,
.lt-maker__run,
.lt-step__n,
.lt-price__amount,
.lt-price__label,
.lt-topbar-bar,
.lt-post__meta,
.lt-single__meta,
.lt-credit,
.lt-footer__title .elementor-heading-title {
	font-family: var(--lt-font-ui);
	font-weight: 400;
}

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

.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-size: 1rem;
	letter-spacing: 0.03em;
}

/* Fabric and fibre content: italic, like a care label */
.lt-fabric.elementor-widget-text-editor {
	color: var(--lt-soft);
	font-size: var(--lt-fs-fact);
	line-height: 1.5;
}

.lt-fabric em {
	font-style: italic;
}

/* ---------- 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__news {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.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: 400;
	font-size: 1.5rem;
	letter-spacing: 0.02em;
}

body .lt-menu a {
	font-size: var(--lt-fs-nav);
	letter-spacing: 0.01em;
}

body a.lt-header-cta,
body a.lt-drawer__cta {
	border-radius: 2px;
	font-family: var(--lt-font-ui);
	font-weight: 400;
	letter-spacing: 0.03em;
}

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

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

.lt-hero__title .elementor-heading-title {
	font-size: var(--lt-fs-hero);
	line-height: 1.06;
	max-width: 15ch;
}

/* ---------- The measured flat ---------- */

.e-con.lt-flat {
	--padding-top: clamp(1.5rem, 1rem + 2vw, 2.75rem);
	--padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
	--padding-left: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
	--padding-right: clamp(1.25rem, 0.75rem + 2.5vw, 3rem);
	background: var(--lt-base);
	border: 1px solid var(--lt-line);
	border-radius: 2px;
}

.lt-flat__drawing img {
	display: block;
	width: 100%;
	max-width: 380px;
	height: auto;
	aspect-ratio: 320 / 424;
	margin-inline: auto;
}

.lt-flat__name .elementor-heading-title {
	font-size: var(--lt-fs-xl);
	line-height: 1.1;
}

.lt-flat__price.elementor-widget-text-editor {
	font-size: var(--lt-fs-lg);
	line-height: 1.1;
	color: var(--lt-ink);
}

.lt-flat__table .e-con.lt-flat__row {
	--padding-top: 0.6rem;
	--padding-bottom: 0.6rem;
}

.lt-flat__row > .elementor-widget:not(:first-child) {
	text-align: right;
}

.lt-flat__row.is-head .elementor-widget-text-editor {
	color: var(--lt-soft);
	font-size: var(--lt-fs-sm);
	letter-spacing: 0.04em;
}

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

.lt-flat__label p {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.lt-key {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border: 1.5px solid var(--lt-accent);
	border-radius: 50%;
	color: var(--lt-accent);
	font-size: 0.875rem;
	line-height: 1;
}

.lt-cm.elementor-widget-text-editor {
	color: var(--lt-accent);
	font-size: var(--lt-fs-md);
	line-height: 1.1;
}

/* The one motion moment: the hero's measured values arrive in letter order, A to D. */
.lt-hero .lt-flat__row .lt-cm {
	animation: lt-measure 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lt-hero .lt-flat__row:nth-child(2) .lt-cm { animation-delay: 0.15s; }
.lt-hero .lt-flat__row:nth-child(3) .lt-cm { animation-delay: 0.27s; }
.lt-hero .lt-flat__row:nth-child(4) .lt-cm { animation-delay: 0.39s; }
.lt-hero .lt-flat__row:nth-child(5) .lt-cm { animation-delay: 0.51s; }

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

@media (prefers-reduced-motion: reduce) {
	.lt-hero .lt-flat__row .lt-cm {
		animation: none;
	}
}

/* ---------- Product rows ---------- */

.lt-flat-icon img {
	display: block;
	width: 100%;
	max-width: 3.25rem;
	height: auto;
	aspect-ratio: 70 / 101;
}

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

.lt-item p {
	margin: 0;
}

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

.lt-item__sizes.elementor-widget-text-editor {
	font-size: var(--lt-fs-fact);
	color: var(--lt-soft);
	white-space: nowrap;
}

.lt-item.is-last .lt-item__sizes.elementor-widget-text-editor {
	color: var(--lt-primary);
}

.lt-item__price.elementor-widget-text-editor {
	font-size: var(--lt-fs-md);
	white-space: nowrap;
	text-align: right;
}

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

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

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

.lt-coll__name .elementor-heading-title a {
	color: var(--lt-ink);
	text-decoration: underline;
	text-decoration-color: var(--lt-line);
	text-underline-offset: 0.25em;
}

.lt-coll__name .elementor-heading-title a:hover {
	color: var(--lt-primary);
	text-decoration-color: currentColor;
}

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

/* ---------- Makers (dark band) ---------- */

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

.e-con.lt-maker {
	--padding-top: 1.25rem;
	--padding-bottom: 1.25rem;
}

.lt-maker__name .elementor-heading-title {
	font-size: var(--lt-fs-md);
	color: var(--lt-on-dark);
}

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

.lt-maker__run {
	text-align: right;
}

/* Buttons on dark: tissue fill, mulberry text. */
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 (a real sequence) ---------- */

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

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

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

.lt-step__title .elementor-heading-title {
	font-size: var(--lt-fs-base);
	line-height: 1.3;
}

/* ---------- Prices, side panels ---------- */

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

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

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

.e-con.lt-side {
	--padding-top: 2rem;
	--padding-bottom: 2rem;
	--padding-left: 2rem;
	--padding-right: 2rem;
	align-self: start;
	background: var(--lt-surface);
	border-top: 3px solid var(--lt-primary);
}

/* ---------- Piece links ---------- */

.e-con.lt-piece-link {
	--padding-top: 1.25rem;
	--padding-bottom: 1.25rem;
	--padding-left: 1.25rem;
	--padding-right: 1.25rem;
	background: var(--lt-base);
	border: 1px solid var(--lt-line);
	border-radius: 2px;
}

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

.lt-piece-link__name .elementor-heading-title a {
	color: var(--lt-primary);
}

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

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

.lt-pagehead__title .elementor-heading-title {
	font-size: var(--lt-fs-3xl);
	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: 2rem;
	--padding-bottom: 2rem;
	--padding-right: 2rem;
	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);
	border-radius: 2px;
}

.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.75rem;
	color: var(--lt-on-dark);
	letter-spacing: 0.02em;
}

.lt-footer__title .elementor-heading-title {
	font-size: var(--lt-fs-base);
	color: var(--lt-on-dark-soft);
}

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

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

.lt-credit-bar {
	border-top: 1px solid color-mix(in srgb, var(--lt-on-dark) 14%, transparent);
}

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

.lt-posts--grid .lt-post {
	border-top: 1px solid var(--lt-line);
	padding-top: 1rem;
}

.lt-posts--grid .lt-post.has-img {
	border-top: 0;
	padding-top: 0;
}

/* ---------- Form ---------- */

.e-con.lt-form {
	border: 1px solid var(--lt-line);
	background: var(--lt-base);
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 1024px) {
	.lt-flat__drawing img {
		max-width: 320px;
	}
}

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

	.lt-flat__drawing img {
		max-width: 260px;
	}

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

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

	.lt-key {
		width: 1.4rem;
		height: 1.4rem;
		font-size: 0.8rem;
	}

	.e-con.lt-flat__row {
		--gap: 2px !important;
		--column-gap: 2px !important;
	}

	/* Product rows: icon on the left, name and sizes stacked, price on the right, the link below. */
	.e-con.lt-item {
		--row-gap: 4px !important;
		--gap: 4px 14px !important;
		align-items: start;
	}

	.lt-item > :nth-child(1) {
		grid-row: 1 / span 3;
		grid-column: 1;
	}

	.lt-item > :nth-child(2) {
		grid-row: 1;
		grid-column: 2;
	}

	.lt-item > :nth-child(3) {
		grid-row: 2;
		grid-column: 2;
	}

	.lt-item > :nth-child(4) {
		grid-row: 1;
		grid-column: 3;
	}

	.lt-item > :nth-child(5) {
		grid-row: 3;
		grid-column: 2 / -1;
		justify-self: start;
	}

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

	.lt-maker__run {
		text-align: left;
	}
}

/* ---------- Tenor Sans has one weight: no synthetic bold anywhere it is used ---------- */

body .lt-drawer .lt-menu > li > a,
body a.lt-drawer__cta,
body .lt-faq .elementor-tab-title a,
body .lt-faq .elementor-tab-title.elementor-active a,
.lt-404__title,
.lt-single__title,
.lt-404__links,
body .lt-form .wpforms-container .wpforms-field-label,
body .lt-form .wpforms-container button[type="submit"],
body :is(.search-submit, .comment-form [type="submit"], .post-password-form [type="submit"]) {
	font-weight: 400;
}

/* Desktop menu: keep each item on one line. */
@media (min-width: 1025px) {
	body .lt-menu > li > a {
		white-space: nowrap;
	}
}

@media (min-width: 1025px) and (max-width: 1240px) {
	body .lt-menu a {
		font-size: 0.9375rem;
		letter-spacing: 0;
	}

	.lt-menu {
		gap: 1.2rem;
	}
}
