/* ==========================================================================
   VSII — VisionSoft International Inc.
   Site stylesheet · static, framework-free, works on any host
   --------------------------------------------------------------------------
   1. Fonts & tokens      6. Hero (home)          11. Products / industries
   2. Base & typography   7. Logo marquee         12. Page hero (interior)
   3. Layout helpers      8. About / stats        13. Content blocks
   4. Buttons & chips     9. Services bento       14. CTA band & footer
   5. Header & nav       10. Expertise panel      15. Utilities & motion
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Brand */
  --ink-950: #150A2E;
  --ink-900: #1D1040;
  --ink-800: #261650;
  --ink-700: #322063;
  --ink-600: #3E2D6E;
  --blue-700: #341C67;
  --blue-600: #5B3A9E;
  --blue-500: #8E72D6;
  --blue-300: #C4AEF4;
  --blue-100: #E9E0FB;
  --blue-50:  #F4EFFD;
  --sky-400:  #C4AEF4;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50:  #F6F7FA;
  --gray-100: #EEF1F5;
  --gray-200: #E2E6ED;
  --gray-300: #CBD2DD;
  --gray-400: #98A2B3;
  --gray-500: #677285;
  --gray-600: #4B5567;
  --gray-700: #343C4B;

  /* Semantic */
  --text: var(--ink-900);
  --text-muted: var(--gray-500);
  --text-on-dark: #F1ECFA;
  --text-on-dark-muted: #B9AED3;
  --surface: var(--white);
  --surface-soft: var(--gray-50);
  --line: var(--gray-200);
  --line-dark: rgba(255,255,255,0.10);
  --accent: var(--blue-600);
  --accent-hover: var(--blue-700);

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 76px;
  --bar-h: 40px;
  --top-h: calc(var(--header-h) + var(--bar-h));

  --shadow-sm: 0 1px 2px rgba(29,16,64,0.06), 0 1px 1px rgba(29,16,64,0.04);
  --shadow: 0 10px 30px -12px rgba(29,16,64,0.18), 0 2px 6px rgba(29,16,64,0.05);
  --shadow-lg: 0 30px 60px -20px rgba(29,16,64,0.30);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 2. Base & typography ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: inherit; margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.3; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* Two-tone heading, the signature pattern: <h2>Lead words <span class="dim">trailing words</span></h2> */
.dim { color: var(--gray-400); }
.on-dark .dim, .dark .dim { color: #A493C9; }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--text-muted); max-width: 46em; }
.dark .lead, .on-dark .lead { color: var(--text-on-dark-muted); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--white); color: var(--ink-900); padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--shadow); font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* 3. Layout helpers ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--surface-soft); }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }
.dark { background: var(--ink-900); color: var(--text-on-dark); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 860px; }
.section-head--split { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px 64px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 4. Buttons & chips ------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink-900); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 500; font-size: 0.97rem; line-height: 1; letter-spacing: -0.005em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--blue-600); --btn-fg: var(--white); box-shadow: 0 8px 24px -10px rgba(91,58,158,.7); }
.btn--primary:hover { --btn-bg: var(--blue-700); }
.btn--dark:hover { --btn-bg: var(--ink-700); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink-900); }
.btn--light:hover { --btn-bg: var(--blue-50); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--gray-300); }
.btn--ghost:hover { --btn-bd: var(--ink-900); }
.dark .btn--ghost, .on-dark .btn--ghost { --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.28); }
.dark .btn--ghost:hover, .on-dark .btn--ghost:hover { --btn-bd: var(--white); --btn-bg: rgba(255,255,255,.06); }
.btn--sm { min-height: 40px; padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.dark .eyebrow, .on-dark .eyebrow { color: var(--blue-300); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .85rem; font-weight: 500; background: var(--white); color: var(--ink-800); border: 1px solid var(--line);
}
.on-dark .chip, .dark .chip { background: rgba(255,255,255,.06); color: var(--text-on-dark); border-color: var(--line-dark); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-900); }
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--blue-600); }
.text-link:hover svg { transform: translateX(3px); }
.dark .text-link { color: var(--white); }
.dark .text-link:hover { color: var(--blue-300); }

/* 5. Header & nav --------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid, .site-header.is-light {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-dark-solid {
  background: rgba(29,16,64,.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand svg { height: 38px; width: auto; }
.brand__word { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: .02em; }
.brand__sub { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.is-solid .brand, .is-light .brand { color: var(--ink-900); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.86); background: none; border: 0;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--white); background: rgba(255,255,255,.08); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--white); }
.nav__link .caret { width: 14px; height: 14px; transition: transform .2s; opacity: .7; }
.nav__link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.is-solid .nav__link, .is-light .nav__link { color: var(--gray-600); }
.is-solid .nav__link:hover, .is-light .nav__link:hover,
.is-solid .nav__link[aria-expanded="true"], .is-light .nav__link[aria-expanded="true"] { color: var(--ink-900); background: var(--gray-100); }
.is-solid .nav__link.is-active, .is-light .nav__link.is-active { color: var(--ink-900); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 340px; padding: 10px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown a {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink-900);
  font-size: .93rem; font-weight: 500; line-height: 1.3;
}
.dropdown a:hover { background: var(--gray-50); color: var(--blue-600); }
.dropdown a .ico { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.dropdown a .ico svg { width: 18px; height: 18px; }
.dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown__all a { color: var(--gray-600); justify-content: space-between; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn--light { box-shadow: none; }
.is-solid .header-cta .btn--light, .is-light .header-cta .btn--light { --btn-bg: var(--ink-900); --btn-fg: var(--white); }
.is-solid .header-cta .btn--light:hover, .is-light .header-cta .btn--light:hover { --btn-bg: var(--blue-600); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22);
  background: transparent; color: var(--white); align-items: center; justify-content: center;
}
.is-solid .menu-toggle, .is-light .menu-toggle { color: var(--ink-900); border-color: var(--line); }
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: var(--ink-900); color: var(--white);
  display: flex; flex-direction: column; padding: 18px var(--gutter) 32px; overflow-y: auto;
  transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-bottom: 24px; }
.mobile-nav__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--white); display: grid; place-items: center; }
.mobile-nav__close svg { width: 22px; height: 22px; }
.mobile-nav details { border-bottom: 1px solid var(--line-dark); }
.mobile-nav summary, .mobile-nav__link {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0; list-style: none;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--white); cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 20px; height: 20px; transition: transform .2s; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav__link { border-bottom: 1px solid var(--line-dark); }
.mobile-nav details ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
.mobile-nav details a { display: block; padding: 10px 0; color: var(--text-on-dark-muted); font-size: 1.02rem; }
.mobile-nav details a:hover { color: var(--white); }
.mobile-nav__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; color: var(--text-on-dark-muted); font-size: .95rem; }
.mobile-nav__foot a { color: var(--white); }
body.nav-open { overflow: hidden; }

/* 6. Hero (home) ---------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-950); color: var(--text-on-dark);
  padding-top: calc(var(--top-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(40px, 6vw, 64px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero__glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; border-radius: 50%;
  right: -260px; top: -380px; background: radial-gradient(circle, rgba(91,58,158,.38), rgba(91,58,158,0) 62%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__copy { display: grid; gap: 28px; align-content: start; }
.hero__slides { position: relative; display: grid; }
.hero__slide { grid-area: 1 / 1; display: grid; gap: 24px; align-content: start; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transform: none; }
.hero h1 { color: var(--white); max-width: 13em; }
.hero__lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--text-on-dark-muted); max-width: 34em; margin: 0; }
.hero__controls { display: flex; align-items: center; gap: 14px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  position: relative; width: 44px; height: 4px; border: 0; padding: 0; border-radius: 4px; overflow: hidden;
  background: rgba(255,255,255,.18);
}
.hero__dot::before { content: ""; position: absolute; inset: -12px 0; }
.hero__dot span { position: absolute; inset: 0; width: 0; background: var(--white); border-radius: inherit; }
.hero__dot.is-active span { animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dot.is-active span { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.hero__pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: transparent; color: var(--white); display: grid; place-items: center; }
.hero__pause svg { width: 14px; height: 14px; }
.hero__count { font-size: .85rem; color: var(--text-on-dark-muted); font-variant-numeric: tabular-nums; }

.hero-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 4.6;
  background: linear-gradient(160deg, #3A2275 0%, #2A1555 55%, #1D1040 100%);
  border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero-card__art { position: absolute; inset: 0; }
.hero-card__art svg { width: 100%; height: 100%; }
.hero-card__float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white);
}
.hero-card__float b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.hero-card__float small { display: block; font-size: .78rem; color: var(--text-on-dark-muted); line-height: 1.3; }
.hero-card__float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-600); flex: none; }
.hero-card__float .ico svg { width: 18px; height: 18px; }
.hero-card__float--a { left: 24px; top: 24px; }
.hero-card__float--b { right: 24px; top: 42%; }
.hero-card__float--c { left: 24px; right: 24px; bottom: 24px; justify-content: space-between; }
.hero-card__float--c .mini { display: grid; gap: 2px; }

.hero__meta {
  margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
}
.hero__meta-label { font-size: .88rem; color: var(--text-on-dark-muted); max-width: 15em; line-height: 1.45; }

/* 7. Logo marquee --------------------------------------------------------- */
.marquee { position: relative; 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: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; letter-spacing: -.01em; color: rgba(255,255,255,.62); }
.marquee__item svg { width: 22px; height: 22px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Credentials strip */
.creds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.cred { padding: 26px 24px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); }
.cred:last-child { border-right: 0; }
.cred .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.cred .ico svg { width: 20px; height: 20px; }
.cred b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }
.cred span { font-size: .88rem; color: var(--text-muted); line-height: 1.45; }

