/* ==========================================================================
   Creative Bay â€” design system
   1. Fonts & tokens   2. Base   3. Layout   4. Components   5. Header/Footer
   6. Home   7. Service pages   8. Portfolio & case study   9. Forms
   10. Blog & prose   11. Utilities & motion
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face {
	font-family: "JetBrains Mono";
	src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("../fonts/poppins-regular.ttf") format("truetype");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("../fonts/poppins-medium.ttf") format("truetype");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("../fonts/poppins-semibold.ttf") format("truetype");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("../fonts/poppins-bold.ttf") format("truetype");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "Poppins";
	src: url("../fonts/poppins-extrabold.ttf") format("truetype");
	font-style: normal;
	font-weight: 800;
	font-display: swap;
}

:root {
	--ink-950: #060a13;
	--ink-900: #0b1220;
	--ink-800: #111a2d;
	--ink-700: #1a2540;
	--ink-600: #2a3656;
	--paper: #f2f3f5;
	--surface: #ffffff;
	--text: #0b1220;
	--muted: #4f596c;
	--line: #e1e3e6;
	--line-strong: #c9cbd0;

	--accent: #e5242e;
	--accent-600: #c91620;
	--accent-text: #b81720;
	--accent-tint: rgba(229, 36, 46, .1);

	--svc-web: #e5242e;
	--svc-ecommerce: #e5242e;
	--svc-automation: #e5242e;
	--svc-analytics: #e5242e;
	--svc-security: #e5242e;
	--svc-marketing: #e5242e;

	--wa: #25d366;
	--danger: #c93a3a;

	--font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 2px 8px rgba(11, 18, 32, .04);
	--shadow: 0 2px 6px rgba(11, 18, 32, .06), 0 12px 32px rgba(11, 18, 32, .08);
	--shadow-lg: 0 30px 80px rgba(3, 8, 18, .45), 0 8px 24px rgba(3, 8, 18, .3);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
	--section-y: clamp(56px, 7vw, 96px);
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* context colours (light by default; dark contexts override) */
	--fg: var(--text);
	--fg-muted: var(--muted);
	--border: var(--line);
	--hl-color: var(--accent-text);
	--card: var(--surface);
}

/* Dark contexts share one set of overrides. */
.site-header,
.hero,
.page-hero,
.section--ink,
.cta-band,
.site-footer,
.cb-consent,
.article__header,
.primary-nav {
	--fg: #f3f6fb;
	--fg-muted: rgba(221, 229, 242, .74);
	--border: rgba(255, 255, 255, .13);
	--hl-color: var(--accent);
	--card: rgba(255, 255, 255, .04);
	color: var(--fg);
}

[data-service="web"] { --svc: var(--svc-web); }
[data-service="ecommerce"] { --svc: var(--svc-ecommerce); }
[data-service="automation"] { --svc: var(--svc-automation); }
[data-service="analytics"] { --svc: var(--svc-analytics); }
[data-service="security"] { --svc: var(--svc-security); }
[data-service="marketing"] { --svc: var(--svc-marketing); }
[data-service="design"], [data-service="print"], [data-service="signage"] { --svc: var(--accent); }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hl-color); }
	h1, h2, h3, h4 { margin: 0; font-family: var(--font); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink-900); }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.icon--flip { transform: scaleX(-1); }

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	padding: 12px 18px; background: var(--accent); color: var(--ink-900);
	font-weight: 600; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cb-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.site-main { display: block; outline: none; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink-900); }
.site-main > section:nth-of-type(odd):not(.section--ink):not(.cta-band):not(.page-hero) { background: var(--surface); }
.site-main > section:nth-of-type(even):not(.section--ink):not(.cta-band):not(.page-hero) { background: var(--paper); }
.section + .section:not(.section--ink):not(.cta-band) { padding-top: clamp(28px, 4vw, 48px); }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.actions--center { justify-content: center; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row .section-head { margin-bottom: 0; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 720; letter-spacing: -.03em; line-height: 1.04; color: var(--fg); }
.section-lead { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--fg-muted); max-width: 64ch; }
.section-head--center .section-lead { margin-inline: auto; }
.hl { color: var(--hl-color); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 16px; font-family: var(--mono); font-size: .78rem; font-weight: 500;
	letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.eyebrow--light { color: var(--accent); }

/* 4. Components ------------------------------------------------------------ */
.btn {
	--btn-bg: var(--accent); --btn-fg: var(--ink-900); --btn-border: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: 12px;
	border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
	font-size: 1rem; font-weight: 620; letter-spacing: -.005em; line-height: 1.1;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary:hover { --btn-bg: #ff8790; box-shadow: 0 8px 24px rgba(239, 89, 100, .24); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-border: var(--line-strong); }
.btn--ghost:hover { --btn-border: var(--fg); }
.btn--light { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .2); }
.btn--light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-border: rgba(255, 255, 255, .4); }
:is(.hero, .page-hero, .section--ink, .cta-band, .cb-consent) .btn--ghost { --btn-border: rgba(255, 255, 255, .25); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn[data-wa-context] .icon:first-child { color: var(--wa); }
.btn--primary[data-wa-context] .icon:first-child { color: inherit; }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	border: 1px solid var(--border); background: transparent; color: var(--fg); cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: var(--fg); }
.icon-btn--wa { color: var(--wa); }
.icon-btn--wa:hover { color: var(--wa); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--hl-color); }
.link-arrow:hover { text-decoration: underline; }

.tag {
	display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
	font-size: .78rem; font-weight: 550; background: var(--accent-tint); color: var(--accent-text);
	text-decoration: none; white-space: nowrap;
}
.tag--light { background: var(--accent-tint); color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 5px 11px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-size: .85rem; line-height: 1.3; }
.chips--lg li { padding: 8px 14px; font-size: .95rem; font-family: var(--mono); font-size: .88rem; }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--accent-text); margin-top: .22em; width: 1.1em; height: 1.1em; stroke-width: 2.4; }
.ticks--light .icon, :is(.section--ink, .page-hero) .ticks .icon { color: var(--accent); }
.ticks--compact { gap: 8px; font-size: .95rem; }
.ticks--compact li { gap: 9px; }

