/* ==========================================================================
   Qadri Lancer — main stylesheet
   Mobile-first. Sections follow the order of the homepage.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-var-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("../fonts/jetbrains-mono-var-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	/* Colour */
	--ql-bg: #0b0b0a;
	--ql-bg-2: #10100f;
	--ql-surface: #161614;
	--ql-surface-2: #1e1e1b;
	--ql-line: rgba(243, 241, 234, 0.1);
	--ql-line-2: rgba(243, 241, 234, 0.18);
	--ql-text: #f3f1ea;
	--ql-text-2: #b6b2a8;
	--ql-text-3: #8d897f;
	--ql-yellow: #fed801; /* sampled from the Qadri Lancer logo */
	--ql-yellow-2: #ffe34d;
	--ql-yellow-ink: #0b0b0a;
	--ql-yellow-a: rgba(254, 216, 1, 0.14);
	--ql-paper: #f4f2ec;
	--ql-ink: #151513;

	/* Type */
	--ql-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--ql-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--ql-fs-display: clamp(2.75rem, 1.05rem + 7.2vw, 7.25rem);
	--ql-fs-h2: clamp(2.6rem, 1.3rem + 5vw, 6rem);
	--ql-fs-h3: clamp(1.35rem, 1.05rem + 1.1vw, 2rem);
	--ql-fs-lead: clamp(1.075rem, 1rem + 0.35vw, 1.3rem);
	--ql-fs-body: 1.0625rem;
	--ql-fs-sm: 0.9375rem;
	--ql-fs-mono: 0.75rem;

	/* Space & layout */
	--ql-gutter: clamp(1.25rem, 0.6rem + 3vw, 3.5rem);
	--ql-col-gap: clamp(1rem, 0.5rem + 1vw, 1.5rem);
	--ql-max: 1360px;
	--ql-section: clamp(4.5rem, 2.5rem + 5vw, 7.5rem);
	--ql-header-h: 72px;
	--ql-radius: 4px;

	/* Motion */
	--ql-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ql-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ql-header-h) + 12px);
}
body {
	margin: 0;
	background: var(--ql-bg);
	color: var(--ql-text);
	font-family: var(--ql-font);
	font-size: var(--ql-fs-body);
	font-stretch: 100%;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--ql-yellow); color: var(--ql-yellow-ink); }
:focus-visible { outline: 2px solid var(--ql-yellow); outline-offset: 3px; }
.ql-main { display: block; outline: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.ql-skip {
	position: absolute; left: 1rem; top: -100px; z-index: 200;
	background: var(--ql-yellow); color: var(--ql-yellow-ink);
	padding: 0.75rem 1rem; font-weight: 600;
}
.ql-skip:focus { top: 1rem; }

.ql-wrap {
	width: 100%;
	max-width: calc(var(--ql-max) + 2 * var(--ql-gutter));
	margin-inline: auto;
	padding-inline: var(--ql-gutter);
}

.ql-mono {
	font-family: var(--ql-mono);
	font-size: var(--ql-fs-mono);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- Typography components ---------- */
.ql-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ql-text-2);
}
.ql-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ql-yellow); flex: none; }
.ql-kicker__num, .ql-kicker__dot { display: none; }

/* ---------- Buttons & links ---------- */
.ql-btn {
	--btn-bg: transparent;
	--btn-fg: var(--ql-text);
	--btn-bd: var(--ql-line-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	min-height: 48px;
	padding: 0.8rem 1.35rem;
	border: 1px solid var(--btn-bd);
	border-radius: var(--ql-radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: var(--ql-fs-sm);
	font-weight: 600;
	letter-spacing: 0.005em;
	line-height: 1.1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.25s var(--ql-ease), border-color 0.25s var(--ql-ease), color 0.25s var(--ql-ease), transform 0.25s var(--ql-ease);
}
.ql-btn .ql-icon { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ql-ease); }
.ql-btn:hover .ql-icon--arrow { transform: translateX(4px); }
.ql-btn:active { transform: translateY(1px); }
.ql-btn--primary { --btn-bg: var(--ql-yellow); --btn-fg: var(--ql-yellow-ink); --btn-bd: var(--ql-yellow); }
.ql-btn--primary:hover { --btn-bg: var(--ql-yellow-2); --btn-bd: var(--ql-yellow-2); }
.ql-btn--ghost:hover { --btn-bd: var(--ql-text); }
.ql-btn--ghost .ql-icon--whatsapp { color: var(--ql-yellow); }
.ql-btn--ink { --btn-bg: var(--ql-yellow-ink); --btn-fg: var(--ql-yellow); --btn-bd: var(--ql-yellow-ink); }
.ql-btn--ink:hover { --btn-bg: #262624; --btn-bd: #262624; }
.ql-btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1rem; }
.ql-btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.875rem; }

.ql-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--ql-text);
	border-bottom: 1px solid var(--ql-yellow);
	padding-bottom: 0.2rem;
	width: fit-content;
	transition: color 0.2s var(--ql-ease);
}
.ql-link .ql-icon { width: 16px; height: 16px; color: var(--ql-yellow); transition: transform 0.3s var(--ql-ease); }
.ql-link:hover { color: var(--ql-yellow); }
.ql-link:hover .ql-icon--arrow { transform: translateX(3px); }
.ql-link:hover .ql-icon--arrow-up { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.ql-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--ql-header-h);
	transition: background-color 0.3s var(--ql-ease), border-color 0.3s var(--ql-ease), transform 0.35s var(--ql-ease);
	border-bottom: 1px solid transparent;
}
.ql-header.is-scrolled,
.ql-inner .ql-header,
.ql-video-portfolio .ql-header {
	background: rgba(11, 11, 10, 0.94);
	border-bottom-color: var(--ql-line);
}
.ql-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.ql-logo { display: inline-flex; align-items: center; flex: none; }
.ql-logo img { width: auto; height: 38px; }
.ql-logo__text { font-weight: 800; font-stretch: 90%; font-size: 1.35rem; letter-spacing: -0.02em; }
.ql-logo__text b { color: var(--ql-yellow); }

.ql-nav { display: none; }
.ql-nav__list { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.ql-nav__link {
	position: relative;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--ql-text-2);
	padding: 0.5rem 0;
	transition: color 0.2s var(--ql-ease);
}
.ql-nav__link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--ql-yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ql-ease);
}
.ql-nav__link:hover { color: var(--ql-text); }
.ql-nav__link.is-active { color: var(--ql-text); }
.ql-nav__link.is-active::after { transform: scaleX(1); }

.ql-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.ql-header__cta { display: none; }