/* 8. About / stats -------------------------------------------------------- */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-split__copy { display: grid; gap: 24px; }
.about-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--ink-900); aspect-ratio: 1 / 1.02; }
.about-visual svg { width: 100%; height: 100%; }
.about-visual__tag {
  position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.95); color: var(--ink-900); box-shadow: var(--shadow);
}
.about-visual__tag b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.about-visual__tag span { font-size: .85rem; color: var(--text-muted); }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat {
  padding: 24px; border-radius: var(--radius-lg); background: var(--surface-soft); border: 1px solid var(--line);
  display: grid; gap: 8px; align-content: space-between; min-height: 170px;
}
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; top: -.9em; margin-left: 2px; color: var(--blue-600); }
.stat__label { font-size: .93rem; color: var(--text-muted); line-height: 1.45; }
.stat--accent { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.stat--accent .stat__label { color: rgba(255,255,255,.8); }
.stat--accent .stat__num sup { color: var(--white); }
.stat--dark { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.stat--dark .stat__label { color: var(--text-on-dark-muted); }

/* 9. Services bento ------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
a.card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gray-300); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -.02em; line-height: 1.25; }
.card__text { color: var(--text-muted); font-size: .97rem; line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__num { font-size: .82rem; color: var(--gray-400); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.card__go {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-900); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.card__go svg { width: 16px; height: 16px; }
a.card:hover .card__go { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); transform: rotate(-45deg); }
.bento > .card { grid-column: span 2; }
.bento > .card--wide { grid-column: span 3; }
.bento > .card--feature {
  grid-column: span 3; grid-row: span 2; background: var(--ink-900); color: var(--white); border-color: var(--ink-900); overflow: hidden;
  padding: 36px; justify-content: flex-end; min-height: 420px;
}
.card--feature .card__text { color: var(--text-on-dark-muted); }
.card--feature .card__icon { background: rgba(255,255,255,.08); color: var(--blue-300); }
.card--feature .card__go { border-color: var(--line-dark); color: var(--white); }
.card--feature .card__num { color: #A493C9; }
a.card--feature:hover { color: var(--white); border-color: var(--ink-900); }
.card--feature .card__art { position: absolute; inset: 0 0 auto 0; height: 62%; pointer-events: none; }
.card--feature .card__art svg { width: 100%; height: 100%; }
.card--feature > *:not(.card__art) { position: relative; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__tags span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text-on-dark); border: 1px solid var(--line-dark); }

/* 10. Expertise panel (SAP / timeline) ----------------------------------- */
.expertise { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.expertise__copy { display: grid; gap: 24px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.check-list li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.dark .check-list li { color: var(--text-on-dark); }

.panel {
  border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 28px); background: var(--ink-800);
  border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); display: grid; gap: 16px;
}
.panel__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel__bar .lights { display: flex; gap: 6px; }
.panel__bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.panel__title { font-size: .85rem; color: var(--text-on-dark-muted); }
.panel__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { border-radius: 16px; padding: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); display: grid; gap: 6px; }
.tile small { font-size: .78rem; color: var(--text-on-dark-muted); letter-spacing: .02em; }
.tile b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; color: var(--white); line-height: 1.1; }
.tile--blue { background: var(--blue-600); border-color: var(--blue-600); }
.tile--blue small { color: rgba(255,255,255,.8); }
.timeline { position: relative; border-radius: 16px; padding: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.timeline__head { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-on-dark-muted); margin-bottom: 18px; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-500), rgba(142,114,214,.1)); }
.timeline li { position: relative; display: grid; grid-template-columns: 16px 64px 1fr; gap: 14px; padding: 10px 0; align-items: baseline; }
.timeline li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-800); border: 3px solid var(--blue-500); transform: translateY(3px); }
.timeline li b { font-family: var(--font-display); font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }
.timeline li span { color: var(--text-on-dark-muted); font-size: .93rem; line-height: 1.45; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* 11. Products / industries ---------------------------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind {
  position: relative; display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--text); background: var(--white); transition: background .3s var(--ease);
  min-height: 230px; align-content: space-between;
}
.ind:hover { background: var(--surface-soft); color: var(--text); }
.ind__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ind__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ink-900); color: var(--white); display: grid; place-items: center; transition: background .3s var(--ease); }
.ind:hover .ind__icon { background: var(--blue-600); }
.ind__icon svg { width: 22px; height: 22px; }
.ind__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.ind__text { color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.ind .card__go { flex: none; }
.ind:hover .card__go { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); transform: rotate(-45deg); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.product__art { aspect-ratio: 16 / 10; background: var(--ink-900); position: relative; overflow: hidden; }
.product__art svg { width: 100%; height: 100%; }
.product__body { padding: 26px; display: grid; gap: 12px; align-content: start; }
.product__body .card__foot { padding-top: 12px; }

/* Trust statement */
.trust { text-align: center; display: grid; justify-items: center; gap: 28px; }
.trust h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); max-width: 16em; line-height: 1.06; }
.trust__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* 12. Page hero (interior) ----------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--ink-950); color: var(--text-on-dark);
  padding-top: calc(var(--top-h) + clamp(48px, 7vw, 88px)); padding-bottom: clamp(56px, 7vw, 96px);
}
.page-hero .hero__glow { right: -300px; top: -460px; opacity: .85; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 48px; align-items: end; }
.page-hero__copy { display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); color: var(--white); max-width: 15em; }
.page-hero .lead { color: var(--text-on-dark-muted); max-width: 40em; }
.page-hero__aside { display: grid; gap: 12px; justify-items: start; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0; padding: 0; font-size: .87rem; color: var(--text-on-dark-muted); }
.breadcrumb a { color: var(--text-on-dark-muted); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .45; }
.breadcrumb [aria-current] { color: var(--white); }

/* 13. Content blocks ------------------------------------------------------ */
.content-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--gray-700); max-width: 44em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink-900); margin-top: 1.6em; }
.prose h3 { color: var(--ink-900); margin-top: 1.6em; }
.prose p { margin: 0; }
.prose .intro { font-size: clamp(1.2rem, 1.8vw, 1.42rem); line-height: 1.55; color: var(--ink-900); font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; }
.prose ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-600); transform: rotate(45deg); }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 22px;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.feature .ico svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.05rem; line-height: 1.35; margin-top: 2px; }
.feature p { font-size: .95rem; color: var(--text-muted); margin-top: 6px; line-height: 1.55; }

.aside { position: sticky; top: calc(var(--top-h) + 24px); display: grid; gap: 16px; }
.aside-card { border-radius: var(--radius-lg); padding: 28px; background: var(--ink-900); color: var(--text-on-dark); display: grid; gap: 16px; overflow: hidden; position: relative; isolation: isolate; }
.aside-card::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; border-radius: 50%; right: -140px; top: -160px; background: radial-gradient(circle, rgba(91,58,158,.5), transparent 65%); }
.aside-card h3 { color: var(--white); font-size: 1.35rem; }
.aside-card p { color: var(--text-on-dark-muted); font-size: .95rem; }
.aside-card .btn { width: 100%; }
.aside-card__contact { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: .93rem; }
.aside-card__contact a { color: var(--white); display: inline-flex; gap: 10px; align-items: center; }
.aside-card__contact a:hover { color: var(--blue-300); }
.aside-card__contact svg { width: 16px; height: 16px; color: var(--blue-300); }
.aside-links { border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 10px; background: var(--white); }
.aside-links h4 { padding: 12px 14px 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); font-family: var(--font-sans); font-weight: 500; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; color: var(--ink-900); font-size: .95rem; font-weight: 500; }
.aside-links a:hover { background: var(--gray-50); color: var(--blue-600); }
.aside-links a[aria-current="page"] { background: var(--blue-50); color: var(--blue-600); }
.aside-links svg { width: 16px; height: 16px; opacity: .55; }

