/* Outfit (variable 300-700), self-hosted for speed. SIL Open Font License. */
@font-face {
	font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap;
	src: url('../fonts/outfit-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Outfit'; font-style: normal; font-weight: 300 700; font-display: swap;
	src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ==========================================================================
   Inster Technologies — main stylesheet (v2, light + dark)
   Brand: Outfit · Slate #0F172A · Teal #2DD4BF (dark) / #0D9488 (light)
   ========================================================================== */

/* ---------- Tokens: dark (default) ---------- */
:root,
[data-theme="dark"],
.force-dark {
	--bg: #081628;
	--bg-alt: #0B1C33;
	--bg-deep: #060E1D;
	--surface: rgba(255, 255, 255, 0.045);
	--surface-hover: rgba(255, 255, 255, 0.075);
	--card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
	--border: rgba(148, 163, 184, 0.16);
	--border-strong: rgba(148, 163, 184, 0.32);

	--heading: #FFFFFF;
	--text: #CBD5E1;
	--muted: #94A3B8;
	--wordmark-sub: #CBD5E1;

	--accent: #2DD4BF;
	--accent-text: #2DD4BF;
	--accent-soft: rgba(45, 212, 191, 0.12);
	--accent-border: rgba(45, 212, 191, 0.32);

	--btn-bg: #2DD4BF;
	--btn-text: #042F2E;
	--btn-hover: #5EEAD4;
	--btn-shadow: rgba(45, 212, 191, 0.4);

	--hero-bg: linear-gradient(125deg, #060E1D 0%, #0A1F33 48%, #0B3A44 100%);
	--glow-1: rgba(45, 212, 191, 0.18);
	--glow-2: rgba(56, 189, 248, 0.10);
	--arc: rgba(94, 234, 212, 0.13);
	--net-line: 94, 234, 212;
	--net-dot: 153, 246, 228;
	--net-alpha: 0.18;

	--header-bg: rgba(8, 22, 40, 0.82);
	--input-bg: rgba(6, 14, 29, 0.55);
	--shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
	--grid-line: rgba(148, 163, 184, 0.07);

	color-scheme: dark;
}

/* ---------- Tokens: light ---------- */
[data-theme="light"] {
	--bg: #FFFFFF;
	--bg-alt: #F3F9FA;
	--bg-deep: #E8F3F4;
	--surface: #FFFFFF;
	--surface-hover: #F8FAFC;
	--card-bg: #FFFFFF;
	--border: #E2E8F0;
	--border-strong: #CBD5E1;

	--heading: #0F172A;
	--text: #334155;
	--muted: #475569;
	--wordmark-sub: #475569;

	--accent: #0D9488;
	--accent-text: #0F766E;
	--accent-soft: rgba(13, 148, 136, 0.09);
	--accent-border: rgba(13, 148, 136, 0.3);

	--btn-bg: #0F766E;
	--btn-text: #FFFFFF;
	--btn-hover: #0D9488;
	--btn-shadow: rgba(13, 148, 136, 0.35);

	--hero-bg: linear-gradient(125deg, #F8FCFE 0%, #EEF7F9 50%, #D8EDEF 100%);
	--glow-1: rgba(13, 148, 136, 0.12);
	--glow-2: rgba(56, 189, 248, 0.10);
	--arc: rgba(13, 148, 136, 0.16);
	--net-line: 13, 148, 136;
	--net-dot: 13, 148, 136;
	--net-alpha: 0.16;

	--header-bg: rgba(255, 255, 255, 0.86);
	--input-bg: #FFFFFF;
	--shadow: 0 24px 50px -28px rgba(15, 23, 42, 0.28);
	--grid-line: rgba(15, 23, 42, 0.05);

	color-scheme: light;
}

:root {
	--font: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
	--radius: 18px;
	--radius-lg: 28px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--header-h: 84px;
}

.force-dark { color: var(--text); }

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color .4s, color .4s;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--heading); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--heading); letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--btn-bg); color: var(--btn-text); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.text-accent { color: var(--accent); }

/* ---------- Wordmark (logo) ---------- */
.wordmark { display: inline-flex; flex-direction: column; gap: .2em; font-family: var(--font); line-height: 1; }
.wordmark__name { position: relative; font-size: 1em; font-weight: 700; letter-spacing: -0.035em; color: var(--heading); white-space: nowrap; }
.wordmark__i { color: var(--accent); }
.wordmark__dot { display: inline-block; width: .17em; height: .17em; margin-left: .05em; border-radius: 50%; background: var(--accent); }
.wordmark__sub { display: flex; align-items: center; gap: .14em; width: 0; min-width: 100%; }
.wordmark__line { flex: none; width: .3em; height: .03em; min-height: 1px; margin-right: .08em; background: var(--accent); }
.wordmark__tech { flex: 1; display: flex; justify-content: space-between; font-size: .2em; font-weight: 400; color: var(--wordmark-sub); }

.brand { display: inline-flex; color: var(--heading); font-size: 2.2rem; }
.brand:hover { color: var(--heading); }
.brand .wordmark__dot { transition: transform .5s var(--ease); }
.brand:hover .wordmark__dot { transform: translateY(-.12em); }
.custom-logo-link img { max-height: 52px; width: auto; }

/* Brand mark ("i.") used in the hero orbit and contact card */
.mark { display: inline-flex; align-items: flex-end; font-family: var(--font); font-weight: 700; line-height: .8; color: var(--accent); }
.mark__i { font-size: 1em; }
.mark__dot { width: .2em; height: .2em; margin: 0 0 .02em .05em; border-radius: 50%; background: var(--accent); }
.mark--sm { font-size: 2.6rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
	font-family: var(--font); font-weight: 500; font-size: 1rem; line-height: 1; letter-spacing: .01em;
	cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .94rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.04rem; }

.btn--primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 12px 30px -12px var(--btn-shadow); }
.btn--primary::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover { background: var(--btn-hover); color: var(--btn-text); box-shadow: 0 18px 40px -12px var(--btn-shadow); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost { background: var(--surface); color: var(--heading); border-color: var(--border-strong); backdrop-filter: blur(6px); }
.btn--ghost:hover { color: var(--heading); background: var(--surface-hover); border-color: var(--accent-border); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent-text); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--heading); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
	font-size: .8rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }
.eyebrow--center { justify-content: center; }

