/* ---- css/sections/hero.css ---- */
/* ==========================================================================
   02 · HERO
   ========================================================================== */

.hero {
	padding-top: 168px;
	padding-bottom: 80px;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
	gap: clamp(24px, 3vw, 40px);
	align-items: center;
}

.hero__eyebrow { margin-bottom: 32px; }
.hero__title { margin-bottom: 34px; }
.hero__intro { max-width: 520px; margin-bottom: 28px; }
.hero__tagline { margin-top: 30px; }

/* ---------- Visual ---------- */
.hero-visual {
	position: relative;
	aspect-ratio: 41 / 50;
	overflow: hidden;
	border-radius: 28px;
	isolation: isolate;
}

/* Figure (cyborg cut-out) */
.hero-figure {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 86%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.hero-figure__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left bottom;
}

.wl-gin { animation: wl-gin 1.5s steps(1, end) .35s both; filter: url(#wl-distort); }
.wl-gr { opacity: 0; animation: wl-gr 1.5s steps(1, end) .35s both; mix-blend-mode: multiply; filter: url(#wl-distort) drop-shadow(0 0 0 #ff2a55) sepia(1) saturate(6) hue-rotate(-30deg); }
.wl-gc { opacity: 0; animation: wl-gc 1.5s steps(1, end) .35s both; mix-blend-mode: multiply; filter: url(#wl-distort) sepia(1) saturate(5) hue-rotate(130deg); }

/* Laser scan — clipped to the silhouette, runs over the figure */
.hero-figure__scan {
	position: absolute;
	inset: 0;
	z-index: 2;
	-webkit-mask: var(--figure-mask) left bottom / contain no-repeat;
	mask: var(--figure-mask) left bottom / contain no-repeat;
}

.hero-figure__laser {
	position: absolute;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
	box-shadow: 0 0 22px 4px var(--color-accent-glow);
	border-radius: 4px;
	animation: wl-scan 7s var(--ease-inout) 1.6s infinite;
	opacity: 0;
}

/* KPI cards: wrapper = position + scroll depth, __float = idle float, __pop = 13s pop loop */
.hero-card {
	position: absolute;
	z-index: 3;
	width: 37%;
	right: 2%;
}

.hero-card.is-back { z-index: 0; }

.hero-card--revenue { top: 5%; left: 3%; right: auto; width: 34%; }
.hero-card--growth { top: 2%; }
.hero-card--api { top: 36%; }
.hero-card--commerce { top: 68%; }

.hero-card__float { animation: wl-float 6s ease-in-out infinite; }
.hero-card--growth .hero-card__float { animation-duration: 6.6s; animation-delay: -1s; }
.hero-card--api .hero-card__float { animation-duration: 5.8s; animation-delay: -2.4s; }
.hero-card--commerce .hero-card__float { animation-duration: 7.2s; animation-delay: -.6s; }
.hero-card--revenue .hero-card__float { animation-duration: 6.9s; animation-delay: -3s; }

.hero-card__pop {
	opacity: 0;
	animation: wl-pop 13s var(--ease-primary) var(--pop-delay, 0s) infinite both;
}

.hero-card__pop .kpi-card__bar > span {
	animation: wl-bar 13s var(--ease-primary) var(--pop-delay, 0s) infinite both;
}

/* Revenue chart card */
.kpi-card--chart {
	padding: 14px;
	box-shadow: 0 30px 60px -28px rgba(17, 17, 17, .4);
}

.kpi-card__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kpi-card__eyebrow { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: var(--ls-label-sm); color: var(--color-subtle); white-space: nowrap; }
.kpi-card__trend { font-family: var(--font-mono); font-size: 10px; color: var(--color-accent); white-space: nowrap; }
.kpi-card__big { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: var(--ls-title); margin-top: 6px; }

.kpi-card__bars {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	height: 54px;
	margin-top: 10px;
}

.kpi-card__bars span {
	flex: 1;
	height: var(--h);
	border-radius: 4px 4px 2px 2px;
	background: #e3e3dc;
}

.kpi-card__bars .is-accent { background: var(--color-accent); }

/* Chips */
.hero-chip { position: absolute; z-index: 5; }
.hero-chip--google { top: 59%; left: 2%; }
.hero-chip--meta { top: 57%; right: 41%; }
.hero-chip--budget { top: 73%; left: 3%; }
.hero-chip--seo { top: 47%; left: 4%; }
.hero-chip--crm { top: 80%; right: 41%; }

.hero-visual__live {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 5;
	padding: 8px 14px;
	letter-spacing: var(--ls-label-sm);
	text-transform: none;
}

/* ---------- Showcase browser ---------- */
.hero-showcase { margin-top: 72px; transform-origin: 50% 0; }

.screen {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dur-slow) var(--ease-primary), visibility 0s var(--dur-slow);
	overflow: hidden;
}

.screen.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity var(--dur-slow) var(--ease-primary), visibility 0s;
	z-index: 1;
}

.screen--project { background: var(--color-dark); }

.screen__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transform: scale(1.04);
	transition: transform 7s linear;
}

.screen.is-active .screen__video { transform: scale(1); }

.screen__live { position: absolute; top: 22px; right: 22px; z-index: 4; }
.screen--project.has-device .screen__live { right: auto; left: 22px; }

.screen__label {
	position: absolute;
	top: 36px;
	right: 36px;
	font-family: var(--font-mono);
	font-size: var(--fs-mono-sm);
	color: var(--color-accent);
	letter-spacing: var(--ls-label);
}

.screen__chip { position: absolute; z-index: 3; }
.screen__chip--0 { top: 16%; left: 3%; }
.screen__chip--1 { top: 38%; right: 3%; }
.screen__chip--2 { bottom: 12%; left: 5%; }
.screen__chip--3 { bottom: 24%; right: 3%; }
.has-device .screen__chip--1,
.has-device .screen__chip--3 { right: 25%; }

.screen__metric { position: absolute; right: 3%; bottom: 18px; z-index: 3; }
.has-device .screen__metric { right: 25%; }

.screen__device { z-index: 2; }

.screen__link { position: absolute; inset: 0; z-index: 2; }

/* Chips/badges animate in when a screen becomes active */
.screen .screen__chip,
.screen .screen__metric {
	opacity: 0;
	translate: 0 12px;
	transition: opacity .6s var(--ease-primary), translate .8s var(--ease-primary);
}

.screen.is-active .screen__chip,
.screen.is-active .screen__metric { opacity: 1; translate: 0 0; }
.screen.is-active .screen__chip--0 { transition-delay: .35s; }
.screen.is-active .screen__chip--1 { transition-delay: .5s; }
.screen.is-active .screen__chip--2 { transition-delay: .65s; }
.screen.is-active .screen__chip--3 { transition-delay: .8s; }
.screen.is-active .screen__metric { transition-delay: 1s; }

.screen .screen__device {
	translate: 0 24px;
	opacity: 0;
	transition: opacity .7s var(--ease-primary) .2s, translate 1s var(--ease-primary) .2s;
}

.screen.is-active .screen__device { translate: 0 0; opacity: 1; }

/* System screens */
.screen--system { background: #fff; }
.screen--ai,
.screen--growth { background: var(--color-dark-2); }

.sys-web,
.sys-ai,
.sys-growth {
	position: absolute;
	inset: 0;
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sys-ai { gap: 16px; }

.sys-web__nav { display: flex; justify-content: space-between; align-items: center; }
.sys-web__links { display: flex; gap: 16px; align-items: center; }
.sys-web__btn { width: 68px; height: 24px; border-radius: 8px; background: var(--color-ink); }
.sys-web__h { height: 48px; border-radius: 10px; }
.sys-web__h:first-of-type { margin-top: 18px; }
.sys-web__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: auto; }
.sys-web__cards span { height: 120px; border-radius: 16px; background: #f1f1ec; }

.sys-ai__prompt {
	background: var(--a-white-05);
	border: 1px solid var(--a-white-08);
	border-radius: var(--radius-btn);
	padding: 18px;
	color: var(--color-on-dark-2);
	font-family: var(--font-mono);
	font-size: 13px;
}

.sys-ai__caret { animation: wl-caret 1s step-end infinite; }

.sys-growth__head { display: flex; justify-content: space-between; align-items: flex-end; }
.sys-growth__label { font-family: var(--font-mono); font-size: var(--fs-mono-sm); color: var(--color-subtle); margin-bottom: 8px; }
.sys-growth__value { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: #fff; letter-spacing: var(--ls-title); }
.sys-growth__trend { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--color-accent); }
.sys-growth__bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
.sys-growth__bars span { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: var(--a-white-08); transform-origin: bottom; transform: scaleY(.2); transition: transform 1.2s var(--ease-primary); }
.sys-growth__bars .is-mid { background: #ffffff1f; }
.sys-growth__bars .is-accent { background: var(--color-accent); }
.screen--growth.is-active .sys-growth__bars span { transform: scaleY(1); }
.screen--growth.is-active .sys-growth__bars span:nth-child(2) { transition-delay: .06s; }
.screen--growth.is-active .sys-growth__bars span:nth-child(3) { transition-delay: .12s; }
.screen--growth.is-active .sys-growth__bars span:nth-child(4) { transition-delay: .18s; }
.screen--growth.is-active .sys-growth__bars span:nth-child(5) { transition-delay: .24s; }
.screen--growth.is-active .sys-growth__bars span:nth-child(6) { transition-delay: .3s; }

.hero-showcase .dots__item { cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hero-chip { font-size: 12.5px; padding: 7px 10px; }
	.kpi-card__value { font-size: 19px; }
	.kpi-card__name { font-size: 13px; }
}

@media (max-width: 860px) {
	.hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; }
	.hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.hero__eyebrow { margin-bottom: 24px; }
	.hero__title { margin-bottom: 26px; }
	.hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
	.hero-showcase { margin-top: 48px; }
}

@media (max-width: 767px) {
	.browser__viewport { --browser-h: min(132vw, 560px); }
	.screen__video { object-position: left top; }
	.screen--project.has-device .screen__video { filter: brightness(.55) blur(2px); transform: scale(1.08); }
	.screen--project.has-device .screen__device { right: 50%; top: 12%; height: 82%; transform: translateX(50%); }
	.screen__chip { font-size: 12px; padding: 7px 10px 7px 7px; }
	.screen__chip .chip__icon { width: 18px; height: 18px; border-radius: 6px; }
	.screen__chip--2,
	.screen__chip--3 { display: none; }
	.has-device .screen__chip--0 { top: 9%; left: 4%; }
	.has-device .screen__chip--1 { top: auto; bottom: 22%; right: 4%; }
	.screen__metric,
	.has-device .screen__metric { right: auto; left: 50%; translate: -50% 12px; bottom: 12px; font-size: 13px; padding: 9px 12px; }
	.screen.is-active .screen__metric { translate: -50% 0; }
	.screen__live { top: 12px; right: 12px; font-size: 10px; padding: 5px 9px; }
	.screen--project.has-device .screen__live { left: 12px; }
	.sys-web, .sys-ai, .sys-growth { padding: 22px; gap: 12px; }
	.sys-web__cards span { height: 72px; }
	.sys-growth__value { font-size: 30px; }
	.screen__label { top: 22px; right: 22px; }
	.browser__footer { padding-inline: 4px; }
	.browser__caption { font-size: 10.5px; }
	.dots { gap: 4px; }
	.dots__item { width: 5px; height: 5px; }
	.dots__item[aria-current="true"] { width: 16px; }

	.hero-chip { font-size: 11.5px; padding: 6px 9px; border-radius: 10px; }
	.hero-chip--meta, .hero-chip--crm { right: 36%; }
	.kpi-card { padding: 7px; border-radius: 14px; }
	.kpi-card--chart { padding: 10px; }
	.kpi-card__media { height: 26px; }
	.kpi-card__tag { font-size: 8px; top: 6px; left: 6px; padding: 2px 5px; }
	.kpi-card__value { font-size: 16px; }
	.kpi-card__name { font-size: 11.5px; }
	.kpi-card__meta { font-size: 8.5px; }
	.kpi-card__big { font-size: 18px; }
	.kpi-card__bars { height: 36px; }
	.hero-visual__live { font-size: 10px; padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-card__pop { opacity: 1; animation: none; }
	.hero-card__pop .kpi-card__bar > span { animation: none; transform: none; }
	.hero-card__float { animation: none; }
	.wl-gin { animation: none; filter: none; }
	.wl-gr, .wl-gc, .hero-figure__laser { display: none; }
}

/* ---------- Intro (CSS only → no JS dependency, fast) ---------- */
@keyframes wl-line-in { from { transform: translate3d(0, 108%, 0); } to { transform: none; } }
@keyframes wl-fade-up { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes wl-visual-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.js-motion .hero__title .line-mask__inner { animation: wl-line-in 1.1s var(--ease-primary) both; }
.js-motion .hero__title .line-mask:nth-child(1) .line-mask__inner { animation-delay: .08s; }
.js-motion .hero__title .line-mask:nth-child(2) .line-mask__inner { animation-delay: .18s; }
.js-motion .hero__title .line-mask:nth-child(3) .line-mask__inner { animation-delay: .28s; }
.js-motion .hero__eyebrow { animation: wl-fade-up .8s var(--ease-primary) both; }
.js-motion .hero [data-hero-fade] { animation: wl-fade-up .9s var(--ease-primary) .5s both; }
.js-motion .hero .btn-row[data-hero-fade] { animation-delay: .6s; }
.js-motion .hero .hero__tagline { animation-delay: .7s; }
.js-motion .hero-visual { animation: wl-visual-in 1.2s var(--ease-primary) .15s both; }
.js-motion .hero-showcase { animation: wl-fade-up 1.1s var(--ease-primary) .5s both; }

/* ==========================================================================
   Project stage (replaces the chip-cluttered browser showcase)
   ========================================================================== */
.pstage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(28px, 3vw, 48px);
	align-items: stretch;
}

.pstage__main { position: relative; padding-right: 6%; padding-bottom: 7%; }

.pstage__frame {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	background: var(--color-dark);
	box-shadow: 0 60px 120px -50px rgba(17, 17, 17, .5), 0 0 0 1px rgba(17, 17, 17, .08);
}

.pstage__chrome { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 18px; background: var(--color-chrome); border-bottom: 1px solid var(--color-line-soft); }
.pstage__url { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: #8a8a82; background: #fff; border: 1px solid #e6e6e0; border-radius: 8px; padding: 4px 14px; }
.pstage__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); }

.pstage__screens { position: relative; aspect-ratio: 16 / 9.4; }
.pstage__screen { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease-primary); }
.pstage__screen.is-active { opacity: 1; z-index: 1; }
.pstage__screen video { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.03); transition: transform 7s linear; }
.pstage__screen.is-active video { transform: scale(1); }

.pstage__phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 16%;
	aspect-ratio: 9 / 19.5;
	border-radius: 30px;
	padding: 7px;
	background: #0b0b0a;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06) inset;
	z-index: 3;
	overflow: hidden;
}

.pstage__phone-vid { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: cover; border-radius: 27px; opacity: 0; transition: opacity .7s var(--ease-primary); background: #fff; }
.pstage__phone-vid.is-active { opacity: 1; }
.pstage__phone .device__island { z-index: 2; top: 13px; }

.pstage__rail { display: flex; flex-direction: column; padding: 8px 0 4px; }
.pstage__infos { position: relative; flex: 1; min-height: 260px; margin-top: 22px; }
.pstage__info { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-primary), transform .7s var(--ease-primary); pointer-events: none; }
.pstage__info.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.pstage__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.05; letter-spacing: var(--ls-heading); }
.pstage__sub { margin-top: 8px; color: var(--color-muted); font-size: 15px; }
.pstage__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pstage__chips li { font-family: var(--font-mono); font-size: 11.5px; border: 1px solid var(--color-line); border-radius: 999px; padding: 6px 12px; color: var(--color-text-strong); }
.pstage__proof { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.pstage__link { display: flex; width: fit-content; gap: 8px; margin-top: 22px; font-weight: 500; border-bottom: 1px solid var(--color-ink); padding-bottom: 2px; }

.pstage__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--color-line); }
.pstage__tab { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 11px 0; text-align: left; font-size: 14px; color: var(--color-muted); border-bottom: 1px solid var(--color-line); transition: color .3s; }
.pstage__tab:hover, .pstage__tab[aria-current="true"] { color: var(--color-ink); }
.pstage__tab-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.pstage__tab-bar span { display: block; height: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: left; }
@keyframes pstage-fill { to { transform: scaleX(1); } }