.ql-burger {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	background: transparent;
	border: 1px solid var(--ql-line-2);
	border-radius: var(--ql-radius);
	cursor: pointer;
}
.ql-burger__lines { position: relative; width: 20px; height: 12px; }
.ql-burger__lines i {
	position: absolute; left: 0; width: 100%; height: 2px;
	background: var(--ql-text);
	transition: transform 0.3s var(--ql-ease), top 0.3s var(--ql-ease), width 0.3s var(--ql-ease);
}
.ql-burger__lines i:first-child { top: 0; }
.ql-burger__lines i:last-child { top: 10px; width: 65%; }
.ql-burger[aria-expanded="true"] .ql-burger__lines i:first-child { top: 5px; transform: rotate(45deg); }
.ql-burger[aria-expanded="true"] .ql-burger__lines i:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }

/* Mobile menu */
.ql-mnav {
	position: fixed;
	inset: var(--ql-header-h) 0 0 0;
	z-index: 99;
	background: var(--ql-bg);
	overflow-y: auto;
	opacity: 0;
	transition: opacity 0.3s var(--ql-ease);
}
.ql-mnav.is-open { opacity: 1; }
.ql-mnav[hidden] { display: none; }
.ql-mnav__inner { padding-block: 1.5rem 2.5rem; display: flex; flex-direction: column; min-height: 100%; }
.ql-mnav__list { border-top: 1px solid var(--ql-line); }
.ql-mnav__list a {
	display: flex; align-items: baseline; gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--ql-line);
	font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
	font-stretch: 88%;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.ql-mnav__foot { display: grid; gap: 0.75rem; margin-top: auto; padding-top: 2rem; }
.ql-mnav__tel { text-align: center; color: var(--ql-text-2); font-family: var(--ql-mono); font-size: 0.875rem; padding: 0.5rem; }
html.ql-menu-open, html.ql-menu-open body { overflow: hidden; }

@media (min-width: 1100px) {
	:root { --ql-header-h: 84px; }
	.ql-nav { display: block; }
	.ql-header__cta { display: inline-flex; }
	.ql-burger { display: none; }
	.ql-logo img { height: 42px; }
}

/* ---------- Sections ---------- */
.ql-section { padding-block: var(--ql-section); position: relative; }
.ql-work, .ql-reviews, .ql-process, .ql-faq { background: var(--ql-bg-2); }

.ql-h2 {
	font-size: var(--ql-fs-h2);
	font-stretch: 78%;
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.ql-lead { color: var(--ql-text-2); font-size: var(--ql-fs-lead); line-height: 1.5; max-width: 36rem; text-wrap: pretty; }

/* ---------- Hero ---------- */
.ql-hero {
	position: relative;
	overflow: hidden;
	padding-top: calc(var(--ql-header-h) + clamp(2rem, 1rem + 4vw, 4rem));
	padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.ql-hero__inner { position: relative; z-index: 2; }
.ql-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.ql-hero__eyebrow { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ql-text-2); font-size: 0.9375rem; font-weight: 600; }
.ql-hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ql-yellow); flex: none; }
.ql-hero__title {
	font-size: clamp(2.5rem, 1rem + 5vw, 4.5rem);
	font-stretch: 78%;
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.03em;
}
.ql-hero__line { display: block; }
.ql-hero__line--accent { color: var(--ql-yellow); }
.ql-hero__lead { font-size: var(--ql-fs-lead); color: var(--ql-text-2); line-height: 1.5; max-width: 31rem; text-wrap: pretty; }
.ql-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 599px) { .ql-hero__ctas .ql-btn { flex: 1 1 100%; } }
.ql-hero__proof { display: flex; flex-wrap: wrap; gap: 0.55rem 1.4rem; padding-top: 0.25rem; color: var(--ql-text-2); font-size: 0.875rem; line-height: 1.4; }
.ql-hero__proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.ql-hero__proof .ql-icon { width: 16px; height: 16px; color: var(--ql-yellow); flex: none; }

