/* Vaytix Technologies — design system & site styles
   Palette derived from the Vaytix logo: deep navy wordmark, royal blue "X"/TECHNOLOGIES, sky-blue pixel accents. */
:root {
  --navy-950: #06102a; --navy-900: #0b1a3b; --navy-800: #13264f; --navy-700: #1e3566;
  --blue-700: #0f4fb8; --blue-600: #1561d6; --blue-500: #1f7bef; --sky-400: #38a9f5; --sky-200: #bfe0fc; --sky-100: #e8f3fe;
  --ink: #0b1a3b; --ink-2: #3c4a69; --ink-3: #56627f;
  --line: #e2e7f0; --line-2: #d3dae7; --surface: #f4f7fb; --white: #fff;
  --wa: #0f8a47; --wa-hover: #0c7a3e; --ok: #0f7a43; --err: #b42318; --warn-bg: #fff6e0; --warn: #7a5200;
  --f-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-xl: 30px;
  --sh-1: 0 1px 2px rgba(11, 26, 59, .05), 0 6px 20px -8px rgba(11, 26, 59, .10);
  --sh-2: 0 24px 60px -24px rgba(11, 26, 59, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--f-body); font-size: clamp(16px, .95rem + .15vw, 18px); line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; margin-top: 40px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.icon { width: 20px; height: 20px; flex: none; }

/* Type */
.h-display { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; }
.h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 600; }
.h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-weight: 600; }
.lede { font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 18px; }
.px { display: inline-grid; grid-template-columns: repeat(2, 6px); gap: 2px; }
.px i { width: 6px; height: 6px; background: var(--sky-400); border-radius: 1px; }
.px i:nth-child(1) { grid-column: 2; }
.px i:nth-child(2) { background: var(--blue-600); }
.px i:nth-child(3) { background: var(--navy-900); }
.section--dark .eyebrow { color: var(--sky-400); }

/* Headline word reveal (server-rendered text, CSS-only animation) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; animation: wordUp .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }

/* Buttons */
.btn { --bg: var(--navy-900); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font-family: var(--f-display); font-weight: 600; font-size: .95rem; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s, color .2s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --bg: var(--blue-600); box-shadow: 0 10px 24px -12px rgba(21, 97, 214, .7); }
.btn--primary:hover { --bg: var(--blue-700); box-shadow: 0 14px 30px -12px rgba(21, 97, 214, .8); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); --fg: var(--ink); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: var(--wa-hover); }
.btn--wa:hover .icon { transform: none; }
.btn--light { --bg: #fff; --fg: var(--navy-900); }
.btn--outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: #fff; }
.btn--link { --bg: transparent; --fg: var(--blue-600); padding: 8px 0; min-height: 0; border-radius: 0; }
.btn--link:hover { --fg: var(--blue-700); transform: none; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 26, 59, .35); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: block; }
.logo img { height: 42px; width: auto; }
.logo--footer img { height: 48px; }
.nav-toggle { margin-left: auto; display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav__list > li { position: relative; }
.site-nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--ink); font-family: var(--f-display); font-size: .92rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.site-nav__link:hover, .site-nav__link[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
.site-nav__link[aria-current="page"] { color: var(--blue-600); }
.icon--chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
[aria-expanded="true"] > .icon--chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: min(780px, 90vw); padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .3s var(--ease), visibility 0s .3s; }
.mega--sm { width: 300px; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s var(--ease); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mega__title { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin: 0 0 8px 10px; }
.mega ul { list-style: none; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .93rem; line-height: 1.3; transition: background-color .15s; }
.mega a:hover { background: var(--sky-100); color: var(--ink); }
.mega a .icon { width: 18px; height: 18px; color: var(--blue-600); }
.mega__all { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px !important; border-radius: 0 !important; font-weight: 600; color: var(--blue-600) !important; background: none !important; }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .25s, transform .35s var(--ease); }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list > li { border-bottom: 1px solid var(--line); }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .site-nav__link:hover { background: none; }
  .mega, .mega--sm { position: static; width: auto; padding: 0 0 12px; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-menu.is-open .mega { display: block; }
  .mega__grid { grid-template-columns: 1fr; gap: 8px; }
  .site-nav__cta { padding-top: 20px; }
  .site-nav__cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .logo img { height: 34px; } }

