/**
 * LT Tech Shop: every screen on one shelf, to scale.
 * One bold element: the shelf in the hero, six screens from a watch to a TV drawn at one scale (--lt-k px per cm)
 * standing on a petrol shelf edge with their shelf-edge labels. The same scale comes back as nested outlines in the
 * TV and laptop size guides. Products are shelf-edge label rows; a yellow sticker marks open box and nothing else.
 * Everything else is a quiet aluminium shop: hairline rows, 4px corners, square photos, no shadows, no gradients.
 * Stack Sans Headline for headings, diagonals, prices, menus, buttons; Stack Sans Text for reading and specs.
 */

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.015em;
}

/* Headline cut for interface, facts and figures */
body .lt-menu a,
body .elementor-button,
.lt-scr__label,
.lt-nest__s,
.lt-item__price,
.lt-sticker,
.lt-pl,
.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);
}

.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-weight: 600;
	font-size: 1.0625rem;
}

/* ---------- 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: 700;
	font-size: 1.5rem;
}

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

body a.lt-header-cta,
body a.lt-drawer__cta {
	border-radius: 4px;
	font-family: var(--lt-font-ui);
	font-weight: 600;
}

/* ---------- 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: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	max-width: 15ch;
	color: var(--lt-ink);
}

/* ---------- The shelf: screens at one scale (--lt-k = px per cm) ---------- */

.e-con.lt-shelf {
	--lt-k: min(3.4px, calc((100vw - 3rem) / 128));
	--row-gap: 2.75rem !important;
	--column-gap: 0px !important;
	--gap: 2.75rem 0px !important;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	align-items: flex-end;
}

/* Real panel sizes in cm (width, height) and corner radius in cm. */
.lt-scr--watch { --w: 3.0; --h: 3.6; --r: 0.9; --stand: 0; }
.lt-scr--phone { --w: 6.5; --h: 14.1; --r: 0.9; --stand: 0; }
.lt-scr--tablet { --w: 16; --h: 22.9; --r: 0.8; --stand: 0; }
.lt-scr--laptop { --w: 30.2; --h: 18.8; --r: 0.5; --stand: 1.6; }
.lt-scr--monitor { --w: 59.8; --h: 33.6; --r: 0.3; --stand: 12; }
.lt-scr--tv { --w: 121.8; --h: 68.5; --r: 0.3; --stand: 7; }

body .e-con.lt-scr {
	--width: max(calc(var(--w) * var(--lt-k) + 1.25rem), 6.5rem);
	width: var(--width);
	max-width: 100%;
	flex: 0 0 auto;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
	--gap: 0px !important;
	--row-gap: 0px !important;
	justify-content: flex-end;
}

.e-con.lt-scr > .lt-scr__panel {
	position: relative;
	align-self: flex-start;
	width: calc(var(--w) * var(--lt-k));
	max-width: none;
	height: calc(var(--h) * var(--lt-k));
	margin: 0 0 calc(var(--stand) * var(--lt-k)) 0 !important;
	margin-block-end: calc(var(--stand) * var(--lt-k)) !important;
	border-radius: calc(var(--r) * var(--lt-k));
	background: var(--lt-dark);
	box-shadow: inset 0 0 0 max(1px, calc(0.35 * var(--lt-k))) color-mix(in srgb, var(--lt-on-dark) 18%, var(--lt-dark));
	font-size: 0;
	line-height: 0;
}

.lt-scr__panel p {
	margin: 0;
	overflow: hidden;
	height: 0;
}

/* Stands, drawn on the panel widget: TV pedestal, monitor neck and foot, laptop base. */
.lt-scr--tv .lt-scr__panel::after,
.lt-scr--monitor .lt-scr__panel::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	background: var(--lt-dark);
}

.lt-scr--tv .lt-scr__panel::after {
	width: calc(36 * var(--lt-k));
	height: calc(var(--stand) * var(--lt-k));
	clip-path: polygon(42% 0, 58% 0, 58% 70%, 100% 70%, 100% 100%, 0 100%, 0 70%, 42% 70%);
}

.lt-scr--monitor .lt-scr__panel::after {
	width: calc(22 * var(--lt-k));
	height: calc(var(--stand) * var(--lt-k));
	clip-path: polygon(40% 0, 60% 0, 60% 88%, 100% 88%, 100% 100%, 0 100%, 0 88%, 40% 88%);
}

.lt-scr--laptop .lt-scr__panel::after {
	content: "";
	position: absolute;
	left: -6%;
	right: -6%;
	top: 100%;
	height: calc(var(--stand) * var(--lt-k));
	border-radius: 0 0 calc(0.8 * var(--lt-k)) calc(0.8 * var(--lt-k));
	background: color-mix(in srgb, var(--lt-dark) 72%, var(--lt-on-dark-soft));
}

.e-con.lt-scr--laptop > .lt-scr__panel {
	margin-left: calc(1.9 * var(--lt-k)) !important;
}

/* The shelf edge and its labels: one continuous petrol rail, the labels hang under it. */
.lt-scr__label.elementor-widget-text-editor {
	width: 100%;
	border-top: 5px solid var(--lt-primary);
	padding: 0.7rem 1.25rem 0 0;
	line-height: 1.25;
}