/* Browser frame */
.browser {
	margin: 0; border-radius: 14px; overflow: hidden; background: #0e1627;
	border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow);
	transform: translateZ(0);
}
.browser__bar { display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 12px; background: #151f35; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.browser__dots { display: inline-flex; gap: 6px; flex: none; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a4666; }
.browser__dots i:first-child { background: #ff6b6b; }
.browser__dots i:nth-child(2) { background: #ffc15a; }
.browser__dots i:nth-child(3) { background: #30d68e; }
.browser__url {
	display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 70%;
	margin-inline: auto; padding: 3px 12px; border-radius: 7px; background: rgba(255, 255, 255, .06);
	font-family: var(--mono); font-size: .72rem; color: rgba(221, 229, 242, .8);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-18px);
}
.browser__url .icon { width: 11px; height: 11px; color: var(--accent); }
.browser__screen { position: relative; background: #0e1627; }
.browser__screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.browser--xl .browser__screen img { aspect-ratio: 16 / 10; }
.browser__placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--ink-600); }
.browser__placeholder .icon { width: 48px; height: 48px; }

/* Feature cards */
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 1100px) {
	.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.feature {
	padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border);
	transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.section--paper .feature { background: var(--surface); }
.feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.feature__icon {
	display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
	border-radius: 12px; background: var(--accent-tint); color: var(--accent-text);
}
[data-service] .feature__icon, .page-hero[data-service] ~ .section .feature__icon { color: var(--accent-text); }
.feature__title { font-size: 1.14rem; font-weight: 680; margin-bottom: 8px; color: var(--fg); }
.feature__text { color: var(--fg-muted); font-size: .98rem; }
.feature-grid--problem .feature__text { font-size: .94rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq__item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 640; font-size: 1.06rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { transition: transform .25s var(--ease); color: var(--accent-text); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 22px; color: var(--muted); }
.faq__answer a { color: var(--accent-text); }
.faq-section { background: var(--surface); }

/* CTA band */
.cta-band {
	background:
		radial-gradient(60% 120% at 100% 0%, rgba(229, 36, 46, .1), transparent 60%),
		radial-gradient(40% 80% at 0% 100%, rgba(76, 180, 255, .1), transparent 60%),
		var(--ink-950);
	overflow: hidden;
}
.cta-band__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; } }
.cta-band__title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 760; letter-spacing: -.035em; line-height: 1; }
.cta-band__lead { margin-top: 18px; color: var(--fg-muted); font-size: 1.12rem; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 960px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band__phone { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--fg-muted); text-decoration: none; font-family: var(--mono); font-size: .92rem; }
.cta-band__phone:hover { color: var(--accent); }
@media (min-width: 960px) { .cta-band__phone { flex-basis: 100%; justify-content: flex-end; } }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 20px; font-size: .86rem; color: var(--fg-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

/* Notices */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.notice--error { background: #fdeeee; border-color: #f1c4c4; color: #7a1f1f; }
.notice--error .icon { color: var(--danger); margin-top: 3px; }
.notice--urgent { margin-top: 16px; background: #fff4e5; border-color: #ffd699; color: #5a3b00; }
.notice--urgent a { color: inherit; font-weight: 650; }

/* Empty state */
.empty-state { text-align: center; padding: clamp(40px, 6vw, 72px) 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state > .icon { width: 40px; height: 40px; color: var(--accent-text); margin-bottom: 12px; }
.empty-state h2 { font-size: 1.4rem; color: var(--text); margin-bottom: 10px; }
.empty-state .search-form { margin: 20px auto 0; max-width: 420px; }

/* Filters (portfolio + blog) */
.filters { display: flex; gap: 8px; margin-bottom: 36px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.filter {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
	border: 1px solid var(--line-strong); background: var(--surface); font-size: .93rem; font-weight: 560;
	text-decoration: none; white-space: nowrap; transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--text); color: var(--text); }
.filter.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.filter__count { font-family: var(--mono); font-size: .75rem; opacity: .6; }

/* Link list (404) */
.link-list { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.link-list a { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.link-list a:hover { border-color: var(--text); color: var(--text); }
.link-list .icon { color: var(--accent-text); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.pagination .current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

/* 5. Header & footer ------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(8, 13, 24, .82);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 100%; max-width: calc(1400px + var(--gutter) * 2); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; }
.brand:hover { color: var(--fg); }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font-size: 1.22rem; font-weight: 760; letter-spacing: -.03em; }
.brand__name span { color: var(--accent); margin-left: 1px; }
.brand__logo { max-height: 40px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-nav__list { display: flex; list-style: none; align-items: center; gap: 2px; }
.primary-nav__list a {
	display: block; padding: 8px 9px; border-radius: 8px; font-size: .9rem; font-weight: 540;
	color: var(--fg-muted); text-decoration: none; white-space: nowrap; transition: color .15s, background-color .15s;
}
.primary-nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current-menu-ancestor > a,
.primary-nav__list .current_page_item > a,
.primary-nav__list .current-page-ancestor > a { color: #fff; }
.primary-nav__list .current-menu-item > a::after { content: ""; display: block; height: 2px; margin-top: 2px; border-radius: 2px; background: var(--accent); }
.primary-nav__mobile-extras { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }

@media (min-width: 1320px) {
	.primary-nav__list > li:first-child { display: none; } /* logo links home */
}
@media (max-width: 1319.98px) {
	.nav-toggle { display: inline-grid; }
	.site-header__actions { margin-left: auto; }
	.primary-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		padding: 20px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
		background: var(--ink-950);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
	}
	.nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.nav-open { overflow: hidden; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav__list a { padding: 14px 4px; font-size: 1.3rem; font-weight: 620; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
	.primary-nav__list .current-menu-item > a { color: var(--accent); }
	.primary-nav__list .current-menu-item > a::after { display: none; }
	.primary-nav__mobile-extras { display: grid; gap: 16px; margin-top: 28px; }
	.primary-nav__contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.primary-nav__contact a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; font-size: .9rem; }
	.primary-nav__contact .icon { width: 22px; height: 22px; color: var(--accent); }
}
@media (max-width: 560px) {
	.site-header__cta { display: none; }
	.brand__name { font-size: 1.1rem; }
}

.site-footer { background: var(--ink-950); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .96rem; }
.site-footer__top { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer__tagline { margin: 18px 0 8px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.site-footer__services-line { color: var(--fg-muted); font-size: .9rem; max-width: 40ch; }
.site-footer__heading { margin-bottom: 16px; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.site-footer__col ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__contact address { display: grid; gap: 14px; }
.site-footer__contact a { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 3px; color: var(--accent); }
.social { display: flex; gap: 8px; list-style: none; margin-top: 22px; }
.social a, .social__placeholder { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; }
.social__placeholder { opacity: .72; }
.social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--fg-muted); font-size: .86rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; }

.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 10px; }
.wa-float, .back-to-top {
	display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0;
	border: 1px solid transparent; border-radius: 50%; text-decoration: none;
	box-shadow: 0 6px 20px rgba(20, 21, 25, .16); transition: transform .2s var(--ease), box-shadow .2s, background-color .2s;
}
.wa-float { background: var(--wa); color: #fff; }
.wa-float:hover { color: #fff; background: #18b85b; }
.back-to-top { background: #fff; color: var(--text); border-color: var(--line); }
.back-to-top:hover { color: var(--accent-text); border-color: var(--accent); }
.wa-float:hover, .back-to-top:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(20, 21, 25, .2); }
.wa-float .icon { width: 24px; height: 24px; }
.back-to-top .icon { width: 21px; height: 21px; }
body:has(.cb-consent:not([hidden])) .floating-actions { bottom: 150px; }
@media (min-width: 720px) { body:has(.cb-consent:not([hidden])) .floating-actions { bottom: 18px; } }
.nav-open .floating-actions { display: none; }

.cb-consent {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95;
	display: grid; gap: 14px; padding: 18px 20px; max-width: 460px;
	background: var(--ink-800); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
	box-shadow: var(--shadow-lg); font-size: .92rem;
}
.cb-consent[hidden] { display: none; }
.cb-consent a { color: var(--accent); }
.cb-consent__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* 6. Home ------------------------------------------------------------------ */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(55% 60% at 78% 30%, rgba(229, 36, 46, .1), transparent 70%),
		radial-gradient(40% 50% at 10% 90%, rgba(76, 180, 255, .1), transparent 70%),
		var(--ink-950);
	padding-top: clamp(48px, 7vw, 96px);
}
.hero__grid {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(80% 70% at 60% 35%, #000 20%, transparent 75%);
	mask-image: radial-gradient(80% 70% at 60% 35%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
@media (min-width: 1080px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); } }
.hero__title {
	font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 780; line-height: .9; letter-spacing: -.045em;
	font-stretch: 90%;
}
.hero__lead { margin-top: 28px; max-width: 54ch; font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--fg-muted); }
.hero__more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: .95rem; }
.hero__more a { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-muted); text-decoration: none; }
.hero__more a:hover { color: var(--accent); }
.hero__more .icon-whatsapp, .hero__more a[data-wa-context] .icon { color: var(--wa); }

.hero__visual { position: relative; padding: 0 0 14% 10%; }
.hero__site { box-shadow: var(--shadow-lg); }
.hero__dash { position: absolute; left: 0; bottom: 0; width: 54%; box-shadow: var(--shadow-lg); border-color: rgba(255, 255, 255, .16); }
.hero__dash .browser__bar { height: 26px; }
.hero__dash .browser__url { font-size: .62rem; }
.flow-card {
	position: absolute; right: -8px; bottom: 6%; width: 236px; padding: 16px;
	border-radius: var(--radius); background: rgba(17, 26, 45, .9);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg);
}
.flow-card__label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--svc-automation); }
.flow-card__steps { list-style: none; display: grid; gap: 8px; position: relative; }
.flow-card__steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: linear-gradient(var(--accent), var(--svc-automation)); opacity: .5; }
.flow-card__steps li { position: relative; display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 560; }
.flow-card__steps span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ink-700); border: 1px solid rgba(255, 255, 255, .12); color: var(--accent); flex: none; }
.flow-card__steps .icon { width: 16px; height: 16px; }
@media (max-width: 1079.98px) {
	.hero__visual { max-width: 720px; }
}
@media (max-width: 640px) {
	.hero__visual { padding: 0 0 18% 6%; }
	.flow-card { position: relative; right: auto; bottom: auto; width: auto; margin: 20px 0 0 -6%; }
	.flow-card__steps { grid-template-columns: 1fr 1fr; }
	.flow-card__steps::before { display: none; }
	.hero__dash { width: 60%; bottom: auto; top: 58%; }
	.hero__visual { padding-bottom: 0; }
}