.section { position: relative; padding: clamp(80px, 10vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-text { margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 18px; }
.section-text { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); font-weight: 300; color: var(--text); max-width: 590px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
	transition: translate .4s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled {
	--header-h: 70px;
	background: var(--header-bg);
	backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 1px 0 var(--border), 0 20px 40px -24px rgba(0, 0, 0, .35);
}
.site-header.is-hidden { translate: 0 -100%; }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.primary-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.primary-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.primary-nav .menu a {
	position: relative; display: block; padding: 10px 14px; color: var(--text); font-weight: 500; font-size: 1rem;
}
.primary-nav .menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.primary-nav .menu a:hover,
.primary-nav .current-menu-item > a { color: var(--heading); }
.primary-nav .menu a:hover::after,
.primary-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.mode-toggle,
.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--heading); cursor: pointer;
	transition: border-color .25s, background-color .25s, transform .4s var(--ease);
}
.mode-toggle:hover,
.nav-toggle:hover { border-color: var(--accent-border); background: var(--surface-hover); }
.mode-toggle:active { transform: rotate(-20deg) scale(.95); }
.mode-toggle__sun,
.mode-toggle__moon { display: inline-flex; }
[data-theme="dark"] .mode-toggle__moon,
:root:not([data-theme]) .mode-toggle__moon { display: none; }
[data-theme="light"] .mode-toggle__sun { display: none; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

/* ---------- Background effects ---------- */
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.arcs circle { fill: none; stroke: var(--arc); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow--a { width: 680px; height: 680px; right: -160px; top: 0; background: radial-gradient(circle, var(--glow-1), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow--b { width: 520px; height: 520px; left: -220px; top: -120px; background: radial-gradient(circle, var(--glow-2), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
	padding: calc(var(--header-h) + 48px) 0 96px; overflow: hidden; background: var(--hero-bg);
}
.hero__bg { position: absolute; inset: 0; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; }
.hero__inner > * { min-width: 0; }
.hero__title { font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; text-wrap: balance; }
.js .hero__title .line > span { transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.js .hero__title .line:nth-child(1) > span { animation-delay: .2s; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .35s; }
.hero .lead { margin-bottom: 22px; }

.rotator { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; font-size: 1.12rem; font-weight: 500; min-height: 1.6em; }
.rotator__label { color: var(--muted); font-weight: 400; }
.rotator__word { color: var(--heading); }
.caret { display: inline-block; width: 2px; height: 1.2em; margin-left: -6px; background: var(--accent); animation: blink 1s steps(1) infinite; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Orbit visual */
.hero__visual { display: flex; justify-content: center; }
.orbit { --size: min(470px, 40vw); position: relative; width: var(--size); height: var(--size); }
.js .orbit { opacity: 0; transform: scale(.85); animation: orbitIn 1.4s .5s var(--ease) forwards; }
.orbit__ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid var(--accent-border); opacity: .6; }
.orbit__ring--1 { width: 100%; height: 100%; border-style: dashed; animation: spin 80s linear infinite; }
.orbit__ring--2 { width: 70%; height: 70%; opacity: .45; }
.orbit__ring--3 { width: 40%; height: 40%; opacity: 1; background: radial-gradient(circle, var(--accent-soft), transparent 72%); }
.orbit__core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.orbit__core .mark { font-size: calc(var(--size) * .3); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 18px 36px var(--btn-shadow)); }
.orbit__core .mark__dot { animation: dotPulse 3s ease-in-out infinite; }
.orbit__track { position: absolute; inset: 0; animation: spin 48s linear infinite; }
.orbit__track--b { inset: 15%; animation-duration: 36s; animation-direction: reverse; }
.orbit__chip {
	--a: calc(360deg / var(--n) * var(--i));
	position: absolute; left: 50%; top: 50%; width: 0; height: 0;
	transform: rotate(var(--a)) translateX(calc(var(--size) / 2)) rotate(calc(-1 * var(--a)));
}
.orbit__track--b .orbit__chip { --a: calc(360deg / var(--n) * var(--i) + 60deg); transform: rotate(var(--a)) translateX(calc(var(--size) * .35)) rotate(calc(-1 * var(--a))); }
.orbit__chip-in {
	position: absolute; left: 0; top: 0; translate: -50% -50%; width: max-content;
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px;
	background: var(--card-bg); background-color: var(--bg); border: 1px solid var(--border-strong); color: var(--accent);
	white-space: nowrap; box-shadow: var(--shadow);
	animation: spin 48s linear infinite reverse;
}
.orbit__track--b .orbit__chip-in { animation-duration: 36s; animation-direction: normal; }
.orbit__chip-in .icon { flex: none; max-width: none; }
.orbit__chip-in em { font-style: normal; font-size: .82rem; font-weight: 500; color: var(--heading); }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scrollCue 1.8s ease-in-out infinite; }

/* ---------- Marquee ---------- */
.marquee {
	position: relative; overflow: hidden; padding: 22px 0; background: var(--bg-alt);
	border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; padding: 0 36px; font-weight: 500; font-size: 1.15rem; color: var(--text); white-space: nowrap; }
.marquee__item .icon { color: var(--accent); }
.marquee__item::after { content: ""; width: 6px; height: 6px; margin-left: 36px; border-radius: 50%; background: var(--accent); opacity: .6; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
	--mx: 50%; --my: 50%;
	position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius);
	background: var(--card-bg); border: 1px solid var(--border); color: var(--text); overflow: hidden; isolation: isolate;
	transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s;
}
[data-theme="light"] .card { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px -22px rgba(15, 23, 42, .18); }
.card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx) var(--my), var(--accent-soft), transparent 45%);
}
.card::after {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s;
	background: radial-gradient(300px circle at var(--mx) var(--my), var(--accent), transparent 50%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { color: var(--text); border-color: var(--accent-border); box-shadow: var(--shadow); }
.card:hover::before,
.card:hover::after { opacity: 1; }
.card__num { position: absolute; top: 26px; right: 28px; font-weight: 600; font-size: .85rem; color: var(--muted); opacity: .6; letter-spacing: .1em; }
.card__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 26px; border-radius: 16px;
	color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border); transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.card:hover .card__icon { transform: translateY(-4px) rotate(-6deg); background: var(--btn-bg); color: var(--btn-text); }
.card__title { font-size: 1.32rem; margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: 1rem; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 500; font-size: .95rem; color: var(--accent-text); }
.card__more .icon { transition: transform .35s var(--ease); }
.card:hover .card__more .icon { transform: translateX(5px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Process ---------- */
.process { background: var(--bg-alt); }
.steps-wrap { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; }
.steps__line { position: absolute; left: 12.5%; right: 12.5%; top: 35px; height: 2px; background: var(--border); border-radius: 2px; }
.steps__line span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); border-radius: 2px; box-shadow: 0 0 14px var(--btn-shadow); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin-bottom: 24px; border-radius: 50%;
	background: var(--bg-alt); border: 1px solid var(--border-strong); color: var(--accent); transition: all .5s var(--ease);
}
.step.is-active .step__icon { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; box-shadow: 0 0 0 8px var(--accent-soft), 0 14px 30px -10px var(--btn-shadow); }
.step__num { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 500; letter-spacing: .22em; color: var(--accent-text); }
.step__title { font-size: 1.25rem; margin-bottom: 10px; }
.step__text { color: var(--muted); font-size: .98rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.why__intro .btn { margin-top: 12px; }
.reasons { display: grid; gap: 16px; list-style: none; }
.reason {
	display: flex; gap: 20px; padding: 24px 26px; border-radius: var(--radius); background: var(--card-bg);
	border: 1px solid var(--border); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
[data-theme="light"] .reason { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 30px -20px rgba(15, 23, 42, .18); }
.reason:hover { transform: translateX(6px); border-color: var(--accent-border); box-shadow: var(--shadow); }
.reason__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.reason__title { font-size: 1.15rem; margin-bottom: 6px; }
.reason__text { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- CTA (always dark brand panel) ---------- */
.cta-section { padding-top: 0; }
.cta {
	position: relative; padding: clamp(52px, 7vw, 92px) clamp(28px, 6vw, 80px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
	background: var(--hero-bg); border: 1px solid var(--border); text-align: center;
}
.cta::before {
	content: ""; position: absolute; inset: -60%; z-index: -2;
	background: conic-gradient(from 0deg, transparent 0 72%, rgba(45, 212, 191, .55) 84%, transparent 94%);
	animation: spin 10s linear infinite;
}
.cta::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: calc(var(--radius-lg) - 1px); background: var(--hero-bg); }
.cta__bg { position: absolute; inset: 1px; border-radius: inherit; overflow: hidden; }
.cta__content { position: relative; max-width: 720px; margin: 0 auto; }
.cta__title { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 16px; }
.cta__text { color: var(--text); font-size: 1.15rem; font-weight: 300; margin-bottom: 34px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative; overflow: hidden; padding: calc(var(--header-h) + 96px) 0 100px;
	background: var(--hero-bg); border-bottom: 1px solid var(--border);
}
.page-hero--full { min-height: 100vh; display: flex; align-items: center; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__inner { position: relative; max-width: 900px; }
.page-hero__title { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.error-code { font-weight: 700; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; margin: 0 0 10px; }
.page-hero--full .btn { margin-top: 14px; }

/* ---------- Services page ---------- */
.service-list .container { display: grid; gap: clamp(80px, 10vw, 136px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; scroll-margin-top: 100px; }
.service-row--flip .service-row__visual { order: 2; }
.service-art {
	position: relative; aspect-ratio: 1 / .82; border-radius: var(--radius-lg); overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: var(--hero-bg); border: 1px solid var(--border); transition: transform .5s var(--ease);
}
.service-art__ring { position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--accent-border); animation: spin 30s linear infinite; }
.service-art__ring--2 { width: 74%; border-style: solid; opacity: .6; animation-duration: 50s; animation-direction: reverse; }
.service-art__ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.service-art__icon {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 124px; height: 124px; border-radius: 34px;
	color: var(--btn-text); background: var(--btn-bg); box-shadow: 0 30px 60px -20px var(--btn-shadow);
	animation: float 6s ease-in-out infinite;
}
.service-art__num { position: absolute; left: 28px; top: 20px; font-weight: 700; font-size: 4.5rem; line-height: 1; color: var(--heading); opacity: .08; }
.checklist-title { font-size: .85rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 8px 0 14px; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0 0 30px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.checklist .icon { flex: none; margin-top: 5px; color: var(--accent); }

/* ---------- About ---------- */
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__logo {
	position: relative; aspect-ratio: 1 / .9; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center;
	background: var(--hero-bg); border: 1px solid var(--border); font-size: clamp(3.4rem, 7vw, 5.4rem);
}
.story__logo .wordmark { position: relative; animation: float 7s ease-in-out infinite; }
.values { padding-top: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__form-wrap { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--border); }
[data-theme="light"] .contact__form-wrap { box-shadow: var(--shadow); }
.contact__heading { font-size: 1.7rem; margin-bottom: 6px; }
.contact__intro { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.contact-form { display: grid; gap: 20px; scroll-margin-top: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .92rem; font-weight: 500; color: var(--heading); }
.field input,
.field select,
.field textarea {
	width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-strong);
	background: var(--input-bg); color: var(--heading); transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field ::placeholder { color: var(--muted); opacity: .8; }
.field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { background: var(--bg); color: var(--heading); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #EF4444; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.form-notice--ok { background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-text); }
.form-notice--err { background: rgba(239, 68, 68, .08); border: 1px solid rgba(239, 68, 68, .4); color: #DC2626; }
[data-theme="dark"] .form-notice--err { color: #FCA5A5; }

.contact__info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--border); transition: border-color .3s, transform .4s var(--ease); }
.info-card:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.info-card__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.info-card__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 2px 0 4px; }
.info-card__value { margin: 0; color: var(--heading); font-size: 1.05rem; word-break: break-word; }
.info-card__value a { color: var(--heading); }
.info-card__value a:hover { color: var(--accent); }
.info-card--promise { align-items: center; background: var(--hero-bg); }
.info-card--promise p { margin: 0; font-weight: 500; color: var(--heading); line-height: 1.4; }
.admin-hint { padding: 16px; border-radius: 12px; border: 1px dashed #D97706; color: var(--heading); background: rgba(217, 119, 6, .08); font-size: .95rem; }

/* ---------- Entry content ---------- */
.entry-content { font-size: 1.1rem; color: var(--text); }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.4em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--heading); font-size: 1.2rem; }
.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { border-radius: var(--radius); }
.post-card__thumb { display: block; margin: -34px -30px 24px; aspect-ratio: 16/9; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__date { font-size: .85rem; color: var(--accent-text); margin-bottom: 8px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); color: var(--heading); }
.pagination .current { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }

/* ---------- Footer (always dark) ---------- */
.site-footer { position: relative; overflow: hidden; padding: 88px 0 32px; margin-top: clamp(80px, 10vw, 128px); background: var(--bg-deep); border-top: 1px solid var(--border); }
.arcs--footer { opacity: .7; }
.site-footer .brand { font-size: 2.3rem; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-tagline { color: var(--muted); margin: 22px 0 24px; max-width: 320px; }
.footer-title { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { color: var(--text); transition: color .2s, padding-left .3s var(--ease); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.footer-contact li > .icon { flex: none; margin-top: 4px; color: var(--accent); }
.footer-contact a { color: var(--text); }
.footer-contact a:hover { color: var(--heading); }
.footer-contact .link-arrow { color: var(--accent); }
.socials { display: flex; gap: 10px; list-style: none; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); color: var(--text); transition: all .3s var(--ease); }
.socials a:hover { color: var(--btn-text); background: var(--btn-bg); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--heading); }
.to-top .icon { transform: rotate(-90deg); transition: transform .3s var(--ease); }
.to-top:hover { color: var(--btn-text); background: var(--btn-bg); border-color: transparent; }
.to-top:hover .icon { transform: rotate(-90deg) translateX(3px); }

.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
	transition: transform .35s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
	opacity: 0; transform: translateY(32px);
	transition: opacity .9s var(--ease), transform .9s var(--ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"] { transform: scale(.95); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in,
.js .reason[data-reveal].is-in { transition: opacity .9s var(--ease), transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); transition-delay: calc(var(--d, 0) * 90ms), 0s, 0s, 0s; }

/* ---------- Keyframes ---------- */
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes orbitIn { to { opacity: 1; transform: scale(1); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.cards, .cards--3 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.orbit__chip-in em { display: none; }
	.orbit__chip-in { padding: 10px; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.brand { font-size: 1.8rem; }
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 20px; margin: 0;
		padding: 16px 24px 32px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header { background: var(--bg); }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--border); }
	.primary-nav .menu a::after { display: none; }
	.nav-cta { align-self: flex-start; }

	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { order: -1; }
	.orbit { --size: min(300px, 74vw); }
	.hero { padding-top: calc(var(--header-h) + 32px); }
	.scroll-cue { display: none; }

	.steps { grid-template-columns: 1fr; gap: 36px; }
	.steps__line { left: 34px; right: auto; top: 35px; bottom: 35px; width: 2px; height: auto; }
	.steps__line span { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
	.step { display: grid; grid-template-columns: 70px 1fr; column-gap: 22px; text-align: left; padding: 0; }
	.step__icon { grid-row: span 3; margin: 0; }

	.why__grid, .service-row, .story__grid, .contact__grid { grid-template-columns: 1fr; }
	.service-row--flip .service-row__visual { order: 0; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.container { padding: 0 16px; }
	.brand { font-size: 1.65rem; }
	.cards, .cards--3 { grid-template-columns: 1fr; }
	.form-row, .checklist { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.card { padding: 28px 22px 24px; }
	.post-card__thumb { margin: -28px -22px 20px; }
	.reason { padding: 20px; gap: 16px; }
	.footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
	.eyebrow { letter-spacing: .18em; font-size: .74rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.js .hero__title .line > span { transform: none; }
	.js .orbit { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
}

/* ==========================================================================
   v2.1 — Showcase reel, homepage services strip, How We Work panels
   ========================================================================== */

/* ---------- Split section head ---------- */
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; }
.section-head--split .section-title { margin: 0; }
.section-head--split .section-text { margin: 0; }

/* ---------- More services strip ---------- */
.more-services {
	margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px 26px;
	border-radius: var(--radius); border: 1px dashed var(--accent-border); background: var(--accent-soft);
}
.more-services__label { margin: 0; font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.more-services__list { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.more-services__list a {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
	background: var(--bg); border: 1px solid var(--border-strong); color: var(--heading); font-weight: 500; font-size: .95rem;
	transition: border-color .25s, color .25s, transform .35s var(--ease);
}
.more-services__list a .icon { color: var(--accent); }
.more-services__list a:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }

/* ---------- Showcase reel ---------- */
.showcase { padding-bottom: clamp(40px, 6vw, 72px); }
.reel__stage {
	position: relative; display: grid; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
	background: var(--hero-bg); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.reel__slide {
	grid-area: 1 / 1; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px, 4vw, 56px);
	padding: clamp(28px, 4.5vw, 60px) clamp(24px, 4.5vw, 60px) clamp(72px, 7vw, 84px); min-height: 520px;
	opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.reel__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.reel__slide.is-active .reel__caption > * { animation: capIn .8s var(--ease) both; }
.reel__slide.is-active .reel__caption > :nth-child(1) { animation-delay: .1s; }
.reel__slide.is-active .reel__caption > :nth-child(2) { animation-delay: .2s; }
.reel__slide.is-active .reel__caption > :nth-child(3) { animation-delay: .3s; }
.reel__slide.is-active .reel__caption > :nth-child(4) { animation-delay: .4s; }
.reel__kick { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-text); }
.reel__kick span { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--accent-border); color: var(--heading); letter-spacing: .1em; }
.reel__title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; }
.reel__text { color: var(--text); font-size: 1.08rem; font-weight: 300; max-width: 440px; margin-bottom: 22px; }
.reel__scene { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.reel__slide.is-active .reel__scene { animation: sceneIn .9s var(--ease) both; }

.reel__controls { position: absolute; right: 24px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 14px; }
.reel__count { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.reel__count b { color: var(--heading); font-weight: 600; }
.reel__play {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
	border: 1px solid var(--border-strong); background: var(--surface); color: var(--heading); cursor: pointer; transition: border-color .25s, background-color .25s;
}
.reel__play:hover { border-color: var(--accent); }
.reel__icon-play { display: none; }
.reel.is-paused .reel__icon-play { display: inline-flex; }
.reel.is-paused .reel__icon-pause { display: none; }

.reel__tabs { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 14px; margin-top: 18px; }
.reel__tab { padding: 10px 0 4px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--muted); font: inherit; }
.reel__bar { display: block; height: 3px; margin-bottom: 12px; border-radius: 3px; background: var(--border-strong); overflow: hidden; }
.reel__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); }
.reel__tab-label { display: flex; gap: 8px; font-size: .98rem; font-weight: 500; transition: color .25s; }
.reel__tab-label em { font-style: normal; color: var(--accent-text); }
.reel__tab.is-active,
.reel__tab:hover { color: var(--heading); }

/* Scene: dashboard */
.scene-dash { width: 100%; max-width: 560px; }
.win { border-radius: 16px; border: 1px solid var(--border-strong); background: var(--bg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #F87171; }
.win__bar i:nth-child(2) { background: #FBBF24; }
.win__bar i:nth-child(3) { background: #34D399; }
.win__url { margin-left: 12px; padding: 3px 12px; border-radius: 999px; background: var(--surface-hover); font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__body { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.dash__side { display: flex; flex-direction: column; gap: 12px; padding: 16px 12px; border-right: 1px solid var(--border); }
.dash__side b { width: 28px; height: 28px; margin-bottom: 8px; border-radius: 8px; background: var(--accent); }
.dash__side span { height: 8px; border-radius: 4px; background: var(--border-strong); }
.dash__side span.on { background: var(--accent); opacity: .7; }
.dash__main { display: grid; gap: 14px; padding: 16px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { position: relative; padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.kpi em { display: block; margin-bottom: 10px; font-style: normal; font-size: .72rem; color: var(--muted); }
.kpi__bar { display: block; width: 62%; height: 10px; border-radius: 5px; background: var(--heading); opacity: .85; transform-origin: left; }
.kpi:nth-child(2) .kpi__bar { width: 74%; }
.kpi:nth-child(3) .kpi__bar { width: 50%; }
.kpi__up { position: absolute; right: 10px; top: 10px; color: var(--accent); }
.dash__chart { position: relative; height: 124px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.dash__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--accent-soft); border-top: 2px solid var(--accent); transform-origin: bottom; }
.dash__chart svg { position: absolute; left: 10px; top: 10px; width: calc(100% - 20px); height: calc(100% - 20px); overflow: visible; }
.dash__line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; }
.dash__rows { display: grid; gap: 8px; }
.dash__row { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); }
.dash__row span { height: 7px; border-radius: 4px; background: var(--border-strong); }
.dash__row b { padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: .66rem; font-weight: 500; }
.is-active .kpi { animation: popIn .6s var(--ease) both; animation-delay: calc(.3s + var(--i) * .12s); }
.is-active .kpi__bar { animation: growX 1s var(--ease) both; animation-delay: calc(.5s + var(--i) * .12s); }
.is-active .dash__chart i { animation: growY .9s var(--ease) both; animation-delay: calc(.6s + var(--i) * .07s); }
.is-active .dash__line { animation: draw 1.6s 1.2s var(--ease) forwards; }
.is-active .dash__row { animation: capIn .5s var(--ease) both; animation-delay: calc(1.5s + var(--i) * .15s); }

/* Scene: ERP */
.scene-erp { position: relative; width: 100%; max-width: 600px; aspect-ratio: 600 / 340; }
.erp__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.erp__lines path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 5 7; opacity: .6; vector-effect: non-scaling-stroke; }
.is-active .erp__lines { animation: fadeIn .8s .4s both; }
.is-active .erp__lines path { animation: flowDash 1.1s linear infinite; }
.erp__hub {
	position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30%; aspect-ratio: 1; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	background: var(--bg); border: 1px solid var(--accent-border); box-shadow: 0 0 0 10px var(--accent-soft), 0 0 60px var(--btn-shadow);
}
.erp__hub .mark { font-size: clamp(2rem, 4vw, 3rem); }
.erp__hub em { font-style: normal; font-size: .78rem; font-weight: 500; color: var(--muted); }
.erp__mod {
	position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
	background: var(--bg); border: 1px solid var(--border-strong); color: var(--heading); font-size: .85rem; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow);
}
.erp__mod { width: max-content; }
.erp__mod .icon { flex: none; max-width: none; color: var(--accent); }
.is-active .erp__hub { animation: popIn .7s .1s var(--ease) both; }
.is-active .erp__mod { animation: popIn .6s var(--ease) both; animation-delay: calc(.6s + var(--i) * .12s); }

/* Scene: automation flow */
.scene-flow { position: relative; width: 100%; max-width: 580px; display: grid; gap: 26px; }
.flow__track { position: absolute; left: 12.5%; right: 12.5%; top: 32px; height: 2px; background: var(--border-strong); }
.flow__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.flow__token { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 20px var(--accent); opacity: 0; }
.flow__nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.flow__node { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.flow__node em { font-style: normal; font-size: .82rem; font-weight: 500; color: var(--heading); line-height: 1.3; }
.flow__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border-strong); color: var(--muted); }
.flow__check { position: absolute; right: -7px; top: -7px; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-text); transform: scale(0); }
.flow__log { display: grid; gap: 9px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); font-size: .88rem; color: var(--text); }
.flow__log span { display: flex; align-items: center; gap: 10px; }
.flow__log .icon { flex: none; color: var(--accent); }
.is-active .flow__fill { animation: growX 3.2s .4s linear forwards; }
.is-active .flow__token { animation: token 3.2s .4s linear forwards; }
.is-active .flow__icon { animation: nodeOn .5s var(--ease) both; animation-delay: calc(.4s + var(--i) * 1.07s); }
.is-active .flow__check { animation: checkIn .4s var(--ease) both; animation-delay: calc(.55s + var(--i) * 1.07s); }
.is-active .flow__log span { animation: capIn .5s var(--ease) both; animation-delay: calc(.7s + var(--i) * 1.07s); }

/* Scene: AI chat */
.scene-ai { width: 100%; max-width: 440px; }
.chat { border-radius: 20px; border: 1px solid var(--border-strong); background: var(--bg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface); }
.chat__head strong { display: block; color: var(--heading); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.chat__head em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .78rem; color: var(--accent-text); }
.chat__head em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mark--xs { width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); font-size: 1.7rem; padding-top: 2px; }
.chat__body { display: grid; grid-template-rows: auto auto auto; gap: 12px; min-height: 290px; align-content: start; padding: 20px 18px 22px; }
.bubble { margin: 0; max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: .92rem; line-height: 1.5; }
.bubble--user { grid-row: 1; justify-self: end; background: var(--btn-bg); color: var(--btn-text); border-bottom-right-radius: 4px; }
.bubble--typing,
.bubble--bot { grid-row: 2; grid-column: 1; justify-self: start; background: var(--surface-hover); border: 1px solid var(--border); color: var(--heading); border-bottom-left-radius: 4px; }
.bubble--typing { display: flex; gap: 5px; align-self: start; padding: 14px 16px; }
.bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.bubble--typing i:nth-child(2) { animation-delay: .15s; }
.bubble--typing i:nth-child(3) { animation-delay: .3s; }
.chat__actions { grid-row: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.chat__actions span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-text); font-size: .78rem; font-weight: 500; }
.is-active .bubble--user { animation: capIn .5s .4s var(--ease) both; }
.is-active .bubble--typing { animation: typingShow 1.4s 1s both; }
.is-active .bubble--bot { animation: capIn .6s 2.4s var(--ease) both; }
.is-active .chat__actions span { animation: popIn .5s var(--ease) both; animation-delay: calc(3.1s + var(--i) * .4s); }

/* Scene: company video */
.scene-video { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 360px; }
.reel__video { width: auto; height: auto; max-width: 100%; max-height: 440px; border-radius: 18px; background: #000; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.reel__sound {
	position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(6, 14, 29, .7); color: #fff; cursor: pointer;
}
.reel__sound-on { display: none; }
.reel__sound.is-on .reel__sound-on { display: inline-flex; }
.reel__sound.is-on .reel__sound-off { display: none; }

/* ---------- How We Work panels ---------- */
.journey { display: flex; gap: 14px; height: 440px; }
.journey__panel {
	position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
	border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card-bg);
	transition: flex-grow .8s var(--ease), border-color .5s, box-shadow .5s;
}
[data-theme="light"] .journey__panel { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px -22px rgba(15, 23, 42, .18); }
.journey__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-bg); opacity: 0; transition: opacity .6s; }
.journey__panel.is-active { flex-grow: 3.2; border-color: var(--accent-border); }
.journey__panel.is-active::before { opacity: 1; }
.journey__panel:not(.is-active):hover { border-color: var(--accent-border); }
.journey__arcs { opacity: 0; transition: opacity .6s; z-index: -1; }
.is-active .journey__arcs { opacity: 1; }
.journey__big {
	position: absolute; right: -6px; bottom: -36px; z-index: -1; font-size: 13rem; font-weight: 700; line-height: 1; letter-spacing: -.04em;
	color: transparent; -webkit-text-stroke: 1.5px var(--accent-border); opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s var(--ease);
}
.is-active .journey__big { opacity: 1; transform: none; }
.journey__head {
	position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
	padding: 28px 24px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.journey__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border); transition: background-color .4s, color .4s; }
.journey__num { margin-top: auto; font-size: .82rem; font-weight: 500; letter-spacing: .2em; color: var(--accent-text); }
.journey__title { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.45rem; font-weight: 600; line-height: 1.1; color: var(--heading); white-space: nowrap; }
.journey__panel.is-active .journey__head { bottom: auto; padding: 36px 40px 0; cursor: default; }
.journey__panel.is-active .journey__icon { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }
.journey__panel.is-active .journey__num { margin-top: 6px; }
.journey__panel.is-active .journey__title { writing-mode: horizontal-tb; transform: none; font-size: clamp(1.8rem, 2.6vw, 2.4rem); animation: capIn .6s var(--ease) both; }
.journey__body {
	position: absolute; left: 40px; right: 40px; bottom: 44px; max-width: 470px;
	opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, transform .6s var(--ease), visibility .4s;
}
.journey__panel.is-active .journey__body { opacity: 1; visibility: visible; transform: none; transition-delay: .35s; }
.journey__text { color: var(--text); font-size: 1.08rem; margin-bottom: 18px; }
.journey__out { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); font-weight: 500; }
.journey__out .icon { flex: none; margin-top: 3px; color: var(--accent); }
.journey__out em { display: block; margin-bottom: 2px; font-style: normal; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.journey__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.journey__bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); }

/* ---------- v2.1 keyframes ---------- */
@keyframes capIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sceneIn { from { opacity: 0; transform: translateX(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flowDash { to { stroke-dashoffset: -24; } }
@keyframes token { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 1; } }
@keyframes nodeOn { to { color: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); } }
@keyframes checkIn { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes typingShow { 0% { opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- v2.1 responsive ---------- */
@media (max-width: 960px) {
	.section-head--split { grid-template-columns: 1fr; }
	.reel__slide { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding-bottom: 80px; }
	.reel__scene { order: -1; min-height: 280px; }
	.journey { flex-direction: column; height: auto; }
	.journey__panel { flex: none; }
	.journey__head,
	.journey__panel.is-active .journey__head { position: relative; inset: auto; flex-direction: row; align-items: center; gap: 14px; padding: 18px 20px; }
	.journey__num,
	.journey__panel.is-active .journey__num { margin: 0; }
	.journey__title,
	.journey__panel.is-active .journey__title { writing-mode: horizontal-tb; transform: none; font-size: 1.25rem; animation: none; }
	.journey__icon { width: 44px; height: 44px; }
	.journey__body { position: static; display: none; max-width: none; padding: 0 20px 22px; opacity: 1; visibility: visible; transform: none; }
	.journey__panel.is-active .journey__body { display: block; }
	.journey__big { font-size: 7rem; bottom: -20px; }
	.journey__bar { display: none; }
}

@media (max-width: 640px) {
	.reel__slide { padding: 20px 18px 76px; }
	.reel__scene { min-height: 240px; }
	.reel__tab-label { display: none; }
	.reel__tabs { gap: 8px; }
	.win__body { grid-template-columns: 40px 1fr; min-height: 0; }
	.dash__side { padding: 12px 8px; }
	.dash__main { padding: 10px; gap: 10px; }
	.kpi { padding: 8px; }
	.kpi__up { display: none; }
	.dash__chart { height: 90px; gap: 5px; }
	.dash__row:nth-child(3) { display: none; }
	.scene-erp { aspect-ratio: 600 / 420; }
	.erp__mod { padding: 6px 9px; font-size: .68rem; gap: 0; }
	.erp__mod .icon { display: none; }
	.erp__hub em { display: none; }
	.flow__icon { width: 48px; height: 48px; border-radius: 14px; }
	.flow__track { top: 24px; }
	.flow__node em { font-size: .7rem; }
	.flow__log { font-size: .78rem; padding: 12px 14px; }
	.more-services { padding: 18px; }
}

/* ==========================================================================
   v3.0 — Photo hero slider, imagery, technologies, FAQ
   ========================================================================== */

:root,
[data-theme="dark"],
.force-dark {
	--hero-overlay:
		linear-gradient(180deg, rgba(6, 14, 29, .85) 0%, rgba(6, 14, 29, 0) 24%),
		linear-gradient(0deg, var(--bg) 0%, rgba(6, 14, 29, 0) 22%),
		linear-gradient(90deg, rgba(6, 14, 29, .95) 0%, rgba(6, 14, 29, .82) 40%, rgba(6, 14, 29, .38) 72%, rgba(6, 14, 29, .22) 100%);
	--hero-overlay-mobile: linear-gradient(180deg, rgba(6, 14, 29, .82) 0%, rgba(6, 14, 29, .78) 60%, var(--bg) 100%);
	--photo-tint: rgba(6, 14, 29, .55);
}
[data-theme="light"] {
	--hero-overlay:
		linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 24%),
		linear-gradient(0deg, var(--bg) 0%, rgba(255, 255, 255, 0) 22%),
		linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .88) 40%, rgba(255, 255, 255, .42) 72%, rgba(255, 255, 255, .18) 100%);
	--hero-overlay-mobile: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .86) 60%, var(--bg) 100%);
	--photo-tint: rgba(15, 23, 42, .35);
}

/* ---------- Photo hero slider ---------- */
.hero--media { background: var(--bg); padding-bottom: 64px; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease);
}
.hero__img.is-active { opacity: 1; animation: kenBurns 9s ease-out forwards; }
.hero__img.is-leaving { transform: scale(1); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.hero__arcs { opacity: .6; }
.hero--media .hero__inner { display: block; }
.hero__slides { display: grid; max-width: 760px; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.js .hero--media .hero__title .line > span { transform: translateY(105%); animation: none; }
.hero--media .hero__slide.is-active .hero__title .line > span { animation: lineUp 1s var(--ease) both; }
.hero--media .hero__slide.is-active .hero__title .line:nth-child(1) > span { animation-delay: .15s; }
.hero--media .hero__slide.is-active .hero__title .line:nth-child(2) > span { animation-delay: .3s; }
.hero__slide.is-active .eyebrow { animation: capIn .7s var(--ease) both; }
.hero__slide.is-active .lead { animation: capIn .8s .45s var(--ease) both; }
.hero__slide.is-active .hero__actions { animation: capIn .8s .6s var(--ease) both; }
.hero--media .lead { margin-bottom: 34px; color: var(--text); }
.hero--media .hero__title { font-size: clamp(2.5rem, 5vw, 4.1rem); }

.hero__nav { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(48px, 7vw, 88px); }
.hero__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(680px, 100%); }
.hero__tab { padding: 10px 0 4px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--muted); font: inherit; }
.hero__bar { display: block; height: 3px; margin-bottom: 12px; border-radius: 3px; background: var(--border-strong); overflow: hidden; }
.hero__bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--accent); }
.hero__tab-label { display: flex; gap: 8px; font-size: .92rem; font-weight: 500; transition: color .25s; white-space: nowrap; }
.hero__tab-label > span { overflow: hidden; text-overflow: ellipsis; }
.hero__tabs { align-items: start; }
.hero__tab-label em { font-style: normal; color: var(--accent-text); }
.hero__tab.is-active,
.hero__tab:hover { color: var(--heading); }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
	border: 1px solid var(--border-strong); background: var(--surface); color: var(--heading); cursor: pointer; backdrop-filter: blur(8px);
	transition: border-color .25s, background-color .25s, color .25s;
}
.hero__arrow:hover { border-color: var(--accent); background: var(--btn-bg); color: var(--btn-text); }
.hero__arrow--prev .icon { transform: rotate(180deg); }