/* Moving wall of client websites */
.ql-wall {
	position: relative;
	display: grid;
	gap: 10px;
	margin-top: 2.75rem;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ql-wall__col { overflow: hidden; }
.ql-wall__col:nth-child(3) { display: none; }
.ql-wall__track { display: flex; width: max-content; animation: ql-wall-x 48s linear infinite; }
.ql-wall__col:nth-child(2) .ql-wall__track { animation-direction: reverse; animation-duration: 58s; }
.ql-wall__tile {
	position: relative;
	flex: none;
	display: block;
	width: 138px;
	aspect-ratio: 4 / 5;
	margin-right: 10px;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(243, 241, 234, 0.12);
}
.ql-wall__tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ql-wall__label {
	position: absolute; left: 6px; bottom: 6px;
	max-width: calc(100% - 12px);
	padding: 0.3rem 0.45rem;
	border-radius: 3px;
	background: rgba(11, 11, 10, 0.86);
	color: var(--ql-text);
	font-size: 0.625rem; font-weight: 600; line-height: 1.1;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes ql-wall-x { to { transform: translateX(-50%); } }
@keyframes ql-wall-y { to { transform: translateY(-50%); } }

@media (min-width: 1000px) {
	.ql-hero { min-height: clamp(700px, 100svh, 1000px); display: flex; align-items: center; padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
	.ql-hero__inner { width: 100%; }
	.ql-hero__copy { max-width: 50%; gap: 1.75rem; }
	/* Calm headline: each line stays on one line inside the left half. */
	.ql-hero__title { font-size: clamp(3.25rem, 5.4vw - 0.5rem, 5.25rem); }
	.ql-wall {
		position: absolute; top: 0; bottom: 0; left: 55%; right: 0;
		margin: 0;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
		padding-right: 14px;
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 80%, transparent 100%);
	}
	.ql-wall::before {
		content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 22%;
		background: linear-gradient(90deg, var(--ql-bg), rgba(11, 11, 10, 0));
		pointer-events: none;
	}
	.ql-wall__col { overflow: visible; }
	.ql-wall__col:nth-child(2) { margin-top: -140px; }
	.ql-wall__col:nth-child(3) { display: block; margin-top: -60px; }
	.ql-wall__track { flex-direction: column; width: auto; animation-name: ql-wall-y; animation-duration: 90s; }
	.ql-wall__col:nth-child(2) .ql-wall__track { animation-duration: 110s; }
	.ql-wall__col:nth-child(3) .ql-wall__track { animation-duration: 80s; }
	.ql-wall__tile { width: 100%; margin: 0 0 14px; border-radius: 8px; }
	.ql-wall__label { left: 8px; bottom: 8px; font-size: 0.6875rem; }
	.ql-wall:hover .ql-wall__track { animation-play-state: paused; }
}
@media (min-width: 1600px) { .ql-wall { right: calc((100vw - 1600px) / 4); } }

/* ---------- Selected work ---------- */
.ql-work__head, .ql-apps__head { display: grid; gap: 1.25rem; justify-items: start; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.ql-work__lead, .ql-apps__lead { color: var(--ql-text-2); font-size: var(--ql-fs-lead); line-height: 1.5; max-width: 34rem; text-wrap: pretty; }

.ql-feats { display: grid; gap: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.ql-feat { display: grid; gap: 1.75rem; }
.ql-feat__screen { min-width: 0; }
.ql-feat .ql-frame { box-shadow: 0 50px 100px -50px #000; }
.ql-feat .ql-frame__view { aspect-ratio: 16 / 11; }
/* Work screens stay still: they show the top of each site and never move with the mouse or the page. */
.ql-feat .ql-frame__shot, .ql-feat .ql-frame:hover .ql-frame__shot, .ql-feat .ql-frame:focus-within .ql-frame__shot { transform: none; transition: none; }
.ql-feat__info { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.ql-feat__cat { color: var(--ql-yellow); font-size: 0.9375rem; font-weight: 600; }
.ql-feat__name { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); font-stretch: 78%; font-weight: 800; line-height: 0.92; letter-spacing: -0.03em; }
.ql-feat__text { font-size: var(--ql-fs-lead); line-height: 1.45; text-wrap: pretty; }
.ql-feat__built { color: var(--ql-text-3); font-size: var(--ql-fs-sm); line-height: 1.5; }
.ql-feat .ql-link { margin-top: 0.5rem; }
@media (min-width: 1000px) {
	.ql-feat { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ql-col-gap); align-items: center; }
	.ql-feat__screen { grid-column: 1 / 9; }
	.ql-feat__info { grid-column: 9 / 13; padding-left: 1rem; }
}

.ql-more { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.ql-more__title {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 85%; font-weight: 800; letter-spacing: -0.02em;
	padding-top: 1.25rem; margin-bottom: 1.75rem;
	border-top: 1px solid var(--ql-line-2);
}
.ql-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--ql-col-gap); }
.ql-card { display: grid; gap: 0.85rem; }
.ql-card__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 6px; border: 1px solid var(--ql-line-2); background: #fff; }
.ql-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.6s var(--ql-ease-out); transform-origin: 50% 0; }
a.ql-card:hover .ql-card__img img, a.ql-card:focus-visible .ql-card__img img { transform: scale(1.03); }
.ql-card__meta { display: grid; gap: 0.2rem; }
.ql-card__name { display: block; font-size: 1.15rem; font-weight: 700; line-height: 1.2; transition: color 0.2s var(--ql-ease); }
.ql-card__name .ql-icon { display: inline-block; vertical-align: -2px; margin-left: 0.3rem; width: 16px; height: 16px; color: var(--ql-text-3); transition: color 0.2s var(--ql-ease), transform 0.3s var(--ql-ease); }
a.ql-card:hover .ql-card__name, a.ql-card:hover .ql-card__name .ql-icon { color: var(--ql-yellow); }
a.ql-card:hover .ql-card__name .ql-icon { transform: translate(2px, -2px); }
.ql-card__type { color: var(--ql-text-3); font-size: 0.875rem; }
@media (max-width: 479px) { .ql-card__name { font-size: 1rem; } }
@media (min-width: 1000px) { .ql-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem var(--ql-col-gap); } }

/* ---------- Apps & business software ---------- */
.ql-apps__grid { display: grid; gap: 3rem var(--ql-col-gap); }
.ql-apps figcaption { display: grid; gap: 0.25rem; margin-top: 1.1rem; }
.ql-apps figcaption em { font-style: normal; color: var(--ql-yellow); font-size: 0.875rem; font-weight: 600; }
.ql-apps figcaption strong { font-size: 1.2rem; font-weight: 700; }
.ql-apps figcaption span { color: var(--ql-text-2); font-size: var(--ql-fs-sm); }
.ql-apps__phone figcaption { justify-items: center; text-align: center; }

.ql-device { position: relative; }
.ql-device__screen { position: relative; overflow: hidden; background: #121211; container-type: size; }
.ql-device__shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ql-device--desk { border: 1px solid var(--ql-line-2); border-radius: 8px; overflow: hidden; background: var(--ql-surface); box-shadow: 0 50px 100px -50px #000; }
.ql-device--desk .ql-device__screen { aspect-ratio: 16 / 10; }
.ql-device--phone {
	width: min(100%, 264px); margin-inline: auto;
	padding: 9px; border-radius: 40px;
	background: #1b1b19; border: 1px solid var(--ql-line-2);
	box-shadow: 0 50px 100px -50px #000;
}
.ql-device--phone .ql-device__screen { aspect-ratio: 9 / 19.5; border-radius: 31px; }

/* Wireframe screens (shown until real screenshots are added) */
.ql-skel { --sk: rgba(243, 241, 234, 0.07); --sk2: rgba(243, 241, 234, 0.13); position: absolute; inset: 0; display: flex; }
.ql-skel i, .ql-skel b, .ql-skel span { display: block; border-radius: 0.5cqw; background: var(--sk); }
.ql-skel--desk .ql-skel__side { width: 17cqw; padding: 2.6cqw 1.8cqw; display: flex; flex-direction: column; gap: 1.7cqw; border-right: 1px solid var(--ql-line); background: rgba(0, 0, 0, 0.25); }
.ql-skel--desk .ql-skel__side b { height: 2.6cqw; width: 65%; background: var(--ql-yellow); margin-bottom: 1.5cqw; }
.ql-skel--desk .ql-skel__side i { height: 1.2cqw; }
.ql-skel--desk .ql-skel__side i:nth-child(2n) { width: 80%; }
.ql-skel--desk .ql-skel__side i:nth-child(3) { background: var(--sk2); }
.ql-skel__main { flex: 1; min-width: 0; padding: 2.6cqw; display: grid; grid-template-rows: auto auto 1fr auto; gap: 2cqw; }
.ql-skel__top { display: flex; justify-content: space-between; align-items: center; }
.ql-skel__top i { height: 1.8cqw; width: 28%; background: var(--sk2); }
.ql-skel__top b { height: 2.8cqw; width: 11%; border-radius: 99px; }
.ql-skel__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4cqw; }
.ql-skel__stats span { height: 7.5cqw; border: 1px solid var(--ql-line); background: rgba(243, 241, 234, 0.03); }
.ql-skel__stats span.is-accent { background: var(--ql-yellow); border-color: var(--ql-yellow); }
.ql-skel__chart { display: flex; align-items: flex-end; gap: 1.1cqw; padding: 1.8cqw; border: 1px solid var(--ql-line); border-radius: 0.8cqw; }
.ql-skel__chart i { flex: 1; height: var(--h); background: var(--sk2); transform-origin: bottom; transition: transform 0.9s var(--ql-ease-out) calc(var(--i) * 0.05s); }
.ql-skel__chart i:nth-child(11) { background: var(--ql-yellow); }
.ql-skel__rows { display: grid; gap: 1cqw; }
.ql-skel__rows i { height: 1.6cqw; }
.ql-skel__rows i:nth-child(2n) { width: 88%; }

.ql-skel--app { flex-direction: column; }
.ql-skel__bar { display: flex; justify-content: space-between; align-items: center; padding: 14cqw 7cqw 5cqw; }
.ql-skel__bar i { height: 5cqw; width: 42%; background: var(--sk2); }
.ql-skel__bar b { width: 10cqw; height: 10cqw; border-radius: 50%; background: var(--ql-yellow); }
.ql-skel__card { margin: 0 7cqw; height: 42cqw; border-radius: 5cqw; background: var(--ql-yellow); }
.ql-skel__chips { display: flex; gap: 3cqw; padding: 6cqw 7cqw 5cqw; }
.ql-skel__chips i { flex: 1; height: 8cqw; border-radius: 99px; }
.ql-skel__chips i:first-child { background: var(--sk2); }
.ql-skel__list { display: grid; gap: 4cqw; padding: 0 7cqw; }
.ql-skel__list i { height: 17cqw; border-radius: 4cqw; border: 1px solid var(--ql-line); background: rgba(243, 241, 234, 0.03); }
.ql-skel__tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 18cqw; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid var(--ql-line); background: rgba(0, 0, 0, 0.3); }
.ql-skel__tabs i { width: 7cqw; height: 7cqw; border-radius: 2cqw; }
.ql-skel__tabs i:first-child { background: var(--ql-yellow); }

/* OrderPing */
.ql-op { display: grid; gap: 2rem; padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border: 1px solid var(--ql-line-2); border-radius: 8px; background: var(--ql-surface); }
.ql-op__tag { color: var(--ql-yellow); font-size: 0.9375rem; font-weight: 600; }
.ql-op__name { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); font-stretch: 78%; font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; margin: 0.4rem 0 1rem; }
.ql-op__text > p:last-child { color: var(--ql-text-2); max-width: 30rem; text-wrap: pretty; }
.ql-op__chat { display: grid; gap: 0.75rem; justify-items: start; align-content: center; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 6px; background: #0e0e0d; border: 1px solid var(--ql-line); }
.ql-op__note { color: var(--ql-text-3); font-size: 0.75rem; }
.ql-op__msg {
	max-width: 24rem;
	padding: 0.75rem 0.95rem 0.45rem;
	border-radius: 3px 14px 14px 14px;
	background: var(--ql-surface-2);
	border: 1px solid var(--ql-line);
	transition: opacity 0.5s var(--ql-ease-out), transform 0.5s var(--ql-ease-out);
}
.ql-op__msg + .ql-op__msg { transition-delay: 0.7s; }
.ql-op__msg p { font-size: 0.9375rem; line-height: 1.45; }
.ql-op__msg span { display: block; margin-top: 0.2rem; text-align: right; color: var(--ql-yellow); font-size: 0.6875rem; }

/* Things that animate once they scroll into view (only when JS runs). */
.ql-ready [data-inview]:not(.is-inview) .ql-op__msg { opacity: 0; transform: translateY(10px); }
.ql-ready [data-inview]:not(.is-inview) .ql-skel__chart i { transform: scaleY(0.08); }

@media (min-width: 1000px) {
	.ql-apps__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
	.ql-apps__desk { grid-column: 1 / 9; }
	.ql-apps__phone { grid-column: 9 / 13; }
	.ql-op { grid-column: 1 / 13; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ql-col-gap); align-items: center; }
	.ql-op__text { grid-column: 1 / 7; }
	.ql-op__chat { grid-column: 7 / 13; }
}