.callout { border-radius: var(--radius-lg); padding: 28px; background: var(--blue-50); border: 1px solid var(--blue-100); display: grid; gap: 10px; }
.callout h3 { font-size: 1.2rem; }
.callout p { color: var(--gray-600); }

.badge-list { display: grid; gap: 16px; }
.award {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); align-items: start;
}
.award .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--ink-900); color: var(--white); display: grid; place-items: center; }
.award .ico svg { width: 24px; height: 24px; }
.award h3 { font-size: 1.2rem; }
.award p { color: var(--text-muted); margin-top: 6px; font-size: .98rem; }
.award .years { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.award .years span { font-size: .8rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-variant-numeric: tabular-nums; }

.posting {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); overflow: hidden;
}
.posting__head { padding: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.posting__head h3 { font-size: 1.5rem; }
.posting__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.posting__body { padding: 28px; display: grid; gap: 18px; font-size: .98rem; line-height: 1.7; color: var(--gray-700); }
.posting__body h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); font-family: var(--font-sans); font-weight: 500; margin-bottom: 6px; }
.posting__body p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--text); }
a.contact-item:hover { border-color: var(--gray-300); box-shadow: var(--shadow-sm); color: var(--text); }
.contact-item .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: .8rem; color: var(--text-muted); letter-spacing: .02em; }
.contact-item b { font-weight: 500; font-size: 1.02rem; }
.form { border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--gray-700); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--gray-50);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(91,58,158,.12); }
.form__note { font-size: .85rem; color: var(--text-muted); }
.form__status { font-size: .92rem; color: var(--blue-700); min-height: 1.2em; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--gray-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 14. CTA band & footer --------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--blue-600); color: var(--white); padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: end;
}
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.22), transparent 45%), radial-gradient(circle at 0% 100%, rgba(29,16,64,.35), transparent 55%); }
.cta-band__art { position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 420px; opacity: .22; }
.cta-band h2 { color: var(--white); max-width: 14em; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-top: 16px; max-width: 32em; }
.cta-band__actions { display: grid; gap: 12px; justify-items: start; }
.cta-band__contact { display: grid; gap: 6px; font-size: .98rem; }
.cta-band__contact a { color: var(--white); display: inline-flex; gap: 10px; align-items: center; font-weight: 500; }
.cta-band__contact a:hover { color: rgba(255,255,255,.8); }
.cta-band__contact svg { width: 18px; height: 18px; opacity: .8; }

.site-footer { background: var(--ink-950); color: var(--text-on-dark-muted); padding-top: clamp(64px, 8vw, 96px); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: grid; gap: 20px; align-content: start; max-width: 340px; }
.footer-brand p { line-height: 1.6; }
.footer-col h4 { color: var(--white); font-family: var(--font-sans); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-on-dark-muted); }
.footer-col a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { color: var(--white); }
.footer-word {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(5rem, 22vw, 20rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.10);
  text-align: center; padding-top: 32px; user-select: none; white-space: nowrap; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text;
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px 32px; border-top: 1px solid var(--line-dark); font-size: .87rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--white); }

/* 15. Utilities & motion -------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.center { text-align: center; }
.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; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 16px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track > [aria-hidden="true"] { display: none !important; }
  .marquee__track > div { flex-wrap: wrap; justify-content: center; align-content: flex-start; row-gap: 18px !important; column-gap: 48px !important; }
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
  .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cred:nth-child(3) { border-right: 0; }
  .cred:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .bento > .card, .bento > .card--wide { grid-column: span 3; }
  .bento > .card--feature { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .content-split { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .hero__grid, .about-split, .expertise, .contact-grid, .page-hero__grid, .cta-band, .section-head--split { grid-template-columns: 1fr; }
  .hero-card { aspect-ratio: 16 / 12; }
  .hero__meta { grid-template-columns: 1fr; gap: 16px; }
  .ind-grid, .product-grid, .grid-3, .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__aside { justify-items: start; }
}
@media (max-width: 640px) {
  .header-cta .btn--light { display: none; }
  .brand__sub { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento > .card, .bento > .card--wide, .bento > .card--feature { grid-column: auto; }
  .ind-grid, .product-grid, .grid-2, .grid-3, .grid-4, .feature-grid, .feature-grid--3, .form__row, .aside { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr 1fr; }
  .cred { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .cred:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .cred:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0 !important; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px; min-height: 140px; }
  .panel__row { grid-template-columns: 1fr 1fr; }
  .panel__row .tile:last-child { grid-column: 1 / -1; }
  .hero-card__float--b { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 16px 48px 1fr; gap: 10px; }
  .btn-row .btn { flex: 1 1 auto; }
  .dropdown { display: none; }
}

@media print {
  .site-header, .mobile-nav, .site-footer, .cta-band, .hero__controls { display: none !important; }
  .hero, .page-hero, .dark { background: none !important; color: #000 !important; padding-top: 24px; }
  .hero h1, .page-hero h1 { color: #000 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Hero slides 2–3 use <h2 class="h1"> so the page keeps a single H1 */
.h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--white); max-width: 13em; }