.lt-scr__label p {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	margin: 0;
}

.lt-scr__size {
	font-family: var(--lt-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--lt-ink);
	line-height: 1.1;
}

.lt-scr__label a {
	font-weight: 600;
	font-size: var(--lt-fs-fact);
	color: var(--lt-primary);
}

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

.lt-shelf__key.elementor-widget-text-editor {
	margin-top: -1rem;
}

/* One moment: the screens switch on, smallest to largest. */
.lt-shelf .lt-scr__panel {
	animation: lt-on 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.lt-shelf > .lt-scr:nth-child(2) .lt-scr__panel { animation-delay: 0.07s; }
.lt-shelf > .lt-scr:nth-child(3) .lt-scr__panel { animation-delay: 0.14s; }
.lt-shelf > .lt-scr:nth-child(4) .lt-scr__panel { animation-delay: 0.21s; }
.lt-shelf > .lt-scr:nth-child(5) .lt-scr__panel { animation-delay: 0.28s; }
.lt-shelf > .lt-scr:nth-child(6) .lt-scr__panel { animation-delay: 0.35s; }

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

@media (prefers-reduced-motion: reduce) {
	.lt-shelf .lt-scr__panel {
		animation: none;
	}
}

/* ---------- Nested size guides (TVs 16:9, laptops 16:10), to scale from one corner ---------- */

.e-con.lt-nest {
	position: relative;
	display: block;
	width: 100%;
	max-width: 40rem;
	aspect-ratio: 16 / 9;
	--padding-top: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--padding-right: 0px;
}

.e-con.lt-nest.lt-nest--laptop {
	aspect-ratio: 16 / 10;
	max-width: 34rem;
}

.e-con.lt-nest > .lt-nest__s {
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	border-radius: 3px;
	background: var(--lt-dark);
	box-shadow: inset 0 0 0 1.5px var(--lt-on-dark-soft);
	color: var(--lt-on-dark);
}

.lt-nest__s p {
	position: absolute;
	z-index: 1;
	top: 0.4rem;
	right: 0.55rem;
	margin: 0;
	padding: 0 0.2rem;
	background: var(--lt-dark);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
}

/* Two sizes sit too close to their neighbour's corner: their label goes to the bottom-right corner. */
.lt-nest > .lt-d50 p,
.lt-nest > .lt-l13 p {
	top: auto;
	bottom: 0.4rem;
}

.e-con.lt-nest > .lt-d43 { width: 57.333%; height: 57.333%; }
.e-con.lt-nest > .lt-d50 { width: 66.667%; height: 66.667%; }
.e-con.lt-nest > .lt-d55 { width: 73.333%; height: 73.333%; }
.e-con.lt-nest > .lt-d65 { width: 86.667%; height: 86.667%; }
.e-con.lt-nest > .lt-d75 { width: 100%; height: 100%; }
.e-con.lt-nest > .lt-l13 { width: 81.25%; height: 81.25%; }
.e-con.lt-nest > .lt-l14 { width: 87.5%; height: 87.5%; }
.e-con.lt-nest > .lt-l16 { width: 100%; height: 100%; }

/* ---------- Products: shelf-edge 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: 600;
	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__price.elementor-widget-text-editor {
	font-size: var(--lt-fs-lg);
	font-weight: 700;
	letter-spacing: -0.02em;
	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: 500;
	letter-spacing: 0;
	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 open-box sticker: yellow ground, graphite text, stuck on slightly crooked. */
.lt-sticker {
	display: inline-block;
	padding: 0.22em 0.6em 0.2em;
	border-radius: 2px;
	background: var(--lt-accent);
	color: var(--lt-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	transform: rotate(-2deg);
}

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

/* ---------- Dark band (services) ---------- */

.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: 700;
	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: 700;
}

.lt-footer__title .elementor-heading-title {
	font-size: var(--lt-fs-sm);
	font-weight: 600;
	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: 700;
}

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

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

.e-con.lt-form {
	border: 0;
	border-top: 5px 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: 4px;
	--wpforms-button-border-radius: 4px;
}

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

@media (max-width: 1024px) {
	.e-con.lt-nest {
		max-width: 36rem;
	}
}

/* ---------- 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-shelf {
		--row-gap: 2rem !important;
		--gap: 2rem 0px !important;
	}

	body .e-con.lt-scr {
		--width: max(calc(var(--w) * var(--lt-k) + 1rem), 5.5rem);
	}

	.lt-scr__label.elementor-widget-text-editor {
		padding-right: 1rem;
	}

	.lt-scr__size {
		font-size: 1.25rem;
	}

	.lt-scr__label a {
		font-size: var(--lt-fs-sm);
	}

	.lt-nest > .lt-d50 p,
	.lt-nest > .lt-l13 p {
		top: auto;
		bottom: 0.25rem;
	}

	.lt-nest__s p {
		top: 0.25rem;
		right: 0.35rem;
		font-size: 0.75rem;
	}

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

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

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