/* Services grid */
.services-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.services-grid { grid-template-columns: repeat(12, 1fr); }
	.service-card { grid-column: span 3; }
	.service-card--primary { grid-column: span 6; }
}
.service-card {
	position: relative; display: flex; flex-direction: column; padding: 26px;
	border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.section--paper .service-card { background: var(--surface); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card:focus-within { border-color: var(--text); }
.service-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.service-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--svc) 18%, transparent); color: color-mix(in srgb, var(--svc) 70%, #000); }
.service-card__verb { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.service-card__title { font-size: 1.35rem; font-weight: 720; letter-spacing: -.02em; margin-bottom: 10px; }
.service-card__title a { text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__title a:hover { color: inherit; }
.service-card__text { color: var(--muted); font-size: .97rem; }
.service-card__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.service-card__list li { padding: 4px 10px; border-radius: 7px; background: var(--paper); font-size: .82rem; color: #333c4e; }
.service-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 640; font-size: .95rem; color: var(--text); }
.service-card__cta .icon { transition: transform .2s var(--ease); }
.service-card:hover .service-card__cta .icon { transform: translateX(4px); }
.service-card--primary { background: var(--ink-900); border-color: var(--ink-900); color: #f3f6fb; padding: clamp(26px, 3vw, 36px); }
.service-card--primary .service-card__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.service-card--primary .service-card__text { color: rgba(221, 229, 242, .76); font-size: 1.05rem; max-width: 46ch; }
.service-card--primary .service-card__verb { color: var(--svc); }
.service-card--primary .service-card__icon { background: color-mix(in srgb, var(--svc) 16%, transparent); color: var(--svc); }
.service-card--primary .service-card__list li { background: rgba(255, 255, 255, .06); color: rgba(233, 239, 248, .88); }
.service-card--primary .service-card__cta { color: var(--svc); }
.service-card--primary:hover { border-color: color-mix(in srgb, var(--svc) 50%, transparent); box-shadow: 0 20px 50px rgba(6, 10, 19, .25); }

/* Project grid + card */
.project-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) {
	.project-grid { grid-template-columns: repeat(2, 1fr); }
	.project-grid--three { grid-template-columns: repeat(3, 1fr); }
	.project-grid--featured > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
	.project-grid--featured > :first-child { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; }
	.project-grid--featured > :first-child .project-card__media { padding: 18px 0 18px 18px; }
	.project-grid--featured > :first-child .project-card__body { padding: 32px 36px; }
	.project-grid--featured > :first-child .project-card__title { font-size: 1.9rem; }
}
.project-card {
	display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface);
	border: 1px solid var(--line); overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.project-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.project-card[hidden] { display: none !important; }
.project-card__media { display: block; padding: 16px 16px 0; }
.project-card__media .browser { box-shadow: 0 10px 30px rgba(11, 18, 32, .16); }
.project-card__media img { transition: transform .6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.025); }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.project-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .86rem; color: var(--muted); }
.project-card__meta > span:first-child:not(.tag) { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.project-card__title { font-size: 1.45rem; font-weight: 720; letter-spacing: -.02em; margin-bottom: 10px; }
.project-card__title a { text-decoration: none; }
.project-card__excerpt { color: var(--muted); font-size: .98rem; }
.project-card .chips { margin: 16px 0 0; }
.project-card__tech { margin-top: 14px; font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.project-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }

/* Commerce */
.commerce__inner { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .commerce__inner { grid-template-columns: 1fr 1.05fr; } }
.commerce .ticks { margin-top: -8px; }

.store-mock { position: relative; padding: 0 0 36px 24px; font-size: .9rem; }
.store-mock__window { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: var(--text); }
.store-mock__bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 12px; background: #f1f0ea; border-bottom: 1px solid var(--line); }
.store-mock__bar .browser__dots i { background: #d4d1c6; }
.store-mock__url { margin-inline: auto; transform: translateX(-18px); padding: 3px 12px; border-radius: 7px; background: #fff; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.store-mock__body { display: grid; gap: 18px; padding: 20px; }
@media (min-width: 520px) { .store-mock__body { grid-template-columns: 1.25fr 1fr; } }
.store-mock__heading { margin-bottom: 12px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.store-mock__item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.store-mock__item small { display: block; color: var(--muted); font-size: .76rem; }
.store-mock__item--muted { grid-template-columns: 1fr auto; color: var(--muted); }
.store-mock__thumb { display: block; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--paper); }
.store-mock__total { display: flex; justify-content: space-between; padding-top: 12px; font-size: 1rem; }
.store-mock__pay { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 12px; background: var(--paper); }
.store-mock__method { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 12px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-weight: 560; }
.store-mock__method.is-active { border-color: var(--accent-600); box-shadow: 0 0 0 3px var(--accent-tint); }
.payment-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 24px; }
.payment-logo--mpesa { object-fit: contain; }
.payment-logo--cards { gap: 6px; width: 74px; }
.payment-logo--cards b { color: #1434cb; font-size: 14px; font-weight: 850; font-style: italic; letter-spacing: -1px; }
.payment-logo--cards i { display: inline-flex; position: relative; width: 28px; height: 19px; }
.payment-logo--cards em { position: absolute; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #eb001b; }
.payment-logo--cards em + em { left: 10px; background: #f79e1b; mix-blend-mode: multiply; }
.payment-logo--bank { width: 24px; height: 24px; color: #526070; }
.store-mock__btn { margin-top: 6px; padding: 11px; border-radius: 9px; background: var(--ink-900); color: #fff; text-align: center; font-weight: 640; }
.store-mock__toast {
	position: absolute; left: 0; bottom: 0; display: flex; gap: 12px; align-items: center;
	max-width: 290px; padding: 14px 16px; border-radius: 14px; background: var(--ink-800); color: #fff;
	box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12);
}
.store-mock__toast span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(31, 224, 176, .16); color: var(--accent); flex: none; }
.store-mock__toast p { margin: 0; font-size: .82rem; color: rgba(221, 229, 242, .8); line-height: 1.4; }
.store-mock__toast b { display: block; color: #fff; font-size: .9rem; }
.store-mock__caption { position: static; margin: 8px 0 0; font-size: .62rem; line-height: 1.5; color: var(--muted); }
.store-mock__caption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.store-mock__caption a:hover { color: var(--accent-text); }

/* Blue Lens band */
.blue-lens { background: radial-gradient(60% 70% at 85% 40%, rgba(76, 180, 255, .16), transparent 70%), var(--ink-900); overflow: hidden; }
.blue-lens__inner { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .blue-lens__inner { grid-template-columns: 1fr 1.15fr; } }
.blue-lens .eyebrow { color: var(--svc-analytics); }
.blue-lens .eyebrow::before { background: var(--svc-analytics); }
.blue-lens__points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.blue-lens__points li { display: flex; gap: 14px; align-items: flex-start; color: var(--fg-muted); }
.blue-lens__points strong { color: var(--fg); }
.blue-lens__points .icon { margin-top: 3px; color: var(--svc-analytics); }
.blue-lens__visual { position: relative; padding: 0 12% 16% 0; }
.blue-lens__main { box-shadow: var(--shadow-lg); }
.blue-lens__float { position: absolute; right: 0; bottom: 0; width: 46%; box-shadow: var(--shadow-lg); border-color: rgba(255, 255, 255, .18); }
.blue-lens__float .browser__bar { height: 26px; }

/* Process */
.process__steps { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); counter-reset: step; }
@media (min-width: 1180px) {
	.process__steps { grid-template-columns: repeat(7, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
	.process__step { padding: 26px 18px 0 0; position: relative; }
	.process__step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent-600); }
	.section--ink .process__step::before { background: var(--ink-900); }
}
@media (max-width: 1179.98px) {
	.process__step { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
}
.process__num { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: .82rem; color: var(--accent-text); }
.process__title { font-size: 1.15rem; margin-bottom: 8px; }
.process__step p { font-size: .93rem; color: var(--muted); }

/* Tech stack */
.tech__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin: 0; }
.tech__group { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tech__group dt { flex-basis: 100%; margin-bottom: 6px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tech__group dd { margin: 0; padding: 6px 12px; border-radius: 8px; background: var(--paper); font-weight: 580; font-size: .95rem; }

/* Post cards */
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-900); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder {
	display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 20px;
	background:
		radial-gradient(70% 90% at 90% 10%, color-mix(in srgb, var(--pc, var(--accent)) 45%, transparent), transparent 70%),
		linear-gradient(135deg, var(--ink-800), var(--ink-950));
	color: #fff; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.post-card__placeholder span { padding: 6px 10px; border-radius: 7px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); }
.post-card__placeholder[data-cat="e-commerce"] { --pc: var(--svc-ecommerce); }
.post-card__placeholder[data-cat="automation"], .post-card__placeholder[data-cat="artificial-intelligence"] { --pc: var(--svc-automation); }
.post-card__placeholder[data-cat="data-analytics"] { --pc: var(--svc-analytics); }
.post-card__placeholder[data-cat="cyber-security"] { --pc: var(--svc-security); }
.post-card__placeholder[data-cat="digital-marketing"] { --pc: var(--svc-marketing); }
.post-card__body { padding: 22px 24px 26px; }
.post-card__meta { display: flex; gap: 14px; margin-bottom: 10px; font-size: .84rem; color: var(--muted); }
.post-card__meta a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.post-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.015em; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { color: var(--muted); font-size: .96rem; }

/* 7. Service pages --------------------------------------------------------- */
.page-hero {
	position: relative; overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px);
	background:
		radial-gradient(50% 70% at 85% 20%, color-mix(in srgb, var(--svc, var(--accent)) 18%, transparent), transparent 70%),
		var(--ink-950);
}
.page-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(70% 80% at 80% 20%, #000, transparent 75%);
	mask-image: radial-gradient(70% 80% at 80% 20%, #000, transparent 75%);
}
.page-hero .hl { color: var(--svc, var(--accent)); }
.page-hero .eyebrow--light { color: var(--svc, var(--accent)); }
.page-hero .eyebrow--light::before { background: var(--svc, var(--accent)); }
.page-hero__inner { position: relative; display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1040px) { .page-hero--split .page-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.page-hero__title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 770; letter-spacing: -.04em; line-height: .98; max-width: 16ch; }
.page-hero--split .page-hero__title { max-width: 14ch; }
.page-hero__lead { margin-top: 24px; max-width: 58ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--fg-muted); }
.page-hero__visual .browser { box-shadow: var(--shadow-lg); }
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 72px); }
.page-hero--compact .page-hero__title { max-width: 20ch; font-size: clamp(2.3rem, 5vw, 4rem); }

.teaser__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .teaser__inner { grid-template-columns: 1.6fr auto; } }

/* Method (automation) */
.method { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.method__step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--ink-900); color: #f3f6fb; overflow: hidden; }
.method__step::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(var(--svc-automation), transparent 70%); opacity: .18; }
.method__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(165, 148, 255, .16); color: var(--svc-automation); }
.method__num { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: .8rem; color: rgba(221, 229, 242, .5); }
.method__title { margin: 20px 0 10px; font-size: 1.35rem; }
.method__step p { color: rgba(221, 229, 242, .74); font-size: .96rem; }

/* Flow diagram (automation hero) */
.flow-diagram { margin: 0; padding: 24px; border-radius: var(--radius-lg); background: rgba(17, 26, 45, .7); border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); }
.flow-diagram__list { list-style: none; display: grid; gap: 14px; position: relative; }
.flow-diagram__list::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--accent), var(--svc-automation), var(--svc-analytics)); opacity: .6; }
.flow-diagram__node { position: relative; display: flex; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.flow-diagram__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink-700); color: var(--svc-automation); border: 1px solid rgba(255, 255, 255, .12); flex: none; }
.flow-diagram__node:nth-child(3) .flow-diagram__icon { color: #fff; background: linear-gradient(135deg, #7c6bff, #4cb4ff); }
.flow-diagram__text b { display: block; font-weight: 640; }
.flow-diagram__text small { color: rgba(243, 246, 251, .78); font-family: var(--mono); font-size: .72rem; }
.flow-diagram figcaption { margin-top: 16px; font-size: .85rem; color: rgba(243, 246, 251, .82); }

/* Security panel */
.sec-panel { margin: 0; padding: 22px; border-radius: var(--radius-lg); background: rgba(17, 26, 45, .75); border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); }
.sec-panel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 650; }
.sec-panel__head .icon { color: var(--svc-security); }
.sec-panel__head small { margin-left: auto; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); font-weight: 400; }
.sec-panel__list { list-style: none; display: grid; gap: 8px; }
.sec-panel__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); font-size: .94rem; }
.sec-panel__list b { font-family: var(--mono); font-size: .72rem; font-weight: 500; padding: 3px 8px; border-radius: 6px; }
.sec-panel__list .is-ok b { background: rgba(31, 224, 176, .14); color: var(--accent); }
.sec-panel__list .is-watch b { background: rgba(76, 180, 255, .16); color: var(--svc-analytics); }
.sec-panel__list .is-fix b { background: rgba(255, 112, 112, .16); color: var(--svc-security); }
.sec-panel figcaption { margin-top: 14px; font-size: .85rem; color: var(--fg-muted); }

