/* ==========================================================================
   Merhouse 2026 — design system
   ========================================================================== */

:root {
	/* Light theme (default): white + cool grays, brand blue + coral as accents */
	--bg: #ffffff;
	--bg-2: #f5f6f8;
	--bg-3: #eceef2;
	--card: #ffffff;
	--surface: #f5f6f8;
	--surface-2: #eceef2;
	--text: #0e1116;
	--text-2: #3a404a;
	--muted: #5b6270;
	--dim: #8a909c;
	--text-rgb: 14, 17, 22;
	--line-rgb: 14, 17, 22;
	--line: rgba(14, 17, 22, .09);
	--line-2: rgba(14, 17, 22, .16);
	--panel-rgb: 255, 255, 255;
	--accent: #1f7aef;
	--accent-rgb: 31, 122, 239;
	--glow-rgb: 31, 122, 239;
	--cyan: #1f7aef;
	--blue: #1f7aef;
	--coral: #ff5a36;
	--coral-rgb: 255, 90, 54;
	--violet: #ff5a36;
	--accent2-rgb: 255, 90, 54;
	--mint: #12a150;
	--gold: #f5a524;
	--btn-bg: #0e1116;
	--btn-fg: #ffffff;
	--on-accent: #ffffff;
	--grad: linear-gradient(100deg, #1f7aef 0%, #6a6cf0 48%, #ff5a36 100%);
	--grad-soft: linear-gradient(135deg, rgba(31, 122, 239, .10), rgba(255, 90, 54, .06));
	--shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 12px 32px -16px rgba(14, 17, 22, .14);
	--shadow-lg: 0 2px 4px rgba(14, 17, 22, .04), 0 30px 60px -24px rgba(14, 17, 22, .22);
	--noise: .025;
	--ff-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
	--ff-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ff-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
}

/* Dark scope: graphite gray, used only for hero, vision, CTA and footer */
.dark, body.home .site-header:not(.is-scrolled) {
	--bg: #0e1015;
	--bg-2: #15181e;
	--bg-3: #1c2028;
	--card: rgba(255, 255, 255, .04);
	--surface: rgba(255, 255, 255, .04);
	--surface-2: rgba(255, 255, 255, .08);
	--text: #f2f4f7;
	--text-2: #c9ced6;
	--muted: #9aa1ad;
	--dim: #6b7280;
	--text-rgb: 242, 244, 247;
	--line-rgb: 255, 255, 255;
	--line: rgba(255, 255, 255, .09);
	--line-2: rgba(255, 255, 255, .16);
	--panel-rgb: 22, 25, 31;
	--accent: #4d9bff;
	--accent-rgb: 77, 155, 255;
	--glow-rgb: 77, 155, 255;
	--cyan: #5aa8ff;
	--mint: #4ade80;
	--btn-bg: #ffffff;
	--btn-fg: #0e1116;
	--grad: linear-gradient(100deg, #4d9bff 0%, #8f86ff 48%, #ff6a45 100%);
	--shadow: none;
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .6);
	color: var(--text);
}
.dark:not(.site-header) { background-color: var(--bg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body.mh {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--ff-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(var(--glow-rgb), .35); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.hide-sm { }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { position: relative; }

/* Noise overlay for depth */
body.mh::before {
	content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-main, .site-footer { position: relative; z-index: 2; }

/* ---------- Scroll progress + cursor glow ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--cyan); }
.cursor-glow {
	position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 1; pointer-events: none; border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--accent-rgb), .11), transparent 62%);
	transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .4s; opacity: 0;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
	--h: 52px; position: relative; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 8px 0 24px;
	border-radius: 999px; font-weight: 550; font-size: 15.5px; letter-spacing: -.005em; white-space: nowrap; isolation: isolate;
	transition: transform .5s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s; will-change: transform;
}
.btn__icon { display: grid; place-items: center; width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; transition: transform .5s var(--ease); overflow: hidden; }
.btn__icon .ico { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn:hover .btn__icon .ico { animation: none; }
.btn--primary { background: var(--grad); background-size: 160% 100%; color: var(--on-accent); box-shadow: 0 10px 40px -10px rgba(var(--accent-rgb), .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--primary .btn__icon { background: var(--on-accent); color: var(--cyan); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 18px 60px -12px rgba(var(--glow-rgb), .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { color: var(--text); background: var(--surface); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.btn--ghost .btn__icon { background: var(--surface-2); }
.btn--ghost:hover { border-color: rgba(var(--glow-rgb), .5); background: rgba(var(--glow-rgb), .08); }
.btn--sm { --h: 44px; padding-left: 18px; font-size: 14.5px; }
.btn--block { width: 100%; justify-content: space-between; }
.link-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; transition: color .2s; }
.link-inline:hover { color: var(--text); }

/* ---------- Eyebrows & headings ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em;
	color: var(--cyan); padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(var(--glow-rgb), .06); border: 1px solid rgba(var(--glow-rgb), .18);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(var(--glow-rgb), .7); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--glow-rgb), .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(var(--glow-rgb), 0); } }

.sec-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 20px; justify-items: start; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.sec-title { font-size: clamp(36px, 5.4vw, 68px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.sec-lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 640px; }

/* ---------- Reveal & split animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-split] em .w > span, .js [data-split] em.w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Spotlight cards ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow-rgb), .12), transparent 45%);
}
.spot::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--glow-rgb), .7), transparent 50%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- Background decor ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.orb--1 { width: 620px; height: 620px; background: radial-gradient(circle, #1466e0, transparent 65%); top: -220px; left: -160px; }
.orb--2 { width: 520px; height: 520px; background: radial-gradient(circle, #6a4dff, transparent 65%); top: 10%; right: -200px; opacity: .35; animation-delay: -6s; }
.orb--3 { width: 420px; height: 420px; background: radial-gradient(circle, #00b8e6, transparent 65%); bottom: -200px; left: 40%; opacity: .3; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.grid-lines {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(var(--line-rgb), .06) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--line-rgb), .06) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-130%); }
.site-header__inner {
	max-width: var(--wrap); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 20px; padding: 0 10px 0 18px;
	border-radius: 999px; border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled .site-header__inner {
	background: rgba(var(--panel-rgb), .62); border-color: var(--line); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand .mark { width: 34px; height: auto; transition: transform .6s var(--ease-spring); }
.brand:hover .mark { transform: rotate(-8deg) scale(1.08); }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-family: var(--ff-display); font-size: 19px; letter-spacing: -.02em; font-weight: 700; }
.brand__text small { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { margin: 0 auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li > a, .nav__trigger {
	position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s;
}
.nav__list > li > a:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
.nav__list > li > a[aria-current="page"] { color: var(--text); }
.nav__list > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.nav__trigger .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }

.has-mega { position: static; }
.mega { position: absolute; left: 50%; top: calc(100% + 10px); width: min(980px, calc(100vw - 2 * var(--gutter))); transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; }
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__inner {
	display: grid; grid-template-columns: 1fr 1fr 280px; gap: 8px; padding: 14px; border-radius: 26px; background: rgba(var(--panel-rgb), .92);
	border: 1px solid var(--line); backdrop-filter: blur(24px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7);
}
.mega__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 10px 12px 6px; }
.mega__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 16px; transition: background .25s; }
.mega__item:hover { background: var(--surface-2); }
.mega__item strong { display: block; font-size: 15px; font-weight: 600; }
.mega__item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.mega__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan); transition: transform .4s var(--ease-spring); }
.mega__item:hover .mega__icon { transform: scale(1.1) rotate(-6deg); }
.mega__promo { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, #0d3a8a, #0a1b3d 60%); border: 1px solid var(--line-2); }
.mega__promo-mark { position: absolute; right: -20px; bottom: -14px; width: 150px; opacity: .25; transition: transform .8s var(--ease); }
.mega__promo:hover .mega__promo-mark { transform: rotate(-10deg) scale(1.1); }
.mega__promo strong { font-family: var(--ff-display); font-size: 21px; line-height: 1.15; margin-top: auto; }
.mega__promo small { color: var(--muted); font-size: 13.5px; }
.mega__promo-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 600; font-size: 14px; margin-top: 6px; }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .site-header__actions { margin-left: 0; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang a { font-family: var(--ff-mono); font-size: 12px; padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: all .25s; }
.lang a.is-active { background: var(--surface-2); color: var(--text); }
.lang a:hover { color: var(--text); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 90; background: rgba(var(--panel-rgb), .96); backdrop-filter: blur(20px); padding: 110px var(--gutter) 40px; overflow-y: auto; }
.mobile-nav[hidden] { display: block; visibility: hidden; opacity: 0; pointer-events: none; }
.mobile-nav { transition: opacity .4s var(--ease), visibility .4s; }
.mobile-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.mobile-nav__inner { display: flex; flex-direction: column; }
.mobile-nav__inner > a, .mobile-nav summary {
	font-family: var(--ff-display); font-size: 34px; font-weight: 600; letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line);
	display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer;
	transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .ico { transform: rotate(45deg); }
.mobile-nav summary .ico { transition: transform .3s; }
.mobile-nav.is-open .mobile-nav__inner > a, .mobile-nav.is-open summary { transform: none; opacity: 1; }
.mobile-nav__inner > *:nth-child(2) > summary, .mobile-nav__inner > *:nth-child(2) { transition-delay: .05s; }
.mobile-nav__inner > *:nth-child(3) summary { transition-delay: .1s; }
.mobile-nav__inner > *:nth-child(4) { transition-delay: .15s; }
.mobile-nav__inner > *:nth-child(5) { transition-delay: .2s; }
.mobile-nav__inner > *:nth-child(6) { transition-delay: .25s; }
.mobile-nav__sub { display: grid; gap: 4px; padding: 12px 0; }
.mobile-nav__sub a { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 8px 0; font-size: 17px; }
.mobile-nav__sub a .ico { color: var(--cyan); }
.mobile-nav__foot { display: grid; gap: 18px; margin-top: 32px; justify-items: start; color: var(--muted); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 100px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .7; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; color: var(--muted);
	border: 1px solid var(--line-2); background: rgba(var(--panel-rgb), .6); backdrop-filter: blur(8px); transition: border-color .3s, color .3s;
}
.pill:hover { border-color: rgba(var(--glow-rgb), .5); color: var(--text); }
.pill .ico { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.pill:hover .ico { transform: translateX(3px); }
.pill__tag { background: var(--grad); color: var(--on-accent); font-weight: 700; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.hero__title { font-size: clamp(46px, 6.6vw, 100px); line-height: .96; letter-spacing: -.045em; font-weight: 600; display: grid; }
.hero__title .line { display: block; }
.hero__rotator { display: flex; align-items: baseline; gap: .25em; flex-wrap: wrap; }
.hero__with { color: var(--dim); font-weight: 400; font-style: italic; font-family: var(--ff-display); }
.rotator { position: relative; display: inline-grid; height: 1.08em; overflow: hidden; vertical-align: bottom; }
.rotator > span {
	grid-area: 1 / 1; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	transform: translateY(105%); opacity: 0; transition: transform .8s var(--ease), opacity .6s var(--ease);
}
.rotator > span.is-active { transform: none; opacity: 1; }
.rotator > span.is-leaving { transform: translateY(-105%); opacity: 0; }
.hero__lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: 14.5px; }
.hero__proof li { display: inline-flex; align-items: center; gap: 9px; }
.hero__proof .ico { color: var(--cyan); }
.hero__proof strong { color: var(--text); font-weight: 600; }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; transform-style: preserve-3d; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.hero__mark { position: absolute; inset: 24%; display: grid; place-items: center; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(var(--accent-rgb), .45)); transform: translateZ(40px); }
.hero__mark .mark { width: 100%; }
.hero__mark .mark path { animation: facet 6s ease-in-out infinite; }
.hero__mark .mark path:nth-child(3) { animation-delay: -1.5s; }
.hero__mark .mark path:nth-child(4) { animation-delay: -3s; }
.hero__mark .mark path:nth-child(5) { animation-delay: -4.5s; }
@keyframes facet { 50% { filter: brightness(1.25); } }
@keyframes float { 0%, 100% { transform: translateY(0) translateZ(40px); } 50% { transform: translateY(-16px) translateZ(40px); } }
.hero__ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(var(--glow-rgb), .25); animation: spin 50s linear infinite; }
.hero__ring--2 { inset: 0; border-style: solid; border-color: rgba(var(--line-rgb), .08); animation-duration: 80s; animation-direction: reverse; }
.hero__ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.hero__ring--2::before { background: var(--violet); box-shadow: 0 0 16px var(--violet); top: 50%; left: -4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
	position: absolute; padding: 14px 16px; border-radius: 18px; background: rgba(var(--panel-rgb), .72); border: 1px solid var(--line-2);
	backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
	animation: bob 8s ease-in-out infinite; animation-delay: var(--fd, 0s); transform: translateZ(80px); font-size: 13px;
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.float-card--code { top: 2%; left: 2%; width: 290px; padding: 0; overflow: hidden; }
.float-card__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--ff-mono); font-size: 11px; color: var(--dim); }
.float-card__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.float-card__bar i:nth-child(2) { background: #febc2e; }
.float-card__bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.float-card pre { margin: 0; padding: 14px 16px 16px; font-family: var(--ff-mono); font-size: 12px; line-height: 1.75; color: #c9d8f5; white-space: pre; min-height: 108px; }
.float-card pre .k { color: #8b7bff; } .float-card pre .s { color: #4ff0c3; } .float-card pre .f { color: #2fd8ff; } .float-card pre .o { color: #93a6c9; }
.typer-caret { display: inline-block; width: 7px; height: 14px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(2) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.float-card--metric { right: -4%; top: 30%; width: 200px; display: grid; gap: 10px; }
.float-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.float-card__row--muted { color: var(--dim); font-family: var(--ff-mono); font-size: 10.5px; font-weight: 400; }
.float-card__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(var(--glow-rgb), .12); color: var(--cyan); }
.float-card__icon--ok { background: rgba(var(--accent-rgb), .14); color: var(--mint); }
.spark { width: 100%; height: 44px; overflow: visible; }
.spark path { fill: none; stroke: url(#none); stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 3s var(--ease) 1s forwards; filter: drop-shadow(0 4px 10px rgba(var(--glow-rgb), .6)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.float-card--deploy { left: 2%; bottom: 10%; display: flex; gap: 12px; align-items: center; }
.float-card--deploy strong { display: block; font-size: 13.5px; }
.float-card--deploy small { color: var(--muted); font-family: var(--ff-mono); font-size: 11px; }
.float-card--nodes { right: 4%; bottom: 0; display: flex; align-items: center; gap: 0; padding: 12px 14px; }
.node { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--cyan); }
.node-line { position: relative; width: 28px; height: 2px; background: var(--line-2); overflow: hidden; }
.node-line::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--grad); animation: flow 1.6s linear infinite; }
.node-line:nth-of-type(4)::after { animation-delay: .8s; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--cyan); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   Clients marquee
   ========================================================================== */
.clients { padding: 28px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--panel-rgb), .4), transparent); }
.clients__label { text-align: center; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 24px; padding: 0 var(--gutter); }
.marquee { overflow: hidden; -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; gap: 18px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 70s; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.logo-chip { display: grid; place-items: center; height: 78px; width: 170px; padding: 14px 22px; border-radius: 18px; background: rgba(var(--text-rgb), .94); flex: none; transition: transform .4s var(--ease), box-shadow .4s; }
.logo-chip:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(var(--glow-rgb), .5); }
.logo-chip img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-chip:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   Manifesto / pillars
   ========================================================================== */
.manifesto { padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.manifesto .eyebrow { margin-bottom: 36px; }
.manifesto__text { font-family: var(--ff-display); font-size: clamp(34px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; max-width: 1100px; }
.manifesto__text .sw { color: rgba(var(--text-rgb), .14); transition: color .4s; }
.manifesto__text .sw.on { color: var(--text); }
.manifesto__text b { font-weight: 600; }
.manifesto__text b .sw.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.no-js .manifesto__text b { color: var(--cyan); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(60px, 8vw, 100px); }
.pillar { padding: 34px 30px 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; transition: transform .5s var(--ease), background .3s; }
.pillar:hover { transform: translateY(-6px); background: var(--surface-2); }
.pillar__num { position: absolute; top: 26px; right: 28px; font-family: var(--ff-mono); font-size: 13px; color: var(--dim); }
.pillar__icon, .diff__icon, .feature__icon, .bento__icon, .mv__icon, .plan__icon {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--cyan);
	background: linear-gradient(145deg, rgba(var(--accent-rgb), .22), rgba(var(--accent2-rgb), .1)); border: 1px solid rgba(var(--glow-rgb), .22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 30px -12px rgba(var(--accent-rgb), .5); transition: transform .6s var(--ease-spring);
}
.pillar__icon .ico, .diff__icon .ico, .feature__icon .ico, .bento__icon .ico, .mv__icon .ico, .plan__icon .ico { width: 26px; height: 26px; }
.pillar:hover .pillar__icon, .feature:hover .feature__icon, .bento__card:hover .bento__icon, .diff__card:hover .diff__icon, .plan:hover .plan__icon { transform: rotate(-10deg) scale(1.08); }
.pillar h3 { font-size: 28px; margin-top: 18px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   Services bento
   ========================================================================== */
.services { padding: clamp(80px, 10vw, 140px) 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(300px, auto); grid-auto-flow: dense; gap: 16px; }
.bento__card > :not(.bento__art):not(.bento__go):not(.bento__group) { position: relative; z-index: 1; }
.bento__art { z-index: 0; }
.bento__card {
	position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); overflow: hidden;
	background: linear-gradient(180deg, rgba(var(--panel-rgb), .55), rgba(var(--panel-rgb), .55)); border: 1px solid var(--line);
	transition: transform .6s var(--ease), border-color .3s;
}
.bento__card:hover { transform: translateY(-6px); }
.bento__card--wide { grid-column: span 2; }
.bento__card--tall { grid-row: span 2; }
.bento__group { position: absolute; top: 24px; right: 64px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.bento__card h3 { font-size: 24px; margin-top: 8px; }
.bento__card p { color: var(--muted); font-size: 15px; max-width: 440px; }
.bento__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.bento__tags span, .svc-tags li { font-family: var(--ff-mono); font-size: 11.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(var(--panel-rgb), .4); }
.bento__go { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: all .45s var(--ease); }
.bento__card:hover .bento__go, .related__card:hover .bento__go { background: var(--grad); border-color: transparent; color: var(--on-accent); transform: rotate(45deg); }

/* decorative art in bento cards */
.bento__art { position: absolute; pointer-events: none; }
.bento__art--browser { right: -30px; bottom: -40px; width: 300px; height: 190px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(var(--panel-rgb), .7); padding: 34px 16px 16px; display: grid; gap: 10px; transform: rotate(-6deg); transition: transform .8s var(--ease); }
.bento__card:hover .bento__art--browser { transform: rotate(-2deg) translateY(-10px); }
.bento__art--browser i { position: absolute; top: 13px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.bento__art--browser i:nth-child(2) { left: 28px; } .bento__art--browser i:nth-child(3) { left: 42px; }
.bento__art--browser b { display: block; height: 14px; border-radius: 6px; background: var(--surface-2); }
.bento__art--browser b:first-of-type { width: 60%; background: var(--grad); opacity: .7; height: 22px; }
.bento__art--browser b:nth-of-type(2) { width: 85%; }
.bento__art--browser b:nth-of-type(3) { width: 45%; }
.bento__card--wide p { max-width: 52%; }
.bento__art--phone { left: 50%; bottom: -60px; width: 170px; height: 300px; margin-left: -85px; border-radius: 32px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(var(--panel-rgb), .9), rgba(var(--panel-rgb), .9)); padding: 36px 14px; display: grid; gap: 10px; align-content: start; transition: transform .8s var(--ease); box-shadow: 0 -20px 60px -20px rgba(var(--accent-rgb), .5); }
.bento__art--phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 50px; height: 6px; margin-left: -25px; border-radius: 6px; background: var(--line-2); }
.bento__art--phone b { display: block; height: 46px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.bento__art--phone b:first-child { height: 70px; background: var(--grad); opacity: .65; }
.bento__card:hover .bento__art--phone { transform: translateY(-24px); }
.bento__card--tall .bento__tags { margin-top: 0; }
.bento__card--tall { padding-bottom: 260px; }
.bento__art--bars { right: 28px; bottom: 28px; height: 120px; display: flex; align-items: flex-end; gap: 8px; }
.bento__art--bars b { display: block; width: 16px; border-radius: 5px 5px 2px 2px; background: var(--grad); opacity: .75; height: var(--h, 40%); transition: height .8s var(--ease); }
.bento__art--bars b:nth-child(1) { --h: 30%; } .bento__art--bars b:nth-child(2) { --h: 45%; } .bento__art--bars b:nth-child(3) { --h: 38%; } .bento__art--bars b:nth-child(4) { --h: 60%; }
.bento__art--bars b:nth-child(5) { --h: 55%; } .bento__art--bars b:nth-child(6) { --h: 80%; } .bento__art--bars b:nth-child(7) { --h: 100%; }
.bento__card:hover .bento__art--bars b { animation: bars 1.2s var(--ease) infinite alternate; }
.bento__card:hover .bento__art--bars b:nth-child(2n) { animation-delay: .2s; }
.bento__card:hover .bento__art--bars b:nth-child(3n) { animation-delay: .4s; }
.bento__art--line { right: 24px; bottom: 24px; width: 46%; max-width: 300px; }
.bento__art--line svg { width: 100%; height: auto; overflow: visible; }
.bento__art--line .area { fill: url(#gl); opacity: .12; }
.bento__art--line .ln { fill: none; stroke: url(#gl); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 320; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease); }
.bento__art--line circle { fill: var(--cyan); filter: drop-shadow(0 0 8px var(--cyan)); }
.bento__card:hover .bento__art--line .ln { animation: redraw 1.6s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: 320; } }
.bento__card--wide:has(.bento__art--line) p { max-width: 48%; }
@keyframes bars { to { height: calc(var(--h) * .55); } }

/* ==========================================================================
   Journey / process
   ========================================================================== */
.journey { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--accent-rgb), .1), transparent 70%); }
.journey__track { position: relative; }
.journey__line { position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin: 0 calc(100% / 12); }
.journey__line span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--jp, 0)); box-shadow: 0 0 20px var(--cyan); }
.journey__steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.step { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 0 4px; }
.step__dot {
	position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2);
	color: var(--muted); transition: all .6s var(--ease); z-index: 1;
}
.step__dot .ico { width: 24px; height: 24px; }
.step.is-lit .step__dot { color: var(--on-accent); background: var(--grad); border-color: transparent; box-shadow: 0 0 0 8px rgba(var(--glow-rgb), .1), 0 12px 30px -6px rgba(var(--glow-rgb), .6); }
.step__num { font-family: var(--ff-mono); font-size: 12px; color: var(--dim); margin-top: 8px; }
.step h3 { font-size: 18px; letter-spacing: -.015em; line-height: 1.2; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 20px 0 clamp(60px, 8vw, 100px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.stat { padding: 36px 28px; display: grid; gap: 10px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--ff-display); font-size: clamp(46px, 5vw, 68px); font-weight: 600; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { padding: clamp(80px, 10vw, 140px) 0; }
.tabs { position: relative; display: flex; width: max-content; margin: 0 auto 48px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.tabs__glider { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--grad); transition: transform .5s var(--ease), width .5s var(--ease); box-shadow: 0 8px 24px -8px rgba(var(--glow-rgb), .7); }
.tabs__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .3s; }
.tabs__btn.is-active { color: var(--on-accent); }
.plans[hidden] { display: none; }
.plans.is-active .plan { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.plans__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan--popular { background: linear-gradient(180deg, rgba(var(--accent-rgb), .16), rgba(var(--accent2-rgb), .06)); border-color: rgba(var(--glow-rgb), .4); box-shadow: 0 30px 80px -30px rgba(var(--accent-rgb), .6); }
.plan__badge { position: absolute; top: -13px; left: 24px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--on-accent); }
.plan__badge .ico { width: 13px; height: 13px; fill: currentColor; }
.plan__icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 8px; }
.plan__icon .ico { width: 22px; height: 22px; }
.plan__name { font-size: 22px; }
.plan__for { color: var(--muted); font-size: 14px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.plan__price span { font-family: var(--ff-display); font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan__price small { color: var(--dim); font-family: var(--ff-mono); font-size: 12px; }
.plan__list { display: grid; gap: 10px; padding: 18px 0 22px; margin-top: 6px; border-top: 1px solid var(--line); flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.plan__list .ico { color: var(--mint); margin-top: 3px; width: 16px; height: 16px; }
.plans__custom { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 16px; padding: 26px 28px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: rgba(var(--panel-rgb), .5); }
.plans__custom-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); color: var(--violet); }
.plans__custom h3 { font-size: 21px; margin-bottom: 4px; }
.plans__custom p { color: var(--muted); font-size: 15px; max-width: 680px; }
.plans__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; color: var(--dim); font-size: 13.5px; text-align: center; }

/* ==========================================================================
   Vision + globe
   ========================================================================== */
.vision { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(var(--panel-rgb), .6) 30%, rgba(var(--panel-rgb), .6) 70%, transparent); }
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vision__copy { display: grid; gap: 22px; justify-items: start; }
.vision__verbs { display: grid; gap: 0; width: 100%; margin-top: 18px; }
.vision__verbs li { display: grid; grid-template-columns: 40px 140px 1fr; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.vision__verbs li:last-child { border-bottom: 1px solid var(--line); }
.vision__verbs span { font-family: var(--ff-mono); font-size: 12px; color: var(--dim); }
.vision__verbs strong { font-family: var(--ff-display); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.vision__verbs small { color: var(--muted); font-size: 15px; }
.vision__globe { position: relative; aspect-ratio: 1; max-width: 600px; width: 100%; justify-self: center; }
.vision__globe canvas { width: 100%; height: 100%; }
.vision__globe::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(var(--accent-rgb), .25), transparent 65%); filter: blur(30px); }
.globe-tag { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(var(--panel-rgb), .8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); animation: bob 6s ease-in-out infinite; }
.globe-tag .ico { width: 14px; height: 14px; color: var(--cyan); }
.globe-tag--1 { top: 16%; left: 6%; }
.globe-tag--2 { top: 46%; right: 0; animation-delay: -2s; }
.globe-tag--3 { bottom: 14%; left: 14%; animation-delay: -4s; }