@media (max-width: 1100px) {
	.pstage { grid-template-columns: minmax(0, 1fr); }
	.pstage__infos { min-height: 210px; }
	.pstage__tabs { flex-direction: row; overflow-x: auto; gap: 18px; border-top: 0; }
	.pstage__tab { flex: none; border-bottom: 0; white-space: nowrap; }
}
@media (max-width: 600px) {
	.pstage__main { padding-right: 14%; }
	.pstage__phone { width: 30%; border-radius: 22px; padding: 5px; }
	.pstage__phone-vid { inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); border-radius: 18px; }
	.pstage__screens { aspect-ratio: 4 / 3.2; }
}
@media (max-width: 600px) { .pstage__infos { min-height: 300px; } }
/* ---- css/sections/proof.css ---- */
/* 03 · PROOF */
.proof { padding-top: 100px; padding-bottom: 90px; }

.proof__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	padding: 52px 0;
	border-top: 1px solid var(--color-line);
	border-bottom: 1px solid var(--color-line);
}

.proof__grid dd { margin: 0; }
.proof__grid .metric { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.proof__grid .metric__label { margin-top: 14px; }

.proof__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.logo-strip {
	display: flex;
	gap: 40px;
	align-items: center;
	flex-wrap: wrap;
	opacity: .6;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: var(--ls-tight);
}

@media (max-width: 860px) {
	.proof { padding-top: 64px; padding-bottom: 56px; }
	.proof__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; padding: 40px 0; }
	.logo-strip { gap: 14px 26px; font-size: 16px; }
}
/* ---- css/sections/growth-case.css ---- */
/* 04 · FEATURED GROWTH CASE */
.growth-case { padding-bottom: 110px; }