/* --- Refinements after visual review ----------------------------------- */
.hero, .page-hero { --btn-ghost-fg: #fff; }
.hero .btn--ghost, .page-hero .btn--ghost { --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.28); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { --btn-bd: var(--white); --btn-bg: rgba(255,255,255,.06); }
.hero .eyebrow, .page-hero .eyebrow { color: var(--blue-300); }
.hero .chip, .page-hero .chip { background: rgba(255,255,255,.06); color: var(--text-on-dark); border-color: var(--line-dark); }
.hero .dim, .page-hero .dim { color: #A493C9; }
.chip { white-space: nowrap; }
.chip svg { width: 16px; height: 16px; flex: none; }
.about-visual > svg { width: 100%; height: 100%; }
.about-visual svg { height: auto; }
.about-visual > svg { height: 100%; }
.about-visual__tag svg { width: 20px; height: 20px; flex: none; }
.about-split > .about-visual { position: sticky; top: calc(var(--top-h) + 24px); }
.timeline li { grid-template-columns: 16px 92px 1fr; }
.bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.bento > .card { grid-column: span 3; }
.bento > .card--wide { grid-column: span 6; }
.bento > .card--feature { grid-column: span 6; grid-row: span 2; }
.card--feature .card__icon { margin-top: auto; }
.ind { align-content: start; gap: 28px; min-height: 0; }
.product__body { display: flex; flex-direction: column; gap: 12px; }
.product__body .card__foot { margin-top: auto; }
.footer-word { font-size: clamp(5rem, 20vw, 16rem); padding-bottom: 8px; }
@media (max-width: 1100px) {
  .bento > .card, .bento > .card--wide { grid-column: span 6; }
  .bento > .card--feature { grid-column: 1 / -1; grid-row: auto; }
  .about-split > .about-visual { position: relative; top: 0; }
}
@media (max-width: 640px) {
  .bento > .card, .bento > .card--wide, .bento > .card--feature { grid-column: 1 / -1; }
  .timeline li { grid-template-columns: 16px 1fr; }
  .timeline li span { grid-column: 2; }
  .h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
}
.prose h2 + p { margin-top: .6em; }
.prose .feature-grid { margin-top: 1.4em; }

/* --- Official logo (Oct 2026) ------------------------------------------- */
.brand { gap: 0; line-height: 0; }
.brand__logo { height: 52px !important; width: auto !important; max-width: none; }
.brand__logo--color { display: none; }
.is-solid .brand__logo--light, .is-light .brand__logo--light { display: none; }
.is-solid .brand__logo--color, .is-light .brand__logo--color { display: block; }
.footer-brand .brand__logo { height: 52px !important; }
@media (max-width: 900px) { .brand__logo { height: 38px !important; } }
@media (max-width: 380px) { .brand__logo { height: 32px !important; } }

/* "View all" row in dropdowns: text only, no icon */
.dropdown__all a { justify-content: flex-start; font-weight: 500; }

/* --- Header logo: visionsoft SVG, original colours, on a white header ---- */
.brand__wm { height: 32px !important; width: auto !important; max-width: none; display: block; }
@media (max-width: 900px) { .brand__wm { height: 28px !important; } }
@media (max-width: 380px) { .brand__wm { height: 25px !important; } }
.site-header.is-light { background: rgba(255,255,255,.96); }
.mobile-nav__top { background: var(--white); margin: -18px calc(-1 * var(--gutter)) 24px; padding: 14px var(--gutter); min-height: var(--header-h); }
.mobile-nav__close { color: var(--ink-900); border-color: var(--line); }

/* ==========================================================================
   v2 — AI Practice (Oct 2026)
   ========================================================================== */
:root {
  --ai-600: #5B3A9E;      /* violet: AI Practice accent (copy doc + mockup) */
  --ai-100: #EDE9FE;
  --ai-50:  #F5F3FF;
  --teal-600: #472F5B;    /* announcement bar */
}

/* Announcement bar (site-wide) */
.announce { position: fixed; inset: 0 0 auto 0; z-index: 101; height: var(--bar-h); background: var(--teal-600); color: #fff; display: flex; align-items: center; }
.announce p { margin: 0; text-align: center; font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; font-weight: 600; }
.announce a:hover { color: #E6FFFB; }
.announce__short { display: none; }
.site-header { top: var(--bar-h); }
@media (max-width: 640px) {
  .announce p { font-size: .8rem; }
  .announce__long { display: none; }
  .announce__short { display: inline; }
}

/* Nav: AI Practice item */
.nav__link--ai { color: var(--ai-600) !important; }
.nav__link--ai .spark { width: 16px; height: 16px; }
.nav__link--ai:hover, .nav__link--ai[aria-expanded="true"] { background: var(--ai-50) !important; }
.dropdown a .ico--ai { background: var(--ai-50); color: var(--ai-600); }
.header-cta .btn--primary { box-shadow: none; }

/* Eyebrows / chips */
.eyebrow--ai { color: var(--ai-600); }
.eyebrow--ai::before { display: none; }
.eyebrow--ai svg { width: 16px; height: 16px; }
.eyebrow--pill { background: var(--ai-100); padding: 7px 14px; border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: .92rem; }
.dark .eyebrow--ai, .page-hero .eyebrow--ai { color: #C4AEF4; }
.chip-ai { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ai-100); color: var(--ai-600); font-size: .85rem; font-weight: 600; }
.chip-ai svg { width: 14px; height: 14px; }

/* Home: light AI hero (layout from mockup 01) */
.ai-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--top-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(56px, 7vw, 96px); background: var(--white); }
.ai-hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 20%, #F1EAFD 0%, rgba(241,234,253,0) 70%), radial-gradient(40% 50% at 10% 90%, #F5F3FF 0%, rgba(245,243,255,0) 70%); }
.ai-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ai-hero__copy { display: grid; gap: 26px; justify-items: start; }
.ai-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; color: var(--ink-900); }
.ai-hero__lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--gray-600); max-width: 34em; margin: 0; }
.proof { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 32px; padding-top: 8px; }
.proof__item b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.03em; line-height: 1.1; color: var(--ink-900); }
.proof__item span { font-size: .88rem; color: var(--gray-500); }
.ai-hero__badges .chip { background: var(--gray-100); border-color: transparent; color: var(--gray-700); }
.ai-hero__visual { position: relative; padding-bottom: 56px; }
.ai-hero__frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(29,16,64,.35), 0 8px 24px -12px rgba(29,16,64,.18); background: #fff; }
.ai-hero__frame img { width: 100%; height: auto; display: block; }
.float-card { position: absolute; border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(29,16,64,.45); }
.float-card--assistant { left: -28px; bottom: 0; width: min(380px, 70%); background: #fff; border: 1px solid var(--line); padding: 16px 18px; display: grid; gap: 10px; }
.float-card--assistant p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink-800); }
.float-card--outcome { right: 22px; bottom: 34px; background: var(--ink-900); color: #fff; padding: 16px 20px; display: grid; gap: 4px; }
.float-card--outcome small { color: var(--text-on-dark-muted); font-size: .8rem; }
.float-card--outcome b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.float-card--outcome span { color: #5EEAD4; font-size: .85rem; font-weight: 600; }
.ai-hero__label { position: absolute; right: 0; bottom: -6px; margin: 0; font-size: .75rem; color: var(--gray-400); }

/* Promise cards */
.promise-grid { display: grid; gap: 20px; }
.promise-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promise { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px; align-content: start; }
.section--soft .promise { background: var(--white); }
.promise__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ai-50); color: var(--ai-600); }
.promise__icon svg { width: 22px; height: 22px; }
.promise h3 { font-size: 1.15rem; }
.promise p { color: var(--text-muted); font-size: .96rem; line-height: 1.6; margin: 0; }

/* AI link cards */
.card--ai .card__icon--ai, .card__icon--ai { background: var(--ai-50); color: var(--ai-600); }
a.card--ai:hover .card__go { background: var(--ai-600); border-color: var(--ai-600); }

/* Concept images */
.shot { margin: 0; display: grid; gap: 14px; }
.shot__frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 60px -32px rgba(29,16,64,.35); }
.shot__frame img { width: 100%; height: auto; display: block; }
.shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .95rem; color: var(--gray-600); line-height: 1.5; }
.shot figcaption strong { color: var(--ink-900); font-weight: 600; }
.shot__label { font-size: .78rem; color: var(--gray-400); white-space: nowrap; align-self: start; padding-top: 2px; }
.dark .shot figcaption { color: var(--text-on-dark-muted); }

/* Steps (POC) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { border-radius: var(--radius-lg); padding: 24px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.dark .step { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.step__num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; background: var(--blue-600); margin-bottom: 6px; }
.step:nth-child(2) .step__num { background: #8E72D6; }
.step:nth-child(3) .step__num { background: var(--teal-600); }
.step:nth-child(4) .step__num { background: #F59E0B; }
.step__when { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); font-weight: 500; }
.dark .step__when { color: var(--text-on-dark-muted); }
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .96rem; line-height: 1.6; }
.dark .step p { color: var(--text-on-dark-muted); }
.after-poc { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.after-poc__tag { padding: 5px 12px; border-radius: 999px; background: var(--blue-600); color: #fff; font-size: .82rem; font-weight: 600; }
.after-poc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; }
.after-poc li { color: var(--text-on-dark); }
.after-poc li span { color: var(--text-on-dark-muted); }
.after-poc li + li::before { content: "→"; margin-right: 18px; color: var(--text-on-dark-muted); }

/* AI in your industry strip */
.ind-ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ind-ai { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: start; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--text); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.ind-ai:hover { color: var(--text); border-color: var(--gray-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ind-ai__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-900); color: #fff; }
.ind-ai__icon svg { width: 20px; height: 20px; }
.ind-ai b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 4px; }
.ind-ai span span { display: block; color: var(--text-muted); font-size: .93rem; line-height: 1.5; }
.ind-ai > svg { width: 18px; height: 18px; color: var(--gray-400); margin-top: 3px; }

/* Regulated strip / guarantee */
.regulated, .guarantee { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px 28px; align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); background: var(--ai-50); border: 1px solid var(--ai-100); }
.regulated h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.regulated p, .guarantee p { margin: 8px 0 0; color: var(--gray-600); max-width: 52em; }
.regulated__icon, .guarantee__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ai-600); color: #fff; }
.regulated__icon svg, .guarantee__icon svg { width: 26px; height: 26px; }
.guarantee { grid-template-columns: 56px 1fr; margin-top: 16px; }
.guarantee h3 { font-size: 1.25rem; }

/* Foundation cards */
.found { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; align-content: start; }
.found h3 { font-size: 1.25rem; }
.found p { margin: 0; color: var(--text-muted); line-height: 1.6; }

/* AI page hero + sub-navigation */
.page-hero--ai .hero__glow { background: radial-gradient(circle, rgba(196,174,244,.42), rgba(196,174,244,0) 62%); }
.page-hero--ai .btn-row { margin-top: 6px; }
.ai-subnav { position: sticky; top: var(--top-h); z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ai-subnav__inner { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.ai-subnav__inner::-webkit-scrollbar { display: none; }
.ai-subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--gray-600); white-space: nowrap; }
.ai-subnav a:hover { background: var(--gray-100); color: var(--ink-900); }
.ai-subnav a[aria-current="page"] { background: var(--ai-50); color: var(--ai-600); }