/* ==========================================================================
   Stack marquee
   ========================================================================== */
.stack { padding: 10px 0 30px; }
.stack__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-size: clamp(28px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; color: rgba(var(--text-rgb), .16); white-space: nowrap; padding: 0 14px; transition: color .3s; }
.stack__item:hover { color: var(--text); }
.stack__item .ico { width: .55em; height: .55em; color: var(--blue); opacity: .6; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.voices { padding: clamp(80px, 10vw, 140px) 0 clamp(20px, 3vw, 40px); }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voice { margin: 0; padding: 32px 28px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; transition: transform .5s var(--ease); }
.voice:hover { transform: translateY(-6px); }
.voice__quote { position: absolute; top: 22px; right: 24px; color: rgba(var(--glow-rgb), .18); }
.voice__quote .ico { width: 44px; height: 44px; }
.voice__stars { display: flex; gap: 3px; color: #ffc94d; }
.voice__stars .ico { width: 16px; height: 16px; fill: currentColor; }
.voice blockquote { margin: 0; font-size: 19px; line-height: 1.5; letter-spacing: -.01em; flex: 1; }
.voice figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.voice figcaption strong { display: block; font-size: 15px; }
.voice figcaption small { color: var(--muted); font-size: 13.5px; }
.voice__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--on-accent); font-weight: 700; font-family: var(--ff-display); font-size: 18px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__grid > div:first-child { position: sticky; top: 120px; }
.accordion { display: grid; gap: 10px; }
.acc { border-radius: 20px; border: 1px solid var(--line); background: var(--surface); transition: background .3s, border-color .3s; }
.acc[open] { background: var(--surface-2); border-color: var(--line-2); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; transition: transform .45s var(--ease), background .3s, color .3s; }
.acc[open] summary i { transform: rotate(135deg); background: var(--grad); color: var(--on-accent); border-color: transparent; }
.acc__body { padding: 0 24px 24px; color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 120px); }
.cta-card {
	position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); border-radius: 36px; text-align: center; display: grid; justify-items: center; gap: 22px;
	background: linear-gradient(160deg, #0b2f72 0%, #071a42 45%, #050f28 100%); border: 1px solid var(--line-2);
}
.cta-card__glow { position: absolute; width: 800px; height: 400px; left: 50%; top: -220px; margin-left: -400px; background: radial-gradient(ellipse, rgba(var(--glow-rgb), .45), transparent 65%); filter: blur(40px); animation: drift 10s ease-in-out infinite alternate; }
.cta-card__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(var(--line-rgb), .07) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--line-rgb), .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); }
.cta-card__mark { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .1; transform: rotate(-12deg); }
.cta-card > *:not(.cta-card__glow):not(.cta-card__grid):not(.cta-card__mark) { position: relative; }
.cta-card__title { font-size: clamp(38px, 6vw, 76px); letter-spacing: -.04em; max-width: 900px; }
.cta-card__text { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 620px; }
.cta-card__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 8px; }
.cta-card__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.cta-card__trust li { display: inline-flex; align-items: center; gap: 8px; }
.cta-card__trust .ico { color: var(--mint); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 80px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #020815); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand { display: grid; gap: 20px; align-content: start; }
.footer-mission { color: var(--muted); font-size: 15px; max-width: 320px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: all .35s var(--ease); }
.socials a:hover { color: var(--on-accent); background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.footer-col { display: grid; gap: 12px; align-content: start; font-size: 14.5px; }
.footer-col__title { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--muted); transition: color .2s; display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-col a:hover { color: var(--text); }
.footer-col .ico { color: var(--cyan); margin-top: 3px; width: 16px; height: 16px; }
.footer-word {
	font-family: var(--ff-display); font-weight: 800; font-size: clamp(56px, 15vw, 200px); letter-spacing: -.06em; line-height: .8; text-align: center; white-space: nowrap; margin: 70px 0 30px;
	background: linear-gradient(180deg, rgba(var(--line-rgb), .16), rgba(var(--line-rgb), 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom a:hover { color: var(--text); }
.to-top { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); transform: rotate(-45deg); transition: all .35s var(--ease); }
.to-top:hover { background: var(--grad); color: var(--on-accent); border-color: transparent; transform: rotate(-45deg) translate(3px, -3px); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + 90px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 24px; justify-items: start; }
.page-hero__title { font-size: clamp(42px, 6.8vw, 92px); letter-spacing: -.045em; line-height: .98; max-width: 1050px; }
.page-hero__title--post { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; }
.page-hero__lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 680px; }
.page-hero__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--grad); color: var(--on-accent); }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; transition: color .2s; }
.crumb .ico { transform: rotate(180deg); width: 15px; height: 15px; transition: transform .3s var(--ease); }
.crumb:hover { color: var(--text); }
.crumb:hover .ico { transform: rotate(180deg) translateX(4px); }