/* ---------- What clients say ---------- */
.ql-reviews__grid { display: grid; gap: 2.5rem var(--ql-col-gap); }
.ql-reviews__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.ql-score { display: flex; align-items: center; gap: 1rem; }
.ql-score__avg { font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); font-stretch: 78%; font-weight: 800; line-height: 0.85; letter-spacing: -0.03em; color: var(--ql-yellow); }
.ql-score__side { display: grid; gap: 0.35rem; }
.ql-score__count { color: var(--ql-text-2); font-size: 0.875rem; }
.ql-stars { display: inline-flex; gap: 3px; color: var(--ql-yellow); }
.ql-stars .ql-icon { width: 16px; height: 16px; }
.ql-reviews__hint { color: var(--ql-text-3); font-size: 0.9375rem; }

.ql-phones {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 64%);
	gap: 1rem;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin-inline: calc(var(--ql-gutter) * -1); padding-inline: var(--ql-gutter);
	scroll-padding-inline: var(--ql-gutter);
}
.ql-phones::-webkit-scrollbar { display: none; }
.ql-phones li { scroll-snap-align: start; }
.ql-phone { padding: 8px; border-radius: 30px; background: #1b1b19; border: 1px solid var(--ql-line-2); box-shadow: 0 40px 80px -40px #000; }
.ql-phone .ql-yt { border: 0; border-radius: 22px; }
.ql-phones figcaption { margin-top: 0.85rem; text-align: center; font-size: 0.9375rem; font-weight: 600; }
@media (min-width: 700px) {
	.ql-phones { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (min-width: 1000px) {
	.ql-reviews__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
	.ql-reviews__intro { grid-column: 1 / 5; }
	.ql-phones { grid-column: 5 / 13; }
}

.ql-marquee {
	margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ql-marquee__track { display: flex; width: max-content; animation: ql-wall-x 75s linear infinite; }
.ql-marquee:hover .ql-marquee__track, .ql-marquee:focus-within .ql-marquee__track { animation-play-state: paused; }
.ql-marquee__set { display: flex; }
.ql-marquee__set li { display: flex; }
.ql-mq {
	width: min(80vw, 420px);
	margin-right: var(--ql-col-gap);
	padding: 1.6rem;
	display: flex; flex-direction: column; gap: 1rem;
	border: 1px solid var(--ql-line-2); border-radius: 8px;
	background: var(--ql-bg);
}
.ql-mq blockquote { flex: 1; }
.ql-mq blockquote p { font-size: 1.1rem; line-height: 1.5; text-wrap: pretty; }
.ql-mq figcaption { display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; align-items: baseline; font-size: 0.9375rem; }
.ql-mq figcaption span { color: var(--ql-text-3); }

/* ---------- Services ---------- */
.ql-services__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; margin-bottom: 1.25rem; }
.ql-services__title { color: var(--ql-yellow); font-size: 1rem; font-weight: 700; }
.ql-services__head p { color: var(--ql-text-3); font-size: 0.9375rem; }
.ql-svc { border-top: 1px solid var(--ql-line-2); }
.ql-svc__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.45rem 1rem;
	align-items: center;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--ql-line);
}
.ql-svc__name {
	grid-column: 1;
	font-size: clamp(2.2rem, 1rem + 4.6vw, 5.25rem);
	font-stretch: 76%;
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.03em;
	background: linear-gradient(90deg, var(--ql-yellow) 0 50%, var(--ql-text) 50% 100%);
	background-size: 200% 100%;
	background-position: 100% 0;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transition: background-position 0.7s var(--ql-ease-out);
}
.ql-svc__row { position: relative; }
.ql-svc__text { grid-column: 1; color: var(--ql-text-2); font-size: var(--ql-fs-sm); transition: opacity 0.25s var(--ql-ease); }
.ql-svc__img { display: none; }
.ql-svc__go {
	grid-column: 2; grid-row: 1 / 3;
	width: 48px; height: 48px;
	display: grid; place-items: center;
	border: 1px solid var(--ql-line-2); border-radius: 50%;
	color: var(--ql-text-2);
	transition: background-color 0.3s var(--ql-ease), border-color 0.3s var(--ql-ease), color 0.3s var(--ql-ease), transform 0.4s var(--ql-ease);
}
.ql-svc__go .ql-icon { width: 20px; height: 20px; }
.ql-svc__row:hover .ql-svc__name, .ql-svc__row:focus-visible .ql-svc__name { background-position: 0 0; }
.ql-svc__row:hover .ql-svc__go, .ql-svc__row:focus-visible .ql-svc__go { background: var(--ql-yellow); border-color: var(--ql-yellow); color: var(--ql-yellow-ink); transform: rotate(45deg); }
@media (forced-colors: active) { .ql-svc__name { background: none; color: LinkText; } }
@media (min-width: 1000px) {
	.ql-svc__row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ql-col-gap); padding: 1.5rem 0; }
	.ql-svc__name { grid-column: 1 / 9; grid-row: 1; }
	.ql-svc__text { grid-column: 9 / 12; grid-row: 1; padding-right: 1rem; }
	.ql-svc__go { grid-column: 12; grid-row: 1; justify-self: end; }
}