/* ---------- Inner page hero with photo ---------- */
.page-hero--photo { background: var(--bg); }
.page-hero__photo { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenBurns 14s ease-out both; }

/* ---------- Cards with photos ---------- */
.card__media { display: block; margin: -34px -30px 0; aspect-ratio: 16 / 9; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card--media:hover .card__media img { transform: scale(1.06); }
.card--media .card__icon { position: relative; z-index: 1; margin-top: -29px; background-color: var(--bg); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.card--media .card__num { z-index: 1; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; background: rgba(6, 14, 29, .65); color: #fff; opacity: 1; }

/* ---------- Service photos (Services page) ---------- */
.service-photo { position: relative; aspect-ratio: 1 / .82; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.service-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-photo:hover img { transform: scale(1.05); }
.service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 14, 29, 0) 45%, rgba(6, 14, 29, .7) 100%); }
.service-photo__num { position: absolute; z-index: 1; right: 24px; top: 18px; font-weight: 700; font-size: 3.4rem; line-height: 1; color: #fff; opacity: .9; text-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.service-photo__icon { position: absolute; z-index: 1; left: 24px; bottom: 24px; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 20px; background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 16px 36px -12px var(--btn-shadow); }

/* ---------- About photo ---------- */
.story__media { position: relative; padding-bottom: 28px; }
.story__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.story__badge { position: absolute; left: 24px; bottom: 0; padding: 18px 22px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 2.2rem; }

/* ---------- CTA photo ---------- */
.cta__photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }

/* ---------- Showcase fixes ---------- */
.erp__hub-icon { display: inline-flex; color: var(--accent); }
.chat__avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }

/* ---------- Technologies ---------- */
.tech { padding-bottom: clamp(64px, 8vw, 104px); }
.tech .section-head { margin-bottom: 40px; }
.tech__rows {
	display: grid; gap: 14px; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tech__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.tech__row--reverse .tech__track { animation-direction: reverse; animation-duration: 80s; }
.tech__rows:hover .tech__track { animation-play-state: paused; }
.tech__chip {
	display: inline-flex; align-items: center; gap: 12px; margin-right: 14px; padding: 12px 20px 12px 12px; border-radius: 14px;
	background: var(--card-bg); border: 1px solid var(--border); color: var(--heading); font-weight: 500; font-size: 1.02rem; white-space: nowrap;
}
.tech__chip b { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro .btn { margin-top: 10px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--card-bg); border: 1px solid var(--border); transition: border-color .3s; }
.faq__item[open] { border-color: var(--accent-border); }
.faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; list-style: none;
	font-size: 1.1rem; font-weight: 500; color: var(--heading);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--btn-bg); color: var(--btn-text); }
.faq__a { padding: 0 22px 20px; }
.faq__a p { margin: 0; color: var(--muted); }
.faq__item[open] .faq__a { animation: capIn .45s var(--ease) both; }

@keyframes kenBurns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- v3.0 responsive ---------- */
@media (max-width: 960px) {
	.hero__overlay { background: var(--hero-overlay-mobile); }
	.hero--media { min-height: 0; padding-top: calc(var(--header-h) + 72px); }
	.hero__nav { margin-top: 40px; }
	.faq__grid { grid-template-columns: 1fr; }
	.faq__intro { position: static; }
}
@media (max-width: 640px) {
	.hero__tab-label { display: none; }
	.hero__arrow { width: 44px; height: 44px; }
	.card__media { margin: -28px -22px 0; }
	.service-photo__num { font-size: 2.6rem; }
	.story__badge { font-size: 1.7rem; left: 16px; }
	.tech__chip { font-size: .92rem; padding: 10px 16px 10px 10px; }
	.faq__q { font-size: 1rem; padding: 18px; }
	.faq__a { padding: 0 18px 18px; }
}
/* ==========================================================================
   v3.3 - Hero: wide background video (streamlined processes)
   ========================================================================== */