/* Service hero orbit */
.svc-hero { grid-template-columns: 1.2fr .8fr; align-items: center; }
.page-hero .svc-hero { display: grid; }
.svc-hero > div:first-child { display: grid; gap: 24px; justify-items: start; }
.svc-orbit { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; justify-self: center; }
.svc-orbit__core { position: absolute; inset: 34%; display: grid; place-items: center; border-radius: 30%; background: var(--grad); color: var(--on-accent); box-shadow: 0 30px 80px -20px rgba(var(--glow-rgb), .8); animation: float 6s ease-in-out infinite; }
.svc-orbit__core .ico { width: 44%; height: 44%; stroke-width: 1.6; }
.svc-orbit__ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(var(--glow-rgb), .3); }
.svc-orbit__ring--2 { inset: 20%; border-style: solid; border-color: var(--line); }
.svc-orbit__sat { position: absolute; inset: 6%; animation: spin 28s linear infinite; transform: rotate(var(--a)); }
.svc-orbit__sat > span { --a: inherit; position: absolute; top: -26px; left: 50%; margin-left: -26px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(var(--panel-rgb), .9); border: 1px solid var(--line-2); color: var(--cyan); backdrop-filter: blur(10px); animation: spin-offset-rev 28s linear infinite; }
@keyframes spin-offset-rev { from { transform: rotate(calc(var(--a) * -1)); } to { transform: rotate(calc(var(--a) * -1 - 360deg)); } }
@keyframes spin-offset { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) + 360deg)); } }
.svc-orbit__sat { animation-name: spin-offset; }