/* Real project screen beside the service, on hover (desktop only). */
@media (min-width: 1000px) and (hover: hover) {
	.ql-svc__img {
		display: block;
		position: absolute; z-index: 2; top: 50%; right: calc(48px + 2.5rem);
		width: 230px; aspect-ratio: 4 / 3;
		border: 1px solid var(--ql-line-2); border-radius: 6px;
		overflow: hidden; background: #fff;
		box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
		opacity: 0;
		transform: translateY(-50%) rotate(-5deg) scale(0.85);
		transition: opacity 0.3s var(--ql-ease), transform 0.5s var(--ql-ease-out);
		pointer-events: none;
	}
	.ql-svc__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
	.ql-svc__row:hover .ql-svc__img, .ql-svc__row:focus-visible .ql-svc__img { opacity: 1; transform: translateY(-50%) rotate(-2deg) scale(1); }
	.ql-svc__row.has-img:hover .ql-svc__text, .ql-svc__row.has-img:focus-visible .ql-svc__text { opacity: 0; }
}

/* ---------- Process ---------- */
.ql-process { padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.ql-process__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); font-stretch: 80%; font-weight: 800; line-height: 1; letter-spacing: -0.025em; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.ql-steps { position: relative; display: grid; }
.ql-step { position: relative; display: flex; flex-direction: column; gap: 0.4rem; padding: 0 0 2rem 2.5rem; }
.ql-step::before, .ql-step::after {
	content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 1px;
}
.ql-step::before { background: var(--ql-line-2); }
.ql-step::after { background: var(--ql-yellow); transform: scaleY(0); transform-origin: top; transition: transform 0.7s var(--ql-ease-out) calc(var(--i) * 0.15s); }
.ql-step:last-child::before, .ql-step:last-child::after { display: none; }
.ql-steps.is-inview .ql-step::after { transform: scaleY(1); }
.ql-step__node {
	position: absolute; left: 0; top: 0; width: 15px; height: 15px;
	border: 1px solid var(--ql-line-2); border-radius: 50%; background: var(--ql-bg-2);
	transition: border-color 0.3s var(--ql-ease) calc(var(--i) * 0.15s), background-color 0.3s var(--ql-ease) calc(var(--i) * 0.15s);
}
.ql-steps.is-inview .ql-step__node { border-color: var(--ql-yellow); background: var(--ql-yellow); }
.ql-step__title { font-size: 1.5rem; font-stretch: 82%; font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; }
.ql-step__text { color: var(--ql-text-2); font-size: var(--ql-fs-sm); line-height: 1.5; max-width: 22rem; }
@media (min-width: 1000px) {
	.ql-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--ql-col-gap); }
	.ql-step { padding: 2.25rem 1rem 0 0; }
	.ql-step::before, .ql-step::after { left: 0; right: calc(var(--ql-col-gap) * -1); top: 7px; bottom: auto; width: auto; height: 1px; }
	.ql-step::after { transform: scaleX(0); transform-origin: left; }
	.ql-steps.is-inview .ql-step::after { transform: scaleX(1); }
	.ql-step:last-child::before, .ql-step:last-child::after { display: block; right: 0; }
}

/* ---------- Who builds it ---------- */
.ql-studio__grid { display: grid; gap: 2.5rem var(--ql-col-gap); align-items: center; }
.ql-studio__photo {
	position: relative;
	width: 100%; max-width: 520px;
	aspect-ratio: 4 / 5;
	border-radius: 8px; overflow: hidden;
	background: var(--ql-surface);
	border: 1px solid var(--ql-line-2);
}
.ql-studio__photo > img { width: 100%; height: 100%; object-fit: cover; }
.ql-studio__photo.is-empty { display: grid; place-items: center; }
.ql-studio__photo.is-empty > img.ql-studio__mark { width: 40%; height: auto; }
@media (max-width: 999px) {
	/* Until a photo is added, keep the brand panel short on phones and tablets. */
	.ql-studio__photo.is-empty { aspect-ratio: 16 / 9; max-width: none; }
	.ql-studio__photo.is-empty > img.ql-studio__mark { width: auto; height: 42%; }
}
.ql-studio__photo figcaption {
	position: absolute; left: 1rem; bottom: 1rem;
	display: grid; gap: 0.1rem;
	padding: 0.7rem 0.9rem; border-radius: 4px;
	background: rgba(11, 11, 10, 0.86);
}
.ql-studio__photo figcaption span { color: var(--ql-text-2); font-size: 0.875rem; }
.ql-studio__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.ql-studio__lead { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 500; line-height: 1.35; max-width: 34rem; text-wrap: pretty; }
.ql-studio__body { color: var(--ql-text-2); max-width: 34rem; text-wrap: pretty; }
.ql-studio__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.5rem; }
.ql-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.ql-stats div { display: flex; flex-direction: column-reverse; gap: 0.25rem; }
.ql-stats dd { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-stretch: 80%; font-weight: 800; color: var(--ql-yellow); line-height: 1; letter-spacing: -0.03em; }
.ql-stats dt { color: var(--ql-text-2); font-size: 0.875rem; }
@media (min-width: 1000px) {
	.ql-studio__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.ql-studio__photo { grid-column: 1 / 6; }
	.ql-studio__text { grid-column: 7 / 13; }
}