/* Tables */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.dtable { width: 100%; border-collapse: collapse; font-size: .98rem; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.dtable thead th { background: var(--gray-50); font-family: var(--font-sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); font-weight: 500; }
.dtable tbody th { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); width: 30%; }
.dtable tbody th a { color: var(--ink-900); }
.dtable tbody th a:hover { color: var(--blue-600); }
.dtable td { color: var(--gray-600); }
.dtable tbody tr:last-child th, .dtable tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s; color: var(--gray-500); }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--gray-600); line-height: 1.65; }

/* Platforms, BPA flow, misc */
.platform { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 8px; align-content: start; }
.platform h3 { font-size: 1.1rem; }
.platform p { margin: 0; color: var(--text-muted); font-size: .96rem; line-height: 1.6; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.flow__step { position: relative; padding: 22px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.flow__step:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; font-size: .75rem; color: var(--gray-500); z-index: 1; }
.flow__num { font-size: .78rem; font-weight: 600; color: var(--ai-600); letter-spacing: .06em; }
.flow__step h3 { font-size: 1.05rem; }
.flow__step p { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.55; }
.callout--plain { background: var(--white); border-color: var(--line); }
.with-ai { margin-top: 1.6em; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--ai-50); border: 1px solid var(--ai-100); display: grid; gap: 10px; justify-items: start; }
.with-ai p { margin: 0; color: var(--gray-700); }

/* Footer: six columns */
.footer-top { grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: 32px; }