.growth-case__panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

.growth-case__copy {
	padding: clamp(40px, 5vw, 76px);
	display: flex;
	flex-direction: column;
}

.growth-case__copy .eyebrow { margin-bottom: 28px; }
.growth-case__title { margin-bottom: 28px; }
.growth-case__text { max-width: 460px; margin-bottom: auto; }
.growth-case__kpi { margin: 44px 0 36px; }
.growth-case__value { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: var(--ls-title); line-height: 1.1; }
.growth-case__label { margin-top: 8px; }
.growth-case__btn { align-self: flex-start; }

.growth-case__flow {
	padding: clamp(28px, 3vw, 48px);
	display: flex;
	align-items: center;
}

.growth-case__steps { width: 100%; gap: 12px; }
.growth-case__steps .step { margin-left: calc(var(--i) * 24px); }

@media (max-width: 860px) {
	.growth-case { padding-bottom: 72px; }
	.growth-case__panel { grid-template-columns: 1fr; }
	.growth-case__flow { padding-top: 0; }
	.growth-case__steps .step { margin-left: calc(var(--i) * 12px); }
	.growth-case__value { font-size: 28px; }
}
/* ---- css/sections/build.css ---- */
/* 05 · BUILD
   Base (no JS / mobile): 3 framed tiles grid (design).
   .is-pinned (desktop + motion): tabs left, stacked frames right. */

.build__stage { position: relative; }

.build__tabs { display: none; }

.build__frames {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.build__case { height: 440px; }

.build__slot {
	display: flex;
	align-items: flex-end;
	padding: 26px;
}

.build__slot .slot__label { top: 22px; left: 24px; }

.build__card {
	position: relative;
	z-index: 3;
	background: var(--color-paper);
	border: 1px solid var(--color-line-soft);
	border-radius: var(--radius-lg);
	padding: 20px 24px;
	max-width: 320px;
}

.build__card .body-sm { margin-top: 6px; }

.slot--dark .build__card {
	background: #111;
	border-color: var(--a-white-10);
	color: #fff;
}

.slot--dark .build__card .body-sm { color: var(--color-on-dark-mid); }

/* Screen inside the frame (real project recording) */
.build__screen {
	position: absolute;
	inset: 64px 22px 22px;
	z-index: 1;
}

.build__browser {
	position: absolute;
	inset: 0 18% 18% 0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .45);
}

.build__chrome {
	height: 26px;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 0 10px;
	background: var(--color-chrome);
	border-bottom: 1px solid var(--color-line-soft);
}

.build__chrome span { width: 7px; height: 7px; border-radius: 50%; background: var(--color-chrome-dot); }
.build__chrome em { margin-left: 8px; font-style: normal; font-family: var(--font-mono); font-size: 9.5px; color: #9a9a92; }

.build__video {
	position: absolute;
	top: 26px;
	left: 0;
	width: 100%;
	height: calc(100% - 26px);
	object-fit: cover;
	object-position: top;
}

.build__phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 26%;
	aspect-ratio: 9 / 19.5;
	border-radius: 18px;
	background: #0b0b0a;
	padding: 4px;
	box-shadow: var(--shadow-device);
}

.build__phone video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

/* ---------- Pinned storytelling (desktop) ---------- */
.build.is-pinned .build__stage {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: 56px;
	align-items: center;
}

.build.is-pinned .build__tabs {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--color-line);
}

.build__tab {
	position: relative;
	padding: 26px 0 28px;
	border-bottom: 1px solid var(--color-line);
	opacity: .35;
	transition: opacity .5s var(--ease-standard);
}