/* ---------- FAQ ---------- */
.ql-faq__grid { display: grid; gap: 2rem var(--ql-col-gap); }
.ql-faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.ql-faq__list { border-top: 1px solid var(--ql-line-2); }
.ql-qa { border-bottom: 1px solid var(--ql-line); }
.ql-qa summary {
	list-style: none;
	display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 1rem; align-items: center;
	padding: 1.4rem 0;
	cursor: pointer;
}
.ql-qa summary::-webkit-details-marker { display: none; }
.ql-qa__q { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); font-weight: 600; line-height: 1.35; transition: color 0.2s var(--ql-ease); }
.ql-qa summary:hover .ql-qa__q { color: var(--ql-yellow); }
.ql-qa__icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--ql-line-2); border-radius: 50%; transition: transform 0.3s var(--ql-ease), background-color 0.3s var(--ql-ease), border-color 0.3s var(--ql-ease); }
.ql-qa__icon .ql-icon { width: 14px; height: 14px; }
.ql-qa[open] .ql-qa__icon { transform: rotate(45deg); background: var(--ql-yellow); border-color: var(--ql-yellow); color: var(--ql-yellow-ink); }
.ql-qa__a { padding: 0 0 1.6rem; color: var(--ql-text-2); max-width: 46rem; }
@media (min-width: 700px) { .ql-qa__a { padding-right: 3rem; } }
.ql-qa__a p + p { margin-top: 0.75rem; }
@media (min-width: 1000px) {
	.ql-faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.ql-faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--ql-header-h) + 2rem); align-self: start; }
	.ql-faq__list { grid-column: 5 / 13; }
}

/* ---------- Contact (yellow) ---------- */
.ql-contact { position: relative; background: var(--ql-yellow); color: var(--ql-yellow-ink); padding-block: var(--ql-section); }
.ql-contact ::selection { background: var(--ql-yellow-ink); color: var(--ql-yellow); }
.ql-contact :focus-visible { outline-color: var(--ql-yellow-ink); }
.ql-contact__title {
	font-size: clamp(3rem, 0.9rem + 8.6vw, 9.5rem);
	font-stretch: 76%;
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: -0.04em;
	max-width: 11ch;
	margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem);
	text-wrap: balance;
}
.ql-contact__grid { display: grid; gap: 2.5rem var(--ql-col-gap); }
.ql-contact__side { display: grid; gap: 1.5rem; align-content: start; }
.ql-contact__lead { font-size: var(--ql-fs-lead); font-weight: 500; line-height: 1.45; max-width: 26rem; }

.ql-wa-card {
	display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 1rem; align-items: center;
	padding: 1.15rem 1.25rem;
	border-radius: 6px;
	background: var(--ql-yellow-ink); color: var(--ql-text);
	transition: background-color 0.25s var(--ql-ease), transform 0.25s var(--ql-ease);
}
.ql-wa-card:hover { background: #222220; transform: translateY(-2px); }
.ql-wa-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--ql-yellow); color: var(--ql-yellow-ink); }
.ql-wa-card__icon .ql-icon { width: 26px; height: 26px; }
.ql-wa-card__text { display: grid; gap: 0.1rem; }
.ql-wa-card__tag { color: var(--ql-yellow); font-size: 0.8125rem; font-weight: 600; }
.ql-wa-card__text strong { font-size: 1.2rem; font-stretch: 92%; letter-spacing: -0.01em; }
.ql-wa-card__text span:last-child { color: var(--ql-text-2); font-size: var(--ql-fs-sm); }
.ql-wa-card__go { width: 20px; height: 20px; color: var(--ql-yellow); transition: transform 0.3s var(--ql-ease); }
.ql-wa-card:hover .ql-wa-card__go { transform: translate(2px, -2px); }

.ql-contact__list { display: grid; border-top: 1px solid rgba(11, 11, 10, 0.2); }
.ql-contact__list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(11, 11, 10, 0.2); align-items: baseline; }
.ql-contact__k { color: rgba(11, 11, 10, 0.66); font-size: 0.875rem; }
.ql-contact__list a { font-weight: 700; }
.ql-contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1000px) {
	.ql-contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
	.ql-contact__side { grid-column: 1 / 5; }
	.ql-contact .ql-form { grid-column: 6 / 13; }
}