.svc-features { padding: clamp(60px, 8vw, 120px) 0; }
.svc-features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 34px 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-5px); }
.feature__num { position: absolute; top: 28px; right: 30px; font-family: var(--ff-mono); font-size: 13px; color: var(--dim); }
.feature h3 { font-size: 24px; margin-top: 10px; }
.feature p { color: var(--muted); font-size: 16px; max-width: 480px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.svc-tags li { font-size: 13px; padding: 8px 14px; }

.related { padding: clamp(60px, 8vw, 100px) 0 0; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related__card { position: relative; display: grid; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.related__card:hover { transform: translateY(-5px); }
.related__card strong { font-family: var(--ff-display); font-size: 22px; letter-spacing: -.02em; margin-top: 10px; }
.related__card small { color: var(--muted); font-size: 14.5px; }
.journey--compact { padding-top: clamp(60px, 8vw, 100px); }

/* About */
.mv { padding: 0 0 clamp(60px, 8vw, 100px); }
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv__card { padding: clamp(32px, 4vw, 52px); border-radius: 32px; border: 1px solid var(--line-2); display: grid; gap: 22px; align-content: start; overflow: hidden; }
.mv__card--mission { background: linear-gradient(160deg, rgba(var(--accent-rgb), .2), rgba(var(--panel-rgb), .6) 60%); }
.mv__card--vision { background: linear-gradient(160deg, rgba(var(--accent2-rgb), .2), rgba(var(--panel-rgb), .6) 60%); }
.mv__card .eyebrow { justify-self: start; }
.mv__text { font-family: var(--ff-display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.mv__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mv__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(var(--panel-rgb), .5); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.mv__chips .ico { color: var(--cyan); width: 16px; height: 16px; }
.split { padding: clamp(60px, 8vw, 100px) 0; }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); font-size: 17px; font-weight: 500; transition: transform .4s var(--ease); }
.checklist li:hover { transform: translateX(8px); }
.checklist li > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-soft); color: var(--cyan); flex: none; border: 1px solid var(--line); }
.diff { padding: clamp(60px, 8vw, 100px) 0; }
.diff__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.diff__card { padding: 30px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease); }
.diff__card:hover { transform: translateY(-6px); }
.diff__card h3 { font-size: 21px; margin-top: 12px; }
.diff__card p { color: var(--muted); font-size: 15px; }
.quote-band { padding: clamp(60px, 10vw, 140px) 0; text-align: center; }
.quote-band .manifesto__text { margin: 0 auto; }

