/* ==========================================================================
   TTL Agency — carbon home (allmedia geometry, TTL brand tokens)
   Measured at 1440x900 against allmediaegypt.com
   ========================================================================== */

@import url("../fonts2/fonts-body.css");

@font-face {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/anton-400.woff2") format("woff2");
}

.c-shell {
	--bg: #000000;
	--bg-2: #12030f;
	--ink: #e8e8e8;
	--white: #fcfbfd;
	--muted: #888888;
	--accent: #7b1fa2;
	--accent-soft: #c084fc;
	--line: rgba(255, 255, 255, 0.16);
	--wrap: 1170px;
	--pad: 135px;
	--d: 0ms;

	background: var(--bg);
	color: var(--ink);
	font-family: var(--cg-body, "Arimo", "Inter", sans-serif);
	font-size: var(--fs-body);
	line-height: var(--lh-body, 1.6);
	position: relative;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

.c-shell *,
.c-shell *::before,
.c-shell *::after { box-sizing: border-box; }

.c-shell img { max-width: 100%; display: block; }
.c-shell a { color: inherit; text-decoration: none; }
.c-shell :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.c-shell ul { list-style: none; }

.c-wrap { width: var(--wrap); max-width: calc(100% - 60px); margin: 0 auto; }

/* ---------------------------------------------------------------- block layout */
.c-shell :where(.wp-block-group) { margin: 0; }
.c-shell .c-wrap { margin-inline: auto; }
.c-shell :where(.is-layout-flow > *, .is-layout-constrained > *) { margin-block-start: 0; }
.c-shell .c-main { display: block; }
.c-shell .c-projects__more.wp-block-paragraph,
.c-shell p.c-projects__more { margin: 20px 0 0; }
.c-shell p.c-clients__more { margin: 0; }


.c-kicker {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: calc(var(--fs-label) * 1.16667);
	line-height: 1.875;
	letter-spacing: 1.4px;
	color: var(--muted);
	text-transform: none;
}

.c-h2 {
	text-transform: none !important;
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: var(--fs-h2);
	line-height: var(--lh-head, 0.692);
	letter-spacing: 2.6px;
	font-weight: 400;
	color: #fff;
	margin-top: 12px;
}

/* ---------------------------------------------------------------- header */
.c-head {
	position: fixed;
	inset: 0 0 auto 0;
	height: 100px;
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 0 50px;
	background: transparent;
	transition: background 0.35s ease;
	z-index: 90;
}
.c-head.is-stuck { background: var(--bg-2); }

.c-head__logo, .c-foot__logo { display: inline-flex; align-items: center; gap: 10px; }
.c-head__logo { margin-left: -6px; }
.c-logo__mark { height: 44px; width: auto; }
.c-logo__mark--lg { height: 62px; }
.c-logo__word {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: var(--fs-logo);
	line-height: 1;
	letter-spacing: 2.4px;
	color: #fff;
	text-transform: uppercase;
	display: inline-flex;
	flex-direction: column;
}
.c-logo__word em {
	font-style: normal;
	font-family: var(--cg-body, "Arimo", sans-serif);
	font-size: calc(var(--fs-micro) * 0.9);
	letter-spacing: 5.2px;
	color: var(--muted);
	margin-top: 4px;
}
.c-logo__word--lg { font-size: calc(var(--fs-logo) * 1.42857); letter-spacing: 3.4px; }
.c-logo__word--lg em { font-size: calc(var(--fs-logo) * 0.52381); letter-spacing: 8px; margin-top: 6px; }


.c-nav { flex: 0 0 auto; margin-left: 133px; }
.c-nav ul { display: flex; align-items: center; gap: 0; }
.c-nav a {
	font-family: var(--cg-body, "Arimo", "Inter", sans-serif);
	font-size: calc(var(--fs-label) * 1.16667);
	font-weight: 700;
	letter-spacing: 1.4px;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	padding: 0 15px;
}
.c-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1px solid #fff;
	background: transparent;
	display: inline-block;
	flex: 0 0 auto;
}
.c-nav a:hover { color: var(--accent-soft); }
.c-nav .is-current .c-dot { background: #fff; }

.c-head__actions { display: flex; align-items: center; gap: 28px; margin-left: auto; margin-right: 0; }
.c-ico {
	width: 20px; height: 100px;
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; color: #fff; cursor: pointer; padding: 0;
}
.c-panel-open { width: 60px; height: 60px; border-radius: 50%; background: rgba(0, 0, 0, 0.32); flex-direction: column; gap: 4px; }
.c-panel-open span { display: block; width: 24px; height: 2px; background: #fff; }
.c-panel-open:hover span { background: var(--accent-soft); }

/* ---------------------------------------------------------------- panel */
.c-panel {
	position: fixed;
	top: 0; right: 0;
	width: 480px;
	height: 100vh;
	background: #16060f;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	padding: 80px 50px 95px;
	display: flex;
	flex-direction: column;
	transform: translateX(102%);
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 120;
	overflow-y: auto;
}
.c-panel.is-open { transform: none; }
.c-panel__nav { display: none; }
.c-panel__overlay {
	position: fixed; inset: 0; background: rgba(0, 0, 0, 0.62);
	opacity: 0; pointer-events: none; transition: opacity 0.35s ease; z-index: 110;
}
.c-panel__overlay.is-open { opacity: 1; pointer-events: auto; }
.c-panel__close {
	position: absolute; top: 28px; right: 32px;
	background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
}
.c-panel__logo { display: inline-flex; align-items: center; gap: 10px; }
.c-panel__logo .c-logo__mark { height: 44px; }
.c-panel__tag {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: 65px; line-height: 0.5; font-weight: 500;
	color: var(--accent-soft);
	margin: 150px 0 0;
	white-space: nowrap;
	text-transform: none;
}
.c-panel__kicker { font-size: calc(var(--fs-label) * 1.16667); line-height: 1.875; font-weight: 700; letter-spacing: 0.25px; color: var(--muted); margin: 44px 0 26px; }
.c-panel__list li { padding: 0; font-size: var(--fs-body); line-height: var(--lh-body, 2.5); color: #fff; }
.c-panel__list a:hover { color: var(--accent-soft); }
.c-panel__socials { display: flex; gap: 10px; margin-top: 40px; flex-wrap: nowrap; }
.c-panel__socials li { flex: 0 0 auto; }
.c-panel__socials a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; color: #fff;
}
.c-panel__socials svg { width: 16px; height: 16px; }
.c-panel__socials a:hover { color: var(--accent-soft); }
.c-panel__thanks {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: 172px; line-height: 0.872; font-weight: 500;
	letter-spacing: normal; color: #fff;
	margin: auto 0 0; opacity: 0.9;
	white-space: nowrap;
}

.c-search {
	position: fixed; inset: 0; background: rgba(6, 1, 5, 0.97);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 130;
}
.c-search.is-open { opacity: 1; pointer-events: auto; }
.c-search input {
	background: none; border: 0; border-bottom: 1px solid var(--line);
	color: #fff; font-family: var(--cg-display, "Boldonse", "Anton", sans-serif); font-size: 56px;
	text-align: center; padding: 10px 0; outline: none; width: min(900px, 80vw);
}
.c-search__close {
	position: absolute; top: 30px; right: 40px; background: none; border: 0;
	color: #fff; font-size: 40px; cursor: pointer;
}

/* ---------------------------------------------------------------- hero */
.c-hero {
	position: relative;
	height: 900px;
	min-height: 100vh;
	background: #000;
	display: flex;
	align-items: flex-start;
	padding-top: 322px;
	overflow: hidden;
}
.c-hero__bg {
	position: absolute;
	inset: 0;
	background: url("../carbon/hero.webp") center center / cover no-repeat;
}
.c-hero .c-wrap { position: relative; z-index: 2; }
.c-hero__title {
	text-transform: none !important;
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-weight: 400;
	color: #fff;
	margin-left: 5px;
}
.c-hero__l1 {
	display: block;
	font-size: var(--fs-hero);
	line-height: var(--lh-head, 0.9);
	letter-spacing: normal;
	color: var(--accent-soft);
}
.c-hero__l2 {
	display: block;
	margin-top: 30px;
	margin-left: -5px;
	font-size: calc(var(--fs-hero) * 0.95);
	line-height: var(--lh-head, 0.6);
	letter-spacing: 0.1px;
	text-transform: none;
	color: #fff;
}
.c-hero__sub {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: var(--fs-body);
	line-height: var(--lh-body, 1.8);
	font-weight: 300;
	color: var(--ink);
	max-width: 560px;
	margin-top: 53px;
}

/* ---------------------------------------------------------------- projects */
.c-projects { position: relative; padding-top: 162px; padding-bottom: 155px; }
.c-band { height: 160px; }

.c-grid {
	width: 1170px;
	max-width: calc(100% - 40px);
	margin: 48px auto 0;
	display: grid;
	grid-template-columns: 560px 560px;
	column-gap: 50px;
	grid-template-rows: 465px 549px 439px;
	align-items: start;
}
.c-card { padding: 0; }
.c-card__link { display: block; }
.c-card__media { display: block; overflow: hidden; background: #1b0916; }
.c-card__media img { width: 100%; height: auto; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.c-card:hover .c-card__media img { transform: scale(1.04); }
.c-card__cat {
	display: block;
	margin-top: 40px;
	font-size: calc(var(--fs-label) * 1.16667);
	line-height: 1;
	letter-spacing: 1.4px;
	font-weight: 700;
	color: var(--muted);
	text-transform: uppercase;
}
.c-card__title {
	display: block;
	margin-top: 12px;
	font-size: calc(var(--fs-card) * 0.833333);
	line-height: var(--lh-head, 1.3);
	font-weight: 600;
	color: #fff;
}
.c-card__link:hover .c-card__title { color: var(--accent-soft); }

.c-projects__more { display: flex; justify-content: center; margin-top: 20px; }

.c-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
}

/* side rails */
.c-rail {
	position: absolute;
	top: 80%;
	display: flex;
	gap: 26px;
	font-family: var(--cg-body, "Arimo", "Inter", sans-serif);
	font-size: calc(var(--fs-label) * 1.16667);
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1px;
	color: #fff;
	writing-mode: vertical-rl;
}
.c-rail--l { left: 27px; transform: translateY(-50%) rotate(180deg); }
.c-rail--r { right: 27px; transform: translateY(-50%); }
.c-rail a:hover { color: var(--accent-soft); }

/* ---------------------------------------------------------------- reel */
.c-reel { position: relative; height: 620px; overflow: hidden; }
.c-reel__bg {
	position: absolute; inset: 0;
	background: url("../carbon/reel.webp") center center / cover no-repeat;
	filter: grayscale(1) contrast(1.05);
}
.c-reel::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.c-reel__center {
	position: relative; z-index: 2; height: 100%;
	display: flex; align-items: center; justify-content: center;
}
.c-reel__ring { position: absolute; animation: c-spin 22s linear infinite; }
.c-reel__ring text {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: 21px;
	letter-spacing: 6px;
	fill: var(--white);
}
.c-reel__play {
	position: relative; z-index: 3;
	width: 80px; height: 80px; border-radius: 50%;
	background: transparent; color: var(--accent);
	border: 1px solid rgba(255, 255, 255, 0.35); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	transition: transform 0.3s;
}
.c-reel__play:hover { transform: scale(1.08); }
@keyframes c-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- services */
.c-services { padding: 192px 0 169px; text-align: center; }
.c-services__big {
	text-transform: none !important;
	letter-spacing: normal !important;
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: calc(var(--fs-service) * 0.90625);
	line-height: var(--lh-head, 1.379);
	font-weight: 400;
	color: #fff;
	max-width: 1300px;
	margin: 23px auto 0;
	padding: 0 30px;
}
.c-services__big span { display: inline; padding-right: 16px; white-space: nowrap; }
.c-services__big span:hover { color: var(--accent-soft); }

/* ---------------------------------------------------------------- clients */
.c-clients { padding-top: 115px; height: 305px; }
.c-clients__top {
	display: grid;
	grid-template-columns: 600px 534px;
	align-items: start;
	gap: 0;
}
.c-clients__title {
	margin-left: 15px;
	text-transform: uppercase !important;
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: var(--fs-display);
	line-height: var(--lh-head, 0.6);
	font-weight: 400;
	letter-spacing: 0.1px;
	text-transform: none;
	color: #fff;
}
.c-clients__text {
	width: 524px;
	justify-self: start;
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: var(--fs-lead);
	line-height: var(--lh-body, 1.667);
	letter-spacing: 0.5px;
	color: #fff;
	padding-right: 10px;
}

.c-sliderband { position: relative; height: 256px; }
.c-slider { position: relative; width: 1170px; max-width: 100%; margin: 0 auto; padding-top: 62px; }
.c-slider__viewport { overflow: hidden; }
.c-slider__track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}
.c-slider__viewport { overflow: hidden; height: 132px; margin-top: 0; }
.c-slide {
	flex: 0 0 234px;
	width: 234px;
	height: 132px;
	display: flex; align-items: center; justify-content: center;
}
.c-slide img {
	width: 222px;
	height: 125px;
	object-fit: contain;
	background: transparent;
	padding: 0;
	filter: none;
	opacity: 1;
}

.c-slider__nav {
	position: absolute; top: 62px; left: 50%; width: 100vw;
	transform: translateX(-50%); height: 132px;
	pointer-events: none; z-index: 4;
}
.c-slider__nav button {
	pointer-events: auto;
	position: absolute; top: 50%; margin-top: -30px;
	width: 60px; height: 60px; border-radius: 50%;
	background: transparent; border: 1px solid var(--line);
	color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.c-slider__prev { left: calc(50% - 643px); }
.c-slider__next { left: calc(50% + 584px); }
.c-slider__nav button:hover { background: var(--accent); border-color: var(--accent); }

.c-clients__more { display: flex; justify-content: center; margin: 44px 0 0; }

/* ---------------------------------------------------------------- stats */
.c-stats { padding: 83px 0 73px; }
.c-stats__row { min-height: 193px; }
.c-stats__row { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.c-shell .c-stats .c-stats__row { transform: none; }
.c-stat { display: flex; align-items: center; gap: 34px; justify-content: flex-start; flex: 1 1 0; min-width: 0; }
.c-stat__num {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: var(--fs-stat);
	line-height: var(--lh-head, 1.167);
	min-width: 0;
	flex: 0 0 auto;
	white-space: nowrap;
	letter-spacing: 2.8px;
	color: var(--accent-soft);
}
.c-stat__num em { font-style: normal; }
.c-stat__label {
	font-size: calc(var(--fs-card) * 0.733333);
	line-height: var(--lh-head, 1.3);
	font-weight: 500;
	letter-spacing: 0.5px;
	color: #fff;
	max-width: 130px;
	padding-bottom: 6px;
}

/* ---------------------------------------------------------------- cta */
.c-cta { padding: 0 0 120px; text-align: center; }
.c-cta h2 {
	font-family: var(--cg-display, "Boldonse", "Anton", sans-serif);
	font-size: calc(var(--fs-cta) * 0.820513);
	line-height: var(--lh-head, 1.312);
	font-weight: 400;
	color: #fff;
}
.c-cta h2 span { color: var(--accent-soft); }

/* ---------------------------------------------------------------- footer */
.c-foot { margin-top: 40px; padding: 114px 0 0; }
.c-foot__logo img { height: 51px; width: auto; }
.c-foot__grid {
	display: flex;
	align-items: flex-end;
	gap: 120px;
	margin-top: 34px;
}
.c-foot__contacts { max-width: 620px; }
.c-foot__contacts h3 {
	font-family: inherit;
	font-size: calc(var(--fs-card) * 0.933333);
	line-height: var(--lh-head, 1.286);
	font-weight: 600;
	letter-spacing: normal;
	color: #fff;
	margin-bottom: 18px;
	text-transform: none;
}
.c-foot__contacts p { font-size: calc(var(--fs-lead) * 1.11111); line-height: var(--lh-body, 1.5); letter-spacing: 0.2px; color: #fff; }
.c-foot__contacts p span { display: inline-block; min-width: 108px; color: var(--muted); }
.c-foot__socials { display: flex; gap: 16px; align-items: center; }
.c-foot__socials a {
	width: 18px; height: 18px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; background: none; color: #fff; opacity: 0.9;
}
.c-foot__socials a:hover { color: var(--accent-soft); opacity: 1; }
.c-foot__socials svg { width: 16px; height: 16px; }

.c-copy {
	margin-top: 80px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0;
	font-size: var(--fs-lead);
	line-height: var(--lh-body, 1.875);
	color: #eaeaea;
	text-align: center;
}

/* ---------------------------------------------------------------- misc */
.c-top {
	position: fixed; right: 50px; bottom: 82px;
	width: 60px; height: 60px; border-radius: 50%;
	border: 0; background: transparent; color: #fff; padding: 0;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; z-index: 20;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
/* the dark disc is a pseudo-element in the source, not the button background */
.c-top::before {
	content: "";
	position: absolute; inset: 0;
	width: 60px; height: 60px;
	border-radius: 50%;
	background: #2e2e2e;
	transition: background 0.3s ease;
	z-index: 0;
}
.c-top.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.c-top svg { display: block; position: relative; z-index: 1; }
.c-top svg path { fill: transparent; transition: fill 0.3s ease; }
/* hover: the arrow fills solid white */
.c-top:hover svg path,
.c-top:focus-visible svg path { fill: #fff; }

[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	.c-reel__ring { animation: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1300px) {
	.c-hero__l1 { font-size: clamp(calc(var(--fs-hero) * 0.44), calc(9.2vw * var(--fs-h-k, 1) * var(--fs-scale)), calc(var(--fs-hero) * 0.84)); line-height: var(--lh-head, 0.94); }
	.c-hero__l2 { font-size: calc(var(--fs-hero) * 0.8); line-height: var(--lh-head, 0.625); }
	.c-services__big { font-size: var(--fs-service); line-height: var(--lh-head, 1.375); padding: 0 40px; }
	.c-clients__title { font-size: calc(var(--fs-display) * 0.8); line-height: var(--lh-head, 0.667); }
}

/* ---------------- tablet 1024 : source page 5738px ---------------- */
@media (max-width: 1024px) {
	.c-panel__nav { display: block; margin-bottom: 30px; }
	.c-panel__nav ul { display: flex; flex-direction: column; gap: 4px; }
	.c-panel__nav a {
		font-family: var(--cg-body, "Arimo", "Inter", sans-serif);
		font-size: calc(var(--fs-body) * 1.125); font-weight: 700; letter-spacing: 1.2px;
		color: #fff; display: inline-flex; align-items: center; gap: 12px;
		padding: 9px 0;
	}
	.c-panel__nav .c-dot { width: 8px; height: 8px; }
	.c-panel__nav .is-current a { color: var(--accent-soft); }
	.c-panel__nav .is-current .c-dot { background: var(--accent-soft); border-color: var(--accent-soft); }

	.c-head { height: 80px; padding: 0 24px; gap: 20px; }
	.c-nav { display: none; }
	.c-head__actions { margin-left: auto; }

	.c-hero { height: 955px; min-height: 955px; padding: 260px 0 0; }
	.c-hero__l1 { font-size: clamp(calc(var(--fs-hero) * 0.44), calc(9.2vw * var(--fs-h-k, 1) * var(--fs-scale)), calc(var(--fs-hero) * 0.84)); line-height: var(--lh-head, 0.94); }
	.c-hero__l2 { font-size: calc(var(--fs-hero) * 0.8); line-height: var(--lh-head, 0.625); margin-top: 24px; }
	.c-hero__sub { max-width: 460px; margin-top: 40px; }

	.c-projects { padding-top: 100px; padding-bottom: 130px; }
	.c-grid {
		width: calc(100% - 80px); max-width: none; margin: 40px auto 0;
		grid-template-columns: 1fr 1fr; grid-template-rows: none; column-gap: 30px;
	}
	.c-card { padding: 0 0 40px; }
	.c-card__cat { margin-top: 24px; }
	.c-card__title { font-size: calc(var(--fs-card) * 0.666667); line-height: var(--lh-head, 1.35); }
	.c-rail { display: none; }
	.c-h2 { font-size: calc(var(--fs-h2) * 0.769231); line-height: var(--lh-head, 0.75); }

	.c-band { height: 31px; }
	.c-reel { height: 430px; }

	.c-services { min-height: 417px; padding: 50px 0; display: flex; flex-direction: column; justify-content: center; }
	.c-services__big { font-size: calc(var(--fs-service) * 0.875); line-height: var(--lh-head, 1.357); padding: 0 24px; }

	.c-clients { height: auto; min-height: 363px; padding-top: 70px; }
	.c-clients__top { grid-template-columns: 1fr; gap: 24px; }
	.c-clients__title { font-size: calc(var(--fs-display) * 0.622222); line-height: var(--lh-head, 0.679); margin-left: 0; }
	.c-clients__text { width: auto; justify-self: start; }

	.c-sliderband { height: 250px; }
	.c-slide { flex: 0 0 200px; width: 200px; height: 120px; }
	.c-slide img { width: 188px; height: 104px; }

	.c-stats { min-height: 406px; padding: 50px 0; display: flex; align-items: center; }
	.c-stats__row { min-height: 0; }
	.c-shell .c-stats .c-stats__row { transform: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
	.c-stat { gap: 10px; min-height: 153px; }
	.c-stat__num { font-size: min(calc(var(--fs-stat) * 0.77 * var(--fs-scale, 1)), calc(8.2vw * var(--fs-h-k, 1) * var(--fs-scale, 1))); line-height: 1.15; min-width: 0; }
	.c-stat__label { font-size: calc(var(--fs-card) * 0.73); line-height: 1.3; max-width: 110px; }

	.c-cta { min-height: 234px; padding: 40px 0; display: flex; align-items: center; justify-content: center; }
	.c-cta h2 { font-size: calc(var(--fs-cta) * 0.666667); line-height: var(--lh-head, 1.269); }

	.c-foot { min-height: 749px; padding-top: 90px; }
	.c-foot__grid { flex-direction: column; gap: 30px; align-items: flex-start; }
	.c-copy { margin-top: 60px; }
}

/* ---------------- tablet 768 : source page 5460px ---------------- */
@media (max-width: 820px) {
	.c-hero { height: 955px; min-height: 955px; }
	.c-projects { padding-top: 90px; padding-bottom: 130px; }
	.c-card__cat { margin-top: 40px; font-size: calc(var(--fs-label) * 1.08333); }
	.c-card__title { font-size: calc(var(--fs-card) * 0.833333); line-height: var(--lh-head, 1.3); }
	.c-h2 { font-size: calc(var(--fs-h2) * 0.653846); }
	.c-clients { min-height: 327px; }
	.c-sliderband { height: 220px; }
	.c-slide { flex: 0 0 170px; width: 170px; height: 104px; }
	.c-slide img { width: 160px; height: 92px; }
	.c-cta { min-height: 195px; }
	.c-cta h2 { font-size: calc(var(--fs-cta) * 0.538462); line-height: var(--lh-head, 1.286); }
	.c-foot { min-height: 779px; }
}

/* ---------------- mobile 390/360 : source 6275 / 6211 ---------------- */
@media (max-width: 640px) {
	.c-head { height: 75px; padding: 0 18px; gap: 0; justify-content: center; }
	.c-head__logo { margin: 0 auto; }
	.c-head__logo .c-logo__mark { height: 34px; }
	.c-head__logo .c-logo__word { font-size: calc(var(--fs-logo) * 0.714286); letter-spacing: 1.6px; }
	.c-head__actions { position: static; }
	.c-panel-open { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
	.c-search-open { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }

	.c-hero { height: 956px; min-height: 956px; padding: 120px 0 70px; }
	.c-hero__l1 { font-size: clamp(calc(var(--fs-hero) * 0.4), calc(10.2vw * var(--fs-h-k, 1) * var(--fs-scale)), calc(var(--fs-hero) * 0.78)); line-height: var(--lh-head, 0.94); }
	.c-hero__l2 { font-size: calc(var(--fs-hero) * 0.64); line-height: var(--lh-head, 0.625); margin-top: 14px; }
	.c-hero__sub { font-size: calc(var(--fs-body) * 1.125); line-height: var(--lh-body, 1.8); max-width: 341px; margin-top: 40px; }

	.c-projects { padding-top: 90px; padding-bottom: 90px; }
	.c-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; width: calc(100% - 30px); max-width: none; margin-top: 34px; }
	.c-card { padding: 0 0 44px; }
	.c-card__cat { margin-top: 18px; }
	.c-card__title { font-size: calc(var(--fs-card) * 0.633333); line-height: var(--lh-head, 1.368); }
	.c-h2 { font-size: calc(var(--fs-h2) * 0.576923); line-height: var(--lh-head, 0.8); }

	.c-band { height: 31px; }
	.c-reel { height: 290px; }
	.c-reel__play { width: 64px; height: 64px; }

	.c-services { min-height: 419px; padding: 40px 0; }
	.c-services__big { font-size: calc(var(--fs-service) * 0.4875); line-height: var(--lh-head, 1.375); padding: 0 18px; }
	.c-services__big span { white-space: normal; display: block; padding-right: 0; }

	.c-clients { min-height: 447px; padding-top: 60px; }
	.c-clients__title { font-size: calc(var(--fs-display) * 0.511111); line-height: var(--lh-head, 0.696); }
	.c-clients__text { font-size: calc(var(--fs-lead) * 0.888889); line-height: var(--lh-body, 1.688); }

	.c-sliderband { height: 190px; }
	.c-pill--wide { width: 200px; height: 56px; font-size: var(--fs-body); }

	.c-stats { min-height: 559px; padding: 50px 0; display: flex; align-items: center; }
	.c-shell .c-stats .c-stats__row { grid-template-columns: 1fr; gap: 0; min-height: 0; max-width: calc(100% - 24px); margin-inline: auto; }
	.c-stat { justify-content: flex-start; min-height: 153px; gap: 10px; }
	/* 74px = original's 85px number box. Boldonse is wider than the original's
	   HeadingNow: "500+" is 3.62x the font-size here, so the number is capped by
	   the space left after (inset 24 + gap 10 + label 106). */
	.c-stat__num { font-size: max(34px, min(calc(var(--fs-stat) * 0.77 * var(--fs-scale, 1)), calc((100vw - 140px) * 0.27))); line-height: 1.15; }
	.c-stat__label { font-size: calc(var(--fs-card) * 0.73); line-height: 1.3; max-width: 106px; }

	.c-cta { min-height: 148px; padding: 20px 0; }
	.c-cta h2 { font-size: calc(var(--fs-cta) * 0.358974); line-height: var(--lh-head, 1.357); }

	.c-foot { min-height: 883px; padding-top: 60px; }
	.c-foot__grid { gap: 26px; }
	.c-panel { width: 100%; padding: 86px 24px 48px; }
	.c-panel__nav { display: block; margin-bottom: 34px; }
	.c-panel__nav ul { display: flex; flex-direction: column; gap: 6px; }
	.c-panel__nav a {
		font-family: var(--cg-body, "Arimo", "Inter", sans-serif);
		font-size: calc(var(--fs-body) * 1.125); font-weight: 700; letter-spacing: 1.2px;
		color: #fff; display: inline-flex; align-items: center; gap: 12px;
		padding: 10px 0;
	}
	.c-panel__nav .c-dot { width: 8px; height: 8px; }
	.c-panel__nav .is-current a { color: var(--accent-soft); }
	.c-panel__nav .is-current .c-dot { background: var(--accent-soft); border-color: var(--accent-soft); }
	.c-panel__tag { margin-top: 42px; font-size: 42px; line-height: 0.619; }
	.c-panel__thanks { font-size: 96px; line-height: 0.875; }
}

/* Tablets: the logo row wraps instead of sliding (phones keep the slider) */
@media (min-width: 641px) and (max-width: 1024px) {
	.c-sliderband { height: auto; padding: 10px 0 0; }
	.c-slider { position: static; padding-top: 0; width: 100%; }
	.c-slider__viewport { margin-top: 0; height: auto; }
	.c-slider__track { flex-wrap: wrap; justify-content: center; transform: none !important; row-gap: 6px; }
	.c-slide { flex: 0 0 33.333%; width: 33.333%; height: auto; padding: 4px; }
	.c-slide img { width: 100%; height: auto; aspect-ratio: 234 / 114; }
	.c-slider__nav { display: none; }
	.c-clients__more { margin-top: 30px; }
}

/* Phones: one logo at a time — the arrows swap it in place */
@media (max-width: 640px) {
	.c-sliderband { height: auto; padding: 0; }
	.c-slider { position: relative; width: 100%; padding: 0; }
	.c-slider__viewport { height: auto; overflow: hidden; margin-top: 0; }
	.c-slider__track { flex-wrap: nowrap; row-gap: 0; justify-content: flex-start; }
	.c-slide {
		flex: 0 0 100%; width: 100%; height: auto;
		padding: 4px 56px; box-sizing: border-box;
	}
	.c-slide img { width: 100%; height: auto; aspect-ratio: 222 / 125; }
	.c-slider__nav {
		display: block; position: absolute; inset: 0;
		width: 100%; height: auto; left: 0; transform: none;
	}
	.c-slider__nav button {
		position: absolute; top: 50%; margin-top: -22px;
		width: 44px; height: 44px; font-size: 20px;
	}
	.c-slider__prev { left: 2px; }
	.c-slider__next { left: auto; right: 2px; }
	.c-clients__more { margin-top: 20px; }
}

/* Customizer logo (replaces the bundled mark + wordmark when uploaded) */
.c-logo__custom { display: block; width: auto; max-height: 44px; }
.c-panel__logo .c-logo__custom { max-height: 62px; }
.c-foot__logo .c-logo__custom { max-height: 84px; }
.c-logo--lg .c-logo__custom { max-height: 84px; }

/* Client logo hover — grows ~5px inside its slot */
.c-slide img { transition: transform 0.28s ease; }
.c-slide:hover img { transform: scale(1.023); }
.c-slider__track { cursor: grab; touch-action: pan-y; }
.c-slider__track:active { cursor: grabbing; }

/* ── Small screens: tight display leading becomes readable (client request) ──
   Desktop ≥1025px keeps the source's exact pixel-matched leading. */
@media (max-width: 1024px) {
	.c-h2,
	.c-hero__l1,
	.c-hero__l2,
	.c-clients__title,
	.c-panel__tag,
	.c-panel__thanks { line-height: 1.05; }
}

@media (max-width: 480px) {
	.c-h2,
	.c-hero__l1,
	.c-hero__l2,
	.c-clients__title,
	.c-panel__tag,
	.c-panel__thanks { line-height: 1.12; }
}