/* Marketing loop */
.loop { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.loop__step { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; background: var(--surface); }
.loop__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: rgba(255, 148, 71, .14); color: #c25b10; }
.loop__step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.loop__step p { font-size: .92rem; color: var(--muted); }
@media (min-width: 1100px) {
	.loop { grid-template-columns: repeat(5, 1fr); gap: 36px; }
	.loop__step:not(:last-child)::after { content: "â†’"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--line-strong); }
	.loop__step:last-child { border-color: #ffb885; box-shadow: 0 0 0 4px rgba(255, 148, 71, .08); }
}

/* E-commerce payments */
.payments { background: radial-gradient(50% 80% at 90% 50%, rgba(255, 181, 71, .14), transparent 70%), var(--ink-900); }
.payments .hl { color: var(--svc-ecommerce); }
.pay-list { list-style: none; display: grid; gap: 10px; }
.pay-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.pay-list__name { font-weight: 700; font-size: 1.1rem; }
.pay-list li span:last-child { color: var(--fg-muted); font-size: .9rem; text-align: right; }

/* Blue Lens product page */
.facts { background: var(--ink-800); color: #f3f6fb; border-top: 1px solid rgba(255, 255, 255, .06); }
.facts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0; }
.facts__list > div { padding: 20px 20px 20px 0; }
.facts__list > div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .08); }
.facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(221, 229, 242, .6); }
.facts dd { margin: 4px 0 0; font-weight: 650; }
@media (max-width: 760px) { .facts__list > div + div { border-left: 0; padding-left: 0; } .facts__list > div { border-bottom: 1px solid rgba(255, 255, 255, .06); } }