/* Portfolio */
.work { padding: 0 0 clamp(40px, 6vw, 80px); }
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work__item { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; padding: 22px; transition: transform .5s var(--ease); }
.work__item:hover { transform: translateY(-6px) scale(1.01); }
.work__logo { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 16px; background: rgba(var(--text-rgb), .95); padding: 20px; }
.work__logo img { max-height: 90px; width: auto; max-width: 90%; object-fit: contain; transition: transform .6s var(--ease); }
.work__item:hover img { transform: scale(1.08); }

/* Contact */
.contact { padding: 0 0 clamp(80px, 10vw, 140px); }
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.contact__info { display: grid; gap: 12px; }
.info-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease); }
a.info-card:hover { transform: translateX(6px); }
.info-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: var(--on-accent); flex: none; }
.info-card small { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.info-card strong { display: block; font-size: clamp(14.5px, 1.4vw, 16.5px); margin: 2px 0; overflow-wrap: anywhere; }
.info-card em { display: block; font-style: normal; color: var(--muted); font-size: 13.5px; background: none; -webkit-background-clip: initial; background-clip: initial; }
.contact__next { padding: 26px; border-radius: 22px; border: 1px dashed var(--line-2); margin-top: 6px; }
.contact__next-title { font-weight: 600; margin-bottom: 16px; }
.contact__next ol { display: grid; gap: 14px; }
.contact__next li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.contact__next li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--ff-mono); font-size: 12px; color: var(--cyan); flex: none; }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 32px; background: linear-gradient(180deg, rgba(var(--panel-rgb), .6), rgba(var(--panel-rgb), .6)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(var(--accent-rgb), .4); }
.form-card__title { font-size: 32px; margin-bottom: 24px; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.chips { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; color: var(--muted); margin-bottom: 12px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); cursor: pointer; transition: all .25s var(--ease); }
.chip span .ico { width: 15px; height: 15px; }
.chip:hover span { color: var(--text); border-color: rgba(var(--glow-rgb), .4); }
.chip input:checked + span { background: var(--grad); color: var(--on-accent); border-color: transparent; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
	width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(var(--panel-rgb), .55); color: var(--text); font: inherit; font-size: 16px;
	transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2393a6c9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--bg-2); }