/* Hero */
.hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 60% at 85% 20%, rgba(56, 169, 245, .14), transparent 70%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { max-width: 14ch; }
.hero__wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.hero__wa .icon { color: var(--wa); width: 22px; height: 22px; }
.hero__wa strong { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.hero__wa:hover strong { border-color: var(--wa); }

.stage { position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); box-shadow: var(--sh-2); overflow: hidden; isolation: isolate; animation: stageIn 1.1s var(--ease) both .15s; }
@keyframes stageIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.stage > [data-depth] { transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s var(--ease); }
.stage__grid { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px; z-index: -1; }
.stage__px { position: absolute; top: 7%; right: 8%; display: grid; grid-template-columns: repeat(3, 14px); gap: 5px; }
.stage__px i { width: 14px; height: 14px; border-radius: 2px; background: var(--sky-400); opacity: .9; animation: pxBlink 4s ease-in-out infinite; }
.stage__px i:nth-child(1) { grid-column: 3; animation-delay: .2s; }
.stage__px i:nth-child(2) { grid-column: 2; background: var(--blue-500); animation-delay: .6s; }
.stage__px i:nth-child(3) { grid-column: 3; animation-delay: 1s; }
.stage__px i:nth-child(4) { grid-column: 1; background: var(--blue-600); animation-delay: 1.4s; }
.stage__px i:nth-child(5) { grid-column: 2; background: var(--sky-200); animation-delay: 1.8s; }
@keyframes pxBlink { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
.stage__browser { position: absolute; left: 7%; top: 14%; width: 70%; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); overflow: hidden; animation: floatIn 1s var(--ease) both .35s; }
.stage__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.stage__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.stage__bar span { margin-left: 10px; flex: 1; font-size: 10px; color: var(--ink-3); background: #fff; border-radius: 6px; padding: 3px 10px; }
.stage__page { padding: 18px; }
.sk { border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.sk--h { height: 14px; width: 62%; background: var(--navy-900); }
.sk--l { height: 7px; width: 88%; }
.sk--s { width: 64%; }
.sk--btn { height: 18px; width: 34%; border-radius: 99px; background: var(--blue-600); margin: 12px 0 14px; }
.stage__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stage__cards div { height: 46px; border-radius: 8px; background: var(--sky-100); border: 1px solid var(--sky-200); }
.stage__chart { position: absolute; right: 6%; bottom: 10%; width: 46%; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: floatIn 1s var(--ease) both .55s; }
.stage__chart p { margin: 0 0 10px; color: #dbe7fb; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.stage__bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.stage__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--sky-400), var(--blue-600)); transform-origin: bottom; animation: barUp 1.2s var(--ease) both; }
.stage__bars i:nth-child(2) { animation-delay: .9s; } .stage__bars i:nth-child(3) { animation-delay: 1s; } .stage__bars i:nth-child(4) { animation-delay: 1.1s; } .stage__bars i:nth-child(5) { animation-delay: 1.2s; } .stage__bars i:nth-child(6) { animation-delay: 1.3s; }
.stage__bars i:nth-child(1) { animation-delay: .8s; }
@keyframes barUp { from { transform: scaleY(0); } }
.stage__phone { position: absolute; right: 9%; top: 26%; width: 26%; aspect-ratio: 9 / 18; border-radius: 22px; background: #fff; border: 5px solid var(--navy-950); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); overflow: hidden; animation: floatIn 1s var(--ease) both .7s; }
.stage__notch { width: 36%; height: 8px; margin: 6px auto 0; border-radius: 99px; background: var(--navy-950); }
.stage__app { padding: 12px 10px; }
.stage__app .sk--h { width: 70%; height: 10px; }
.stage__app .row { height: 26px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 6px; }
.stage__app .sk--btn { width: 100%; height: 16px; margin-top: 10px; }
.stage__toast { position: absolute; left: 5%; bottom: 9%; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); animation: toastIn .9s var(--ease) both 1.5s; }
.stage__toast b { display: block; font-family: var(--f-display); font-size: 12.5px; color: var(--ink); }
.stage__toast small { font-size: 11px; color: var(--ink-3); }
.stage__tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e3f6ec; color: var(--ok); }
.stage__tick .icon { width: 16px; height: 16px; }
@keyframes floatIn { from { opacity: 0; translate: 0 26px; } }
@keyframes toastIn { from { opacity: 0; translate: 0 16px; scale: .95; } }

/* Page hero */
.phero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--surface), #fff); border-bottom: 1px solid var(--line); overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 34px 34px; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); pointer-events: none; }
.phero--compact { padding-bottom: clamp(32px, 5vw, 56px); }
.phero__grid { position: relative; z-index: 1; margin-top: clamp(20px, 3vw, 36px); }
.phero__grid--aside { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.phero__title { max-width: 20ch; }
.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); }
.glance__t { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; margin-bottom: 14px; }
.glance__t .icon { color: var(--blue-600); }
.glance ul { list-style: none; display: grid; gap: 10px; }
.glance li { display: flex; gap: 10px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.glance li .icon { color: var(--blue-600); width: 18px; height: 18px; margin-top: 2px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--ink-3); position: relative; z-index: 1; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* Sections */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #d5def0; position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .shead__lede { color: #b9c6e0; }
.shead { max-width: 720px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.shead--center .eyebrow { justify-content: center; }
.shead__lede { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 96px); align-items: start; }

/* Trust / stats */
.trust__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.stats__item { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column-reverse; gap: 6px; }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats dt { color: var(--ink-2); font-size: .92rem; }
.stats dd { margin: 0; font-family: var(--f-display); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--navy-900); }

