/**
 * LT Enterprise: the size ladder.
 * One bold element: the ladder (home hero, case studies): one mark on a common baseline from its largest use to
 * its smallest, each rung in a cyan dashed clear-space box with the application and the real size.
 * Everything else is quiet: hairline rows, no cards, no shadows, no gradients, 2px corners, square photos.
 * Sansation for headings, menu, buttons and ladder labels; Crimson Text (serif) for reading.
 */

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

.lt-lead,
.lt-lead p {
	max-width: var(--lt-measure);
}

.lt-lead {
	font-size: 1.3125rem;
	line-height: 1.55;
}

.lt-note {
	font-family: var(--lt-font-body);
	font-size: 1.0625rem;
}

.lt-num {
	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);
	font-weight: 700;
	letter-spacing: -0.005em;
	line-height: 1.2;
}

body .elementor-button {
	letter-spacing: 0.01em;
}

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

.lt-dark .lt-ticks .elementor-icon-list-icon svg {
	fill: var(--lt-on-dark-soft);
}

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

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

.lt-topbar-bar .elementor-widget-text-editor {
	color: var(--lt-on-dark);
	font-family: var(--lt-font-ui);
	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.25rem;
	height: 2.25rem;
}

.lt-brand__name {
	font-size: 1.4rem;
	font-weight: 700;
}

body .lt-menu a {
	font-weight: 700;
}

/* ---------- Home hero ---------- */

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

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

/* Buttons on dark: paper fill, umber 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);
}

/* ---------- The size ladder ---------- */

.e-con.lt-ladder-wrap {
	padding-top: 2.25rem;
	border-top: 2px solid var(--lt-ink);
}

.e-con.lt-ladder {
	--lt-cs: 0.2;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--lt-line);
}

.e-con.lt-ladder--mini {
	padding-bottom: 0.75rem;
}

.e-con.lt-rung {
	--lt-s: 48px;
	flex: 0 0 auto;
}

.e-con.lt-rung--1 { --lt-s: clamp(170px, 21vw, 280px); }
.e-con.lt-rung--2 { --lt-s: clamp(100px, 12vw, 156px); }
.e-con.lt-rung--3 { --lt-s: 84px; }
.e-con.lt-rung--4 { --lt-s: 48px; }
.e-con.lt-rung--5 { --lt-s: 16px; }

.lt-ladder--mini .e-con.lt-rung--2 { --lt-s: 88px; }

/* The drawing sits inside its clear-space box: padding of one x (a fifth of the mark) on every side. */
.lt-rung__mark {
	position: relative;
	align-self: flex-start;
	width: auto !important;
	line-height: 0;
}

.lt-rung__mark img {
	box-sizing: content-box;
	display: block;
	width: var(--lt-s) !important;
	height: var(--lt-s) !important;
	max-width: none !important;
	aspect-ratio: 1 / 1;
	padding: max(3px, calc(var(--lt-s) * var(--lt-cs)));
	border-radius: 0 !important;
	outline: 1.5px dashed var(--lt-accent);
	outline-offset: -1px;
}

.lt-rung--5 .lt-rung__mark img,
.lt-rung--4 .lt-rung__mark img {
	outline-width: 1px;
}

/* x labels on the largest rung: one in the top margin, one in the left margin. */
.lt-rung--x .lt-rung__mark::before,
.lt-rung--x .lt-rung__mark::after {
	content: "x";
	position: absolute;
	color: var(--lt-accent);
	font-family: var(--lt-font-body);
	font-style: italic;
	font-size: 1.0625rem;
	line-height: 1;
}

.lt-rung--x .lt-rung__mark::before {
	top: calc(var(--lt-s) * var(--lt-cs) / 2 - 0.5em);
	left: 50%;
}

.lt-rung--x .lt-rung__mark::after {
	left: calc(var(--lt-s) * var(--lt-cs) / 2 - 0.25em);
	top: 50%;
}

.lt-rung__use,
.lt-rung__size {
	white-space: nowrap;
	font-family: var(--lt-font-ui);
	line-height: 1.25;
}

.lt-rung__use p,
.lt-rung__size p {
	margin: 0;
}

.lt-rung__use {
	margin-top: 0.6rem;
	color: var(--lt-ink);
	font-size: 0.9375rem;
	font-weight: 700;
}