.field > span { position: absolute; left: 19px; top: 18px; color: var(--dim); pointer-events: none; transition: all .25s var(--ease); font-size: 16px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(var(--glow-rgb), .12); background: rgba(var(--panel-rgb), .8); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field--select > span { top: 8px; font-size: 11.5px; color: var(--cyan); letter-spacing: .02em; }
.form .btn { margin-top: 6px; --h: 58px; }
.form__legal { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--dim); font-size: 13px; }
.form-error { padding: 14px 16px; border-radius: 14px; background: rgba(255, 90, 90, .1); border: 1px solid rgba(255, 90, 90, .35); color: #ffb3b3; font-size: 14.5px; margin-bottom: 16px; }
.form-done { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 40px 0; }
.form-done__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--grad); color: var(--on-accent); animation: pop .7s var(--ease-spring); }
.form-done__icon .ico { width: 40px; height: 40px; stroke-width: 2.5; }
.form-done h2 { font-size: 36px; }
.form-done p { color: var(--muted); }
@keyframes pop { from { transform: scale(0); } }

/* Posts */
.posts { padding: 0 0 clamp(60px, 8vw, 100px); }
.posts--more { padding-top: clamp(60px, 8vw, 100px); }
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease); }
.post-card:hover { transform: translateY(-6px); }
.post-card--featured { grid-column: span 3; flex-direction: row; }
.post-card--featured .post-card__media { flex: 1.2; aspect-ratio: auto; min-height: 360px; }
.post-card--featured .post-card__body { flex: 1; padding: clamp(28px, 4vw, 48px); justify-content: center; }
.post-card--featured .post-card__title { font-size: clamp(26px, 3vw, 40px); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb), .35), transparent 60%), var(--bg-3); }
.post-card__placeholder .mark { width: 30%; opacity: .7; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 13px; }
.tag { padding: 4px 10px; border-radius: 999px; background: rgba(var(--glow-rgb), .1); color: var(--cyan); font-size: 12px; font-weight: 600; }
.post-card__title { font-family: var(--ff-display); font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.post-card__excerpt { color: var(--muted); font-size: 15px; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 600; font-size: 14px; margin-top: auto; padding-top: 6px; }
.post-card__more .ico { transition: transform .3s var(--ease); }
.post-card:hover .post-card__more .ico { transform: translateX(4px); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pager .current { background: var(--grad); color: var(--on-accent); border-color: transparent; font-weight: 700; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; color: var(--muted); font-size: 14px; }
.post-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.post-cover { margin: 0 0 48px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.post-cover img { width: 100%; height: auto; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* Prose (legal pages, articles) */
.prose-wrap { padding: 0 0 clamp(60px, 8vw, 100px); }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 2em; line-height: 1.2; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); }
.prose h3 { font-size: 24px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--glow-rgb), .4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--cyan); }
.prose img { border-radius: var(--r); height: auto; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--cyan); font-size: 1.1em; color: var(--text); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose code { font-family: var(--ff-mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
/* Neutralize page-builder backgrounds inside legacy content */
.prose [class*="kb-row-layout"], .prose [class*="kt-row"], .prose .wp-block-group { background: transparent !important; }

.big-404 { font-family: var(--ff-display); font-size: clamp(120px, 24vw, 300px); font-weight: 800; line-height: .8; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hide third-party floating widgets that clash with the new design */
.kadence-scrollbar, #kt-scroll-up, .kt-scroll-up-reader, .trp-floating-switcher { display: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.nav { display: none; }
	.burger { display: block; }
	.site-header__actions { margin-left: auto; }
	.hero__wrap { grid-template-columns: 1fr; }
	.hero__visual { justify-self: center; max-width: 480px; margin-top: 20px; }
	.bento { grid-template-columns: repeat(2, 1fr); }
	.bento__card--tall { grid-row: span 1; padding-bottom: 28px; }
	.bento__art--phone { display: none; }
	.journey__steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.journey__line { display: none; }
	.plans__grid { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand, .footer-col--contact { grid-column: span 3; }
	.diff__grid, .work__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.pillars, .voices__grid, .related__grid, .posts__grid { grid-template-columns: 1fr; }
	.post-card--featured { grid-column: auto; flex-direction: column; }
	.post-card--featured .post-card__media { min-height: 0; aspect-ratio: 16 / 10; }
	.stats__grid { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.vision__grid, .faq__grid, .split__grid, .mv__grid, .contact__grid, .svc-hero { grid-template-columns: 1fr; }
	.faq__grid > div:first-child { position: static; }
	.svc-orbit { max-width: 320px; }
	.svc-features__grid { grid-template-columns: 1fr; }
	.plans__custom { grid-template-columns: 1fr; justify-items: start; }
	.vision__verbs li { grid-template-columns: 32px 1fr; }
	.vision__verbs small { grid-column: 2; }
}
@media (max-width: 640px) {
	body.mh { font-size: 16px; }
	.hide-sm { display: none !important; }
	.site-header { top: 8px; }
	.site-header__inner { padding: 0 6px 0 14px; height: 60px; }
	.brand .mark { width: 30px; }
	.hero { padding-top: calc(var(--header-h) + 40px); }
	.hero__title { font-size: clamp(42px, 12vw, 64px); }
	.hero__actions .btn { width: 100%; justify-content: space-between; }
	.float-card--code { left: -2%; width: 240px; top: 0; }
	.float-card pre { font-size: 10px; }
	.float-card--metric { width: 160px; right: -2%; }
	.float-card--nodes { display: none; }
	.bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.bento__card--wide { grid-column: auto; }
	.bento__card--wide p { max-width: none; }
	.bento__art--browser, .bento__art--bars { display: none; }
	.journey__steps { grid-template-columns: 1fr 1fr; }
	.plans__grid { grid-template-columns: 1fr; }
	.tabs { width: 100%; }
	.tabs__btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14px; }
	.form__row { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-brand, .footer-col--contact { grid-column: span 2; }
	.work__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.diff__grid { grid-template-columns: 1fr; }
	.stat { padding: 26px 18px; }
	.logo-chip { width: 140px; height: 66px; }
	.cta-card__actions { flex-direction: column; }
}

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

/* ==========================================================================
   Palette: white / gray base, graphite dark sections, blue + coral accents
   ========================================================================== */
body.mh::before { opacity: var(--noise); }
.dark { --noise: .035; }
.cursor-glow { background: radial-gradient(circle, rgba(var(--accent-rgb), .06), transparent 62%); }

/* Section rhythm */
.services, .pricing, .faq, .clients, .diff, .related { background: var(--bg-2); }
.related { padding-bottom: clamp(60px, 8vw, 100px); }
.clients { border-color: var(--line); }
.journey { background: var(--bg); }
.vision { background: var(--bg); }
.voices, .stack, .manifesto, .stats { background: var(--bg); }
.dark .grid-lines, .page-hero .grid-lines { background-image: linear-gradient(rgba(var(--line-rgb), .06) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--line-rgb), .06) 1px, transparent 1px); }

/* Orbs: blue + coral + gray, much softer on light backgrounds */
.orb--1 { background: radial-gradient(circle, rgba(31, 122, 239, .9), transparent 65%); opacity: .35; }
.orb--2 { background: radial-gradient(circle, rgba(255, 90, 54, .9), transparent 65%); opacity: .22; }
.orb--3 { background: radial-gradient(circle, rgba(160, 170, 185, .9), transparent 65%); opacity: .2; }
.page-hero .orb--1 { opacity: .12; }
.page-hero .orb--2 { opacity: .10; }
.page-hero { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* Buttons */
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 10px 30px -12px rgba(var(--text-rgb), .45); }
.btn--primary .btn__icon { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--btn-bg); box-shadow: 0 18px 40px -14px rgba(var(--coral-rgb), .55); }
.btn--primary:hover .btn__icon { background: var(--coral); }
.btn--ghost { background: var(--card); box-shadow: var(--shadow); }
.dark .btn--ghost { background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: var(--text); background: var(--card); }
.btn--ghost:hover .btn__icon { background: var(--btn-bg); color: var(--btn-fg); }

/* Eyebrows: neutral pill, coral pulse */
.eyebrow { color: var(--text-2); background: var(--card); border-color: var(--line-2); }
.eyebrow__dot { background: var(--coral); animation-name: ping-coral; }
@keyframes ping-coral { 0% { box-shadow: 0 0 0 0 rgba(var(--coral-rgb), .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(var(--coral-rgb), 0); } }
.pill { background: rgba(var(--panel-rgb), .6); }
.pill__tag, .plan__badge { background: var(--coral); color: #fff; }

/* Cards: white with soft shadow on light, glass on dark */
.pillar, .bento__card, .plan, .voice, .acc, .feature, .related__card, .diff__card, .checklist li, .info-card, .post-card, .work__item, .stats__grid, .mv__chips li, .contact__next {
	background: var(--card); box-shadow: var(--shadow);
}
.bento__card:hover, .plan:hover, .voice:hover, .feature:hover, .related__card:hover, .diff__card:hover, .post-card:hover, .pillar:hover { box-shadow: var(--shadow-lg); }
.acc[open] { background: var(--card); border-color: var(--line-2); }
.pillar__icon, .diff__icon, .feature__icon, .bento__icon, .mv__icon, .plan__icon, .mega__icon, .checklist li > span {
	color: var(--accent); background: rgba(var(--accent-rgb), .08); border-color: rgba(var(--accent-rgb), .16); box-shadow: none;
}
.bento__card:nth-child(even) .bento__icon, .feature:nth-child(even) .feature__icon, .diff__card:nth-child(even) .diff__icon, .pillar:nth-child(2) .pillar__icon {
	color: var(--coral); background: rgba(var(--coral-rgb), .08); border-color: rgba(var(--coral-rgb), .18);
}
.bento__tags span, .svc-tags li { background: var(--bg-2); }
.bento__card:hover .bento__go, .related__card:hover .bento__go { background: var(--btn-bg); color: var(--btn-fg); }
.bento__art--browser, .bento__art--phone { background: var(--bg-2); box-shadow: none; }
.bento__art--browser b:first-of-type, .bento__art--phone b:first-child { background: var(--grad); opacity: .55; }

/* Spotlight hover uses a neutral/blue glow */
.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .06), transparent 45%); }
.spot::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .55), transparent 50%); }