.build__tab.is-active { opacity: 1; }

.build__tab-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.build__tab-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(24px, 2.2vw, 32px);
	letter-spacing: var(--ls-tight);
}

.build__tab-num { font-family: var(--font-mono); font-size: var(--fs-mono-sm); color: var(--color-muted); }

.build__tab-text,
.build__tab .tag-list {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	opacity: 0;
	transition: opacity .5s var(--ease-standard), margin .6s var(--ease-primary), max-height .7s var(--ease-primary);
	max-height: 0;
}

.build__tab.is-active .build__tab-text { opacity: 1; max-height: 80px; margin-top: 10px; }
.build__tab.is-active .tag-list { opacity: 1; max-height: 120px; margin-top: 16px; display: flex; }
.build__tab-text { color: var(--color-muted); font-size: var(--fs-body); }
.build__tab .tag { padding: 7px 12px; font-size: 11.5px; }

.build__tab-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	overflow: hidden;
}

.build__tab-bar span {
	display: block;
	height: 100%;
	background: var(--color-ink);
	transform: scaleX(0);
	transform-origin: left;
}

.build.is-pinned .build__frames {
	display: block;
	position: relative;
	height: min(calc(100vh - 420px), 560px);
	min-height: 420px;
}

.build.is-pinned .build__case {
	position: absolute;
	inset: 0;
	height: auto;
	opacity: 0;
	visibility: hidden;
}

.build.is-pinned .build__case.is-active { visibility: visible; }

@media (max-width: 1024px) {
	.build__frames { grid-template-columns: 1fr; }
	.build__case { height: 420px; }
}

@media (max-width: 560px) {
	.build__case { height: 380px; }
	.build__screen { inset: 58px 14px 120px; }
	.build__slot { padding: 16px; }
	.build__card { padding: 16px 18px; }
}

/* Pinned: section fills the viewport, header clearance on top */
.build.is-pinned { min-height: 100vh; padding-top: calc(var(--header-h) + 24px); padding-bottom: 32px; }
.build.is-pinned .section-head { margin-bottom: 36px; }