.lt-rung__size {
	color: var(--lt-soft);
	font-size: 0.9375rem;
}

.lt-ladder__caption {
	color: var(--lt-soft);
	font-size: 1.0625rem;
	line-height: 1.55;
	max-width: 70ch;
}

/* The one motion moment: on the home hero the rungs arrive from the largest to the smallest, then the boxes. */
@media (prefers-reduced-motion: no-preference) {
	.lt-hero .lt-rung {
		animation: lt-rung-in 0.42s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.lt-hero .lt-rung--2 { animation-delay: 0.06s; }
	.lt-hero .lt-rung--3 { animation-delay: 0.12s; }
	.lt-hero .lt-rung--4 { animation-delay: 0.18s; }
	.lt-hero .lt-rung--5 { animation-delay: 0.24s; }

	.lt-hero .lt-rung__mark img {
		animation: lt-box-in 0.3s 0.55s ease-out both;
	}
}

@keyframes lt-rung-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes lt-box-in {
	from {
		outline-color: transparent;
	}
	to {
		outline-color: var(--lt-accent);
	}
}

/* ---------- Rows: breaks, services, details ---------- */

.e-con.lt-break,
.e-con.lt-detail {
	--padding-top: 1.35rem;
	--padding-bottom: 1.35rem;
}

.lt-break__size {
	font-family: var(--lt-font-ui);
	font-weight: 700;
	color: var(--lt-primary);
}

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

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

.e-con.lt-rows > .e-con.lt-service {
	--padding-top: 1.75rem;
	--padding-bottom: 1.75rem;
}

.lt-service__fact {
	font-family: var(--lt-font-ui);
	font-weight: 700;
}

.lt-service__fact + .lt-service__fact {
	color: var(--lt-soft);
	font-weight: 400;
}

/* ---------- Case studies ---------- */

.e-con.lt-rows > .e-con.lt-case {
	--padding-top: 2.5rem;
	--padding-bottom: 2.5rem;
}

.lt-case__client {
	color: var(--lt-primary);
	font-family: var(--lt-font-ui);
	font-size: var(--lt-fs-sm);
	font-weight: 700;
}

.lt-case__client p {
	margin: 0;
}

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

.e-con.lt-case__facts {
	margin-top: 0.25rem;
}

.lt-case__facts .lt-price__label,
.lt-case__facts .lt-price__amount {
	font-size: 1rem;
}

/* ---------- Project steps (a real order) ---------- */

.e-con.lt-step {
	--padding-top: 1.25rem;
	--padding-right: 1.5rem;
	--padding-bottom: 1.5rem;
	--padding-left: 0;
	border-top: 2px solid var(--lt-ink);
}

.lt-step__n {
	color: var(--lt-primary);
	font-family: var(--lt-font-display);
	font-size: var(--lt-fs-2xl);
	font-weight: 700;
	line-height: 1;
}

.lt-step__n p,
.lt-step__when p {
	margin: 0;
}

.lt-step__when {
	font-family: var(--lt-font-ui);
	font-size: var(--lt-fs-sm);
	font-weight: 700;
	color: var(--lt-primary);
}

.e-con.lt-steps > .e-con.lt-step:nth-child(4) {
	border-top-style: dashed;
	border-top-color: var(--lt-accent);
}

@media (min-width: 768px) and (max-width: 1024px) {
	.e-con.lt-steps {
		--row-gap: 24px !important;
	}
}

/* ---------- Packages: the rungs each package covers ---------- */

.e-con.lt-package {
	--padding-top: 1.5rem;
	border-top: 2px solid var(--lt-ink);
}

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

.lt-package__price {
	font-family: var(--lt-font-display);
	font-size: var(--lt-fs-md);
	font-weight: 700;
	color: var(--lt-primary);
}

.lt-package__price p {
	margin: 0;
}

.lt-reach {
	margin: 0.25rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--lt-line);
}

.lt-reach li {
	position: relative;
	margin: 0;
	padding: 0.55rem 0 0.55rem 1.75rem;
	border-bottom: 1px solid var(--lt-line);
	font-family: var(--lt-font-ui);
	font-size: 0.9375rem;
	line-height: 1.35;
}

