/*
 * S Square English typography system.
 *
 * These tokens define roles rather than styling HTML heading levels globally.
 * That keeps editorial hierarchy consistent while allowing the locked homepage
 * and the premium inner-page families to retain their own compositions.
 */
body.ssq-liko-site.ssq-lang-en {
	--ssq-type-home-hero: clamp(52px, 7.8vw, 112px);
	--ssq-type-home-display: clamp(50px, 6.7vw, 96px);
	--ssq-type-home-section: clamp(40px, 3.8vw, 52px);
	--ssq-type-home-card: clamp(34px, 4.45vw, 64px);
	--ssq-type-page-title: clamp(44px, 4.25vw, 58px);
	--ssq-type-section-title: clamp(34px, 3.8vw, 52px);
	--ssq-type-feature-title: clamp(29px, 3vw, 42px);
	--ssq-type-card-title: clamp(23px, 2.25vw, 32px);
	--ssq-type-minor-title: clamp(20px, 1.8vw, 26px);
	--ssq-type-lead: clamp(18px, 1.45vw, 21px);
	--ssq-type-body: 16px;
	--ssq-type-small: 12px;
	--ssq-type-eyebrow: 10px;
	--ssq-type-page-title-mobile: clamp(36px, 10vw, 42px);
}

/* Locked Home 4 composition: adjust scale only, never layout or choreography. */
body.ssq-content-home.ssq-lang-en .elementor-element-ef40f41 .tp-el-title {
	font-size: var(--ssq-type-home-hero) !important;
	line-height: .98 !important;
}

/* Liko clips each animated line exactly at its measured advance width. Serif
 * glyphs can overhang that boundary, trimming the final "s" in Business.
 * Extend the mask evenly so the title remains centered and the reveal stays. */
body.ssq-content-home.ssq-lang-en .elementor-element-ef40f41 .tp-reveal-line {
	padding-inline: .06em;
	margin-inline: -.06em;
}

body.ssq-content-home.ssq-lang-en :is(
	.elementor-element-d88c961 .tp-el-animation-heading,
	.elementor-element-b656c00 .tp-cta-title
) {
	font-size: var(--ssq-type-home-display) !important;
	line-height: .98 !important;
}

body.ssq-content-home.ssq-lang-en :is(
	.elementor-element-2f5388d .tp-el-text,
	.elementor-element-36db792 .tp-el-text
) {
	font-size: var(--ssq-type-home-section) !important;
	line-height: 1.02 !important;
}

body.ssq-content-home.ssq-lang-en .elementor-element-95f2985 .tp-project-3-title-sm {
	font-size: var(--ssq-type-home-card) !important;
	line-height: 1.02 !important;
}

/* The semantic shared footer uses the same section-title role on every page. */
body.ssq-liko-site.ssq-lang-en .ssq-site-footer__prompt h2 {
	font-size: var(--ssq-type-section-title);
	line-height: 1.01;
}

@media (max-width: 767px) {
	body.ssq-content-home.ssq-lang-en .elementor-element-ef40f41 .tp-el-title {
		font-size: var(--ssq-type-home-hero) !important;
		line-height: 1 !important;
	}

	body.ssq-content-home.ssq-lang-en :is(
		.elementor-element-d88c961 .tp-el-animation-heading,
		.elementor-element-b656c00 .tp-cta-title
	) {
		font-size: var(--ssq-type-home-display) !important;
		line-height: 1 !important;
	}

	body.ssq-content-home.ssq-lang-en :is(
		.elementor-element-2f5388d .tp-el-text,
		.elementor-element-36db792 .tp-el-text
	) {
		font-size: var(--ssq-type-home-section) !important;
		line-height: 1.04 !important;
	}

	body.ssq-content-home.ssq-lang-en .elementor-element-95f2985 .tp-project-3-title-sm {
		font-size: var(--ssq-type-home-card) !important;
		line-height: 1.05 !important;
	}
}