/* ---------- Hard-fact cards (replace project screens) ---------- */
.build__slot { padding: 64px 18px 18px; }
.build__facts { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.fact {
	display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
	padding: 18px 18px 16px; border-radius: 20px; background: var(--color-paper); border: 1px solid var(--color-line-soft);
	box-shadow: 0 24px 40px -32px rgba(17, 17, 17, .45); overflow: hidden; position: relative;
	opacity: 0; transform: translateY(24px) scale(.97);
	transition: opacity .6s var(--ease-primary), transform .8s var(--ease-primary), box-shadow .4s;
	transition-delay: calc(var(--i) * .09s + .1s);
}
.build__case.is-active .fact, html:not(.js-motion) .fact, .build:not(.is-pinned) .build__case.is-in .fact { opacity: 1; transform: none; }
.fact:hover { box-shadow: 0 30px 60px -30px rgba(17, 17, 17, .5); }
.slot--dark .fact { background: #161615; border-color: var(--a-white-08); color: var(--color-on-dark); }
.fact__vis { flex: 1; display: flex; align-items: center; justify-content: flex-start; min-height: 64px; }
.fact__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.2; letter-spacing: var(--ls-tight); }
.fact__proof { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.45; color: var(--color-subtle); }
.slot--dark .fact__proof { color: var(--color-on-dark-muted); }

/* visuals */
.fv-tokens { display: flex; align-items: center; gap: 6px; }
.fv-tokens span { width: 26px; height: 26px; border-radius: 8px; background: var(--c); border: 1px solid rgba(0,0,0,.08); animation: fv-pop 3s var(--ease-primary) infinite; }
.fv-tokens span:nth-child(2) { animation-delay: .15s; } .fv-tokens span:nth-child(3) { animation-delay: .3s; }
.fv-tokens b { font-family: var(--font-display); font-size: 26px; margin-left: 6px; }
.fv-tokens i { width: 34px; height: 6px; border-radius: 3px; background: #111; } .fv-tokens i.s { width: 20px; background: #c9c9c2; }
@keyframes fv-pop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.fv-code { font-family: var(--font-mono); font-size: 12px; padding: 8px 10px; border-radius: 10px; background: #111; color: #cfcfc8; display: flex; gap: 4px; align-items: center; white-space: nowrap; }
.fv-code em { font-style: normal; color: #c792ea; } .fv-code b { color: var(--color-accent); font-weight: 400; }
.fv-code i { width: 6px; height: 13px; background: var(--color-accent); animation: wl-caret 1s step-end infinite; }
.fv-phone { width: 34px; height: 60px; border-radius: 9px; border: 3px solid #111; padding: 6px 4px; display: grid; gap: 4px; align-content: start; animation: fv-rot 4s var(--ease-inout) infinite; }
.fv-phone span { height: 5px; border-radius: 2px; background: #c9c9c2; } .fv-phone span.b { height: 9px; background: var(--color-accent); margin-top: 6px; }
@keyframes fv-rot { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.fv-search { display: flex; align-items: baseline; gap: 6px; } .fv-search i { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--color-muted); } .fv-search b { font-family: var(--font-display); font-size: 40px; color: var(--color-accent); line-height: 1; } .fv-search span { font-family: var(--font-mono); font-size: 10px; color: var(--color-muted); }
.fv-check { display: grid; gap: 5px; }
.fv-check span { font-size: 12px; display: flex; align-items: center; gap: 6px; opacity: 0; animation: fv-check 4.5s var(--ease-primary) infinite; }
.fv-check span::before { content: "✓"; width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent); color: var(--color-on-accent); font-size: 10px; display: grid; place-items: center; }
.fv-check span:nth-child(2) { animation-delay: .4s; } .fv-check span:nth-child(3) { animation-delay: .8s; }
@keyframes fv-check { 0% { opacity: 0; transform: translateX(-6px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.fv-fit { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; flex-wrap: wrap; }
.fv-fit .k { color: var(--color-muted); } .fv-fit b { font-size: 15px; padding: 4px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--color-line); }
.fv-fit em { font-style: normal; color: var(--color-on-accent); background: var(--color-accent); padding: 4px 8px; border-radius: 999px; animation: wl-pulse 2s infinite; }
.fv-config { display: flex; align-items: center; gap: 6px; }
.fv-config span { width: 34px; height: 44px; border-radius: 8px; background: #e2e2dc; animation: fv-cfg 3.6s steps(1) infinite; }
.fv-config span:nth-child(2) { animation-delay: 1.2s; } .fv-config span:nth-child(3) { animation-delay: 2.4s; }
.fv-config i { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--color-muted); margin-left: 4px; }
@keyframes fv-cfg { 0% { background: var(--color-accent); transform: translateY(-4px); } 33%, 100% { background: #e2e2dc; transform: none; } }
.fv-sync { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 10.5px; }
.fv-sync span { padding: 5px 8px; border-radius: 7px; background: #fff; border: 1px solid var(--color-line); }
.fv-sync i { width: 16px; height: 2px; background: linear-gradient(90deg, var(--color-line), var(--color-accent), var(--color-line)); background-size: 200% 100%; animation: bv-flow 1.2s linear infinite; }
.fv-b2b { display: grid; gap: 5px; font-size: 12px; }
.fv-b2b span { padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--color-line); display: flex; justify-content: space-between; gap: 10px; }
.fv-b2b span.is-b { border-color: var(--color-accent); animation: fv-pop 3s var(--ease-primary) infinite; }
.fv-abo { display: flex; align-items: center; gap: 8px; } .fv-abo span { font-size: 26px; color: var(--color-accent); animation: spin 3s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.fv-api b { font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -.03em; color: var(--color-accent); line-height: 1; }
.fv-api { display: grid; } .fv-api span { font-size: 12px; color: var(--color-on-dark-mid); } .fv-api i { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--color-on-dark-muted); margin-top: 4px; }
.fv-agent { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 10px; }
.fv-agent span { padding: 5px 7px; border-radius: 7px; border: 1px solid var(--a-white-10); } .fv-agent span.k { background: var(--color-accent); color: var(--color-on-accent); border-color: var(--color-accent); }
.fv-agent i { width: 12px; height: 1px; background: var(--color-accent); }
.fv-rag { display: grid; gap: 4px; font-family: var(--font-mono); font-size: 10.5px; width: 100%; }
.fv-rag span { padding: 5px 8px; border-radius: 6px; background: var(--a-white-04); color: var(--color-on-dark-mid); }
.fv-rag span.is-hit { background: rgba(70, 169, 155, .18); color: var(--color-on-dark); animation: wl-pulse 2s infinite; }
.fv-studio { display: flex; gap: 6px; } .fv-studio span { width: 30px; height: 54px; border-radius: 8px; background: #2a2a28; } .fv-studio span.g { background: linear-gradient(160deg, var(--color-accent), #c792ea); animation: fv-pop 2.6s var(--ease-primary) infinite; }

@media (max-width: 560px) {
	.build__facts { grid-template-columns: 1fr; }
	.build__slot { padding-top: 58px; }
	.fact { min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
	.fact { opacity: 1; transform: none; }
	.fact *, .fact *::before { animation: none !important; }
	.fv-check span { opacity: 1; }
}
/* ---- css/sections/api4cars.css ---- */
/* 06 · API4CARS */
.api { padding-block: 110px; }
.api__grid { gap: 64px; }
.api__title { margin: 22px 0 26px; }
.api__text { max-width: 460px; margin-bottom: 34px; }

.api__legend {
	display: flex;
	gap: 8px;
	margin-top: 40px;
	flex-wrap: wrap;
	font-family: var(--font-mono);
	font-size: var(--fs-mono-sm);
	letter-spacing: var(--ls-label);
	text-transform: uppercase;
	color: var(--color-muted);
}

.api__legend li {
	padding: 7px 12px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-pill);
	transition: color .4s, border-color .4s, background-color .4s;
}

.api__legend li.is-on { color: var(--color-on-accent); background: var(--color-accent); border-color: var(--color-accent); }

.api__console { position: relative; overflow: hidden; min-height: 420px; }

.api__status {
	margin-left: auto;
	font-size: var(--fs-mono-sm);
	color: var(--color-on-dark-faint);
	border: 1px solid var(--a-white-08);
	border-radius: var(--radius-pill);
	padding: 3px 10px;
	transition: color .3s, border-color .3s;
}

.api__status.is-busy { color: var(--color-accent); border-color: rgba(70, 169, 155, .4); }

.api__step {
	position: relative;
	font-size: 13.5px;
	margin-bottom: 14px;
	opacity: .3;
	transition: opacity .5s var(--ease-standard), transform .6s var(--ease-primary);
}

.api__step.is-on { opacity: 1; }
.api__method { color: var(--color-subtle); }
.api__dim { color: var(--color-on-dark-faint); }
.api__input { color: #fff; }
.api__caret { border-left: 2px solid var(--color-accent); margin-left: 3px; animation: wl-caret 1s step-end infinite; }
.api__str { color: #e4e4dc; }

.api__scan {
	display: block;
	height: 2px;
	margin-top: 10px;
	background: var(--a-white-06);
	border-radius: 2px;
	overflow: hidden;
}

.api__scan span {
	display: block;
	height: 100%;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
}

.api__json {
	display: flex;
	flex-direction: column;
	background: var(--a-white-03);
	border: 1px solid var(--a-white-08);
	border-radius: var(--radius-btn);
	padding: 16px;
	font-size: 13px;
	line-height: 1.7;
}

.api__line { transition: opacity .4s, transform .5s var(--ease-primary); }

.api__result {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: var(--radius-md);
	background: var(--color-accent);
	color: var(--color-on-accent);
	font-family: var(--font-body);
	font-size: 14px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .5s var(--ease-primary), transform .6s var(--ease-primary);
}

.api__result.is-on { opacity: 1; transform: none; }
.api__result-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-on-accent); }

@media (max-width: 860px) {
	.api { padding-block: 80px; }
	.api__grid { gap: 40px; }
	.api__console { min-height: 0; }
}
/* ---- css/sections/grow.css ---- */
/* 07 · GROW */
.grow__head { margin-bottom: 72px; gap: var(--gap-split); }
.grow__intro { padding-top: 20px; }
.grow__intro .lead-lg { margin-bottom: 22px; }
.grow__intro .body-md { max-width: 440px; }

.grow__body {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 48px;
	align-items: center;
}

.grow__step {
	gap: 18px;
	padding: 18px 24px;
	border-radius: var(--radius-lg);
	background: var(--a-white-03);
	border-color: var(--a-white-07);
	position: relative;
	overflow: hidden;
}

.grow__step .step__label { font-size: var(--fs-title-xs); }

.js-motion .grow__step:not(.is-on) { opacity: .28; transform: translateX(-12px); }
.grow__step.is-on .step__dot { background: var(--color-accent); box-shadow: 0 0 10px var(--color-accent); }
.grow__step.step--accent.is-on .step__dot { background: #111; box-shadow: none; }

/* flow pulse travelling through an active step */
.grow__meter {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	overflow: hidden;
}

.grow__meter span {
	display: block;
	height: 100%;
	width: 30%;
	background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
	transform: translateX(-120%);
}

.grow__step.is-current .grow__meter span { animation: grow-pulse 1.6s var(--ease-inout) infinite; }
.grow__step.step--accent .grow__meter { display: none; }

@keyframes grow-pulse { to { transform: translateX(380%); } }

.grow__side { align-self: start; }

@media (max-width: 860px) {
	.grow__head { margin-bottom: 44px; }
	.grow__body { grid-template-columns: 1fr; gap: 32px; }
	.grow__intro { padding-top: 0; }
}

.grow__step.step--accent { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.grow__step.step--accent .step__label { font-weight: 600; }
/* ---- css/sections/content.css ---- */
/* 08 · CONTENT BREAK */
.content-break { padding: 0 0 24px; }

.content-break__grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 260px 260px;
	gap: 16px;
}

.content-break__tile { border-radius: var(--radius-2xl); }
.content-break__tile--big { grid-row: span 2; display: flex; align-items: flex-end; padding: 30px; }
.content-break__tile .slot__label { background: #111; top: 24px; left: 26px; }

.content-break__tile .slot__media { transform: scale(var(--media-scale, 1.08)); transition: transform 1.4s var(--ease-primary); }
.content-break__tile.is-in .slot__media { --media-scale: 1; }

.content-break__tile--big::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 13, 12, 0) 35%, rgba(13, 13, 12, .78) 100%);
	z-index: 1;
	pointer-events: none;
}

.content-break__title { position: relative; z-index: 2; max-width: 520px; color: var(--color-on-dark); }

.content-break__note {
	color: var(--color-on-dark-mid);
	max-width: 560px;
	margin: 28px 2px 8px;
}

@media (max-width: 860px) {
	.content-break__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 200px; }
	.content-break__tile--big { grid-column: 1 / -1; grid-row: auto; padding: 22px; }
}
/* ---- css/sections/scale.css ---- */
/* 09 · SCALE */
.scale__grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: var(--gap-split);
	align-items: start;
}

.scale__title { margin-bottom: 26px; }
.scale__lead { max-width: 380px; margin-bottom: 22px; }
.scale__text { max-width: 400px; margin-bottom: 34px; color: var(--color-muted); }

.scale__panel {
	background: var(--color-surface);
	border: 1px solid var(--color-line);
	border-radius: 32px;
	padding: clamp(28px, 3vw, 44px);
}

.scale__panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; }
.scale__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-mono-sm); color: var(--color-muted); }

.scale__pipe { display: flex; flex-direction: column; gap: 22px; }

.pipe__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.pipe__name { font-family: var(--font-display); font-weight: 500; font-size: 16px; }
.pipe__val { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: var(--ls-title); font-variant-numeric: tabular-nums; }
.pipe__track { height: 12px; border-radius: 6px; background: var(--color-track); overflow: hidden; }

.pipe__fill {
	display: block;
	height: 100%;
	background: var(--color-ink);
	transform-origin: left;
	transform: scaleX(var(--w));
}

.js-motion .pipe__fill { transform: scaleX(0); }
.pipe--accent .pipe__name { font-weight: 600; color: var(--color-accent); }
.pipe--accent .pipe__val { color: var(--color-accent); }
.pipe--accent .pipe__fill { background: var(--color-accent); }

.scale__automation {
	display: flex;
	align-items: center;
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px dashed var(--color-line);
}

.scale__node {
	font-family: var(--font-mono);
	font-size: var(--fs-mono-sm);
	padding: 7px 12px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-pill);
	background: var(--color-bg);
	white-space: nowrap;
	transition: border-color .4s, color .4s, background-color .4s;
}

.scale__node.is-on { border-color: var(--color-ink); }
.scale__node--accent.is-on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }

.scale__wire { flex: 1; height: 1px; background: var(--color-line); margin: 0 8px; overflow: hidden; }
.scale__wire span { display: block; height: 100%; background: var(--color-ink); transform: scaleX(0); transform-origin: left; }
.scale__note { margin-top: 24px; }

@media (max-width: 860px) {
	.scale__grid { grid-template-columns: 1fr; }
	.scale__node { padding: 6px 9px; font-size: 10px; }
}
/* ---- css/sections/ai.css ---- */
/* 10 · AI */
.ai__head { max-width: 900px; margin-bottom: 64px; }
.ai__title { margin-top: 22px; }

.ai__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: center;
}

.ai__flow { position: relative; gap: 12px; }

.ai__line {
	position: absolute;
	left: 33px;
	top: 26px;
	bottom: 26px;
	width: 1px;
	background: var(--a-white-08);
	z-index: 0;
}

.ai__line span {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--color-accent);
	transform: scaleY(0);
	transform-origin: top;
}

