/* Search Consult: clean, motion-led theme */

:root {
	--bg: #fbfaf8;
	--surface: #ffffff;
	--tint: #f3f1ed;
	--ink: #111114;
	--ink-2: #3a3a42;
	--muted: #6a6a73;
	--line: #e6e3de;
	--accent: #e3124b;
	--accent-2: #ff5a7e;
	--accent-soft: #fde7ed;
	--dark: #0e0e11;
	--dark-2: #17171c;
	--dark-line: #2a2a31;
	--radius: 20px;
	--radius-sm: 12px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-spring: cubic-bezier(.34, 1.4, .64, 1);
	--font-display: "Bricolage Grotesque", system-ui, sans-serif;
	--font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(760px + var(--gutter) * 2); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Type */
.display { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 18ch; }
.display em, .hero-title em, .page-title em { font-style: normal; color: var(--accent); }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em;
	color: var(--muted); margin-bottom: 18px;
}
.eyebrow a { text-decoration: none; }
.eyebrow-accent { color: var(--accent-2); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.tag { font: 600 10px/1 var(--font-body); font-style: normal; text-transform: uppercase; letter-spacing: .08em; background: var(--accent); color: #fff; padding: 4px 7px; border-radius: 99px; vertical-align: middle; margin-left: 6px; }

/* Buttons */
.btn {
	--bx: 0px; --by: 0px;
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--ink); color: #fff; text-decoration: none;
	font: 600 15px/1 var(--font-body);
	padding: 16px 24px; border-radius: 99px; border: 0; cursor: pointer;
	position: relative; overflow: hidden; isolation: isolate;
	transform: translate(var(--bx), var(--by));
	transition: transform .35s var(--ease-spring), background .3s, color .3s, box-shadow .3s;
}
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--accent); border-radius: inherit;
	transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 10px 30px -10px rgba(227, 18, 75, .55); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: #fff; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink);
	min-height: 44px;
}
.link-arrow .icon { transition: transform .35s var(--ease); }
a:hover > .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(5px); }