/* ---------- Browser frame ---------- */
.ql-frame {
	background: var(--ql-surface);
	border: 1px solid var(--ql-line-2);
	border-radius: 6px;
	overflow: hidden;
}
.ql-frame__bar {
	display: flex; align-items: center; gap: 0.9rem;
	height: 34px; padding: 0 0.8rem;
	border-bottom: 1px solid var(--ql-line);
	background: var(--ql-surface-2);
}
.ql-frame__dots { display: flex; gap: 6px; flex: none; }
.ql-frame__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ql-line-2); }
.ql-frame__dots i:first-child { background: var(--ql-yellow); }
.ql-frame__url {
	flex: 1; min-width: 0;
	font-family: var(--ql-mono); font-size: 0.6875rem; letter-spacing: 0.02em;
	color: var(--ql-text-3);
	background: var(--ql-bg);
	border-radius: 2px;
	padding: 0.2rem 0.6rem;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ql-frame__view {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	container-type: size;
	background: #fff;
}
.ql-frame__pic { display: block; }
.ql-frame__shot {
	width: 100%; height: auto;
	transform: translateY(0);
	transition: transform var(--dur, 8s) linear;
	will-change: transform;
}
.ql-frame:hover .ql-frame__shot,
.ql-frame:focus-within .ql-frame__shot { transform: translateY(calc(-100% + 100cqh)); }
.ql-frame--auto .ql-frame__shot { animation: ql-autoscroll calc(var(--dur, 8s) * 2.2) ease-in-out 1.2s infinite alternate; transition: none; }
.ql-frame--auto:hover .ql-frame__shot { animation-play-state: paused; }
@keyframes ql-autoscroll {
	0%, 8% { transform: translateY(0); }
	92%, 100% { transform: translateY(calc(-100% + 100cqh)); }
}


/* ---------- Lite YouTube ---------- */
.ql-yt { position: relative; aspect-ratio: var(--ratio, 16/9); background: #000; border-radius: var(--ql-radius); overflow: hidden; border: 1px solid var(--ql-line); }
.ql-yt__btn { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.ql-yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s var(--ql-ease), transform 0.6s var(--ql-ease-out); }
.ql-yt__play {
	position: absolute; left: 50%; top: 50%;
	width: 64px; height: 64px;
	margin: -32px 0 0 -32px;
	display: grid; place-items: center;
	background: var(--ql-yellow); color: var(--ql-yellow-ink);
	border-radius: 50%;
	transition: transform 0.3s var(--ql-ease);
}
.ql-yt__play .ql-icon { width: 24px; height: 24px; margin-left: 3px; }
.ql-yt__btn:hover img, .ql-yt__btn:focus-visible img { opacity: 1; transform: scale(1.03); }
.ql-yt__btn:hover .ql-yt__play { transform: scale(1.08); }
.ql-yt__btn:focus-visible { outline: 2px solid var(--ql-yellow); outline-offset: -2px; }
.ql-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Form */
.ql-form {
	background: var(--ql-surface);
	border: 1px solid var(--ql-line-2);
	border-radius: 6px;
	padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
	display: grid; gap: 1.5rem;
}
.ql-form__grid { display: grid; gap: 1.15rem; }
.ql-field { display: grid; gap: 0.45rem; align-content: start; }
.ql-field label, .ql-field__label { font-size: 0.875rem; font-weight: 600; color: var(--ql-text); }
.ql-field > label > span, .ql-field__label > span { color: var(--ql-yellow); }
.ql-field input, .ql-field textarea, .ql-field select {
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 0.95rem;
	background: var(--ql-bg);
	border: 1px solid var(--ql-line-2);
	border-radius: var(--ql-radius);
	color: var(--ql-text);
	font-size: 1rem;
	transition: border-color 0.2s var(--ql-ease), box-shadow 0.2s var(--ql-ease);
	-webkit-appearance: none;
	appearance: none;
}
.ql-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.ql-field input::placeholder, .ql-field textarea::placeholder { color: var(--ql-text-3); }
.ql-field input:focus, .ql-field textarea:focus, .ql-field select:focus { outline: none; border-color: var(--ql-yellow); box-shadow: 0 0 0 3px var(--ql-yellow-a); }
.ql-select { position: relative; }
.ql-select::after {
	content: ""; position: absolute; right: 1rem; top: 50%;
	width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid var(--ql-text-2); border-bottom: 2px solid var(--ql-text-2);
	transform: rotate(45deg); pointer-events: none;
}
.ql-select select { padding-right: 2.5rem; cursor: pointer; }
.ql-select option { background: var(--ql-surface); color: var(--ql-text); }
.ql-field.has-error input, .ql-field.has-error textarea, .ql-field.has-error select { border-color: #ff8a65; }
.ql-field__err { color: #ff9b7a; font-size: 0.8125rem; min-height: 0; }
.ql-field__err:empty { display: none; }

.ql-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ql-chip { position: relative; cursor: pointer; }
.ql-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ql-chip span {
	display: inline-flex; align-items: center;
	min-height: 42px;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--ql-line-2);
	border-radius: 999px;
	font-size: 0.875rem; font-weight: 500;
	color: var(--ql-text-2);
	transition: all 0.2s var(--ql-ease);
}
.ql-chip:hover span { border-color: var(--ql-text-2); color: var(--ql-text); }
.ql-chip input:checked + span { background: var(--ql-yellow); border-color: var(--ql-yellow); color: var(--ql-yellow-ink); font-weight: 600; }
.ql-chip input:focus-visible + span { outline: 2px solid var(--ql-yellow); outline-offset: 2px; }

.ql-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ql-form__foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.ql-form__foot .ql-btn { flex: 1 1 100%; }
.ql-form__note { color: var(--ql-text-3); font-size: 0.8125rem; }
.ql-form__status { font-size: var(--ql-fs-sm); }
.ql-form__status:empty { display: none; }
.ql-form__status[data-state] { padding: 1rem 1.1rem; border-radius: var(--ql-radius); border: 1px solid; }
.ql-form__status[data-state="ok"] { border-color: var(--ql-yellow); background: var(--ql-yellow-a); color: var(--ql-text); }
.ql-form__status[data-state="error"] { border-color: #ff8a65; background: rgba(255, 138, 101, 0.08); color: #ffcbb8; }
.ql-form.is-sending [data-form-submit] { opacity: 0.7; pointer-events: none; }

@media (min-width: 640px) {
	.ql-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
	.ql-field--full { grid-column: 1 / -1; }
	.ql-form__foot .ql-btn { flex: 0 0 auto; }
}

/* Form on the yellow contact section */
.ql-contact .ql-form { background: transparent; border: 0; padding: 0; border-radius: 0; }
.ql-contact .ql-field label, .ql-contact .ql-field__label,
.ql-contact .ql-field > label > span, .ql-contact .ql-field__label > span { color: var(--ql-yellow-ink); }
.ql-contact .ql-field input, .ql-contact .ql-field textarea, .ql-contact .ql-field select {
	background: rgba(255, 255, 255, 0.5);
	border: 1.5px solid var(--ql-yellow-ink);
	color: var(--ql-yellow-ink);
}
.ql-contact .ql-field input::placeholder, .ql-contact .ql-field textarea::placeholder { color: rgba(11, 11, 10, 0.5); }
.ql-contact .ql-field input:focus, .ql-contact .ql-field textarea:focus, .ql-contact .ql-field select:focus {
	border-color: var(--ql-yellow-ink);
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 0 0 3px rgba(11, 11, 10, 0.18);
}
.ql-contact .ql-select::after { border-color: var(--ql-yellow-ink); }
.ql-contact .ql-select option { background: #fff; color: var(--ql-yellow-ink); }
.ql-contact .ql-chip span { border-color: rgba(11, 11, 10, 0.45); color: var(--ql-yellow-ink); }
.ql-contact .ql-chip:hover span { border-color: var(--ql-yellow-ink); color: var(--ql-yellow-ink); }
.ql-contact .ql-chip input:checked + span { background: var(--ql-yellow-ink); border-color: var(--ql-yellow-ink); color: var(--ql-yellow); }
.ql-contact .ql-chip input:focus-visible + span { outline-color: var(--ql-yellow-ink); }
.ql-contact .ql-form__note { color: rgba(11, 11, 10, 0.66); }
.ql-contact .ql-field.has-error input, .ql-contact .ql-field.has-error textarea, .ql-contact .ql-field.has-error select { border-color: #8a1700; }
.ql-contact .ql-field__err { color: #7a1400; font-weight: 600; }
.ql-contact .ql-form__status[data-state="ok"] { border-color: var(--ql-yellow-ink); background: rgba(11, 11, 10, 0.06); color: var(--ql-yellow-ink); }
.ql-contact .ql-form__status[data-state="error"] { border-color: #8a1700; background: rgba(138, 23, 0, 0.08); color: #5c1000; }

/* ---------- Footer ---------- */
.ql-footer { border-top: 1px solid var(--ql-line); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); padding-bottom: 6.5rem; }
.ql-footer__bottom { padding-right: 4.5rem; }
.ql-footer__grid { display: grid; gap: 2.5rem; }
.ql-footer__brand { display: grid; gap: 1.25rem; align-content: start; max-width: 24rem; }
.ql-footer__brand p { color: var(--ql-text-2); font-size: var(--ql-fs-sm); }
.ql-footer .ql-logo img { height: 44px; }
.ql-footer__title { font-size: 0.875rem; font-weight: 700; color: var(--ql-text-3); margin-bottom: 1rem; }
.ql-footer__col li { padding: 0.3rem 0; }
.ql-footer__col a { color: var(--ql-text-2); font-size: var(--ql-fs-sm); transition: color 0.2s var(--ql-ease); }
.ql-footer__col a:hover { color: var(--ql-yellow); }
.ql-footer__contact li { display: block; }
.ql-footer__contact li.ql-footer__loc { display: flex; }
.ql-footer__contact a, .ql-footer__loc { display: inline-flex; gap: 0.6rem; align-items: flex-start; color: var(--ql-text-2); font-size: var(--ql-fs-sm); }
.ql-footer__contact .ql-icon { width: 18px; height: 18px; flex: none; color: var(--ql-yellow); margin-top: 2px; }
.ql-social { display: flex; gap: 0.5rem; }
.ql-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ql-line-2); border-radius: 50%; color: var(--ql-text-2); transition: all 0.2s var(--ql-ease); }
.ql-social a:hover { color: var(--ql-yellow-ink); background: var(--ql-yellow); border-color: var(--ql-yellow); }
.ql-social .ql-icon { width: 18px; height: 18px; }
.ql-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ql-line); color: var(--ql-text-3); font-size: 0.8125rem; }
.ql-footer__bottom a:hover { color: var(--ql-yellow); }

@media (min-width: 700px) { .ql-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
	.ql-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ql-col-gap); }
	.ql-footer__brand { grid-column: 1 / 5; }
	.ql-footer__grid > :nth-child(2) { grid-column: 5 / 7; }
	.ql-footer__grid > :nth-child(3) { grid-column: 7 / 10; }
	.ql-footer__grid > :nth-child(4) { grid-column: 10 / 13; }
}

/* ---------- Floating WhatsApp ---------- */
.ql-wa {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	height: 58px;
	padding: 4px;
	border-radius: 999px;
	background: var(--ql-bg);
	border: 1px solid var(--ql-yellow);
	color: var(--ql-text);
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.85);
	transition: transform 0.3s var(--ql-ease), opacity 0.3s var(--ql-ease), border-color 0.2s var(--ql-ease);
}
.ql-wa__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ql-yellow); color: var(--ql-yellow-ink); flex: none; }
.ql-wa__icon .ql-icon { width: 26px; height: 26px; }
.ql-wa__label {
	max-width: 0; overflow: hidden; white-space: nowrap;
	font-weight: 600; font-size: 0.9rem;
	transition: max-width 0.4s var(--ql-ease), padding 0.4s var(--ql-ease);
}
.ql-wa.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 900px) {
	.ql-wa { right: 1.5rem; bottom: 1.5rem; }
	.ql-wa:hover .ql-wa__label, .ql-wa:focus-visible .ql-wa__label { max-width: 140px; padding: 0 1rem 0 0.75rem; }
}