.ai__node { position: relative; z-index: 1; background: #121211; border-color: var(--a-white-07); }
.ai__node .step__num { min-width: 22px; }
.ai__node-text { display: flex; flex-direction: column; }

.ai__node-sub {
	font-size: 13.5px;
	color: var(--color-on-dark-mid);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .6s var(--ease-primary), opacity .5s, margin .6s var(--ease-primary);
}

.ai__node.is-current .ai__node-sub { max-height: 40px; opacity: 1; margin-top: 4px; }
.ai__node.step--accent .ai__node-sub { color: rgba(6, 32, 30, .75); }

.ai__node-state {
	margin-left: auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--a-white-09);
	transition: background-color .4s, box-shadow .4s;
}

.ai__node.is-on .ai__node-state { background: var(--color-accent); box-shadow: 0 0 10px var(--color-accent); }
.ai__node.step--accent .ai__node-state { background: #111; box-shadow: none; }

.js-motion .ai__node:not(.is-on) { opacity: .35; }
.ai__node.is-on { border-color: rgba(70, 169, 155, .35); }
.ai__node.step--accent { background: var(--color-accent); }

.ai__claim { margin-top: 28px; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--color-on-dark); }

@media (max-width: 860px) {
	.ai__head { margin-bottom: 40px; }
	.ai__grid { grid-template-columns: 1fr; gap: 32px; }
}
/* ---- css/sections/ai-brain.css ---- */
/* 11 · ENTERPRISE AI BRAIN */
.brain { padding: 0 0 var(--section-y); }

.brain__panel {
	max-width: var(--container-narrow);
	margin: 0 auto;
	border-radius: 36px;
	background: var(--color-dark-4);
	border: 1px solid var(--a-white-07);
	padding: clamp(32px, 4vw, 64px);
}

.brain__head { text-align: center; margin-bottom: 38px; }
.brain__title { margin-top: 16px; font-size: clamp(34px, 4vw, 60px); }
.brain__ui { max-width: 720px; margin: 0 auto; }

.brain__query {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--color-dark-2);
	border: 1px solid var(--a-white-10);
	border-radius: 18px;
	padding: 20px 24px;
	margin-bottom: 18px;
	min-height: 66px;
}

.brain__query .dot { width: 9px; height: 9px; }
.brain__q { font-size: 16px; color: #e4e4dc; }
.brain__q.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -2px; background: var(--color-accent); animation: wl-caret 1s step-end infinite; }
.brain__enter { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--color-on-dark-faint); }

.brain__sources { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; flex-wrap: wrap; }
.brain__source { transition: color .3s, border-color .3s, background-color .3s; }
.brain__source.is-scanning { color: var(--color-accent); border-color: rgba(70, 169, 155, .5); }
.brain__source.is-hit { color: var(--color-on-accent); background: var(--color-accent); border-color: var(--color-accent); }

.brain__answer {
	background: var(--color-dark-2);
	border: 1px solid var(--a-white-08);
	border-radius: 18px;
	padding: 24px;
	color: var(--color-on-dark-3);
	font-size: 15px;
	line-height: 1.7;
}

.brain__answer-label { font-family: var(--font-mono); font-size: var(--fs-mono-sm); color: var(--color-accent); letter-spacing: var(--ls-label); }
.brain__skel .skel { width: var(--w); margin-top: 10px; transform-origin: left; }
.brain__skel .skel:first-child { margin-top: 16px; }

.brain__text,
.brain__refs { display: none; }

.brain__answer.is-done .brain__skel { display: none; }
.brain__answer.is-done .brain__text { display: block; margin-top: 14px; }
.brain__answer.is-done .brain__refs { display: flex; }