/* Scroll progress */
.progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	transition: transform .45s var(--ease), background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(251, 250, 248, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; text-decoration: none; font: 700 19px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.logo-pill { background: var(--accent); color: #fff; padding: 6px 9px 5px; border-radius: 8px; transition: transform .4s var(--ease-spring); }
.logo:hover .logo-pill { transform: rotate(-4deg) scale(1.05); }
.logo-light { color: #fff; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn), .sub-toggle {
	display: inline-flex; align-items: center; gap: 6px;
	font: 500 15px/1 var(--font-body); color: var(--ink); text-decoration: none;
	padding: 11px 14px; border-radius: 99px; background: none; border: 0; cursor: pointer;
	transition: background .25s;
}
.site-nav a:not(.btn):hover, .sub-toggle:hover, .has-sub:hover > .sub-toggle { background: var(--tint); }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.has-sub { position: relative; }
.has-sub:hover .sub-toggle svg, .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub {
	position: absolute; top: calc(100% + 10px); left: 50%;
	width: 380px; padding: 8px; background: var(--surface);
	border: 1px solid var(--line); border-radius: 18px;
	box-shadow: 0 30px 60px -20px rgba(17, 17, 20, .22);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98);
	transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.site-nav .sub a { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; white-space: normal; line-height: 1.35; }
.sub a strong { display: block; font-weight: 600; margin-bottom: 3px; }
.sub a small { display: block; color: var(--muted); font-size: 13px; }
.sub-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--accent); flex: none; transition: background .25s, color .25s, transform .35s var(--ease-spring); }
.sub a:hover .sub-icon { background: var(--accent); color: #fff; transform: rotate(-6deg); }
.site-nav .btn { margin-left: 8px; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
	.nav-toggle {
		display: grid; gap: 6px; place-content: center;
		width: 46px; height: 46px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
	}
	.nav-toggle span:not(.sr) { width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
	.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
	.site-nav {
		position: fixed; inset: 76px 0 0; background: var(--bg); padding: 16px var(--gutter) 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
	}
	/* Only animate once the visitor has used the toggle, so crossing the breakpoint doesn't flash the menu. */
	.nav-anim .site-nav { transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-nav a:not(.btn), .sub-toggle { font-size: 20px; padding: 16px 4px; width: 100%; justify-content: space-between; border-radius: 0; border-bottom: 1px solid var(--line); }
	.site-nav a:not(.btn):hover, .sub-toggle:hover { background: none; }
	.sub { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0; display: none; }
	.sub-toggle[aria-expanded="true"] + .sub { display: block; transform: none; }
	.site-nav .sub a { font-size: 16px; border-bottom: 0; justify-content: flex-start; }
	.site-nav .btn { margin: 20px 0 0; justify-content: center; }
}

/* Hero */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero { padding: clamp(60px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); margin-top: -76px; padding-top: calc(76px + clamp(60px, 10vw, 130px)); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb-a { width: 520px; height: 520px; right: -120px; top: -80px; background: radial-gradient(circle, #ffb3c6, transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, #ffd9c2, transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: -60px 40px; } }
.grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
	opacity: .6;
}
.hero-eyebrow { background: var(--surface); border: 1px solid var(--line); padding: 9px 14px; border-radius: 99px; color: var(--ink-2); letter-spacing: .08em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(227, 18, 75, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(227, 18, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 18, 75, 0); } }
.hero-title { font-size: clamp(2.6rem, 7.4vw, 6.2rem); line-height: .98; letter-spacing: -0.04em; max-width: 14ch; margin-bottom: 28px; }
.hero-lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chips span {
	font-size: 13px; font-weight: 500; color: var(--ink-2);
	padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
	transition: transform .35s var(--ease-spring), border-color .25s, color .25s;
}
.ai-chips span:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }

.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); margin-top: -76px; padding-top: calc(76px + clamp(56px, 9vw, 120px)); }
.page-title { font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: -0.035em; max-width: 16ch; }
.page-hero-article .page-title { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.byline { color: var(--muted); }

/* Split-word headline animation */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
/* A CSS animation, not a JS timer, so it still plays when the page loads in a background tab. */
.split .w > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(var(--wi) * 55ms + 80ms); }
@keyframes rise { from { transform: translateY(105%); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--surface); }
.marquee { padding: 28px 0 34px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-label { text-align: center; font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 24px; }
/* Each logo carries its own right padding (not a flex gap) so the -50% loop lands seamlessly. */
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client { display: flex; align-items: center; height: 60px; padding-right: clamp(48px, 6vw, 88px); }
.client img {
	width: auto; max-width: none;
	filter: grayscale(1); opacity: .55; mix-blend-mode: multiply;
	transition: filter .4s var(--ease), opacity .4s var(--ease), transform .5s var(--ease-spring);
}
.client:hover img { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-flush { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin-top: 18px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head-row .lede { max-width: 42ch; margin: 0; }

/* Cards with cursor spotlight */
.card {
	position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: clamp(24px, 3vw, 34px);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.spot { --mx: 50%; --my: 50%; isolation: isolate; overflow: hidden; }
.spot::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
	background: radial-gradient(360px circle at var(--mx) var(--my), rgba(227, 18, 75, .08), transparent 60%);
	transition: opacity .35s;
}
.spot:hover::after { opacity: 1; }
a.card, .card.spot { text-decoration: none; color: inherit; }
.card.spot:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(17, 17, 20, .28); border-color: #d9d4cd; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--ink-2); font-size: 16px; }
.card-num { display: block; font: 600 13px/1 var(--font-body); color: var(--accent); margin-bottom: 28px; letter-spacing: .08em; }

.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.service { display: flex; flex-direction: column; min-height: 260px; }
.service p { flex: 1; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--accent); margin-bottom: 26px; transition: transform .5s var(--ease-spring), background .3s, color .3s; }
.service-icon .icon { width: 24px; height: 24px; }
.service:hover .service-icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }

/* Dark AI feature */
.section-dark { background: var(--dark); color: #f2f1ee; position: relative; overflow: hidden; }
.section-dark::before {
	content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%;
	background: radial-gradient(circle, rgba(227, 18, 75, .28), transparent 65%); pointer-events: none;
}
.section-dark .lede { color: #b8b6b0; }
.section-dark .display em { color: var(--accent-2); }
.section-dark .display { max-width: 20ch; }
.ai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
@media (max-width: 820px) { .ai-split { grid-template-columns: 1fr; } }
.ai-card {
	display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border-radius: 24px;
	background: var(--dark-2); border: 1px solid var(--dark-line); text-decoration: none; color: inherit;
	transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.ai-card.spot::after { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 90, 126, .16), transparent 60%); }
.ai-card:hover { transform: translateY(-6px); border-color: #4a2a33; }
.ai-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.ai-card p { color: #b8b6b0; }
.ai-card .link-arrow { color: #fff; margin-top: auto; }
.ai-card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; margin-bottom: 30px; transition: transform .6s var(--ease-spring); }
.ai-card-icon .icon { width: 26px; height: 26px; }
.ai-card:hover .ai-card-icon { transform: rotate(-10deg) scale(1.08); }
.mini-list { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 10px; }
.mini-list li { position: relative; padding-left: 22px; color: #dcdad5; font-size: 15px; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1.5px; background: var(--accent-2); }

.answer-demo { margin-top: 56px; max-width: 760px; margin-inline: auto; background: rgba(255, 255, 255, .03); border: 1px solid var(--dark-line); border-radius: 24px; padding: clamp(20px, 3vw, 32px); }
.answer-q, .answer-a { display: flex; gap: 14px; align-items: flex-start; }
.answer-q { margin-bottom: 20px; }
.answer-q p { background: #24242b; padding: 14px 18px; border-radius: 16px 16px 16px 4px; margin: 0; }
.answer-a p { margin: 0; padding-top: 6px; color: #e9e7e2; min-height: 4.8em; }
.avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #2c2c34; font-size: 12px; font-weight: 600; }
.avatar-ai { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.avatar-ai .icon { width: 18px; height: 18px; }
.typewriter mark { background: rgba(255, 90, 126, .22); color: #fff; padding: 0 3px; border-radius: 4px; }
.typewriter.typing::after { content: ""; display: inline-block; width: 8px; height: 1.1em; background: var(--accent-2); margin-left: 3px; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.answer-note { margin: 22px 0 0; text-align: center; font-size: 14px; color: #8d8b85; }

/* Results */
.results { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 1100px) { .results { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.stat:hover { transform: translateY(-6px) rotate(-1deg); }
.stat-num, .stat-unit { font: 700 clamp(2.6rem, 5vw, 3.8rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--ink); }
.stat-unit { color: var(--accent); }
.stat p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.stat p strong { color: var(--ink); }

/* Consultancy steps */
.consultancy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
@media (max-width: 900px) { .consultancy { grid-template-columns: 1fr; } }
.consultancy-copy { position: sticky; top: 110px; }
@media (max-width: 900px) { .consultancy-copy { position: static; } }
.consultancy-copy p { color: var(--ink-2); max-width: 52ch; margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 26px; padding: 32px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li:hover { padding-left: 12px; }
.steps li > span { font: 600 14px/1.6 var(--font-body); color: var(--accent); }
.steps h3 { font-size: 1.5rem; }
.steps p { color: var(--ink-2); margin: 0; }

/* Quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; padding: clamp(28px, 4vw, 44px); }
.quote::before { content: "\201C"; display: block; font: 700 72px/0.6 var(--font-display); color: var(--accent); margin: 14px 0 6px; }
.quote blockquote { margin: 0 0 24px; font: 500 clamp(1.1rem, 1.8vw, 1.35rem)/1.45 var(--font-display); letter-spacing: -.01em; }
.quote figcaption { color: var(--muted); font-size: 14px; font-weight: 500; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; min-height: 280px; }
.post-card time { font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.post-card h3 { font-size: 1.45rem; }
.post-card p { flex: 1; }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; }
.pager .current { background: var(--ink); color: #fff; }

/* Page body: service page sections */
.page-body > .block { padding: clamp(56px, 8vw, 110px) 0; }
.page-body > .block:nth-child(even) { background: var(--tint); }
.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .split-block { grid-template-columns: 1fr; } }
.split-block h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 16ch; }
.split-block p { color: var(--ink-2); }
.feature-list { display: grid; gap: 12px; }
.feature { display: flex; gap: 16px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.feature:hover { transform: translateX(6px); border-color: var(--accent); box-shadow: -6px 0 0 -2px var(--accent); }
.feature .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; font-family: var(--font-body); letter-spacing: -.01em; }
.feature p { margin: 0; font-size: 15px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }
.process .card::before { counter-increment: step; content: "0" counter(step); display: block; font: 600 13px/1 var(--font-body); color: var(--accent); margin-bottom: 24px; letter-spacing: .08em; }
.block-head { margin-bottom: 40px; }
.block-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 22ch; }
.block-head p { color: var(--ink-2); max-width: 60ch; }
.callout { background: var(--dark); color: #f2f1ee; border-radius: 28px; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 18, 75, .3), transparent 65%); }
.callout h2 { position: relative; font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22ch; }
.callout p { position: relative; color: #b8b6b0; max-width: 60ch; }
.callout .btn { position: relative; margin-top: 10px; }
.callout .btn-light:hover { color: #fff; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.platforms span { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; transition: transform .35s var(--ease-spring), border-color .25s; }
.platforms span:hover { transform: translateY(-3px); border-color: var(--accent); }

/* Prose (blog posts) */
.prose { padding-bottom: clamp(56px, 8vw, 110px); font-size: 18px; }
.prose p { color: var(--ink-2); }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose strong { color: var(--ink); }

/* Consult form */
.consult { padding: clamp(72px, 10vw, 140px) 0; background: var(--tint); }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .consult-grid { grid-template-columns: 1fr; } }
.consult .display { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 20ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); }
.ticks .icon { color: var(--accent); margin-top: 4px; }
.consult-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font: 600 1.4rem/1 var(--font-display); text-decoration: none; }
.consult-phone:hover { color: var(--accent); }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.04); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 500; }
.field input, .field textarea {
	font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
	padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
	transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.form .btn { justify-self: start; }
.notice { padding: 14px 16px; border-radius: 12px; margin: 0; font-size: 15px; }
.notice-ok { background: #e6f6ec; color: #155c32; }
.notice-err { background: var(--accent-soft); color: #8a0e30; }

/* Footer */
.site-footer { background: var(--dark); color: #d8d6d1; padding: clamp(72px, 10vw, 120px) 0 32px; }
.footer-cta { padding-bottom: clamp(56px, 8vw, 90px); border-bottom: 1px solid var(--dark-line); margin-bottom: 56px; }
.footer-cta .display { color: #fff; max-width: 18ch; margin-bottom: 32px; }
.footer-cta .display em { color: var(--accent-2); }
.footer-cta .eyebrow { color: var(--accent-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .muted { color: #8d8b85; margin-top: 20px; max-width: 36ch; font-size: 15px; }
.footer-grid h3 { font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: #8d8b85; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-grid a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .25s; }
.footer-grid a:hover { color: #fff; background-size: 100% 1px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; color: #8d8b85; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Once revealed, hand transitions back to the hover styles. */
.js .reveal.done { transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s, background .3s, padding .4s var(--ease); }
.js .card.spot.reveal.done:hover, .js .ai-card.reveal.done:hover { transform: translateY(-6px); }
.js .stat.reveal.done:hover { transform: translateY(-6px) rotate(-1deg); }
.js .feature.reveal.done:hover { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal, .split .w > span { opacity: 1; transform: none; }
	.marquee-track { animation: none; }
}

/* ------------------------------------------------------------------
   Compact card grids: smaller boxes, more per row, less scrolling.
   ------------------------------------------------------------------ */
.card { padding: clamp(18px, 2vw, 26px); border-radius: 16px; }
.card h3 { font-size: 1.15rem; margin-bottom: .35em; }
.card p { font-size: 15px; line-height: 1.5; margin-bottom: .8em; }
.card-num { margin-bottom: 14px; }

.service-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.service { min-height: 0; }
.service-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; }
.service-icon .icon { width: 20px; height: 20px; }
.service .link-arrow { min-height: 32px; font-size: 14px; }

.usp-grid, .process, .quotes, .post-grid { gap: 12px; }
.process .card::before { margin-bottom: 12px; }
.post-card { min-height: 0; }
.post-card time { margin-bottom: 14px; }

.feature-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature { flex-direction: column; gap: 10px; padding: 16px; }
.feature .icon { margin-top: 0; }
.feature h3 { font-size: 1rem; }
.feature p { font-size: 14px; line-height: 1.45; }
.js .feature.reveal.done:hover, .feature:hover { transform: translateY(-4px); box-shadow: 0 -3px 0 0 var(--accent) inset; }

.ai-card { padding: clamp(22px, 3vw, 32px); }
.ai-card-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.mini-list { margin: 4px 0 20px; gap: 6px; }
.mini-list li { font-size: 14px; }

.stat { padding: 20px 18px; }
.stat p { margin-top: 10px; }

.quote { padding: clamp(22px, 3vw, 32px); }
.quote::before { font-size: 56px; margin: 10px 0 2px; }
.quote blockquote { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 14px; }

.steps li { padding: 22px 0; gap: 18px; }
.steps h3 { font-size: 1.25rem; }

/* Phones: two boxes per row wherever the content allows. */
@media (max-width: 640px) {
	.usp-grid, .service-grid, .process, .post-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.card { padding: 14px; border-radius: 14px; }
	.card h3, .post-card h3 { font-size: .98rem; line-height: 1.2; }
	.card p { font-size: 13px; line-height: 1.45; margin-bottom: .6em; }
	.card-num, .process .card::before { margin-bottom: 8px; font-size: 11px; }
	.service-icon { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
	.service-icon .icon { width: 17px; height: 17px; }
	.service .link-arrow, .post-card .link-arrow { font-size: 12.5px; min-height: 28px; }
	.post-card time { font-size: 11.5px; margin-bottom: 8px; }
	.tag { font-size: 8.5px; padding: 3px 5px; margin-left: 3px; }

	.feature-list { gap: 8px; }
	.feature { padding: 12px; gap: 6px; }
	.feature .icon { width: 18px; height: 18px; }
	.feature h3 { font-size: .9rem; }
	.feature p { font-size: 12.5px; }

	.stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.stat { padding: 14px 10px; }
	.stat-num, .stat-unit { font-size: 1.7rem; }
	.stat p { font-size: 11.5px; margin-top: 8px; }

	.quote::before { font-size: 44px; }
	.quote blockquote { font-size: .98rem; }
	.ai-card h3 { font-size: 1.3rem; }
	.ai-card p { font-size: 14px; }
	.answer-demo { margin-top: 32px; }

	.section { padding: 56px 0; }
	.page-body > .block { padding: 48px 0; }
	.section-head, .block-head { margin-bottom: 24px; }
	.consultancy { gap: 24px; }
	.steps li { padding: 16px 0; gap: 14px; }
	.steps h3 { font-size: 1.05rem; }
	.steps p { font-size: 14px; }
	.split-block { gap: 24px; }
}

/* An odd last card stretches across the row instead of sitting alone at half width. */
.feature-list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) {
	.usp-grid > :last-child:nth-child(odd),
	.service-grid > :last-child:nth-child(odd),
	.process > :last-child:nth-child(odd),
	.post-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