.lt-reach li::before,
.lt-key {
	content: "";
	display: inline-block;
	width: 0.8rem;
	height: 0.8rem;
	box-sizing: border-box;
	background: var(--lt-primary);
	border: 2px solid var(--lt-primary);
}

.lt-reach li::before {
	position: absolute;
	left: 0;
	top: 0.8rem;
}

.lt-reach li.is-out {
	color: var(--lt-soft);
}

.lt-reach li.is-out::before,
.lt-key--out {
	background: transparent;
	border-color: var(--lt-soft);
}

.lt-key {
	margin: 0 0.45rem 0 0;
	vertical-align: -0.05em;
}

.lt-key--out {
	margin-left: 1.25rem;
}

.lt-package__extra {
	font-size: 1.0625rem;
}

/* ---------- Prices ---------- */

.lt-price__label {
	font-size: 1.125rem;
}

.lt-price__label p {
	font-family: var(--lt-font-ui);
	font-weight: 700;
}

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

.lt-price__amount {
	font-family: var(--lt-font-ui);
	font-size: 1.125rem;
	white-space: nowrap;
}

.e-con.lt-prices__side {
	--padding-top: 2rem;
	--padding-bottom: 2rem;
	--padding-left: 2rem;
	--padding-right: 2rem;
	align-self: start;
	background: var(--lt-base);
	border-top: 2px dashed var(--lt-accent);
}

/* ---------- 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: 20ch;
}

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

.lt-person__role {
	color: var(--lt-primary);
	font-family: var(--lt-font-ui);
	font-size: var(--lt-fs-sm);
	font-weight: 700;
}

.lt-person__role p {
	margin: 0;
}

/* Contact desks */
.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-desk a {
	font-weight: 600;
	overflow-wrap: anywhere;
}

/* Call to action band */
.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.9rem;
	color: var(--lt-on-dark);
}

.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: 2px solid var(--lt-ink);
	padding-top: 1rem;
}

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

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

.e-con.lt-form {
	border: 0;
	border-top: 2px solid var(--lt-ink);
	background: var(--lt-base);
}

body .lt-form .wpforms-container .wpforms-field-label {
	font-family: var(--lt-font-ui);
	font-size: 1rem;
}

/* ---------- Tablet and phones ---------- */

@media (max-width: 1024px) {
	.e-con.lt-rung--1 { --lt-s: 170px; }
	.e-con.lt-rung--2 { --lt-s: 100px; }
	.e-con.lt-rung--3 { --lt-s: 64px; }
	.lt-ladder--mini .e-con.lt-rung--2 { --lt-s: 72px; }
}

@media (max-width: 767px) {
	.lt-topbar-bar .elementor-widget-text-editor {
		white-space: normal;
	}

	.lt-topbar-bar .lt-topbar__line:not(.lt-topbar__news) {
		display: none;
	}

	/* The ladder stands up: largest at the top, labels beside each drawing. */
	.e-con.lt-ladder {
		--gap: 18px !important;
		--row-gap: 18px !important;
		align-items: stretch !important;
	}

	.e-con.lt-rung {
		display: grid !important;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 1.25rem;
		row-gap: 0.2rem;
		width: 100% !important;
	}

	.e-con.lt-rung > .lt-rung__mark {
		grid-row: 1 / 3;
	}

	.e-con.lt-rung > .lt-rung__use {
		align-self: end;
	}

	.e-con.lt-rung > .lt-rung__size {
		align-self: start;
	}

	.e-con.lt-rung--1 { --lt-s: 120px; }
	.e-con.lt-rung--2 { --lt-s: 80px; }
	.e-con.lt-rung--3 { --lt-s: 56px; }
	.lt-ladder--mini .e-con.lt-rung--2 { --lt-s: 64px; }

	.lt-rung__mark {
		align-self: center;
	}

	.lt-rung__use {
		margin-top: 0;
	}

	.lt-ladder-wrap {
		padding-top: 1.75rem;
	}

	.e-con.lt-step,
	.e-con.lt-desk {
		--padding-right: 0;
	}

	.e-con.lt-prices__side {
		--padding-left: 1.25rem;
		--padding-right: 1.25rem;
	}

	.lt-key--out {
		margin-left: 0;
	}

	.lt-reach-key p {
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: baseline;
		row-gap: 0.4rem;
	}
}