.brain__refs { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.brain__refs li { font-family: var(--font-mono); font-size: 11px; color: var(--color-on-dark-muted); border: 1px solid var(--a-white-08); border-radius: var(--radius-pill); padding: 4px 11px; }
.brain__note { text-align: center; margin-top: 16px; }

/* no-JS: show final state */
html:not(.js-motion) .brain__skel { display: none; }
html:not(.js-motion) .brain__text { display: block; margin-top: 14px; }
html:not(.js-motion) .brain__refs { display: flex; }

@media (max-width: 560px) {
	.brain__query { padding: 16px 18px; }
	.brain__q { font-size: 14.5px; }
	.brain__answer { padding: 18px; }
}
/* ---- css/sections/projects.css ---- */
/* 12 · SELECTED WORK */
.work__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 56px;
	flex-wrap: wrap;
}

.work__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
	row-gap: 44px;
}

.work__item { grid-column: span var(--span, 2); }



@media (max-width: 1024px) {
	.work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.work__item { grid-column: span 1; }
	.work__item:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.work__grid { grid-template-columns: 1fr; row-gap: 32px; }
	.work__item, .work__item:first-child { grid-column: auto; }
	.project-card__media { height: min(var(--card-h), 72vw) !important; }
	.work__head { margin-bottom: 36px; }
}
/* ---- css/sections/ventures.css ---- */
/* 13 · VENTURES */
.ventures__panel { padding: clamp(40px, 5vw, 72px); }
.ventures__head { max-width: 720px; margin-bottom: 48px; }
.ventures__title { margin: 20px 0; font-size: clamp(34px, 4vw, 62px); line-height: 1; }

.ventures__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.venture {
	display: block;
	height: 320px;
	border-radius: var(--radius-2xl);
	color: var(--color-ink);
}

.venture.slot--ink { color: #fff; }
.venture.slot--ink:hover { color: #fff; }
.venture__video { opacity: .55; transition: opacity .6s, transform 1.2s var(--ease-primary); }
.venture:hover .venture__video { opacity: .75; transform: scale(1.03); }

.venture.slot--ink::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 17, 17, .2), rgba(17, 17, 17, .85));
	z-index: 1;
}

.venture__meta { position: absolute; left: 26px; bottom: 26px; z-index: 2; display: flex; flex-direction: column; }
.venture__name { font-size: var(--fs-title-lg); }
.venture__tagline { margin-top: 4px; }
.slot--ink .venture__tagline { color: var(--color-on-dark-mid); }