/* Always cinematic dark, in light and dark mode */
.hero--video { min-height: 100vh; min-height: 100svh; background: #050C1A; padding-bottom: 120px; }
.hero--video .hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero-v__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 50%; }
.hero-v__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(5, 12, 26, .78) 0%, rgba(5, 12, 26, 0) 22%),
		linear-gradient(0deg, rgba(5, 12, 26, .92) 0%, rgba(5, 12, 26, 0) 26%),
		linear-gradient(90deg, rgba(5, 12, 26, .94) 0%, rgba(5, 12, 26, .82) 30%, rgba(5, 12, 26, .38) 58%, rgba(5, 12, 26, .08) 82%, rgba(5, 12, 26, 0) 100%);
}
.hero--video .hero__inner { display: block; }
.hero-v { position: relative; }
.hero-v__copy { max-width: 800px; }
.hero--video .hero__title { font-size: clamp(2.6rem, 5vw, 4.3rem); color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
.hero--video .lead { max-width: 560px; margin-bottom: 34px; color: #CBD5E1; }
.hero--video .eyebrow { color: #2DD4BF; }

/* Flow strip mirrors the video: scattered -> streamlined -> faster */
.hero-v__flow {
	display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 0; margin: 42px 0 0; padding: 10px 18px; list-style: none;
	border-radius: 999px; background: rgba(6, 14, 29, .55); border: 1px solid rgba(148, 163, 184, .22);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-v__step { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: #CBD5E1; white-space: nowrap; }
.hero-v__step.is-during { color: #fff; }
.hero-v__step.is-after { color: #5EEAD4; }
.hero-v__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.is-before .hero-v__dot { background: #F87171; box-shadow: 0 0 10px rgba(248, 113, 113, .6); }
.is-during .hero-v__dot { background: #2DD4BF; box-shadow: 0 0 12px rgba(45, 212, 191, .8); }
.is-during .hero-v__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #2DD4BF; animation: pulse 2s ease-out infinite; }
.is-after .hero-v__dot { background: #99F6E4; box-shadow: 0 0 14px rgba(153, 246, 228, .9); }
.hero-v__arrow { display: inline-flex; align-items: center; width: 54px; padding: 0 10px; }
.hero-v__arrow span { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(148, 163, 184, .25); }
.hero-v__arrow span::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: linear-gradient(90deg, transparent, #2DD4BF); animation: heroFlow 1.8s linear infinite; }
.hero-v__arrow:nth-child(4) span::after { animation-delay: .9s; }

/* Pause / play (accessibility: moving backgrounds must be pausable) */
.hero-v__toggle {
	position: absolute; right: 28px; bottom: 28px; z-index: 3; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border-radius: 50%; cursor: pointer; color: #fff;
	border: 1px solid rgba(148, 163, 184, .35); background: rgba(6, 14, 29, .55); backdrop-filter: blur(8px);
	transition: border-color .25s, background-color .25s;
}
.hero-v__toggle:hover { border-color: #2DD4BF; background: rgba(45, 212, 191, .18); }
.hero-v__icon-play { display: none; }
.hero--video.is-paused .hero-v__icon-play { display: inline-flex; }
.hero--video.is-paused .hero-v__icon-pause { display: none; }
.hero--video .scroll-cue { border-color: rgba(203, 213, 225, .4); }

/* Header stays readable over the dark video in light mode until the page scrolls */
body:has(.hero--video) .site-header:not(.is-scrolled) {
	--heading: #FFFFFF; --text: #CBD5E1; --muted: #94A3B8; --wordmark-sub: #CBD5E1;
	--accent: #2DD4BF; --accent-text: #2DD4BF; --accent-soft: rgba(45, 212, 191, .12); --accent-border: rgba(45, 212, 191, .32);
	--btn-bg: #2DD4BF; --btn-text: #042F2E; --btn-hover: #5EEAD4; --btn-shadow: rgba(45, 212, 191, .4);
	--surface: rgba(255, 255, 255, .045); --surface-hover: rgba(255, 255, 255, .075); --border: rgba(148, 163, 184, .16); --border-strong: rgba(148, 163, 184, .32);
	--bg: #081628;
}

@keyframes heroFlow { to { left: 100%; } }

@media (max-width: 960px) {
	.hero--video { min-height: 0; padding-top: calc(var(--header-h) + 96px); padding-bottom: 96px; }
	.hero-v__shade { background: linear-gradient(180deg, rgba(5, 12, 26, .82) 0%, rgba(5, 12, 26, .72) 55%, rgba(5, 12, 26, .95) 100%); }
	.hero-v__video { object-position: 70% 50%; }
	.hero--video .scroll-cue { display: none; }
}
@media (max-width: 640px) {
	.hero-v__flow { border-radius: 18px; padding: 12px 14px; }
	.hero-v__step { font-size: .8rem; }
	.hero-v__arrow { width: 36px; padding: 0 7px; }
	.hero-v__toggle { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-v__arrow span::after { display: none; }
}
/* ==========================================================================
   v3.3.3 - mobile fixes and speed
   ========================================================================== */

/* Nothing may ever make the page wider than the screen (clip keeps sticky elements working). */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.site-main, .site-footer { overflow-x: clip; }
/* On phones and tablets, side slide-ins rise up instead (they were pushing the page wider). */
@media (max-width: 960px) {
	.js [data-reveal="left"],
	.js [data-reveal="right"] { transform: translateY(32px); }
	.reason:hover { transform: none; }
}

/* Video hero: responsive poster (portrait on phones) under the video, video fades in once playing */
.hero-v__poster, .hero-v__poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-v__poster img { object-fit: cover; object-position: 62% 50%; }
.hero-v__video { opacity: 0; transition: opacity .9s ease; }
.hero--video.is-playing .hero-v__video { opacity: 1; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1024px) {
	.hero-v__poster img, .hero-v__video { object-position: 50% 50%; }
}
/* Hero content appears immediately (better Largest Contentful Paint), still with a short entrance */
.js .hero--video .hero__title .line > span { animation-duration: .7s; }
.js .hero--video .hero__title .line:nth-child(1) > span { animation-delay: 0s; }
.js .hero--video .hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.js .hero--video [data-reveal] { transition-duration: .6s; transition-delay: 0s; }