@media (max-width: 1100px) {
  .promise-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow__step::after { display: none; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ai-hero__grid { grid-template-columns: 1fr; }
  .float-card--assistant { left: 12px; }
  .ind-ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .regulated { grid-template-columns: 56px 1fr; }
  .regulated .btn { grid-column: 1 / -1; justify-self: start; }
  .proof { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  .promise-grid--4, .steps, .flow, .ind-ai-grid { grid-template-columns: 1fr; }
  .float-card--outcome { right: 10px; bottom: 70px; padding: 12px 14px; }
  .float-card--outcome b { font-size: 1.15rem; }
  .float-card--assistant { width: calc(100% - 24px); }
  .float-card--assistant p { font-size: .88rem; }
  .ai-hero__visual { padding-bottom: 120px; }
  .regulated, .guarantee { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; width: 100%; }
  .dtable tr { border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .dtable tbody tr:last-child { border-bottom: 0; }
  .dtable th, .dtable td { border: 0; padding: 4px 0; }
  .dtable td::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-top: 6px; }
}

/* hero refinements */
.ai-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.proof { grid-template-columns: repeat(2, minmax(0, max-content)); gap: 16px 48px; }
.proof__item { display: grid; gap: 2px; }
.proof__item b { font-size: clamp(1.35rem, 2vw, 1.7rem); }
/* footer: brand row on top, five link columns below */
.footer-top { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 32px; }
.footer-brand { grid-column: 1 / -1; max-width: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 48px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { max-width: 36em; margin: 0; }
.footer-contact { justify-items: end; text-align: right; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-template-columns: 1fr; } .footer-contact { justify-items: start; text-align: left; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
/* phone refinements */
@media (max-width: 640px) {
  .header-cta .btn--primary { display: none; }            /* POC stays in the announcement bar + menu */
  .dtable tbody th { width: 100% !important; }
  .ai-hero__visual { padding-bottom: 0; display: grid; gap: 12px; }
  .float-card { position: static; width: auto; box-shadow: var(--shadow-sm); }
  .float-card--outcome { order: 2; }
  .ai-hero__label { position: static; text-align: right; order: 3; }
}

/* --- v3 service pages -------------------------------------------------- */
.svc-subnav { top: var(--top-h); }
.svc-subnav a[aria-current="page"] { background: #F1EAFD; color: var(--forest); }
.challenge { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: 40px 64px; align-items: end; }
.challenge .section-head { margin-bottom: 20px; }
.intro-p { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.7; color: var(--gray-700); margin: 0; max-width: 44em; }
.svc-stat { border-radius: var(--radius-xl); padding: 32px; background: linear-gradient(150deg, #341C67, #472F5B); color: #fff; display: grid; gap: 10px; position: relative; overflow: hidden; }
.svc-stat::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(196,174,244,.35), transparent 65%); }
.svc-stat b { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; color: var(--sage); }
.svc-stat span { color: rgba(241,236,250,.82); line-height: 1.5; }
.flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow__num { color: var(--slate); }
.outcome-engage { gap: 48px; align-items: start; }
.outcome-list { gap: 16px; }
.outcome-list li { font-size: 1.05rem; color: var(--gray-700); }
.check-list li::before { background-color: var(--forest); }
.engage-list { display: grid; gap: 12px; }
.engage { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); align-items: start; }
.engage h3 { font-size: 1.05rem; }
.engage p { margin: 4px 0 0; color: var(--text-muted); font-size: .95rem; line-height: 1.55; }
.related { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.related__label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); margin-right: 6px; }
.chip--link { color: var(--forest); transition: border-color .2s, background .2s; }
.chip--link:hover { color: var(--forest); border-color: var(--sage); background: #F7F2FC; }
.chip--link svg { width: 14px; height: 14px; }
.svc3 { gap: 14px; }
.svc3__ai { display: grid; gap: 8px; justify-items: start; padding: 14px; border-radius: 12px; background: #F7F2FC; font-size: .92rem; color: var(--gray-600); line-height: 1.5; }
.svc3__ai .chip-ai { background: #fff; }
.chip-ai { background: #F1EAFD; color: var(--slate); }
@media (max-width: 1100px) { .flow--4, .flow--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .challenge { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .flow--4, .flow--5 { grid-template-columns: 1fr; } .engage { grid-template-columns: 40px 1fr; } }
/* warm the neutrals toward the palette */
:root { --surface-soft: #F8F5FC; --gray-50: #F8F5FC; --line: #E7E1F0; --gray-200: #E7E1F0; }
.dim { color: #A797C4; }
.ai-hero .dim, .dark .dim, .page-hero .dim { color: #A493C9; }
/* services listing: 7th card spans the last row as a wide card */
@media (min-width: 901px) {
  .svc3-grid > .svc3:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr) auto; column-gap: 28px; align-items: center; }
  .svc3-grid > .svc3:last-child .card__title { grid-column: 2; grid-row: 1; }
  .svc3-grid > .svc3:last-child .card__icon { grid-row: 1 / span 2; }
  .svc3-grid > .svc3:last-child .card__text { grid-column: 2; grid-row: 2; }
  .svc3-grid > .svc3:last-child .svc3__ai { grid-column: 3; grid-row: 1 / span 2; }
  .svc3-grid > .svc3:last-child .card__foot { grid-column: 4; grid-row: 1 / span 2; margin: 0; padding: 0; }
  .svc3-grid > .svc3:last-child .card__foot .text-link { display: none; }
}
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

/* ==========================================================================
   v4 theme — "Jade pebble morning" palette (Oct 2026)
   #341C67 forest · #8E72D6 olive · #472F5B slate · #C4AEF4 sage · #E6E6E6 mist
   ========================================================================== */
:root {
  --forest: #341C67;
  --forest-deep: #261650;
  --olive: #8E72D6;
  --slate: #472F5B;
  --sage: #C4AEF4;
  --mist: #E6E6E6;
  --btn-green: #5B3A9E;          /* olive, deepened so white button text passes contrast */
  --btn-green-hover: #5B3A9E;
  --ai-600: #5B3A9E; --ai-100: #EDE9FE; --ai-50: #F5F3FF;
  --surface-soft: #F8F5FC; --gray-50: #F8F5FC;
}

/* Announcement bar */
.announce { background: var(--slate); }
.announce strong { color: #C4AEF4; }
.announce a { color: #fff; text-decoration-color: rgba(255,255,255,.6); }

/* Buttons */
.btn--primary { --btn-bg: var(--btn-green); --btn-fg: #fff; font-weight: 600; box-shadow: 0 10px 26px -14px rgba(36,16,69,.85); }
.btn--primary:hover { --btn-bg: var(--btn-green-hover); --btn-fg: #fff; }
.ai-hero .btn--primary, .page-hero .btn--primary, .dark .btn--primary, .cta-band .btn--light, .aside-card .btn--primary {
  --btn-bg: var(--sage); --btn-fg: #150A2E; font-weight: 600; box-shadow: 0 10px 28px -14px rgba(0,0,0,.6); }
.ai-hero .btn--primary:hover, .page-hero .btn--primary:hover, .dark .btn--primary:hover, .cta-band .btn--light:hover { --btn-bg: #D6C6F7; --btn-fg: #150A2E; }
.header-cta .btn--primary { box-shadow: none; }

/* Home hero: forest */
.ai-hero { background: var(--forest); color: #fff; }
.ai-hero__bg {
  background:
    radial-gradient(55% 65% at 88% 15%, rgba(196,174,244,.22) 0%, rgba(196,174,244,0) 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(71,47,91,.35) 0%, rgba(71,47,91,0) 70%),
    linear-gradient(165deg, #341C67 0%, #2C1659 55%, #241048 100%);
}
.ai-hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent); mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent); }
.ai-hero h1 { color: #fff; }
.ai-hero__lead { color: rgba(241,236,250,.84); }
.ai-hero .eyebrow--pill { background: rgba(196,174,244,.14); color: #E4D9FB; border: 1px solid rgba(196,174,244,.3); }
.ai-hero .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.34); }
.ai-hero .btn--ghost:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.08); }
.proof { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.proof__item b { color: #fff; }
.proof__item span { color: rgba(241,236,250,.72); }
.ai-hero__badges .chip { background: rgba(255,255,255,.08); color: #F1ECFA; border: 1px solid rgba(255,255,255,.15); }
.ai-hero__frame { border-color: rgba(255,255,255,.18); box-shadow: 0 50px 90px -35px rgba(10,4,25,.7), 0 0 0 8px rgba(255,255,255,.05); }
.float-card--assistant { border-color: var(--sage); }
.float-card--assistant .chip-ai { background: #F1EAFD; color: var(--forest); }
.float-card--outcome { background: var(--sage); color: #150A2E; }
.float-card--outcome small { color: rgba(29,16,64,.7); }
.float-card--outcome span { color: #261650; }
.ai-hero__label { color: rgba(241,236,250,.55); }

/* Page heroes, dark sections, CTA band */
.page-hero { background: linear-gradient(160deg, #341C67 0%, #2C1659 60%, #241048 100%); }
.hero__glow, .page-hero .hero__glow, .page-hero--ai .hero__glow { background: radial-gradient(circle, rgba(196,174,244,.24), rgba(196,174,244,0) 62%); }
.page-hero .eyebrow, .page-hero .eyebrow--ai, .dark .eyebrow, .dark .eyebrow--ai { color: var(--sage); }
.dark { background: var(--forest-deep); }
.cta-band { background: linear-gradient(135deg, #341C67 0%, #4A3277 55%, #472F5B 100%); }
.cta-band::before { background: radial-gradient(circle at 100% 0%, rgba(196,174,244,.32), transparent 45%), radial-gradient(circle at 0% 100%, rgba(29,16,64,.35), transparent 55%); }
.cta-band__art { opacity: .14; }
.site-footer { background: #150A2E; }

/* Accents */
.eyebrow, .eyebrow--ai { color: #5B3A9E; }
.eyebrow::before { background: var(--olive); }
.dim { color: #A797C4; }
.ai-hero .dim, .dark .dim, .page-hero .dim { color: #A493C9; }
.stat--accent { background: var(--forest); border-color: var(--forest); }
.stat__num sup { color: var(--olive); }
.stat--accent .stat__num sup { color: var(--sage); }
.tile--blue { background: var(--olive); border-color: var(--olive); }
.chip .dot { background: var(--olive); box-shadow: 0 0 0 4px rgba(142,114,214,.22); }
.after-poc__tag { background: var(--sage); color: #150A2E; }
.step__num { background: var(--forest); color: #fff; }
.step:nth-child(2) .step__num { background: var(--olive); color: #fff; }
.step:nth-child(3) .step__num { background: var(--slate); color: #fff; }
.step:nth-child(4) .step__num { background: var(--sage); color: #150A2E; }
.dark .step__num { background: rgba(196,174,244,.18); color: #fff; }
.regulated, .guarantee, .with-ai, .callout { background: #F4EFFD; border-color: #E6DAF6; }
.regulated__icon, .guarantee__icon, .ind-ai__icon, .ind__icon, .award .ico { background: var(--forest); }
.card__icon, .feature .ico, .cred .ico, .contact-item .ico, .promise__icon, .card__icon--ai { background: #F1EAFD; color: #5B3A9E; }
.dark .promise { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.dark .promise h3 { color: #fff; }
.dark .promise p { color: var(--text-on-dark-muted); }
.dark .promise__icon { background: rgba(196,174,244,.14); color: var(--sage); }
a.card:hover .card__go, .ind:hover .card__go, a.card--ai:hover .card__go { background: var(--forest); border-color: var(--forest); color: #fff; }
.check-list li::before { background-color: var(--olive); }
.chip-ai { background: #EDE9FE; color: #472F5B; }
.nav__link--ai { color: #5B3A9E !important; }
.nav__link--ai:hover, .nav__link--ai[aria-expanded="true"] { background: #F1EAFD !important; }
.ai-subnav a[aria-current="page"], .svc-subnav a[aria-current="page"] { background: #F1EAFD; color: var(--forest); }
.svc-stat { background: linear-gradient(150deg, #341C67, #472F5B); }
.svc-stat b { color: #E4D9FB; }
.svc3__ai { background: #F4EFFD; }
.chip--link { color: var(--forest); }
.chip--link:hover { color: var(--forest); border-color: var(--sage); background: #F4EFFD; }
.flow__num { color: var(--olive); }
a { color: #5B3A9E; }
a:hover { color: #341C67; }

/* ==========================================================================
   Mega menu (v4): intro panel + described links
   ========================================================================== */
.nav__item { position: static; }
.mega {
  position: fixed; top: calc(var(--top-h) - 6px); left: 50%; transform: translate(-50%, 10px);
  width: min(1060px, calc(100vw - 32px)); padding: 12px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -25px rgba(29,16,64,.35), 0 6px 18px -8px rgba(29,16,64,.12);
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px;
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  min-width: 0;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.mega--compact { width: min(760px, calc(100vw - 32px)); grid-template-columns: 280px minmax(0, 1fr); }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__intro {
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(160deg, #341C67 0%, #33402F 100%); color: #F1ECFA; position: relative; overflow: hidden;
}
.mega__intro::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(196,174,244,.35), transparent 65%); }
.mega__eyebrow { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.mega__intro h3 { font-size: 1.25rem; line-height: 1.3; color: #fff; }
.mega__intro p { margin: 0; font-size: .92rem; line-height: 1.55; color: rgba(241,236,250,.78); }
.mega__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 16px; border-radius: 999px; background: var(--sage); color: #150A2E !important; font-weight: 600; font-size: .9rem; position: relative; z-index: 1; }
.mega__cta:hover { background: #D6C6F7; }
.mega__cta svg { width: 16px; height: 16px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; padding: 6px; }
.mega--compact .mega__grid { grid-template-columns: 1fr; }
.mega__item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px 14px; border-radius: 12px; color: var(--text); transition: background .18s; }
.mega__item:hover, .mega__item:focus-visible { background: #F7F2FC; color: var(--text); }
.mega__item .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #F1EAFD; color: #5B3A9E; transition: background .18s, color .18s; }
.mega__item:hover .ico { background: var(--forest); color: #fff; }
.mega__item .ico svg { width: 19px; height: 19px; }
.mega__item b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--ink-900); }
.mega__item small { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.4; color: var(--gray-500); }
.mega__item[aria-current="page"] b { color: #5B3A9E; }
.nav__link[aria-expanded="true"] { background: #F1EAFD !important; color: var(--ink-900) !important; }
/* header has backdrop-filter, so fixed children are positioned relative to the header */
.mega { top: calc(var(--header-h) - 8px); }
/* Scroll reveal never hides content (v3 appendix): motion only, always visible */
.js .reveal { opacity: 1; transform: translateY(14px); }
.js .reveal.is-in { transform: none; }

/* v5 buttons: purple-to-blue (picks up the blue in the visionsoft logo) */
:root {
  --btn-grad: linear-gradient(135deg, #5B3A9E 0%, #3D52D5 55%, #2F6FEB 100%);
  --btn-grad-hover: linear-gradient(135deg, #4C2E8A 0%, #3245C0 55%, #245ED6 100%);
  --btn-grad-dark: linear-gradient(135deg, #7A5BD0 0%, #4F63E6 55%, #3B82F6 100%);
}
.btn--primary, .header-cta .btn--primary {
  --btn-bg: var(--btn-grad); --btn-fg: #fff; font-weight: 600; border: 0;
  box-shadow: 0 12px 28px -14px rgba(61,82,213,.75);
}
.btn--primary:hover, .header-cta .btn--primary:hover { --btn-bg: var(--btn-grad-hover); --btn-fg: #fff; }
.ai-hero .btn--primary, .page-hero .btn--primary, .dark .btn--primary, .aside-card .btn--primary {
  --btn-bg: var(--btn-grad-dark); --btn-fg: #fff; box-shadow: 0 14px 32px -14px rgba(59,130,246,.65);
}
.ai-hero .btn--primary:hover, .page-hero .btn--primary:hover, .dark .btn--primary:hover { --btn-bg: var(--btn-grad); --btn-fg: #fff; }
/* CTA band (purple): crisp white button */
.cta-band .btn--light { --btn-bg: #fff; --btn-fg: #341C67; font-weight: 600; box-shadow: 0 12px 28px -14px rgba(0,0,0,.45); }
.cta-band .btn--light:hover { --btn-bg: #F1EAFD; --btn-fg: #341C67; }
/* Menu panel button + hero outcome card */
.mega__cta { background: #fff; color: #341C67 !important; }
.mega__cta:hover { background: #F1EAFD; }
.float-card--outcome { background: var(--btn-grad); color: #fff; }
.float-card--outcome small { color: rgba(255,255,255,.75); }
.float-card--outcome span { color: #DCE8FF; }
.announce strong { color: #C4AEF4; }
.svc-stat b { color: #C4AEF4; }
.step:nth-child(4) .step__num, .dark .step:nth-child(4) .step__num { background: #3D52D5; color: #fff; }
.after-poc__tag { background: var(--btn-grad); color: #fff; }

/* ==========================================================================
   v6 (Oct 2026): logo lockup, Capabilities menu, Truist-style purple buttons
   and light-blue tiles. Main palette unchanged.
   ========================================================================== */
:root {
  --btn-purple: #5B3A9E; --btn-purple-hover: #4A2D86;
  --btn-purple-on-dark: #7A5BD0; --btn-purple-on-dark-hover: #8C70DE;
  --tile: #EEF4FC; --tile-hover: #E3EEFA; --tile-line: #D5E3F4; --tile-line-hover: #B7D0EE;
}

/* Logo: bolder visionsoft + "International Inc." */
.brand--lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; }
.brand--lockup .brand__wm { height: 30px !important; }
.brand__sub {
  display: block; width: 100%; font-size: 9.5px; font-weight: 600; letter-spacing: .265em; text-transform: uppercase;
  text-align: right; padding-left: 3px; margin-right: -.265em; white-space: nowrap;
  background: linear-gradient(90deg, #02085F 0%, #0732A1 45%, #1481FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 900px) { .brand--lockup .brand__wm { height: 26px !important; } .brand__sub { font-size: 8.2px; } }
@media (max-width: 380px) { .brand--lockup .brand__wm { height: 23px !important; } .brand__sub { font-size: 7.3px; } }

/* Buttons: solid purple pills (Truist-style), lighter purple on dark sections */
.btn--primary, .header-cta .btn--primary {
  --btn-bg: var(--btn-purple); --btn-fg: #fff; box-shadow: 0 10px 24px -14px rgba(52,28,103,.7);
}
.btn--primary:hover, .header-cta .btn--primary:hover { --btn-bg: var(--btn-purple-hover); --btn-fg: #fff; }
.ai-hero .btn--primary, .page-hero .btn--primary, .dark .btn--primary, .aside-card .btn--primary {
  --btn-bg: var(--btn-purple-on-dark); --btn-fg: #fff; box-shadow: 0 12px 28px -14px rgba(0,0,0,.5);
}
.ai-hero .btn--primary:hover, .page-hero .btn--primary:hover, .dark .btn--primary:hover, .aside-card .btn--primary:hover { --btn-bg: var(--btn-purple-on-dark-hover); --btn-fg: #fff; }
.btn--ghost:hover { --btn-bd: var(--btn-purple); --btn-fg: var(--btn-purple); }
.float-card--outcome, .after-poc__tag { background: var(--btn-purple); }
.step:nth-child(4) .step__num, .dark .step:nth-child(4) .step__num { background: var(--btn-purple); }

/* Light-blue tiles on light sections (dark-section tiles keep their own styles) */
.card:not(.card--feature), .feature, .promise, .section--soft .promise, .step, .ind-ai, .faq__item,
.stat:not(.stat--accent):not(.stat--dark) {
  background: var(--tile); border-color: var(--tile-line);
}
a.card:not(.card--feature):hover, a.ind-ai:hover { background: var(--tile-hover); border-color: var(--tile-line-hover); }
.card:not(.card--feature) .card__icon, .feature .ico, .promise__icon, .ind-ai__icon { background: #fff; color: var(--btn-purple); }
.card:not(.card--feature) .card__go { background: #fff; border-color: var(--tile-line); }
a.card:not(.card--feature):hover .card__go { background: var(--btn-purple); border-color: var(--btn-purple); color: #fff; }

/* Menu: Capabilities (Services + Products) */
.mega:has(.mega__caps) { width: min(1180px, calc(100vw - 32px)); grid-template-columns: 270px minmax(0, 1fr); }
.mega__caps { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 6px; align-content: start; }
.mega__caps .mega__grid { padding: 0 4px 4px; }
.mega__grid--one { grid-template-columns: 1fr; }
.mega__group--products { border-left: 1px solid var(--line); padding-left: 6px; }
.mega__group-h { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px 6px; font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--btn-purple); }
.mega__group-h svg { width: 14px; height: 14px; transition: transform .18s; }
.mega__group-h:hover { color: var(--btn-purple-hover); }
.mega__group-h:hover svg { transform: translateX(3px); }
.mega__item:hover, .mega__item:focus-visible { background: var(--tile); }
.mega__item .ico { background: var(--tile); color: var(--btn-purple); }
.mega__item:hover .ico { background: var(--btn-purple); color: #fff; }
.mobile-nav__label { padding: 10px 0 2px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--btn-purple); }
.card .svc3__ai { background: #fff; border-color: var(--tile-line); }
.mobile-nav .mobile-nav__label { color: var(--sage); }

/* ---------- visionari product logo ---------- */
/* Every visible "visionari" is the traced logo wordmark (inline SVG, see _build/visionari_logo.py), coloured by the surrounding text. */
.wm-visionari {
  display: inline-block;
  height: .72em;           /* close to the x-height of the text around it */
  width: auto;
  aspect-ratio: 1640 / 197;
  vertical-align: baseline;   /* SVG bottom edge = logo baseline */
  fill: currentColor;
  overflow: visible;
}
/* Product page hero: the full logo lockup at logo size, not a full-size headline. */
.page-hero h1.wm-hero { line-height: 0; margin: 4px 0 2px; }
.wm-lockup { display: block; width: clamp(220px, 24vw, 320px); height: auto; aspect-ratio: 1689 / 387; fill: var(--white); overflow: visible; }
.wm-lockup__signal { fill: currentColor; opacity: .32; }

/* ---------- Page hero photos (licensed stock, assets/img/photos) ---------- */
.page-hero__grid--solo { grid-template-columns: minmax(0, 920px); }
.page-hero__grid--photo { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.page-hero__grid--photo h1 { font-size: clamp(2.2rem, 4.1vw, 3.5rem); }
.page-hero__grid--photo .page-hero__aside { justify-items: stretch; }
.hero-photo {
  position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden;
  background: #241455; box-shadow: 0 40px 90px -40px rgba(6, 2, 24, .85);
}
.hero-photo::after {  /* hairline edge + a soft brand tint at the bottom so photos sit inside the purple hero */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(36, 20, 85, 0) 58%, rgba(36, 20, 85, .38) 100%);
}
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero__grid--solo, .page-hero__grid--photo { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 16 / 10; border-radius: 20px; }
}
/* Home "See AI in action": full-width team photo in the same frame as the concept screens */
.shot--photo .shot__frame { border-color: transparent; }

/* ---------- Home: card-width banner photo above "Four ways we put AI to work" ---------- */
.home-banner { margin: 0 0 clamp(40px, 5vw, 64px); display: block; border-radius: var(--radius-lg); overflow: hidden; }
.home-banner img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
@media (max-width: 640px) { .home-banner img { aspect-ratio: 2 / 1; } }

/* ---------- Container-width photo with square corners (Business Process Automation) ---------- */
.photo-band { margin: clamp(40px, 5vw, 64px) 0 0; border-radius: var(--radius-lg); overflow: hidden; }
.photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-photo--shot { aspect-ratio: 16 / 10; border-radius: 20px; background: #fff; }
.hero-photo--shot::after { background: none; }
.photo-band--top { margin-top: 0; }

/* ---------- visionari product page (copy v4) ---------- */
.product-shot { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -32px rgba(29,16,64,.45); }
.product-shot img { display: block; width: 100%; height: auto; }
.page-hero--vis h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 17em; }
.vis-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.vis-brand .wm-lockup { width: clamp(170px, 16vw, 220px); }
.page-hero--vis .proof { margin-top: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.page-hero--vis .proof__item b { color: #fff; font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.page-hero--vis .proof__item span { color: rgba(241,236,250,.72); font-size: .88rem; }
.vis-hero-shot { margin: 0; display: grid; gap: 14px; }
.vis-hero-shot figcaption, .vfeat__shot figcaption { font-size: .95rem; color: var(--gray-600); line-height: 1.5; }
.vfeats { display: grid; gap: clamp(48px, 6vw, 88px); }
.vfeat { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.vfeat--img { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.vfeat--img.vfeat--flip .vfeat__copy { order: 2; }
.vfeat--text { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius-lg); background: var(--blue-50); border: 1px solid var(--blue-100); }
.vfeat--text .vfeat__copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 56px; align-items: start; }
.vfeat--text .vfeat__num, .vfeat--text h3, .vfeat--text > .vfeat__copy > p { grid-column: 1; }
.vfeat--text .check-list { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.vfeat__copy { display: grid; gap: 14px; align-content: start; }
.vfeat__num { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5B3A9E; }
.vfeat h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
.vfeat p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.vfeat .check-list { margin-top: 6px; }
.vfeat .check-list strong { color: var(--ink-900); font-weight: 600; }
.vfeat__shot { margin: 0; display: grid; gap: 12px; }
.assist-card { margin: 0; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; box-shadow: 0 20px 40px -32px rgba(29,16,64,.35); }
.assist-card__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: #5B3A9E; }
.assist-card__tag svg { width: 16px; height: 16px; }
.assist-card p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink-900); }
.vis-note { margin: 24px 0 0; font-size: .9rem; color: var(--gray-500); max-width: 60em; }
.promise-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vis-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.vis-who { grid-template-columns: 1fr; }
.vis-steps { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
  .vfeat--img, .vfeat--text .vfeat__copy, .vis-two, .promise-grid--3 { grid-template-columns: 1fr; }
  .vfeat--img.vfeat--flip .vfeat__copy { order: 0; }
  .vfeat--text .check-list { grid-column: 1; grid-row: auto; }
  .page-hero--vis .proof { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .vis-steps { grid-template-columns: 1fr; } }
.faq__item summary .wm-visionari, .faq__item[open] summary .wm-visionari { width: auto; height: .72em; flex: none; transform: none; margin: 0; color: inherit; }

/* ---------- AI cards in Truist-style lavender / mint (checkerboard) ---------- */
.grid-2 > a.card--ai { border-color: transparent; }
.grid-2 > a.card--ai:nth-child(4n+1), .grid-2 > a.card--ai:nth-child(4n+4) { background: #E5DDF4; }
.grid-2 > a.card--ai:nth-child(4n+2), .grid-2 > a.card--ai:nth-child(4n+3) { background: #E5F5F5; }
.grid-2 > a.card--ai .card__icon--ai, .grid-2 > a.card--ai .card__go { background: #fff; border-color: transparent; }
.grid-2 > a.card--ai:hover { border-color: transparent; filter: brightness(.98); }
@media (max-width: 900px) {  /* single column: simple alternation */
  .grid-2 > a.card--ai:nth-child(odd) { background: #E5DDF4; }
  .grid-2 > a.card--ai:nth-child(even) { background: #E5F5F5; }
}

/* ---------- Home services bento: same lavender / mint as the AI cards (feature card stays dark) ---------- */
.bento > .card:not(.card--feature) { border-color: transparent; }
.bento > .card:nth-child(2), .bento > .card:nth-child(5), .bento > .card:nth-child(7) { background: #E5DDF4; }
.bento > .card:nth-child(3), .bento > .card:nth-child(4), .bento > .card:nth-child(6) { background: #E5F5F5; }
.bento > .card:not(.card--feature) .card__icon, .bento > .card:not(.card--feature) .card__go { background: #fff; border-color: transparent; }
.bento > .card:not(.card--feature):hover { border-color: transparent; filter: brightness(.98); }

/* ---------- Home "Enterprise foundation" cards: lavender / mint / lavender ---------- */
.grid-3 > .found { border-color: transparent; }
.grid-3 > .found:nth-child(odd) { background: #E5DDF4; }
.grid-3 > .found:nth-child(even) { background: #E5F5F5; }
.grid-3 > .found .card__icon { background: #fff; }

/* ---------- Home "AI in your industry" cards: lavender / mint checkerboard ---------- */
.ind-ai { border-color: transparent; }
.ind-ai:nth-child(odd) { background: #E5DDF4; }
.ind-ai:nth-child(even) { background: #E5F5F5; }
.ind-ai .ind-ai__icon { background: #fff; }
.ind-ai:hover { border-color: transparent; filter: brightness(.98); }

/* ---------- Feature + promise tiles: lavender / mint / light grey rotation (site-wide) ---------- */
.feature-grid > .feature, .promise-grid > .promise { border-color: transparent; }
/* 6-step cycle so neighbours never match in 2-, 3- or 4-column grids */
.feature-grid > .feature:nth-child(6n+1), .promise-grid > .promise:nth-child(6n+1),
.feature-grid > .feature:nth-child(6n+6), .promise-grid > .promise:nth-child(6n+6) { background: #E5DDF4; }
.feature-grid > .feature:nth-child(6n+2), .promise-grid > .promise:nth-child(6n+2),
.feature-grid > .feature:nth-child(6n+4), .promise-grid > .promise:nth-child(6n+4) { background: #E5F5F5; }
.feature-grid > .feature:nth-child(6n+3), .promise-grid > .promise:nth-child(6n+3),
.feature-grid > .feature:nth-child(6n+5), .promise-grid > .promise:nth-child(6n+5) { background: #F0F0F3; }
.feature-grid > .feature .ico, .promise-grid > .promise .promise__icon { background: #fff; }

/* ---------- Numbered step cards: four soft colours (lavender, mint, grey, peach) ---------- */
.section:not(.dark) .steps > .step { border-color: transparent; }
.section:not(.dark) .steps > .step:nth-child(4n+1) { background: #E5DDF4; }
.section:not(.dark) .steps > .step:nth-child(4n+2) { background: #E5F5F5; }
.section:not(.dark) .steps > .step:nth-child(4n+3) { background: #F0F0F3; }
.section:not(.dark) .steps > .step:nth-child(4n+4) { background: #FBEEE3; }

/* ---------- Pastel cards: Truist-style readable type (also inside dark sections) ---------- */
.feature-grid > .feature, .promise-grid > .promise, .section:not(.dark) .steps > .step, .grid-3 > .found, .ind-ai,
.grid-2 > a.card--ai, .bento > .card:not(.card--feature) { color: #2E2A39; }
.feature-grid > .feature h3, .promise-grid > .promise h3, .section:not(.dark) .steps > .step h3, .grid-3 > .found h3,
.ind-ai h3, .grid-2 > a.card--ai .card__title, .bento > .card:not(.card--feature) .card__title,
.dark .feature-grid > .feature h3, .dark .promise-grid > .promise h3 {
  color: #2A1A4F; font-weight: 500; letter-spacing: -.01em;
}
.feature-grid > .feature p, .promise-grid > .promise p, .section:not(.dark) .steps > .step p, .grid-3 > .found p,
.ind-ai p, .grid-2 > a.card--ai .card__text, .bento > .card:not(.card--feature) .card__text,
.dark .feature-grid > .feature p, .dark .promise-grid > .promise p { color: #4A4655; }
.dark .feature-grid > .feature .ico, .dark .promise-grid > .promise .promise__icon { background: #fff; color: #5B3A9E; }

/* ---------- "How we work" flow steps: four soft colours, Truist-style type ---------- */
.flow > .flow__step { border-color: transparent; color: #2E2A39; }
.flow > .flow__step:nth-child(4n+1) { background: #E5DDF4; }
.flow > .flow__step:nth-child(4n+2) { background: #E5F5F5; }
.flow > .flow__step:nth-child(4n+3) { background: #F0F0F3; }
.flow > .flow__step:nth-child(4n+4) { background: #FBEEE3; }
.flow > .flow__step h3 { color: #2A1A4F; font-weight: 500; }
.flow > .flow__step p { color: #4A4655; }
.dark .ind-ai-list strong { color: #fff; font-weight: 600; } .dark .ind-ai-list li { font-size: 1.05rem; line-height: 1.6; }