/* Cards */
.cards { display: grid; gap: clamp(16px, 2vw, 24px); }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.scard { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.scard:hover { transform: translateY(-4px); border-color: var(--sky-200); box-shadow: var(--sh-1); }
.scard:focus-within { border-color: var(--blue-500); }
.scard__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky-100); color: var(--blue-600); margin-bottom: 20px; transition: background-color .25s, color .25s, transform .35s var(--ease); }
.scard:hover .scard__icon { background: var(--blue-600); color: #fff; transform: rotate(-6deg); }
.scard__icon .icon { width: 24px; height: 24px; }
.scard__title { font-size: 1.15rem; margin-bottom: 8px; }
.scard__title a { color: var(--ink); text-decoration: none; }
.scard__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.scard__title a:focus-visible { outline: none; }
.scard__title a:focus-visible::after { outline: 3px solid var(--sky-400); outline-offset: 2px; }
.scard p { color: var(--ink-2); font-size: .96rem; margin-bottom: 18px; }
.scard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
.scard__more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.scard:hover .scard__more .icon { transform: translateX(4px); }
.section--alt .scard { background: #fff; }

/* Why */
.why { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.why--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.why__item { background: #fff; padding: clamp(24px, 3vw, 36px); }
.why__icon { color: var(--blue-600); margin-bottom: 16px; }
.why__icon .icon { width: 28px; height: 28px; }
.why__num { display: block; font-family: var(--f-display); color: var(--blue-600); font-weight: 600; margin-bottom: 14px; }
.why__item h3 { font-size: 1.12rem; }
.why__item p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; counter-reset: s; }
.process__step { background: var(--navy-900); padding: 28px 24px 32px; position: relative; transition: background-color .3s; }
.process__step:hover { background: var(--navy-800); }
.process__n { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: .85rem; font-weight: 600; color: var(--sky-400); margin-bottom: 18px; }
.process__n::after { content: ""; width: 28px; height: 1px; background: rgba(56,169,245,.5); }
.process__step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.process__step p { color: #b9c6e0; font-size: .93rem; margin: 0; }

/* Honest empty portfolio */
.honest { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(24px, 4vw, 40px); border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: linear-gradient(135deg, #fff, var(--surface)); }
.honest > div { max-width: 640px; }
.honest p { margin: 0; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pcard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pcard__body { padding: 24px; }
.pcard__meta { font-size: .82rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.pcard__out { font-weight: 600; color: var(--ok); }

/* Industries */
.inds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.ind { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.ind:hover { color: var(--ink); border-color: var(--blue-500); transform: translateY(-3px); box-shadow: var(--sh-1); }
.ind__name { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; }
.ind__desc { grid-column: 1; color: var(--ink-2); font-size: .93rem; }
.ind .icon { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--blue-600); transition: transform .3s var(--ease); }
.ind:hover .icon { transform: translate(3px, -3px); }
.inds--lg .ind { padding: 28px; }

/* Includes / good to know */
.incl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 32px); }
.incl__item { border-top: 1px solid var(--line-2); padding-top: 20px; }
.incl__n { font-family: var(--f-display); font-size: .82rem; font-weight: 600; color: var(--blue-600); display: block; margin-bottom: 10px; }
.incl__item h3 { font-size: 1.1rem; }
.incl__item p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.gtk, .factors, .ticks { list-style: none; display: grid; gap: 14px; }
.gtk li, .factors li, .ticks li { display: flex; gap: 14px; align-items: flex-start; }
.gtk li { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); }
.gtk .icon, .factors .icon, .ticks .icon { color: var(--blue-600); margin-top: 3px; }
.factors { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.factors li { color: var(--ink-2); }
.ticks { margin-top: 24px; gap: 10px; color: var(--ink-2); }

/* Pricing models */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.model { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; display: flex; flex-direction: column; }
.model h3 { font-size: 1.2rem; }
.model > p { color: var(--ink-2); font-size: .95rem; }
.model ul { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.model li { display: flex; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.model li .icon { width: 18px; height: 18px; color: var(--blue-600); margin-top: 2px; }

/* CTA band */
.cta-band { padding: clamp(16px, 3vw, 40px) 0 clamp(56px, 7vw, 88px); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, #183a7a 100%); color: #d5def0; overflow: hidden; max-width: calc(var(--container)); }
.cta-band__inner h2 { color: #fff; margin-bottom: 10px; }
.cta-band__inner p { margin: 0; max-width: 52ch; }
.cta-band__inner .actions { margin-top: 0; }
.cta-band__px { position: absolute; right: 24px; top: 20px; display: grid; grid-template-columns: repeat(3, 12px); gap: 4px; opacity: .8; }
.cta-band__px i { width: 12px; height: 12px; border-radius: 2px; background: var(--sky-400); }
.cta-band__px i:nth-child(1) { grid-column: 3; } .cta-band__px i:nth-child(2) { grid-column: 2; background: var(--blue-500); } .cta-band__px i:nth-child(3) { grid-column: 3; opacity: .5; } .cta-band__px i:nth-child(4) { grid-column: 1; background: var(--blue-600); }
@media (min-width: 761px) { .container.cta-band__inner { width: calc(100% - var(--gutter) * 2); } }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 4px; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-600); }
.faq__icon { transition: transform .3s var(--ease); color: var(--blue-600); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 4px 22px; color: var(--ink-2); max-width: 68ch; }
.faq__a p { margin: 0; }
.faq-h { margin-top: 48px; }
.faq-h:first-child { margin-top: 0; }
.faq-h a { color: var(--ink); text-decoration: none; }
.faq-h a:hover { color: var(--blue-600); }

/* Consultation layout + panels */
.consult { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.consult--page { margin-top: clamp(20px, 3vw, 36px); }
.consult__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3.5vw, 40px); box-shadow: var(--sh-1); }
.panel--soft { background: var(--surface); box-shadow: none; }
.nextsteps { list-style: none; display: grid; gap: 14px; margin: 28px 0; }
.nextsteps li { display: flex; gap: 14px; }
.nextsteps span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); font-family: var(--f-display); font-weight: 600; font-size: .85rem; }
.nextsteps b { font-family: var(--f-display); font-weight: 600; }
.nextsteps p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* Forms */
.cform { position: relative; }
.cform__progress { margin-bottom: 28px; }
.cform__steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 12px; }
.cform__steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .74rem; color: var(--ink-3); text-align: center; }
.cform__steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; font-family: var(--f-display); font-weight: 600; font-size: .78rem; transition: all .35s var(--ease); }
.cform__steps em { font-style: normal; }
.cform__steps li.is-active { color: var(--ink); }
.cform__steps li.is-active span { border-color: var(--blue-600); background: var(--blue-600); color: #fff; transform: scale(1.08); }
.cform__steps li.is-done span { border-color: var(--blue-600); color: var(--blue-600); background: var(--sky-100); }
.cform__bar { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.cform__bar span { display: block; height: 100%; width: 16.66%; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); border-radius: inherit; transition: width .5s var(--ease); }
@media (max-width: 520px) { .cform__steps em { display: none; } }
.cform__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.cform__step.is-entering { animation: stepIn .45s var(--ease) both; }
.cform__step.is-entering-back { animation: stepInBack .45s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-28px); } }
.cform__legend { display: block; font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: 22px; padding: 0; }
.cform__count { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label, .choices__legend { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 8px; padding: 0; }
.req { color: var(--err); }
.opt { color: var(--ink-3); font-weight: 400; font-size: .86rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8c3d8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(21, 97, 214, .15); }
.field [aria-invalid="true"] { border-color: var(--err); }
.hint { font-size: .84rem; color: var(--ink-3); margin: 6px 0 0; }
.err { font-size: .86rem; color: var(--err); margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.choices { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.choices__grid { display: grid; gap: 10px; }
.choices__grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.choices__grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-size: .95rem; line-height: 1.3; transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.choice__box .icon { color: var(--blue-600); }
.choice:hover .choice__box { border-color: #b8c3d8; }
.choice input:checked + .choice__box { border-color: var(--blue-600); background: var(--sky-100); box-shadow: inset 0 0 0 1px var(--blue-600); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--sky-400); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); flex: none; }
.check--inline { margin-top: -4px; }
.consent-box { padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-top: 8px; }
.note { display: flex; gap: 10px; padding: 12px 14px; background: var(--sky-100); border-radius: 12px; color: var(--navy-800); font-size: .92rem; margin-bottom: 20px; }
.note .icon { color: var(--blue-600); margin-top: 2px; }
.review { display: grid; grid-template-columns: minmax(110px, auto) 1fr auto; gap: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .93rem; }
.review dt, .review dd { padding: 12px 14px; border-bottom: 1px solid var(--line); margin: 0; }
.review dt { color: var(--ink-3); background: var(--surface); }
.review dd { word-break: break-word; }
.review .review__edit { padding: 8px 10px; display: flex; align-items: center; }
.review .review__edit button { border: 0; background: none; color: var(--blue-600); font-weight: 600; font-size: .85rem; cursor: pointer; padding: 6px 8px; border-radius: 8px; min-height: 36px; }
.review .review__edit button:hover { background: var(--sky-100); }
.review > :nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 520px) { .review { grid-template-columns: 1fr auto; } .review dt { grid-column: 1 / -1; padding-bottom: 4px; border-bottom: 0; } .review dd { padding-top: 4px; } }
.cform__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.cform__nav [data-cform-next], .cform__nav [data-cform-submit] { margin-left: auto; }
.cform__nav--end { justify-content: flex-end; }
.cform__status { padding: 14px 16px; border-radius: 12px; margin-top: 16px; font-size: .94rem; }
.cform__status.is-error { background: #fdecea; color: var(--err); border: 1px solid #f5c2bc; }
.cform__status.is-info { background: var(--sky-100); color: var(--navy-800); }
.cform__status a { color: inherit; font-weight: 600; }
.cform__done { text-align: center; padding: 24px 8px; }
.cform__done:focus { outline: none; }
.cform__done-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e3f6ec; color: var(--ok); animation: pop .6s var(--ease) both; }
.cform__done-icon .icon { width: 32px; height: 32px; }
.cform__done .actions { justify-content: center; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.cform.is-done > :not(.cform__done) { display: none !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 20px 0; }
.contact-list li { display: flex; gap: 14px; }
.contact-list__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--blue-600); flex: none; }
.contact-list__l { margin: 0; font-size: .8rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.contact-list p:not(.contact-list__l) { margin: 0; }
.contact-list a { font-weight: 600; word-break: break-word; }

/* Blog */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 500; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.post { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--sh-1); }
.post[hidden] { display: none; }
.post__cover, .article__cover { position: relative; aspect-ratio: 16 / 8; background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); display: flex; align-items: flex-end; padding: 18px; overflow: hidden; }
.post__cover::before, .article__cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px; }
.post__cover span, .article__cover span { position: relative; font-family: var(--f-display); font-weight: 600; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.post__px { position: absolute; right: 18px; top: 18px; display: grid; grid-template-columns: repeat(2, 12px); gap: 4px; }
.post__px i { width: 12px; height: 12px; border-radius: 2px; background: var(--sky-400); }
.post__px i:nth-child(1) { grid-column: 2; } .post__px i:nth-child(2) { background: var(--blue-500); }
.post__body { padding: 22px 24px 26px; }
.post__meta { font-size: .84rem; color: var(--ink-3); margin-bottom: 10px; }
.post__meta a { color: var(--blue-600); text-decoration: none; font-weight: 600; }
.post__title { font-size: 1.15rem; }
.post__title a { color: var(--ink); text-decoration: none; }
.post__title a::after { content: ""; position: absolute; inset: 0; }
.post__body > p:last-child { color: var(--ink-2); font-size: .95rem; margin: 0; }
.draft-tag { font-style: normal; color: var(--warn); font-weight: 600; }
.draft-banner { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: .88rem; font-weight: 500; margin: 16px 0; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--navy-900); color: #fff; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.article__head { padding: clamp(28px, 4vw, 48px) 0 32px; }
.article__head .crumbs { margin-bottom: 24px; }
.article__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.article__by { color: var(--ink-3); font-size: .9rem; margin: 0; }
.article__cover { border-radius: var(--r-lg); aspect-ratio: 16 / 6; }
.article__grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(28px, 5vw, 72px); justify-content: center; padding-top: 48px; padding-bottom: 72px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .9rem; }
.toc__t { font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--blue-600); border-color: var(--blue-600); }
.share { margin-top: 28px; }
.share > div { display: flex; gap: 8px; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); margin-top: 1.8em; }
.prose section:first-child h2, .prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: .5em; }
.prose li::marker { color: var(--blue-600); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.legal h2 { font-size: 1.3rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px !important; padding: 0 !important; }
.tags li { padding: 4px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .84rem; color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer__brand p { color: var(--ink-2); max-width: 40ch; margin: 18px 0; }
.footer__contact { list-style: none; display: grid; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.footer__contact a:hover { color: var(--blue-600); }
.footer__contact .icon { color: var(--blue-600); }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, transform .25s var(--ease); }
.social:hover { color: var(--blue-600); border-color: var(--blue-600); transform: translateY(-2px); }
.footer__h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 600; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--blue-600); text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { color: var(--ink-3); text-decoration: none; }
.footer__legal a:hover { color: var(--blue-600); }

/* Floating actions */
.floaters { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.floater { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; min-width: 56px; padding: 0 16px; border-radius: 999px; border: 0; color: #fff; text-decoration: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(11, 26, 59, .55); transition: transform .3s var(--ease), box-shadow .3s; }
.floater:hover { color: #fff; transform: translateY(-3px); }
.floater .icon { width: 24px; height: 24px; }
.floater--wa { background: var(--wa); width: 56px; padding: 0; }
.floater--chat { background: var(--navy-900); font-family: var(--f-display); font-weight: 600; font-size: .9rem; padding: 0 20px 0 16px; }
.floater--chat[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: scale(.9); }
@media (max-width: 600px) { .floater__label { display: none; } .floater--chat { width: 56px; padding: 0; } }
@media print { .floaters, .chat, .consent, .site-header, .site-footer { display: none !important; } }

/* Chatbot */
.chat { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(11, 26, 59, .45); overflow: hidden; transform-origin: bottom right; }
.chat:not([hidden]) { animation: chatIn .4s var(--ease) both; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.chat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy-900); color: #fff; }
.chat__title { margin: 0; font-family: var(--f-display); font-weight: 600; }
.chat__sub { margin: 0; font-size: .8rem; color: #b9c6e0; }
.chat__head-actions { display: flex; gap: 4px; }
.chat__icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; }
.chat__icon-btn:hover { background: rgba(255,255,255,.12); }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.45; animation: msgIn .35s var(--ease) both; white-space: pre-line; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 6px; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg a { color: inherit; font-weight: 600; }
.chat__summary { align-self: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 0; font-size: .88rem; }
.chat__summary div { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.chat__summary div:last-child { border-bottom: 0; }
.chat__summary dt { color: var(--ink-3); font-size: .78rem; grid-column: 1; }
.chat__summary dd { margin: 0; grid-column: 1; word-break: break-word; }
.chat__summary button { grid-column: 2; grid-row: 1 / span 2; align-self: center; border: 0; background: none; color: var(--blue-600); font-weight: 600; cursor: pointer; font-size: .82rem; padding: 6px; min-height: 36px; }
.chat__input { border-top: 1px solid var(--line); padding: 12px; background: #fff; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__opt { min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--sky-200); background: var(--sky-100); color: var(--navy-900); font-size: .88rem; cursor: pointer; transition: background-color .15s, border-color .15s; }
.chat__opt:hover { border-color: var(--blue-600); }
.chat__opt--primary { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.chat__form { display: flex; gap: 8px; align-items: flex-end; }
.chat__form input, .chat__form textarea { flex: 1; min-height: 46px; max-height: 120px; padding: 11px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; font-size: 1rem; resize: none; }
.chat__form input:focus, .chat__form textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(21, 97, 214, .15); }
.chat__send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--blue-600); color: #fff; cursor: pointer; }
.chat__send:disabled { opacity: .6; }
.chat__skip { margin-top: 8px; border: 0; background: none; color: var(--ink-3); font-size: .84rem; cursor: pointer; text-decoration: underline; padding: 4px; }
.chat__err { color: var(--err); font-size: .84rem; margin: 6px 2px 0; }
.chat__consent { font-size: .84rem; margin-bottom: 10px; }
.chat__noscript { padding: 16px; }
@media (max-width: 600px) { .chat { inset: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0; } }

/* Consent banner */
.consent { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 65; width: min(440px, calc(100vw - 104px)); padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2); font-size: .9rem; }
.consent p { margin: 0 0 12px; color: var(--ink-2); }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* 404 */
.nf { padding: clamp(64px, 10vw, 140px) 0; text-align: center; }
.nf__inner { display: flex; flex-direction: column; align-items: center; }
.nf__code { font-family: var(--f-display); font-weight: 700; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; letter-spacing: -.06em; margin: 0 0 8px; background: linear-gradient(180deg, var(--blue-600), var(--navy-900)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 28px; }
.nf__px { display: grid; grid-template-columns: repeat(3, 14px); gap: 5px; margin-bottom: 20px; }
.nf__px i { width: 14px; height: 14px; border-radius: 2px; background: var(--sky-400); animation: pxBlink 3s infinite; }
.nf__px i:nth-child(1) { grid-column: 3; } .nf__px i:nth-child(2) { grid-column: 2; background: var(--blue-600); animation-delay: .4s; } .nf__px i:nth-child(4) { grid-column: 1; background: var(--navy-900); animation-delay: .8s; }

/* Scroll reveal — only hidden when JS is available, so content is never lost */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1023px) {
  .hero__grid, .phero__grid--aside, .split, .consult, .contact, .trust__grid { grid-template-columns: minmax(0, 1fr); }
  .consult__intro { position: static; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .article__grid { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .toc { position: static; padding: 18px; background: var(--surface); border-radius: var(--r); }
  .stage { max-width: 600px; width: 100%; justify-self: center; }
  .hero__title { max-width: 18ch; }
}
@media (max-width: 760px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); border-radius: var(--r-lg); }
  .cta-band__inner .btn { flex: 1 1 auto; }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats__item + .stats__item { border-left: 0; border-top: 1px solid var(--line); }
  .stats__item { flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; }
  .scard, .model { padding: 22px; }
  .stage__chart p { font-size: 9px; }
}
@media (max-width: 360px) { .stage__toast small { display: none; } }

/* ===== Stats band ===== */
.kband { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 55%, #17397a); color: #c9d5ee; overflow: hidden; isolation: isolate; }
.kband__grid { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.kband::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56,169,245,.28), transparent); z-index: -1; }
.kband .eyebrow { color: var(--sky-400); }
.kband h2 { color: #fff; }
.kband p { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.kpi { position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 14px; padding: 22px 22px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.kpi:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); border-color: rgba(56,169,245,.45); }
.kpi__label { display: flex; align-items: center; gap: 10px; color: #c9d5ee; font-size: .93rem; }
.kpi__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(56,169,245,.16); color: var(--sky-400); flex: none; }
.kpi__ic .icon { width: 18px; height: 18px; }
.kpi__num { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.2rem); line-height: .95; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; }
.kpi__px { position: absolute; right: 16px; top: 16px; display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; opacity: .7; }
.kpi__px i { width: 7px; height: 7px; border-radius: 1px; background: var(--sky-400); }
.kpi__px i:nth-child(1) { grid-column: 2; } .kpi__px i:nth-child(2) { background: var(--blue-500); } .kpi__px i:nth-child(3) { opacity: .4; }
html.js .kpi .kpi__ic { transform: scale(.6); opacity: 0; transition: transform .6s var(--ease) calc(var(--i) * 90ms + .2s), opacity .4s calc(var(--i) * 90ms + .2s); }
html.js .kpi.is-in .kpi__ic { transform: none; opacity: 1; }

/* ===== Work showcase ===== */
.section--work { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.work-head .shead { margin-bottom: clamp(28px, 3.5vw, 44px); }
.work-head > .btn { margin-bottom: clamp(28px, 3.5vw, 44px); }
.showcase { display: grid; gap: clamp(28px, 4vw, 48px); }
.proj { --accent: var(--blue-600); --tint: var(--sky-100); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(18px, 2.5vw, 28px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.proj--flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.proj--flip .mk { order: 2; }
.proj--peoplesbolt { --accent: #0e7a8a; --tint: #e3f5f6; }
.proj--ahmi { --accent: #4b46c8; --tint: #ecebfb; }
.proj__copy { padding: clamp(4px, 1.5vw, 16px); }
.proj__cat { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.proj__idx { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--tint); color: var(--accent); letter-spacing: 0; }
.proj__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; margin-bottom: 6px; }
.proj__full { color: var(--ink-3); font-weight: 500; margin: 0 0 12px; }
.proj__desc { color: var(--ink-2); font-size: 1.04rem; }
.proj__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.proj__tags li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: var(--tint); color: var(--ink); font-size: .85rem; font-weight: 500; }
.proj__tags .icon { width: 16px; height: 16px; color: var(--accent); }
.proj .btn--primary { margin-top: 6px; }

/* ===== Animated workflow ===== */
.flow-wrap { margin: 6px 0 24px; }
.flow__t { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.flow { --c: var(--accent, var(--blue-600)); list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; position: relative; }
.flow__node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.flow__node:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c), color-mix(in oklch, var(--c) 40%, white)); transform-origin: left; }
.flow__node:not(:last-child)::before { content: ""; position: absolute; top: 18px; left: calc(50% + 26px); width: 8px; height: 8px; border-radius: 50%; background: var(--c); opacity: 0; z-index: 1; }
.flow__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1.5px solid color-mix(in oklch, var(--c) 35%, white); color: var(--c); box-shadow: 0 6px 16px -10px rgba(11,26,59,.4); }
.flow__ic .icon { width: 20px; height: 20px; }
html.js .flow .flow__ic { transform: scale(.5); opacity: 0; transition: transform .6s var(--ease) calc(var(--i) * 260ms), opacity .4s calc(var(--i) * 260ms); }
html.js .flow .flow__l { opacity: 0; transition: opacity .5s calc(var(--i) * 260ms + .15s); }
html.js .flow .flow__node::after { transform: scaleX(0); transition: transform .45s var(--ease) calc(var(--i) * 260ms + .25s); }
html.js .flow.is-in .flow__ic { transform: none; opacity: 1; }
html.js .flow.is-in .flow__l { opacity: 1; }
html.js .flow.is-in .flow__node::after { transform: scaleX(1); }
.flow.is-in .flow__node:not(:last-child)::before { animation: flowDot 2.4s var(--ease) calc(var(--i) * 260ms + 1.4s) 3; }
@keyframes flowDot { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--d, 60px)); } }
.section--dark .flow { --c: var(--sky-400); }
.section--dark .flow__node { color: #fff; font-size: .95rem; }
.section--dark .flow__ic { background: var(--navy-800); border-color: rgba(56,169,245,.4); width: 60px; height: 60px; border-radius: 18px; }
.section--dark .flow__ic .icon { width: 26px; height: 26px; }
.section--dark .flow__node:not(:last-child)::after { top: 29px; left: calc(50% + 36px); right: calc(-50% + 36px); }
.section--dark .flow__node:not(:last-child)::before { top: 26px; left: calc(50% + 36px); }

/* ===== Illustrative app mockups ===== */
.mk { --accent: var(--blue-600); --tint: var(--sky-100); margin: 0; position: relative; }
.mk--peoplesbolt { --accent: #0e7a8a; --tint: #e3f5f6; }
.mk--ahmi { --accent: #4b46c8; --tint: #ecebfb; }
.mk-stage { position: relative; aspect-ratio: 16 / 11.5; border-radius: calc(var(--r-xl) - 6px); padding: 7% 12% 9% 6%; background: radial-gradient(80% 70% at 85% 10%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 70%), linear-gradient(150deg, var(--navy-800), var(--navy-950)); overflow: hidden; isolation: isolate; container-type: inline-size; }
.mk-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px; }
.mk-cap { margin-top: 10px; font-size: .76rem; color: var(--ink-3); text-align: center; }
.mk-win { position: relative; height: 100%; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); overflow: hidden; display: flex; flex-direction: column; font-size: clamp(8px, 1.6cqi, 12px); }
.mk-bar { display: flex; align-items: center; gap: 5px; padding: 1.6% 2.4%; background: var(--surface); border-bottom: 1px solid var(--line); }
.mk-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.mk-bar span { margin-left: 8px; font-weight: 600; color: var(--ink-2); font-size: .95em; }
.mk-body { flex: 1; display: grid; grid-template-columns: 11% 1fr; min-height: 0; }
.mk-side { display: flex; flex-direction: column; align-items: center; gap: 6%; padding: 14% 0; background: var(--navy-900); }
.mk-side__logo { width: 46%; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, var(--sky-400), var(--accent)); margin-bottom: 8%; }
.mk-side__item { display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 8px; color: #8fa3cb; }
.mk-side__item .icon { width: 60%; height: 60%; }
.mk-side__item.is-active { background: rgba(255,255,255,.12); color: #fff; }
.mk-main { padding: 4% 4.5%; display: flex; flex-direction: column; gap: 5%; min-width: 0; }
.mk-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mk-head > div { flex: 1; }
.mk-sk { display: block; height: .6em; border-radius: 3px; background: var(--line); margin-top: .45em; }
.mk-sk--h { height: .85em; background: var(--navy-900); opacity: .85; margin-top: 0; }
.mk-btn { display: inline-flex; align-items: center; gap: 4px; padding: .55em 1em; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 600; font-size: .9em; white-space: nowrap; }
.mk-btn .icon { width: 1.1em; height: 1.1em; }
.mk-btn--sm { padding: .4em .8em; font-size: .8em; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.mk-kpi { padding: 7% 8%; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.mk-kpi small { display: block; color: var(--ink-3); font-size: .85em; margin-bottom: .5em; }
.mk-kpi__bar { display: block; height: .55em; border-radius: 99px; background: var(--surface); overflow: hidden; }
.mk-kpi__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--sky-400)); transform-origin: left; }
.mk-table { display: grid; gap: .5em; }
.mk-row, .mk-req { display: flex; align-items: center; gap: .8em; padding: .55em .7em; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.mk-row__txt { flex: 1; min-width: 0; }
.mk-row__txt .mk-sk:first-child { margin-top: 0; background: #c9d2e3; }
.mk-av { width: 2.1em; height: 2.1em; border-radius: 50%; background: linear-gradient(135deg, var(--tint), color-mix(in oklch, var(--accent) 30%, white)); flex: none; display: grid; place-items: center; color: var(--accent); }
.mk-av .icon { width: 60%; height: 60%; }
.mk-av--ic { border-radius: 7px; }
.mk-av--lg { width: 3em; height: 3em; }
.mk-chip { padding: .25em .7em; border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: .85em; white-space: nowrap; }
.mk-pill { padding: .3em .75em; border-radius: 99px; font-size: .82em; font-weight: 600; white-space: nowrap; }
.mk-pill--ok { background: #e3f6ec; color: #0f7a43; }
.mk-pill--rev { background: var(--tint); color: var(--accent); }
.mk-pill--pend { background: #fff3dc; color: #8a5a00; }
.mk-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--surface); align-self: flex-start; }
.mk-tabs span { padding: .4em 1.1em; border-radius: 99px; font-weight: 600; color: var(--ink-3); }
.mk-tabs .is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,26,59,.15); }
.mk-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.mk-svc__card { padding: 8%; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--tint)); display: flex; flex-direction: column; gap: .2em; }
.mk-svc__card b { font-size: .95em; margin-top: .3em; }
.mk-svc__ic { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 8px; background: var(--accent); color: #fff; margin-bottom: .3em; }
.mk-svc__ic .icon { width: 60%; height: 60%; }
.mk-ring { width: 3.4em; height: 3.4em; flex: none; }
.mk-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 4; }
.mk-ring circle { stroke: var(--surface); }
.mk-ring .mk-ring__v { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 94.2; stroke-dashoffset: 30; }
.mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4em; }
.mk-cal i { aspect-ratio: 1.6; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); }
.mk-cal i.is-on { background: var(--tint); border-color: var(--accent); }
.mk-float { position: absolute; z-index: 2; padding: 2.4% 2.8%; border-radius: 12px; background: #fff; box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); font-size: clamp(8px, 1.5cqi, 12px); display: flex; gap: .8em; align-items: center; }
.mk-float b { display: block; font-size: 1em; margin-bottom: .1em; }
.mk-float--tr { right: 3%; top: 12%; width: 30%; flex-direction: column; align-items: stretch; }
.mk-float--bl { left: 3%; bottom: 5%; width: 32%; }
.mk-float--bl > div { flex: 1; min-width: 0; }
.mk-float--tr:not(.mk-float--vendor) { flex-direction: row; align-items: center; }
.mk--krib .mk-float--tr { flex-direction: column; align-items: stretch; }
.mk-float__t { display: flex; align-items: center; gap: .5em; margin: 0 0 .2em; font-weight: 700; color: var(--ink); }
.mk-float__t .icon { width: 1.3em; height: 1.3em; color: var(--accent); }
.mk-prof { display: flex; gap: .7em; align-items: center; padding-bottom: .6em; border-bottom: 1px solid var(--line); }
.mk-prof > div { flex: 1; }
.mk-check { display: flex; align-items: center; gap: .6em; font-weight: 600; color: var(--ink-2); }
.mk-check span { flex: 1; }
.mk-check .icon { width: 1.3em; height: 1.3em; color: var(--accent); }
.mk-check .mk-ok { color: #0f7a43; }
.mk-spin { width: 1.1em; height: 1.1em; border: 2px solid var(--tint); border-top-color: var(--accent); border-radius: 50%; animation: spin 1.1s linear infinite; }
.mk-lock { display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 10px; background: var(--tint); color: var(--accent); flex: none; }
.mk-lock .icon { width: 55%; height: 55%; }
.mk-lock--alt { background: var(--accent); color: #fff; }
.mk-lock--edu { background: linear-gradient(135deg, var(--accent), var(--sky-400)); color: #fff; }
.mk-float--tr > div { flex: 1; min-width: 0; }
.mk-req .mk-row__txt .mk-sk:first-child { background: #c9d2e3; }
/* mockup motion */
html.js .mk[data-reveal] { opacity: 1; transform: none; }
html.js .mk .mk-stage { clip-path: inset(0 0 0 0 round 24px); }
html.js .mk:not(.is-in) .mk-stage { clip-path: inset(8% 6% 8% 6% round 24px); }
html.js .mk .mk-stage { transition: clip-path 1s var(--ease); }
html.js .mk [data-mk-layer] { opacity: 0; translate: 0 24px; transition: opacity .7s, translate .9s var(--ease); }
html.js .mk.is-in [data-mk-layer] { opacity: 1; translate: 0 0; }
html.js .mk.is-in .mk-float--tr { transition-delay: .35s; }
html.js .mk.is-in .mk-float--bl { transition-delay: .55s; }
html.js .mk .mk-row, html.js .mk .mk-svc__card { opacity: 0; transform: translateY(8px); transition: opacity .5s calc(var(--i) * 90ms + .45s), transform .6s var(--ease) calc(var(--i) * 90ms + .45s); }
html.js .mk.is-in .mk-row, html.js .mk.is-in .mk-svc__card { opacity: 1; transform: none; }
html.js .mk .mk-kpi__bar i { transform: scaleX(0); transition: transform 1.1s var(--ease) .6s; }
html.js .mk.is-in .mk-kpi__bar i { transform: none; }
html.js .mk .mk-ring__v { stroke-dashoffset: 94.2; transition: stroke-dashoffset 1.4s var(--ease) .6s; }
html.js .mk.is-in .mk-ring__v { stroke-dashoffset: 30; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .mk.is-in .mk-float--tr { animation: mkFloat 6s ease-in-out 1.4s infinite; }
  .mk.is-in .mk-float--bl { animation: mkFloat 7s ease-in-out 2s infinite reverse; }
  .proj:hover .mk-win { transform: translateY(-4px); }
  .mk-win { transition: transform .6s var(--ease); }
}
@keyframes mkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===== Project detail ===== */
.phero--project { background: linear-gradient(180deg, var(--surface), #fff); }
.pd-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(16px, 3vw, 28px); position: relative; z-index: 1; }
.pd-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; margin: 24px 0 0; }
.pd-meta dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pd-meta dd { margin: 4px 0 0; font-weight: 600; }
.incl__item--ic .scard__icon { margin-bottom: 14px; }
.pd-next { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.pd-next:hover { color: var(--ink); border-color: var(--blue-500); transform: translateY(-3px); box-shadow: var(--sh-1); }
.pd-next small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pd-next b { display: block; font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.03em; }
.pd-next em { font-style: normal; color: var(--ink-2); }
.pd-next .icon { width: 28px; height: 28px; color: var(--blue-600); transition: transform .3s var(--ease); }
.pd-next:hover .icon { transform: translateX(6px); }

/* ===== About capability board ===== */
.split--center { align-items: center; }
.capboard { position: relative; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); overflow: hidden; isolation: isolate; }
.capboard__grid { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 36px 36px; }
.capboard__t { color: var(--sky-400); font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.capboard ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.capboard a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; line-height: 1.25; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.capboard a:hover { color: #fff; background: rgba(56,169,245,.16); border-color: rgba(56,169,245,.5); transform: translateY(-2px); }
.capboard a .icon { color: var(--sky-400); }
html.js .capboard li { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .5s calc(var(--i) * 70ms + .2s), transform .6s var(--ease) calc(var(--i) * 70ms + .2s); }
html.js .capboard.is-in li { opacity: 1; transform: none; }

/* Service card polish */
.scard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 80% at 0% 0%, var(--sky-100), transparent 55%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.scard:hover::before { opacity: 1; }
.scard > * { position: relative; }

@media (max-width: 1023px) {
  .kband { grid-template-columns: minmax(0, 1fr); }
  .proj, .proj--flip, .pd-hero { grid-template-columns: minmax(0, 1fr); }
  .proj--flip .mk { order: 0; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 16px 18px; }
  .kpi__px { display: none; }
  .mk-stage { padding: 6% 6% 8% 4%; aspect-ratio: 4 / 3.4; }
  .mk-float--tr { width: 40%; top: 4%; right: 2%; }
  .mk-float--bl { width: 46%; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow__node { flex-direction: row; text-align: left; }
  .flow__node:not(:last-child)::after { top: 46px; left: 21px; right: auto; width: 2px; height: 10px; transform-origin: top; }
  .flow__node:not(:last-child)::before { display: none; }
  .section--dark .flow__node:not(:last-child)::after { top: 62px; left: 29px; }
  .capboard ul { grid-template-columns: minmax(0, 1fr); }
  .pd-meta { grid-template-columns: minmax(0, 1fr); }
  .proj { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .mk [data-mk-layer], html.js .mk .mk-row, html.js .mk .mk-svc__card, html.js .capboard li, html.js .flow .flow__ic, html.js .flow .flow__l, html.js .kpi .kpi__ic { opacity: 1 !important; transform: none !important; translate: none !important; }
  html.js .mk:not(.is-in) .mk-stage { clip-path: none; }
  html.js .flow .flow__node::after, html.js .mk .mk-kpi__bar i { transform: none !important; }
  .flow__node::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .stage > [data-depth] { transform: none !important; }
  @view-transition { navigation: none; }
}