.gallery { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.gallery__item { margin: 0; }
.gallery__item a, .gallery a { display: block; }
.gallery figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.gallery--case { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

.demo-note { padding: 30px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.demo-note > .icon { width: 32px; height: 32px; color: var(--svc-analytics); margin-bottom: 12px; }
.demo-note h3 { font-size: 1.3rem; margin-bottom: 8px; }
.demo-note p { color: var(--muted); }
.demo-note .actions { margin-top: 20px; }

/* Contact */
.contact-layout { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.contact-layout__form .section-head { margin-bottom: 24px; }
.contact-layout__location .map { aspect-ratio: 16 / 10; }
.contact-layout__channels { display: grid; gap: 9px; margin-top: 22px; }
.contact-layout__channels a { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; text-decoration: none; }
.contact-layout__channels a:hover { color: var(--accent-text); }
.contact-layout__channels .icon { color: var(--accent-text); }
.contact-cards { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .contact-cards { grid-template-columns: 1fr 1.4fr; } }
.contact-cards__title { display: flex; align-items: center; gap: 12px; }
.contact-cards__title .brand__mark { width: 44px; height: 44px; flex: none; }
.contact-cards__address { margin-top: 16px; font-size: 1.15rem; line-height: 1.6; }
.contact-cards__hours { display: flex; gap: 10px; align-items: center; margin: 16px 0; color: var(--muted); }
.contact-cards__hours .icon { color: var(--accent-text); }
.contact-cards__grid { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 480px) { .contact-cards__grid { grid-template-columns: 1fr; } }
.contact-card { display: grid; gap: 4px; height: 100%; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.contact-card:hover { border-color: var(--text); color: inherit; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); }
.contact-card--wa .contact-card__icon { background: rgba(37, 211, 102, .14); color: #128c4b; }
.contact-card__label { font-weight: 700; font-size: 1.1rem; }
.contact-card__value { color: var(--muted); font-size: .92rem; word-break: break-word; }
.contact-card--accent { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.contact-card--accent:hover { color: #fff; }
.contact-card--accent .contact-card__icon { background: var(--accent-tint); color: var(--accent); }
.contact-card--accent .contact-card__value { color: rgba(221, 229, 242, .74); }

.map { margin-top: 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #e9e7df; }
.map__facade {
	display: grid; place-content: center; justify-items: center; gap: 12px; height: 100%; padding: 24px; text-align: center;
	background-image: linear-gradient(rgba(11, 18, 32, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 18, 32, .05) 1px, transparent 1px);
	background-size: 32px 32px;
}
.map__facade > .icon { width: 36px; height: 36px; color: var(--accent-text); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 8. Case study ------------------------------------------------------------ */
.page-hero--case { padding-bottom: clamp(120px, 16vw, 220px); }
.page-hero--case .page-hero__title { max-width: 22ch; }
.case-shot { margin-top: calc(clamp(120px, 16vw, 220px) * -1 + 24px); position: relative; z-index: 1; }
.case-shot .browser { box-shadow: var(--shadow-lg); max-width: 1200px; margin-inline: auto; }
.case { display: grid; gap: 40px; }
@media (min-width: 1000px) { .case { grid-template-columns: 280px 1fr; gap: 64px; } }
.case__facts dl { display: grid; gap: 18px; margin: 0; padding: 24px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 1000px) { .case__facts { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.case__facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case__facts dd { margin: 4px 0 0; font-weight: 600; }
.case__facts a { color: var(--accent-text); }
.case__section + .case__section { margin-top: clamp(40px, 5vw, 64px); }
.case__heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.025em; }
.case__heading span { font-family: var(--mono); font-size: .85rem; color: var(--accent-text); font-weight: 500; }
.case__features { list-style: none; display: grid; gap: 12px; }
@media (min-width: 720px) { .case__features { grid-template-columns: 1fr 1fr; } }
.case__features li { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .96rem; }
.case__features .icon { color: var(--accent-text); margin-top: 3px; stroke-width: 2.4; }
.case__features b { display: block; margin-bottom: 2px; }
.case__live { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(48px, 6vw, 72px); padding: 30px; border-radius: var(--radius-lg); background: var(--ink-900); color: #fff; }
.case__live h2 { font-size: 1.6rem; }
.case__live .eyebrow { color: var(--accent); }
.case__live .project-card__actions { padding-top: 0; margin: 0; }
.case__live .btn--ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .25); }

/* 9. Forms ----------------------------------------------------------------- */
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1040px) { .quote-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.quote-aside { padding: 28px; border-radius: var(--radius-lg); background: var(--ink-900); color: #f3f6fb; }
@media (min-width: 1040px) { .quote-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.quote-aside__title { font-size: 1.3rem; margin-bottom: 18px; }
.quote-aside__steps { list-style: none; display: grid; gap: 16px; counter-reset: qa; }
.quote-aside__steps li { position: relative; padding-left: 40px; counter-increment: qa; }
.quote-aside__steps li::before { content: counter(qa); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-tint); color: var(--accent); font-family: var(--mono); font-size: .8rem; }
.quote-aside__steps b { display: block; }
.quote-aside__steps span { font-size: .9rem; color: rgba(221, 229, 242, .72); }
.quote-aside__alt { display: grid; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.quote-aside__alt p { margin: 0; color: rgba(221, 229, 242, .6); font-size: .86rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.quote-aside__alt a { display: flex; gap: 10px; align-items: center; text-decoration: none; word-break: break-all; }
.quote-aside__alt .icon { color: var(--accent); }
.quote-aside__alt a[data-wa-context] .icon { color: var(--wa); }

.field-grid { display: grid; gap: 18px 16px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--inline { align-content: end; }
.field[hidden] { display: none; }
.field__label { font-weight: 620; font-size: .95rem; padding: 0; }
.field__hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.field__req { color: var(--danger); }
.field__opt { font-weight: 400; font-size: .8rem; color: var(--muted); margin-left: 4px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], select, textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 11px;
	border: 1px solid var(--line-strong); background: #fff; color: var(--text);
	font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f596c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-600); box-shadow: 0 0 0 4px var(--accent-tint); }
input:user-invalid, select:user-invalid, textarea:user-invalid, .is-invalid { border-color: var(--danger); }
::placeholder { color: #8a92a2; }

.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice .field__label { margin-bottom: 10px; display: block; }
.check-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.check { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; font-size: .95rem; line-height: 1.35; transition: border-color .15s, background-color .15s; }
.check:hover { border-color: var(--line-strong); }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-600); flex: none; }
.check:has(input:checked) { border-color: var(--accent-600); background: #fff0f1; }
.check--consent { border: 0; padding: 0; background: none; font-size: .92rem; color: var(--muted); }
.check--consent:has(input:checked) { background: none; }
.check--consent a { color: var(--accent-text); }
.field--inline .check { border: 0; padding: 0; background: none; }
.field--inline .check:has(input:checked) { background: none; }

.stepper { list-style: none; display: none; gap: 8px; margin-bottom: 30px; }
.js .stepper { display: grid; grid-template-columns: repeat(4, 1fr); }
.stepper__item { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line); color: var(--muted); font-size: .86rem; font-weight: 560; transition: border-color .3s, color .3s; }
.stepper__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--paper); font-family: var(--mono); font-size: .78rem; flex: none; }
.stepper__item.is-current { border-color: var(--accent-600); color: var(--text); }
.stepper__item.is-current .stepper__num { background: var(--accent); color: var(--ink-900); }
.stepper__item.is-done { border-color: var(--accent-600); }
.stepper__item.is-done .stepper__num { background: var(--ink-900); color: #fff; }
@media (max-width: 640px) { .stepper__label { display: none; } .stepper__item { justify-content: center; } }

.form-step { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.js .form-step { display: none; margin-bottom: 0; }
.js .form-step.is-current { display: block; animation: step-in .35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
.form-step__title { display: block; width: 100%; margin-bottom: 22px; padding: 0; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 720; letter-spacing: -.02em; }
.form-step__count { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.form-step__empty { padding: 20px; border-radius: 12px; background: var(--paper); color: var(--muted); }

.need-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.need-card { position: relative; display: flex; gap: 10px; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.need-card:hover { border-color: var(--line-strong); }
.need-card input { position: absolute; opacity: 0; pointer-events: none; }
.need-card__body { display: grid; gap: 3px; }
.need-card__title { font-weight: 680; }
.need-card__hint { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.need-card__check { margin-left: auto; width: 22px; height: 22px; padding: 3px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; stroke-width: 3; flex: none; }
.need-card:has(input:checked) { border-color: var(--accent-600); background: #fff0f1; box-shadow: 0 0 0 4px var(--accent-tint); }
.need-card:has(input:checked) .need-card__check { background: var(--accent-600); border-color: var(--accent-600); color: #fff; }
.need-card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

.multi-pick { margin-top: 24px; padding: 20px; border-radius: 14px; background: var(--paper); }
.multi-pick .field__label { display: block; margin-bottom: 12px; }
.js [data-show-for]:not(.is-active) { display: none; }

.q-group { border: 0; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid var(--line); min-width: 0; }
.q-group:last-child { border-bottom: 0; }
.q-group__title { margin-bottom: 18px; padding: 0; font-size: 1.15rem; font-weight: 700; }
.js .q-group { display: none; }
.js .q-group.is-active { display: block; }
.js .q-group.is-active:last-of-type, .js .q-group.is-last { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

.dropzone { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px 20px; border: 1.5px dashed var(--line-strong); border-radius: 14px; background: var(--paper); text-align: center; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent-600); background: #fff0f1; }
.dropzone:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.dropzone > .icon { width: 28px; height: 28px; color: var(--accent-text); }
.dropzone p { margin: 0; }
.dropzone__rules { font-size: .8rem; color: var(--muted); max-width: 52ch; }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-list { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px; background: var(--paper); font-size: .9rem; }
.file-list .is-error { background: #fdeeee; color: #7a1f1f; }
.file-list small { color: var(--muted); white-space: nowrap; }

.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-nav [data-step-next], .form-nav [data-step-submit] { margin-left: auto; }
.js .form-nav [data-step-submit] { display: none; }
.js .form-nav.is-last [data-step-submit] { display: inline-flex; }
.form-nav [hidden] { display: none !important; }
.form-footnote { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: .84rem; color: var(--muted); }
.form-footnote .icon { color: var(--accent-text); margin-top: 2px; }
.contact-form .btn { margin-top: 24px; }
.is-submitting [type="submit"] { opacity: .7; pointer-events: none; }

.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; }

/* Thank you */
.thank-you { text-align: center; }
.thank-you__inner { display: grid; justify-items: center; }
.thank-you__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px; border-radius: 50%; background: var(--accent); color: var(--ink-900); box-shadow: 0 0 0 10px var(--accent-tint); }
.thank-you__icon .icon { width: 34px; height: 34px; stroke-width: 2.6; }
.thank-you .page-hero__title { margin-inline: auto; }
.thank-you .page-hero__lead { margin-inline: auto; }

/* 10. Blog & prose --------------------------------------------------------- */
.article__header { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 72px); background: radial-gradient(60% 90% at 90% 0%, var(--accent-tint), transparent 70%), var(--ink-950); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: 18px; font-size: .9rem; color: var(--fg-muted); }
.article__title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 760; letter-spacing: -.035em; line-height: 1.02; }
.article__lead { margin-top: 20px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--fg-muted); }
.article__image { margin-top: 40px; }
.article__image img { border-radius: var(--radius-lg); }
.article__body { padding-block: clamp(40px, 5vw, 64px); }

.prose { font-size: 1.1rem; line-height: 1.75; color: #1e2738; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.55rem, 2.6vw, 2rem); letter-spacing: -.025em; color: var(--text); }
.prose h3 { margin-top: 1.7em; font-size: 1.3rem; color: var(--text); }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent-text); }
.prose a { color: var(--accent-text); text-decoration: underline; }
.prose strong { color: var(--text); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 1.2rem; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper); font-weight: 650; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--paper); font-family: var(--mono); font-size: .88em; }
.prose img { border-radius: var(--radius); }
.prose .wp-block-table { margin: 1.6em 0; }
.prose-block p { color: var(--fg-muted); font-size: 1.1rem; }
.prose-block a { color: var(--accent-text); }
.prose-block .section-title { margin-bottom: 20px; }

.article-cta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(48px, 6vw, 80px); padding: 28px; border-radius: var(--radius-lg); background: var(--ink-900); color: #f3f6fb; }
.article-cta__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--svc) 16%, transparent); color: var(--svc); flex: none; }
.article-cta > div { flex: 1; min-width: 240px; }
.article-cta__title { font-size: 1.4rem; margin-bottom: 8px; }
.article-cta p { color: rgba(221, 229, 242, .74); }
.article-cta .actions { margin-top: 18px; }
.article-cta .btn--ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .25); }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(3, 6, 12, .88); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 12px; }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; }

/* 11. Utilities & motion --------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .wa-float, .cb-consent, .cta-band { display: none !important; }
	body { color: #000; }
}

/* UI reference: clean white, cool gray and clear red -------------------- */
:root {
	--ink-950: #191a1d;
	--ink-900: #222327;
	--ink-800: #303136;
	--paper: #f1f2f4;
	--surface: #ffffff;
	--text: #202126;
	--muted: #5d6068;
	--line: #e1e3e6;
	--line-strong: #c9cbd0;
	--accent: #e5242e;
	--accent-600: #c91620;
	--accent-text: #b81720;
	--accent-tint: rgba(229, 36, 46, .1);
	--svc-web: #e5242e;
	--svc-ecommerce: #f5b82e;
	--svc-automation: #a184e8;
	--svc-analytics: #45a9cb;
	--svc-security: #e66b87;
	--svc-marketing: #f29a43;
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 2px 8px rgba(32, 33, 38, .06);
	--shadow: 0 12px 30px rgba(32, 33, 38, .1);
	--shadow-lg: 0 24px 64px rgba(20, 21, 25, .18);
}

body { background: var(--surface); }
.site-header,
.hero,
.page-hero,
.section--ink,
.cta-band,
.site-footer,
.cb-consent,
.article__header,
.primary-nav {
	--fg: var(--text);
	--fg-muted: var(--muted);
	--border: var(--line);
	--hl-color: var(--accent-text);
	--card: var(--surface);
	color: var(--text);
}
.site-header {
	background: rgba(255, 255, 255, .94);
	border-bottom: 1px solid var(--line);
}
.brand__name span { color: var(--accent); }
.primary-nav__list a { color: var(--text); }
.primary-nav__list a:hover { color: var(--text); background: #f1f2f4; }
.primary-nav__list .current-menu-item > a,
.primary-nav__list .current-menu-ancestor > a,
.primary-nav__list .current_page_item > a,
.primary-nav__list .current-page-ancestor > a { color: var(--text); }
.primary-nav__list .current-menu-item > a::after { background: var(--accent); }
.icon-btn { color: var(--text); }
.icon-btn:hover { background: #f1f2f4; }
.hero {
	background:
		radial-gradient(ellipse at 86% 12%, rgba(229, 36, 46, .09), transparent 35%),
		radial-gradient(ellipse at 4% 95%, rgba(229, 36, 46, .05), transparent 38%),
		var(--surface);
	padding-top: clamp(56px, 8vw, 110px);
}
.hero__grid {
	background-image: radial-gradient(rgba(32, 33, 38, .1) .8px, transparent .8px);
	background-size: 18px 18px;
	-webkit-mask-image: radial-gradient(70% 75% at 62% 42%, #000 5%, transparent 86%);
	mask-image: radial-gradient(70% 75% at 62% 42%, #000 5%, transparent 86%);
}
.hero__title { font-family: "Bricolage Grotesque", var(--font); font-weight: 800; letter-spacing: -.055em; line-height: .92; }
.hero__title .hl { color: var(--accent); }
.hero .eyebrow--light { color: var(--accent-text); }
.hero .eyebrow--light::before { background: var(--accent); border-radius: 50%; }
.hero__lead { color: var(--muted); }
.hero__more a { color: var(--muted); }
.hero__more a:hover { color: var(--accent-text); }
.hero__site, .hero__dash { box-shadow: var(--shadow-lg); }
.hero__dash { border-color: rgba(32, 33, 38, .15); }
.flow-card { background: rgba(255, 255, 255, .96); color: var(--text); border-color: var(--line); box-shadow: var(--shadow); }
.flow-card__label { color: #8058c9; }
.section--paper { background: var(--paper); }
.btn { border-radius: 999px; font-weight: 650; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--accent-600); box-shadow: 0 8px 22px var(--accent-tint); }
.btn--ghost { border-radius: 999px; }
.eyebrow { font-size: .72rem; letter-spacing: .12em; }
.section-title { font-family: "Bricolage Grotesque", var(--font); font-weight: 780; letter-spacing: -.045em; }
.service-card, .project-card, .post-card, .feature {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.service-card:hover, .project-card:hover, .post-card:hover { box-shadow: var(--shadow); }
.service-card--primary { background: #292425; border-color: #292425; }
.section--paper .service-card { background: var(--surface); }
.site-footer { background: #222327; color: #f6f7f8; }
.site-footer a:hover { color: #ed626b; }
.site-footer__contact .icon { color: #ed626b; }
.cta-band { --fg: #fff; --fg-muted: rgba(255, 255, 255, .88); --hl-color: #fff; background: var(--accent); color: #fff; }
.cta-band .btn--primary { --btn-bg: var(--text); --btn-fg: #fff; }
.cta-band .cta-band__lead { color: rgba(255, 255, 255, .9); }
.primary-nav { background: var(--surface); }
.primary-nav__list a { color: var(--text); }
.primary-nav__list .current-menu-item > a { color: var(--accent-text); }
.primary-nav__list a:hover { background: var(--paper); }
.page-hero,
.section--ink,
.site-footer,
.cb-consent,
.article__header {
	--fg: #f6f7f8;
	--fg-muted: rgba(246, 247, 248, .76);
	--border: rgba(255, 255, 255, .14);
	--hl-color: var(--accent);
	color: var(--fg);
}
.page-hero { background: radial-gradient(50% 70% at 85% 20%, color-mix(in srgb, var(--svc, var(--accent)) 18%, transparent), transparent 70%), var(--ink-950); }
.section--ink { background: var(--ink-900); }
.site-footer { background: #222327; }
.cb-consent { background: var(--ink-800); }
.hero .btn--light, .hero .btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--line-strong); }
.hero .btn--light:hover { --btn-bg: #fff; --btn-border: var(--text); }
.hero .btn--ghost:hover { --btn-bg: #fff; --btn-border: var(--text); }
.hero .flow-card__steps { color: var(--text); }
::selection { background: #e5242e; color: #fff; }
:focus-visible { outline-color: #c91620; }
.quote-aside__steps li::before { background: rgba(239, 89, 100, .18); color: #ed626b; }
.quote-aside__steps span, .quote-aside__alt p { color: rgba(246, 247, 248, .76); }
.quote-aside__alt .icon { color: #ed626b; }
.check:has(input:checked), .need-card:has(input:checked) { border-color: var(--accent-600); background: #fff0f1; }
.check input { accent-color: var(--accent-600); }
.need-card:has(input:checked) .need-card__check { background: var(--accent-600); border-color: var(--accent-600); }
.stepper__item.is-current, .stepper__item.is-done { border-color: var(--accent-600); }
.stepper__item.is-current .stepper__num { background: var(--accent); color: #fff; }
.stepper__item.is-done .stepper__num { background: var(--accent-600); color: #fff; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent-600); background: #fff0f1; }
.thank-you__icon { color: #fff; box-shadow: 0 0 0 10px rgba(229, 36, 46, .16); }
.article__header { background: radial-gradient(60% 90% at 90% 0%, rgba(229, 36, 46, .16), transparent 70%), var(--ink-950); }
.article__header .eyebrow { color: #ed626b; }
.article__header .eyebrow::before { background: #ed626b; }
.article__header .hl { color: #ed626b; }
.article__body .prose a { color: var(--accent-text); text-decoration-thickness: 1px; }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__icon, .case__features .icon { color: var(--accent-text); }
.project-card__media { padding: 18px 18px 0; }
.contact-card--accent .contact-card__icon { background: var(--accent-tint); color: var(--accent-text); }
.contact-card--accent .contact-card__value { color: var(--muted); }
.article-cta { background: var(--ink-900); }
.article-cta .article-cta__icon { background: var(--accent-tint); color: #ed626b; }

@media (max-width: 1319.98px) {
	.primary-nav { background: var(--surface); }
	.primary-nav__list a { color: var(--text); border-color: var(--line); }
}

/* Homepage hero carousel -------------------------------------------------- */
.hero--carousel { padding-top: clamp(40px, 6vw, 72px); }
.hero__slider { position: relative; padding-bottom: 54px; }
.hero__slides { min-height: 490px; }
.hero__slide { min-height: 490px; }
.hero__slide[hidden] { display: none !important; }
.hero__slide.is-active .hero__copy { animation: hero-copy-in .45s var(--ease) both; }
.hero__slide.is-active .hero__visual { animation: hero-visual-in .55s var(--ease) both; }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-visual-in { from { opacity: .65; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.hero__controls {
	position: absolute; left: var(--gutter); bottom: 8px; z-index: 2;
	display: flex; align-items: center; gap: 13px;
}
.hero__controls[hidden] { display: none; }
.hero__arrow {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255, 255, 255, .88);
	color: var(--text); cursor: pointer; transition: background .18s, border-color .18s, transform .18s;
}
.hero__arrow:hover { background: #fff; border-color: var(--text); transform: translateY(-1px); }
.hero__arrow .icon { width: 18px; height: 18px; }
.hero__dots { display: flex; align-items: center; gap: 7px; }
.hero__dot {
	width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px;
	background: #c9cbd0; cursor: pointer; transition: width .2s, background-color .2s;
}
.hero__dot.is-active { width: 26px; background: var(--accent); }
.hero__count { min-width: 48px; font-family: var(--mono); font-size: .73rem; color: var(--muted); }
.hero__count i { padding-inline: 3px; color: #a7aab1; font-style: normal; }
.hero__pause { padding: 7px 0; border: 0; background: transparent; color: var(--muted); font-size: .78rem; cursor: pointer; }
.hero__pause:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.hero__pause[hidden] { display: none; }
.hero-sticker, .hero-note {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
	padding: 15px 18px; border: 1px solid #ffd4d8; border-radius: 16px; background: #fff0f1; color: var(--text);
	box-shadow: 0 12px 30px rgba(32, 33, 38, .1); font-size: .88rem; font-weight: 650; line-height: 1.25;
}
.hero-sticker { right: -10px; bottom: 1%; transform: rotate(5deg); }
.hero-sticker b { color: var(--accent); font-size: 2.1rem; line-height: 1; }
.hero__visual--flow { display: grid; place-items: center; min-height: 330px; }
.hero__visual--flow::before { content: ""; position: absolute; width: min(76%, 390px); aspect-ratio: 1; border-radius: 50%; background: var(--paper); }
.hero__visual--flow .flow-card { position: relative; inset: auto; width: min(82%, 390px); padding: 26px; background: rgba(255, 255, 255, .97); color: var(--text); border: 1px solid var(--line); box-shadow: 0 25px 60px rgba(20, 21, 25, .14); }
.hero__visual--flow .flow-card__label { color: #8358c7; font-size: .74rem; }
.hero__visual--flow .flow-card__steps { color: var(--text); }
.hero-note--flow { right: 2%; bottom: -2%; transform: rotate(-4deg); background: #e8eaee; }
.hero-note--flow b, .hero-note--insight b { font-size: 1.6rem; }
.hero__visual--insight { padding: 0 6% 6% 0; }
.hero__insight { position: relative; z-index: 1; overflow: hidden; border: 8px solid #fff; border-radius: 18px; box-shadow: var(--shadow-lg); transform: rotate(2deg); }
.hero__insight img { width: 100%; }
.hero-note--insight { right: -3%; bottom: -1%; transform: rotate(-5deg); background: #fff0f1; }
@media (max-width: 1079.98px) {
	.hero__slides, .hero__slide { min-height: 0; }
	.hero__slider { padding-bottom: 64px; }
	.hero__controls { left: 50%; bottom: 10px; transform: translateX(-50%); }
	.hero__visual--flow { min-height: 290px; }
}
@media (max-width: 560px) {
	.hero--carousel { padding-top: 36px; }
	.hero__slider { padding-bottom: 62px; }
	.hero__title { font-size: clamp(3rem, 15vw, 4.6rem); }
	.hero__visual--flow { min-height: 260px; }
	.hero__visual--flow .flow-card { width: 88%; padding: 20px; }
	.hero-sticker { right: -2px; bottom: -2%; font-size: .78rem; }
	.hero__controls { gap: 9px; }
	.hero__arrow { width: 38px; height: 38px; }
	.hero__pause { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__slide.is-active .hero__copy, .hero__slide.is-active .hero__visual { animation: none; }
}

/* Goal-led service discovery --------------------------------------------- */
.growth-journey { padding-top: clamp(52px, 7vw, 88px); }
.growth-journey__intro { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.growth-journey__intro > div { max-width: 700px; }
.growth-journey__intro .section-lead { max-width: 58ch; }
.growth-journey__all { flex: none; margin-bottom: 4px; }
.growth-journey__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; }
.growth-journey__card {
	position: relative; display: flex; flex-direction: column; min-height: 230px; height: 100%;
	padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
	text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.growth-journey__card:hover { color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-4px); }
.growth-journey__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.growth-journey__num { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.growth-journey__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #fff0e9; color: #bd482d; }
.growth-journey__steps li:nth-child(2) .growth-journey__icon { background: #eee8fb; color: #7354ad; }
.growth-journey__steps li:nth-child(3) .growth-journey__icon { background: #fff3d5; color: #93640a; }
.growth-journey__steps li:nth-child(4) .growth-journey__icon { background: #e9f3f5; color: #28758a; }
.growth-journey__steps li:nth-child(5) .growth-journey__icon { background: #fbe9ee; color: #a33f5b; }
.growth-journey__stage { font-size: 1.14rem; font-weight: 760; letter-spacing: -.02em; }
.growth-journey__need { margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.growth-journey__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; font-size: .88rem; font-weight: 680; color: var(--accent-text); }
.growth-journey__cta .icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.growth-journey__card:hover .growth-journey__cta .icon { transform: translateX(3px); }
@media (max-width: 1050px) {
	.growth-journey__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.growth-journey__intro { display: block; }
	.growth-journey__all { margin-top: 22px; }
	.growth-journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.growth-journey__card { min-height: 210px; padding: 16px; }
}
@media (max-width: 420px) {
	.growth-journey__steps { grid-template-columns: 1fr; }
	.growth-journey__card { min-height: 0; }
}

/* Match the supplied rental-site reference and the five service pillars. */
:root {
	--paper: #f2f3f5;
	--accent: #e5242e;
	--accent-600: #c91620;
	--accent-text: #b81720;
	--accent-tint: rgba(229, 36, 46, .1);
	--svc-web: #e5242e;
	--svc-ecommerce: #e5242e;
	--svc-automation: #e5242e;
	--svc-analytics: #e5242e;
	--svc-security: #e5242e;
	--svc-marketing: #e5242e;
}
h1, h2, h3, h4, .section-title, .hero__title { font-family: var(--font); }
.hero__title { font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.section-title { font-weight: 750; letter-spacing: -.035em; }
.section--ink, .page-hero, .article__header { background: var(--paper); color: var(--text); }
.section--ink, .page-hero, .article__header { --fg: var(--text); --fg-muted: var(--muted); --border: var(--line); --hl-color: var(--accent-text); }
.page-hero .btn--light { --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--line-strong); }
.page-hero .btn--light:hover { --btn-bg: var(--surface); --btn-fg: var(--text); --btn-border: var(--text); }
.cb-consent { background: #fff; color: var(--text); box-shadow: 0 8px 28px rgba(20, 21, 25, .16); }
.cb-consent, .cb-consent * { --fg: var(--text); --fg-muted: var(--muted); --border: var(--line); }
.article__header { background: var(--paper); }
.service-card--primary { background: #fff; color: var(--text); border-color: var(--line); padding: 26px; }
.service-card--primary .service-card__text { color: var(--muted); font-size: 1rem; }
.service-card--primary .service-card__list li { background: var(--paper); color: var(--text); }
.service-card--primary .service-card__icon { background: var(--accent-tint); color: var(--accent); }
.service-card--primary .service-card__verb, .service-card--primary .service-card__cta { color: var(--accent-text); }
.service-card--primary:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.service-related-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.service-related-links a { color: var(--accent-text); font-size: .94rem; font-weight: 650; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 38%, transparent); text-underline-offset: 4px; }
.service-related-links a:hover { color: var(--accent-600); }
@media (min-width: 1100px) {
	.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
	.service-card--primary { grid-column: auto; }
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline-color: var(--accent-600); }