/* ---------- Video portfolio page ---------- */
.ql-vp { padding-top: calc(var(--ql-header-h) + clamp(3rem, 2rem + 4vw, 6rem)); padding-bottom: var(--ql-section); }
.ql-vp__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); max-width: 52rem; }
.ql-vp__title { font-size: clamp(2.75rem, 1.4rem + 5vw, 5.75rem); font-stretch: 86%; font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; }
.ql-vp__intro { color: var(--ql-text-2); font-size: var(--ql-fs-lead); max-width: 40rem; }
.ql-vp__grid { display: grid; gap: 1.25rem; }
.ql-vp__item { position: relative; }
.ql-vp__num { position: absolute; left: 0.75rem; top: 0.75rem; z-index: 2; background: rgba(11, 11, 10, 0.85); color: var(--ql-yellow); padding: 0.25rem 0.5rem; border-radius: 2px; pointer-events: none; }
.ql-vp__item .ql-yt.is-playing + .ql-vp__num { display: none; }
.ql-vp__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--ql-line); }
.ql-vp__cta p { font-size: 1.25rem; font-stretch: 92%; font-weight: 700; flex: 1 1 100%; }
.ql-vp__empty { color: var(--ql-text-2); }
@media (min-width: 700px) {
	.ql-vp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ql-vp__item--lead { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.ql-vp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
	.ql-vp__item--lead { grid-column: 1 / 3; grid-row: 1 / 3; }
	.ql-vp__cta p { flex: 0 1 auto; }
}

/* ---------- Generic pages (legacy content on paper) ---------- */
.ql-page__head { padding-top: calc(var(--ql-header-h) + clamp(2.5rem, 2rem + 3vw, 4.5rem)); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.ql-page__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.75rem); font-stretch: 86%; font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; max-width: 18ch; }
.ql-paper { background: var(--ql-paper); color: var(--ql-ink); }
.ql-paper__inner { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.ql-prose { font-size: 1.0625rem; line-height: 1.7; }
.ql-prose > * + * { margin-top: 1.1em; }
.ql-prose h2, .ql-prose h3, .ql-prose h4 { font-stretch: 92%; letter-spacing: -0.015em; line-height: 1.2; margin-top: 1.8em; }
.ql-prose a { color: inherit; text-decoration: underline; text-decoration-color: #c9a800; text-underline-offset: 3px; }
.ql-prose ul { list-style: disc; padding-left: 1.25rem; }
.ql-prose ol { list-style: decimal; padding-left: 1.25rem; }
.ql-prose img { height: auto; }
.ql-postlist li { padding: 1.25rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.ql-postlist a { font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.ql-postlist time { display: block; font-family: var(--ql-mono); font-size: 0.75rem; color: #6b675e; margin-top: 0.25rem; }

/* 404 */
.ql-404 { padding-top: calc(var(--ql-header-h) + 5rem); padding-bottom: var(--ql-section); }
.ql-404 .ql-wrap { display: grid; gap: 1.75rem; }
.ql-404__title { font-size: clamp(2.5rem, 1.4rem + 4.5vw, 5.5rem); font-stretch: 86%; font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; max-width: 16ch; }

/* ---------- Hero entrance (CSS only, never hides content) ---------- */
@keyframes ql-rise { from { transform: translateY(14px); } to { transform: none; } }
.ql-hero__eyebrow, .ql-hero__line, .ql-hero__lead, .ql-hero__ctas, .ql-hero__proof { animation: ql-rise 0.9s var(--ql-ease-out) both; }
.ql-hero__line:nth-child(2) { animation-delay: 0.06s; }
.ql-hero__line:nth-child(3) { animation-delay: 0.12s; }
.ql-hero__lead { animation-delay: 0.18s; }
.ql-hero__ctas { animation-delay: 0.24s; }
.ql-hero__proof { animation-delay: 0.3s; }
@keyframes ql-fade { from { opacity: 0; } to { opacity: 1; } }
.ql-wall { animation: ql-fade 1.2s var(--ql-ease) 0.2s both; }

/* ---------- Reveal on scroll (kept for pages that use it) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ql-ease-out), transform 0.8s var(--ql-ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js:not(.ql-ready) [data-reveal] { animation: ql-failsafe 0.4s 2.5s forwards; }
@keyframes ql-failsafe { to { opacity: 1; transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.ql-frame--auto .ql-frame__shot, .ql-wall__track, .ql-marquee__track { animation: none !important; }
	.ql-marquee { overflow-x: auto; }
}