/* Clients */
.logo-chip { background: #fff; border: 1px solid var(--line); }
.logo-chip:hover { box-shadow: var(--shadow-lg); }
.work__logo { background: #fff; }

/* Journey */
.step__dot { background: var(--card); box-shadow: var(--shadow); }
.step.is-lit .step__dot { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .08), 0 12px 30px -10px rgba(var(--text-rgb), .5); }
.step.is-lit:last-child .step__dot { background: var(--coral); color: #fff; }
.journey__line span { box-shadow: none; }

/* Pricing */
.tabs { background: var(--card); box-shadow: var(--shadow); }
.tabs__glider { background: var(--btn-bg); box-shadow: none; }
.tabs__btn.is-active { color: var(--btn-fg); }
.plan--popular { background: var(--card); border-color: rgba(var(--coral-rgb), .55); box-shadow: 0 0 0 1px rgba(var(--coral-rgb), .25), 0 30px 70px -30px rgba(var(--coral-rgb), .45); }
.plan__list .ico { color: var(--mint); }
.plans__custom { background: var(--card); }
.plans__custom-icon { color: var(--coral); background: rgba(var(--coral-rgb), .08); }

/* Testimonials / FAQ */
.voice__stars { color: var(--gold); }
.voice__quote { color: rgba(var(--coral-rgb), .22); }
.voice__avatar { background: var(--btn-bg); color: var(--btn-fg); }
.acc[open] summary i, .chip input:checked + span, .pager .current, .socials a:hover, .to-top:hover { background: var(--btn-bg); color: var(--btn-fg); }
.dark .socials a:hover, .dark .to-top:hover { background: var(--coral); color: #fff; }

/* Stack marquee */
.stack__item { color: rgba(var(--text-rgb), .14); }
.stack__item .ico { color: var(--coral); }

/* Header & menus */
.site-header.is-scrolled .site-header__inner { background: rgba(var(--panel-rgb), .78); box-shadow: 0 10px 40px -16px rgba(var(--text-rgb), .25); }
.mega__inner { background: rgba(var(--panel-rgb), .97); box-shadow: var(--shadow-lg); }
.mega__promo { background: linear-gradient(160deg, #1c2028, #0e1116 70%); border: 0; color: #f2f4f7; }
.mega__promo small { color: #9aa1ad; }
.mega__promo-cta { color: #ff7a5c; }
.mega__promo-mark { opacity: .35; }
.mobile-nav { background: rgba(var(--panel-rgb), .97); }
.mobile-nav__sub a .ico { color: var(--accent); }
.nav__list > li > a[aria-current="page"]::after { background: var(--coral); box-shadow: none; }

/* CTA & footer: graphite */
.cta-card { background: radial-gradient(ellipse at 50% 0%, #22262f, #0e1015 70%); border-color: rgba(255, 255, 255, .08); }
.cta-card__glow { background: radial-gradient(ellipse at 35% 50%, rgba(77, 155, 255, .35), transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(255, 90, 54, .28), transparent 60%); }
.cta-card__trust .ico { color: var(--coral); }
.site-footer { background: var(--bg); border-top: 0; }
.footer-col .ico { color: var(--coral); }

/* Inner pages */
.page-hero__icon, .info-card__icon { background: var(--btn-bg); color: var(--btn-fg); }
.mv__card--mission { background: linear-gradient(160deg, rgba(var(--accent-rgb), .08), var(--card) 60%); box-shadow: var(--shadow); }
.mv__card--vision { background: linear-gradient(160deg, rgba(var(--coral-rgb), .08), var(--card) 60%); box-shadow: var(--shadow); }
.mv__chips li { background: var(--card); }
.mv__chips .ico { color: var(--accent); }
.mv__card--vision .mv__chips .ico, .mv__card--vision .mv__icon { color: var(--coral); background: rgba(var(--coral-rgb), .08); border-color: rgba(var(--coral-rgb), .18); }
.svc-orbit__core { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 30px 70px -25px rgba(var(--text-rgb), .55); }
.svc-orbit__sat > span { background: var(--card); color: var(--accent); box-shadow: var(--shadow); }
.svc-orbit__sat:nth-of-type(even) > span { color: var(--coral); }
.svc-orbit__ring { border-color: rgba(var(--line-rgb), .18); }
.form-card { background: var(--card); box-shadow: var(--shadow-lg); border-color: var(--line); }
.field input, .field textarea, .field select { background: var(--bg-2); border-color: var(--line); }
.field input:focus, .field textarea:focus, .field select:focus { background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field--select > span { color: var(--accent); }
.form-done__icon { background: var(--mint); color: #fff; }
.contact__next li span { color: var(--coral); }
.tag { background: rgba(var(--coral-rgb), .1); color: #d9431f; }
.post-card__more { color: var(--accent); }
.post-card__placeholder { background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb), .18), transparent 60%), var(--bg-3); }
.prose a { color: var(--accent); text-decoration-color: rgba(var(--accent-rgb), .4); }
.prose li::marker { color: var(--coral); }
.prose blockquote { border-left-color: var(--coral); }
.form-error { color: #b42318; background: #fef3f2; border-color: #fecdca; }
::selection { background: rgba(var(--coral-rgb), .25); color: inherit; }

/* Solid highlight colors (per-word gradients look busy on light backgrounds) */
em, .js [data-split] em .w > span, .js [data-split] em.w > span { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--accent); }
.manifesto__text b .sw.on { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--accent); }
.manifesto__text b.c2 .sw.on { color: var(--coral); }
.stat__num { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--text); }
.stat__num > span + *, .stat__num { }
.stat:nth-child(even) .stat__num { color: var(--accent); }
.big-404 { background: none; color: var(--text); }

/* Portfolio cards with links */
.work__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work__item { aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; place-items: initial; }
.work__logo { height: 190px; border: 1px solid var(--line); }
.work__logo img { max-height: 110px; max-width: 80%; }
.work__meta { display: grid; gap: 6px; padding: 18px 12px 10px; }
.work__type { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.work__type .ico { width: 14px; height: 14px; color: var(--accent); }
.work__meta strong { font-family: var(--ff-display); font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.work__visit { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 14px; margin-top: 4px; }
.work__visit .ico { width: 15px; height: 15px; transition: transform .35s var(--ease); }
a.work__item:hover .work__visit { color: var(--coral); }
a.work__item:hover .work__visit .ico { transform: translate(3px, -3px); }
@media (max-width: 1100px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work__grid { grid-template-columns: 1fr; } .work__logo { height: 160px; } }