@media (max-width: 760px) {
	.ventures__grid { grid-template-columns: 1fr; }
	.venture { height: 260px; }
}
/* ---- css/sections/why.css ---- */
/* 14 · WHY WEBLABS */
.why__head { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.why__title { margin-top: 20px; }

.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.why__card { border-radius: var(--radius-3xl); padding: clamp(28px, 3vw, 44px); }
.why__card--old { border: 1px solid var(--color-line); background: var(--color-bg); }
.why__card--new { background: var(--color-dark); color: var(--color-on-dark); }
.why__label { margin-bottom: 28px; text-transform: uppercase; }

.why__list { display: flex; flex-direction: column; gap: 14px; }
.why__row { display: flex; align-items: center; gap: 14px; color: #9a9a92; }
.why__name { font-family: var(--font-display); font-size: 18px; }
.why__dash { flex: 1; border-bottom: 1px dashed var(--color-line); }
.why__note { font-family: var(--font-mono); font-size: 11px; }
.why__foot { margin-top: 28px; font-size: 14px; color: #9a9a92; }

.why__chips { display: flex; flex-wrap: wrap; gap: 10px; }

.why__chip {
	font-family: var(--font-display);
	font-size: 18px;
	background: var(--a-white-06);
	border-radius: var(--radius-md);
	padding: 12px 18px;
	transition: background-color .3s, color .3s;
}

.why__chip:hover { background: var(--color-accent); color: var(--color-on-accent); }
.why__claim { margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: var(--ls-tight); }

@media (max-width: 860px) {
	.why__grid { grid-template-columns: 1fr; }
	.why__head { margin-bottom: 40px; }
	.why__chip { font-size: 16px; padding: 10px 14px; }
}
/* ---- css/sections/process.css ---- */
/* 15 · PROCESS */
.process__head { margin-bottom: 56px; }
.process__title { margin-top: 20px; }

.process__list { border-top: 1px solid var(--color-line); }

.process__row {
	position: relative;
	display: grid;
	grid-template-columns: 80px 1fr 1.4fr;
	gap: 32px;
	padding: 30px 0;
	align-items: baseline;
	border-bottom: 1px solid var(--color-line);
}

.process__num { font-family: var(--font-mono); font-size: 14px; color: var(--color-accent); }
.process__name { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-step); letter-spacing: var(--ls-tight); transition: transform .5s var(--ease-primary); }
.process__text { font-size: 16px; color: var(--color-muted); line-height: 1.5; }

.process__line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background: var(--color-ink);
	transform: scaleX(0);
	transform-origin: left;
}

.process__row:hover .process__name { transform: translateX(8px); }

@media (max-width: 760px) {
	.process__row { grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 24px 0; }
	.process__text { grid-column: 2; }
}
/* ---- css/sections/reviews.css ---- */
/* Google Reviews wall */
.reviews__grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.reviews__summary { max-width: 460px; }
.reviews__bolt { width: 13px; height: 13px; color: var(--color-accent); }
.reviews__title { margin: 22px 0 18px; }
.reviews__lead { color: var(--color-muted); }

.reviews__score {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(110px, 13vw, 200px);
	line-height: .85;
	letter-spacing: -.05em;
	margin-top: 36px;
	background: linear-gradient(160deg, var(--color-ink) 30%, var(--color-accent) 120%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.reviews__stars { font-size: 30px; letter-spacing: 4px; color: var(--color-accent); margin-top: 14px; }
.reviews__count { margin: 14px 0 30px; font-size: 15px; color: var(--color-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reviews__count strong { color: var(--color-ink); font-weight: 600; }
.reviews__note { margin-top: 16px; }
.g-logo { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; }

/* Wall */
.reviews__wall {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	height: 680px;
	overflow: hidden;
	-webkit-mask: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
	mask: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.reviews__track { animation: reviews-up var(--dur, 70s) linear infinite; will-change: transform; }
.reviews__col--1 .reviews__track { --dur: 86s; animation-delay: -30s; }
.reviews__wall:hover .reviews__track,
.reviews__wall:focus-within .reviews__track { animation-play-state: paused; }
.reviews__set { display: flex; flex-direction: column; gap: 18px; padding-bottom: 18px; }

@keyframes reviews-up { to { transform: translateY(-50%); } }

/* Card */
.review {
	background: #fff;
	border: 1px solid var(--color-line);
	border-radius: 22px;
	padding: 22px 22px 18px;
	box-shadow: 0 20px 40px -32px rgba(17, 17, 17, .35);
	transition: box-shadow .4s, transform .5s var(--ease-primary), border-color .3s;
}

.review:hover { transform: translateY(-3px); border-color: #d7d7d0; box-shadow: 0 30px 60px -34px rgba(17, 17, 17, .45); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review__stars { color: var(--color-accent); letter-spacing: 2px; font-size: 15px; }
.review__date { font-size: 12.5px; color: var(--color-subtle); }

.review__text {
	margin: 16px 0 18px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--color-text-strong);
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.review.is-open .review__text { -webkit-line-clamp: unset; display: block; }

.review__hl {
	color: inherit;
	background: linear-gradient(transparent 55%, rgba(70, 169, 155, .38) 55%);
	padding: 0 1px;
}

.review__foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--color-line); }

.review__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 13px;
	color: #fff;
	background: var(--color-ink);
	object-fit: cover;
}

.reviews__col--1 .review:nth-child(odd) .review__avatar,
.reviews__col--0 .review:nth-child(3n) .review__avatar { background: var(--color-accent); color: var(--color-on-accent); }

.review__who { display: flex; flex-direction: column; min-width: 0; }
.review__name { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review__src { font-size: 12.5px; color: var(--color-subtle); display: inline-flex; align-items: center; gap: 5px; }
.review__more { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.review__more:hover { color: var(--color-accent); }

@media (max-width: 960px) {
	.reviews__grid { grid-template-columns: 1fr; }
	.reviews__summary { max-width: none; }
	.reviews__wall { height: 560px; }
}

@media (max-width: 600px) {
	.reviews__wall { grid-template-columns: 1fr; height: 520px; }
	.reviews__col--1 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.reviews__track { animation: none; }
	.reviews__wall { overflow-y: auto; -webkit-mask: none; mask: none; }
	.reviews__set[aria-hidden="true"] { display: none; }
}
/* ---- css/sections/testimonial.css ---- */
/* 16 · TESTIMONIAL */
.testimonial {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	border-radius: var(--radius-panel);
	overflow: hidden;
	background: #111;
	margin: 0;
}

.testimonial__media {
	min-height: 420px;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.testimonial__media .slot__label { background: #000; top: 24px; left: 26px; }
.testimonial__media .slot__media { opacity: .9; }
.testimonial__play { position: relative; z-index: 2; }

.testimonial__body {
	padding: clamp(40px, 4vw, 64px);
	color: var(--color-on-dark);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0;
}

.testimonial__stars { color: var(--color-accent); letter-spacing: 3px; margin-bottom: 18px; font-size: 15px; }
.testimonial__person { margin-top: 32px; }
.testimonial__body .qa-marker { margin-top: 18px; align-self: flex-start; }

.person__avatar--initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--color-on-dark);
}

.person__name,
.person__role { display: block; }

/* Video modal */
.video-modal {
	width: min(1100px, calc(100vw - 32px));
	padding: 0;
	border: 0;
	border-radius: var(--radius-2xl);
	background: #000;
	overflow: hidden;
}

.video-modal::backdrop { background: rgba(13, 13, 12, .82); backdrop-filter: blur(6px); }
.video-modal video { width: 100%; height: auto; display: block; }
.video-modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #111; display: grid; place-items: center; }
.video-modal__close svg { width: 18px; height: 18px; }
.video-modal__transcript { padding: 16px 20px; color: var(--color-on-dark-3); font-size: 14px; }

@media (max-width: 860px) {
	.testimonial { grid-template-columns: 1fr; }
	.testimonial__media { min-height: 260px; }
}
/* ---- css/sections/team.css ---- */
/* 17 · TEAM */
.team__top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.team__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(8px, 2vw, 32px) clamp(8px, 2vw, 24px); }
.team__title { margin: 20px 0 22px; }
.team__copy .body-lg { max-width: 420px; }
.team__big { min-height: 380px; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team__tile { height: 260px; border-radius: var(--radius-2xl); }
.team .slot__label { top: 24px; left: 26px; }
.team .slot__media { transition: transform 1.2s var(--ease-primary); }
.team .slot:hover .slot__media { transform: scale(1.03); }

@media (max-width: 860px) {
	.team__top { grid-template-columns: 1fr; }
	.team__big { min-height: 300px; }
	.team__grid { grid-template-columns: 1fr 1fr; }
	.team__tile:first-child { grid-column: 1 / -1; }
	.team__tile { height: 200px; }
}
/* ---- css/sections/final-cta.css ---- */
/* 18 · FINAL CTA / FUNNEL */
.final-cta { padding-bottom: 100px; }

.final-cta__panel {
	padding: clamp(48px, 6vw, 110px) clamp(32px, 5vw, 80px);
	text-align: center;
}

.final-cta__title { margin-bottom: 46px; }

/* Choice chips — infinite sliding band (4 copies, track moves by one copy) */
.final-cta__marquee {
	position: relative;
	overflow: hidden;
	margin: 0 calc(clamp(32px, 5vw, 80px) * -1) 46px;
	padding-block: 6px;
	-webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.final-cta__track {
	display: flex;
	width: max-content;
	animation: wl-marquee-4 36s linear infinite;
}

.final-cta__marquee:hover .final-cta__track,
.final-cta__marquee:focus-within .final-cta__track { animation-play-state: paused; }

.final-cta__choices {
	display: flex;
	flex: none;
	gap: 12px;
	padding-right: 12px;
}

@keyframes wl-marquee-4 { to { transform: translateX(-25%); } }

@media (prefers-reduced-motion: reduce) {
	.final-cta__marquee { -webkit-mask: none; mask: none; margin-inline: 0; }
	.final-cta__track { animation: none; width: auto; justify-content: center; }
	.final-cta__choices { flex-wrap: wrap; justify-content: center; padding-right: 0; }
	.final-cta__choices[aria-hidden="true"] { display: none; }
}

.final-cta__note {
	font-family: var(--font-mono);
	font-size: var(--fs-mono);
	color: var(--color-on-dark-muted);
	margin-top: 22px;
}

/* Funnel app */
.funnel { max-width: 760px; margin: 0 auto; text-align: left; }

.funnel__top { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.funnel__back { color: var(--color-on-dark-mid); font-size: 14px; }
.funnel__back:hover { color: var(--color-on-dark); }
.funnel__type { font-family: var(--font-mono); font-size: var(--fs-mono-sm); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--color-accent); }
.funnel__progress { flex: 1; height: 2px; background: var(--a-white-08); border-radius: 2px; overflow: hidden; }
.funnel__progress span { display: block; height: 100%; background: var(--color-accent); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease-primary); }
.funnel__count { font-family: var(--font-mono); font-size: var(--fs-mono-sm); color: var(--color-on-dark-muted); }

.funnel__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: var(--ls-heading); margin-bottom: 28px; }
.funnel__options { display: flex; flex-wrap: wrap; gap: 10px; }
.funnel__hint { font-family: var(--font-mono); font-size: var(--fs-mono-sm); color: var(--color-on-dark-muted); margin: -16px 0 22px; }
.funnel__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.funnel__fields .field--wide { grid-column: 1 / -1; }

.funnel__actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.funnel__actions .form-error { flex: 1; }

.funnel__stage > * { animation: funnel-in .6s var(--ease-primary) both; }
@keyframes funnel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.funnel__done { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 40px 0; }
.funnel__done .body-md { color: var(--color-on-dark-mid); }

@media (max-width: 640px) {
	.final-cta { padding-bottom: 64px; }
	.final-cta__panel { padding: 56px 20px; }
	.final-cta__title { margin-bottom: 32px; }
	.final-cta__marquee { margin-inline: -20px; margin-bottom: 32px; }
	.final-cta__choices { gap: 8px; padding-right: 8px; }
	.final-cta__track { animation-duration: 26s; }
	.funnel__fields { grid-template-columns: 1fr; }
	.funnel__top { flex-wrap: wrap; gap: 10px; }
	.funnel__progress { order: 4; flex-basis: 100%; }
}
