/* =========================================================================
   Aarvi Technology: Textile Solutions landing page
   Mobile-first. Base styles = final/static state. Motion is layered on only
   when the head script adds `.anim` (JS + IntersectionObserver + motion allowed)
   and elements receive `.is-in` / `.is-armed` / `.is-playing`.
   ========================================================================= */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Brand palette */
  --navy: #0B1220;
  --surface-dark: #111A2E;
  --blue: #1F5BEA;
  --blue-hi: #3D7BFF;
  --blue-hover: #1646B8;
  --blue-soft: #8FB8FF;
  --pale: #EEF3FF;
  --text: #1A2233;
  --text-2: #4A5568;
  --border: #E5E9F0;
  --bg-soft: #F5F7FB;
  --white: #FFFFFF;

  /* Derived */
  --on-dark: rgba(255, 255, 255, .94);
  --on-dark-2: rgba(226, 234, 250, .76);
  --line-dark: rgba(143, 184, 255, .18);
  --error: #B42318;
  --error-bg: #FEF3F2;
  --ok: #157F3C;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 18px 40px -22px rgba(16, 32, 72, .28);

  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.has-modal { overflow: hidden; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--text);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; border-radius: 6px; }
.cta :focus-visible, .site-footer :focus-visible, .viz-dark :focus-visible { outline-color: var(--blue-soft); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px;
  background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--blue-hi), var(--blue)); color: var(--white); box-shadow: 0 8px 20px -12px rgba(31, 91, 234, .6); }
.btn-primary:hover { background: var(--blue-hover); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: #D5DCE8; }
.btn-light:hover { color: var(--navy); border-color: var(--blue); background: var(--white); }
.btn-light svg { color: #25D366; }
.btn-outline { background: var(--white); color: var(--blue); border-color: rgba(31, 91, 234, .35); }
.btn-outline:hover { background: var(--pale); color: var(--blue-hover); border-color: var(--blue); }
.btn-wa { color: var(--white); border-color: rgba(143, 184, 255, .45); background: rgba(255, 255, 255, .04); }
.btn-wa:hover { color: var(--white); border-color: var(--blue-soft); background: rgba(61, 123, 255, .14); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }
.ctl {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(31, 91, 234, .3); background: var(--white); color: var(--blue); font-weight: 600; font-size: .9rem;
  transition: background-color .2s, border-color .2s;
}
.ctl:hover { background: var(--pale); border-color: var(--blue); }
.ctl:disabled { opacity: .45; cursor: default; }
.ctl .ico-play { display: none; }
.ctl[aria-pressed="true"] .ico-play { display: block; }
.ctl[aria-pressed="true"] .ico-pause { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; padding: 4px 0; border-radius: 8px; }
.brand img { width: 124px; height: auto; }
@media (min-width: 768px) { .brand img { width: 140px; } }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border); background: var(--white); align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: transform .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* No-JS default: wrapping inline nav */
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: 100%; padding-bottom: 10px; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 2px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px;
  color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.site-nav a:not(.btn):hover, .site-nav a.is-current { color: var(--blue); }
.site-nav a.is-current { box-shadow: inset 0 -2px 0 var(--blue-hi); border-radius: 0; }
@media (max-width: 1199.98px) {
  .no-js .site-header { position: relative; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -20px rgba(16, 32, 72, .25);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a:not(.btn) { display: flex; padding: 0 4px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .js .site-nav .header-cta { margin-top: 8px; }
}
@media (min-width: 1200px) {
  .header-inner { flex-wrap: nowrap; }
  .site-nav { width: auto; padding: 0; gap: 16px; flex-wrap: nowrap; }
  .site-nav ul { flex-wrap: nowrap; }
}

/* ---------- Shared section scaffolding ---------- */
.section { padding: clamp(64px, 5vw + 40px, 112px) 0; }
.section-white { background: var(--white); }
.section-pale { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 3vw + 16px, 56px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; color: var(--navy); letter-spacing: -.025em; }
.section-sub { margin-top: 14px; color: var(--text-2); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); }
.section-head-split { max-width: none; display: grid; gap: 16px; align-items: end; }
.section-head-split .section-sub { margin-top: 0; max-width: 60ch; }
@media (min-width: 1024px) { .section-head-split { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head-center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--text); padding: 40px 0 64px;
  background:
    radial-gradient(860px 480px at 85% -6%, rgba(61, 123, 255, .1), transparent 62%),
    radial-gradient(600px 420px at -8% 30%, rgba(143, 184, 255, .16), transparent 62%),
    linear-gradient(180deg, var(--white) 0%, #F6F9FF 58%, var(--white) 100%);
}
.hero::before { /* blueprint grid: fine + major lines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 91, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 91, 234, .05) 1px, transparent 1px),
    linear-gradient(rgba(31, 91, 234, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 91, 234, .025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 80%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.weave {
  position: absolute; right: 0; top: 0; width: min(62%, 860px); height: 100%;
  background-image:
    repeating-linear-gradient(45deg, rgba(31, 91, 234, .05) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(31, 91, 234, .05) 0 1px, transparent 1px 14px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-rolls { position: absolute; left: 1.5%; bottom: 0; width: 210px; height: 110px; display: none; }
.hero-rolls path, .hero-rolls ellipse, .hero-rolls circle { fill: none; stroke: rgba(31, 91, 234, .18); stroke-width: 1.4; }
.hero-rolls .roll-weft { stroke: rgba(31, 91, 234, .1); }
@media (min-width: 1440px) { .hero-rolls { display: block; } }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(31, 91, 234, .18); background: var(--white); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--blue); line-height: 1.35;
}
.cta .hero-tag { border-color: rgba(143, 184, 255, .3); background: rgba(61, 123, 255, .08); color: var(--blue-soft); box-shadow: none; }
.tag-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 0 4px rgba(61, 123, 255, .22), 0 0 12px var(--blue-hi); }
.hero h1 {
  margin: 22px 0 20px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.15rem); line-height: 1.08; letter-spacing: -.032em; font-weight: 800; color: var(--navy);
}
.nowrap { white-space: nowrap; }
.h1-accent { background: linear-gradient(92deg, var(--blue) 0%, var(--blue-hi) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); color: var(--text); max-width: 58ch; }
.hero-support {
  margin: 18px 0 30px; padding-left: 14px; border-left: 2px solid var(--blue-hi);
  color: var(--text-2); font-size: 1rem; max-width: 56ch;
}
@media (min-width: 1200px) {
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 56px; }
}

/* ---------- Signature journey ---------- */
.jv {
  position: relative; margin: 0; padding: 18px 14px 14px; border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 40px 80px -44px rgba(31, 91, 234, .35);
}
.jv::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-hi), transparent); }
@media (min-width: 700px) { .jv { padding: 22px 20px 16px; } }
.jv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.jv-kicker { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.jv-controls { display: none; gap: 8px; }
.js .jv-controls { display: flex; }
.jv-stage { position: relative; }
.jv-svg { width: 100%; height: auto; overflow: visible; margin-inline: auto; }
.tv-svg { width: 100%; height: auto; overflow: visible; margin-inline: auto; }
.tv-wide { display: none; max-width: 600px; }
.tv-narrow { max-width: 400px; }
@media (min-width: 700px) { .tv-wide { display: block; } .tv-narrow { display: none; } }
.jv-clock { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.tv-svg text { font-family: var(--font-body); }
.warp { fill: none; stroke: rgba(31, 91, 234, .14); stroke-width: 1; stroke-dasharray: 2 5; }
.thread-ghost { fill: none; stroke: rgba(31, 91, 234, .16); stroke-width: 1.5; stroke-dasharray: 4 5; }
.thread { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.thread-tip { fill: none; stroke: var(--blue-hi); stroke-width: 6; stroke-linecap: round; stroke-dasharray: .03 2; opacity: 0; }
.knot { fill: var(--white); stroke: var(--blue); stroke-width: 2; }
.knot-ping { fill: none; stroke: var(--blue-hi); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.st-card { fill: #F8FAFD; stroke: #DCE3EE; }
.st-final .st-card { fill: var(--pale); stroke: rgba(31, 91, 234, .4); }
.st-num-bg { fill: var(--blue); }
.st-num { font: 800 11.5px var(--font-head); fill: #fff; }
.st-title { font: 700 13.5px var(--font-head); fill: var(--navy); }
.t10 { font-size: 10.5px; fill: #56637A; }
.t11 { font-size: 11.5px; fill: var(--text-2); }
.t12b { font-size: 12.5px; font-weight: 700; fill: var(--text); }
.t-strong { fill: var(--text); font-weight: 600; }
.t-on { fill: #fff; }
.t-acc { fill: var(--blue); font-weight: 600; }
.sub { fill: var(--white); stroke: #DCE3EE; }
.chip-on { fill: var(--blue); }
.bub-out { fill: var(--blue); }
.bub-in { fill: var(--white); stroke: #DCE3EE; }
.tag { fill: var(--white); stroke: rgba(31, 91, 234, .45); }
.tag-hole { fill: none; stroke: rgba(31, 91, 234, .45); }
.link { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 3 3; }
.stage-done { fill: var(--white); stroke: #DCE3EE; }
.stage-now { fill: var(--blue); }
.stage-next { fill: var(--white); stroke: #C3CCDB; stroke-dasharray: 3 3; }
.badge { fill: var(--blue-hi); }
.ico-ok { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dot-now { fill: #fff; }
.dot-next { fill: none; stroke: #93A1BA; stroke-width: 1.5; }
.roll { fill: var(--white); stroke: var(--blue); stroke-width: 1.3; }
.roll-l, .box { fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linejoin: round; }
.hl-ring { fill: none; stroke: var(--blue-hi); stroke-width: 2; }
.doc-line { fill: none; stroke: rgba(31, 91, 234, .35); stroke-width: 1.5; stroke-linecap: round; }
.chain rect { fill: none; stroke: var(--blue); stroke-width: 2; }
.phone { fill: var(--white); stroke: var(--navy); stroke-width: 1.5; }
.row { fill: var(--bg-soft); stroke: #E1E7F0; }

/* Armed: start state */
.jv.is-armed .st { opacity: .28; }
.jv.is-armed .sd { opacity: 0; }
.jv.is-armed .thread { stroke-dashoffset: 1; }
/* Playing */
.jv.is-playing .st { animation: stOn .5s var(--ease) var(--d) both; }
.jv.is-playing .st:not(.st-final) .st-card { animation: cardGlow 1.4s ease-out var(--d) both; }
.jv.is-playing .sd { animation: jFade .45s var(--ease) calc(var(--d) + var(--o)) both; }
.jv.is-playing .knot-ping { animation: ping 1s ease-out var(--d) both; }
.jv.is-playing .jv-clock { animation: jClock 8.8s linear both; }
.jv.is-paused *, .jv.is-offscreen * { animation-play-state: paused !important; }
@keyframes stOn { from { opacity: .28; } to { opacity: 1; } }
@keyframes cardGlow { 0% { stroke: var(--blue-hi); } 100% { stroke: #DCE3EE; } }
@keyframes jFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ping { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes jClock { from { opacity: 0; } to { opacity: 0; } }
.tv.is-playing .thread-wide { animation: th-wide 8.6s linear both; }
.tv.is-playing .thread-tip-wide { animation: tip-wide 8.6s linear both; }
@keyframes th-wide {
  0% { stroke-dashoffset: 1.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  1.16% { stroke-dashoffset: 1.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  5.81% { stroke-dashoffset: 0.8788; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  11.05% { stroke-dashoffset: 0.8788; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  18.6% { stroke-dashoffset: 0.7323; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  23.84% { stroke-dashoffset: 0.7323; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  32.56% { stroke-dashoffset: 0.5858; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  37.79% { stroke-dashoffset: 0.5858; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  46.51% { stroke-dashoffset: 0.4394; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  51.74% { stroke-dashoffset: 0.4394; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  60.47% { stroke-dashoffset: 0.2929; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  65.7% { stroke-dashoffset: 0.2929; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  73.26% { stroke-dashoffset: 0.1465; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  78.49% { stroke-dashoffset: 0.1465; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  86.05% { stroke-dashoffset: 0.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { stroke-dashoffset: 0.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
}
@keyframes tip-wide {
  0% { stroke-dashoffset: 0.0300; opacity: 0; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  1.16% { stroke-dashoffset: 0.0300; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  5.81% { stroke-dashoffset: -0.0912; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  11.05% { stroke-dashoffset: -0.0912; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  18.6% { stroke-dashoffset: -0.2377; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  23.84% { stroke-dashoffset: -0.2377; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  32.56% { stroke-dashoffset: -0.3842; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  37.79% { stroke-dashoffset: -0.3842; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  46.51% { stroke-dashoffset: -0.5306; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  51.74% { stroke-dashoffset: -0.5306; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  60.47% { stroke-dashoffset: -0.6771; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  65.7% { stroke-dashoffset: -0.6771; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  73.26% { stroke-dashoffset: -0.8235; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  78.49% { stroke-dashoffset: -0.8235; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  86.05% { stroke-dashoffset: -0.9700; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  96.51% { stroke-dashoffset: -0.9700; opacity: 1; }
  100% { stroke-dashoffset: -0.9700; opacity: 0; }
}
.tv.is-playing .thread-narrow { animation: th-narrow 8.6s linear both; }
.tv.is-playing .thread-tip-narrow { animation: tip-narrow 8.6s linear both; }
@keyframes th-narrow {
  0% { stroke-dashoffset: 1.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  1.16% { stroke-dashoffset: 1.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  5.81% { stroke-dashoffset: 0.9184; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  11.05% { stroke-dashoffset: 0.9184; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  18.6% { stroke-dashoffset: 0.7653; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  23.84% { stroke-dashoffset: 0.7653; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  32.56% { stroke-dashoffset: 0.6123; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  37.79% { stroke-dashoffset: 0.6123; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  46.51% { stroke-dashoffset: 0.4592; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  51.74% { stroke-dashoffset: 0.4592; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  60.47% { stroke-dashoffset: 0.3061; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  65.7% { stroke-dashoffset: 0.3061; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  73.26% { stroke-dashoffset: 0.1531; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  78.49% { stroke-dashoffset: 0.1531; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  86.05% { stroke-dashoffset: 0.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { stroke-dashoffset: 0.0000; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
}
@keyframes tip-narrow {
  0% { stroke-dashoffset: 0.0300; opacity: 0; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  1.16% { stroke-dashoffset: 0.0300; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  5.81% { stroke-dashoffset: -0.0516; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  11.05% { stroke-dashoffset: -0.0516; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  18.6% { stroke-dashoffset: -0.2047; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  23.84% { stroke-dashoffset: -0.2047; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  32.56% { stroke-dashoffset: -0.3577; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  37.79% { stroke-dashoffset: -0.3577; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  46.51% { stroke-dashoffset: -0.5108; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  51.74% { stroke-dashoffset: -0.5108; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  60.47% { stroke-dashoffset: -0.6639; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  65.7% { stroke-dashoffset: -0.6639; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  73.26% { stroke-dashoffset: -0.8169; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  78.49% { stroke-dashoffset: -0.8169; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  86.05% { stroke-dashoffset: -0.9700; opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  96.51% { stroke-dashoffset: -0.9700; opacity: 1; }
  100% { stroke-dashoffset: -0.9700; opacity: 0; }
}


/* ---------- Problem ---------- */
.prob-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .prob-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; } }
.col-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.prob-list { display: grid; gap: 12px; counter-reset: p; }
.prob {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n ill" "t t" "f f"; gap: 10px 14px; align-items: center;
  padding: 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.prob:hover { border-color: rgba(31, 91, 234, .3); box-shadow: var(--shadow-md); }
.prob-n { grid-area: n; font: 800 1.35rem/1 var(--font-head); color: rgba(31, 91, 234, .32); letter-spacing: -.02em; }
.prob-ill { grid-area: ill; width: 72px; height: 56px; justify-self: end; }
.prob-text { grid-area: t; font-size: 1.04rem; font-weight: 600; color: var(--text); line-height: 1.45; }
.prob-fix {
  grid-area: f; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px;
  background: var(--pale); color: var(--blue-hover); font-size: .88rem; font-weight: 600;
}
@media (min-width: 640px) {
  .prob { grid-template-columns: 44px 72px minmax(0, 1fr) auto; grid-template-areas: "n ill t f"; gap: 18px; padding: 14px 18px; }
  .prob-ill { justify-self: start; }
  .prob-fix { justify-self: end; white-space: nowrap; }
}
.fix-key {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--blue); color: var(--white); font: 800 .8rem var(--font-head);
}
.help-panel {
  position: relative; padding: 24px; border-radius: var(--r-xl); color: var(--on-dark);
  background: var(--navy);
  box-shadow: 0 30px 60px -36px rgba(11, 18, 32, .5);
}
@media (min-width: 1024px) { .help-panel { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 44px; padding: 28px; } }
.help-title { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.help-list { display: grid; gap: 4px; margin-bottom: 22px; }
.help-list li { position: relative; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.help-list li:last-child { border-bottom: 0; }
.help-list p { color: var(--on-dark); font-size: 1rem; line-height: 1.5; }
.help-list .fix-key { position: relative; z-index: 1; background: var(--blue-hi); box-shadow: 0 0 0 4px rgba(61, 123, 255, .2); }
.help-thread { position: relative; }
.help-thread::before { /* the thread that reconnects every handoff */
  content: ""; position: absolute; left: 12px; top: 24px; bottom: 24px; width: 2px; transform-origin: top;
  background: linear-gradient(var(--blue-hi), var(--blue-soft)); transition: transform .9s var(--ease) .35s;
}
.anim .help-panel:not(.is-in) .help-thread::before { transform: scaleY(0); }

/* small line illustrations (problems, benefits, approach) */
.brk { fill: none; stroke: var(--blue-soft); stroke-width: 2.2; stroke-linecap: round; }
.il-soft-l { fill: none; stroke: rgba(31, 91, 234, .3); stroke-width: 1.2; }
.il-thread { fill: none; stroke: var(--blue-hi); stroke-width: 2; stroke-linecap: round; }
.il-chk-r { fill: var(--blue); }
.stg { fill: var(--pale); stroke: rgba(31, 91, 234, .35); }
.stg.s1, .stg.s2 { fill: var(--blue); stroke: var(--blue); }
.stg.s3 { fill: var(--blue-hi); stroke: var(--blue-hi); }
.il { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.il-soft { fill: var(--pale); stroke: rgba(31, 91, 234, .35); stroke-width: 1.5; }
.il-paper { fill: var(--white); stroke: rgba(31, 91, 234, .45); stroke-width: 1.5; }
.il-dash { stroke-dasharray: 3 4; }
.il-dot { fill: var(--blue-hi); }
.il-q { font: 800 14px var(--font-head); fill: var(--blue); }
.il-x { stroke: var(--error); }
.il-strike { stroke: var(--error); stroke-width: 2; stroke-linecap: round; }
.il-t { font: 600 10px var(--font-body); fill: var(--text-2); }
.il-chk { fill: var(--blue); }
.il-w { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.il-arc { fill: none; stroke: var(--blue-hi); stroke-width: 4; stroke-linecap: round; }
.il-bolt { fill: var(--blue-hi); }
.il-src { fill: var(--blue-hi); }
.il-prog { fill: var(--blue); transform-box: fill-box; transform-origin: left; transform: scaleX(.75); }
.bar { fill: var(--blue); transform-box: fill-box; transform-origin: bottom; }
.bar.b2 { fill: var(--blue-hi); }
.bar.b3 { fill: var(--blue-soft); }
.il-tilt1 { transform-box: fill-box; transform-origin: center; transform: rotate(-6deg); }
.il-tilt2 { transform-box: fill-box; transform-origin: center; transform: rotate(5deg); }
/* loops (only while visible) */
.anim .prob.is-in .w1 { animation: blink 1.4s ease-in-out infinite; }
.anim .prob.is-in .w2 { animation: blink 1.4s ease-in-out .2s infinite; }
.anim .prob.is-in .w3 { animation: blink 1.4s ease-in-out .4s infinite; }
.anim .prob.is-in .il-hand { transform-box: view-box; transform-origin: 56px 38px; animation: spin 6s linear infinite; }
.anim .prob.is-in .il-ring1 { animation: blink 1.6s ease-in-out infinite; }
.anim .prob.is-in .il-ring2 { animation: blink 1.6s ease-in-out .3s infinite; }
.prob-list.is-offscreen * { animation-play-state: paused !important; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Services ---------- */
.svc { display: grid; gap: 28px; align-items: center; padding: 40px 0; border-top: 1px solid rgba(31, 91, 234, .12); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; padding: 64px 0; }
  .svc-flip .svc-copy { order: 2; }
}
.svc-num { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.svc-num span { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 8px; border-radius: 10px; background: var(--white); border: 1px solid rgba(31, 91, 234, .25); letter-spacing: .02em; }
.svc-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.svc-lead { margin: 12px 0 20px; font-size: 1.08rem; color: var(--text-2); }
.feat-list { display: grid; gap: 10px; margin-bottom: 26px; }
.feat-list li { position: relative; padding-left: 32px; font-size: 1rem; line-height: 1.55; }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--white); border: 1px solid rgba(31, 91, 234, .3);
}
.feat-list li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}

/* Visual shells */
.viz { position: relative; margin: 0; padding: 18px; border-radius: var(--r-xl); overflow: hidden; }
@media (min-width: 768px) { .viz { padding: 24px; } }
.viz-dark {
  color: var(--on-dark); border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, var(--surface-dark), var(--navy));
  box-shadow: 0 30px 60px -38px rgba(11, 18, 32, .55);
}
.viz-light { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.viz-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.viz-dark .viz-head { color: var(--blue-soft); }
.viz-light .viz-head { color: var(--blue); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 0 4px rgba(61, 123, 255, .2); }
.viz.is-offscreen *, .viz.is-offscreen *::before, .viz.is-offscreen *::after { animation-play-state: paused !important; }

/* AI: buyer messages + document AI */
.ax { display: grid; gap: 14px; }
@media (min-width: 560px) { .ax { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.ax-chat { display: grid; gap: 8px; align-content: start; }
.ax-msg { margin: 0; padding: 10px 12px; border-radius: 14px; font-size: .9rem; line-height: 1.4; max-width: 94%; }
.ax-msg small { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ax-in { justify-self: start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(143, 184, 255, .22); color: var(--on-dark); border-bottom-left-radius: 4px; }
.ax-in small { color: var(--blue-soft); }
.ax-out { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.ax-out small { color: rgba(255, 255, 255, .82); }
.ax-cat > span { display: block; font-weight: 600; }
.sw-row { display: flex !important; gap: 6px; margin-top: 8px; }
.sw { display: block; width: 30px; height: 30px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.sw1 { background: repeating-linear-gradient(45deg, var(--blue-soft) 0 4px, #fff 4px 8px); }
.sw2 { background: repeating-linear-gradient(90deg, var(--navy) 0 3px, var(--blue-hi) 3px 7px); }
.sw3 { background: radial-gradient(circle at 50% 50%, #fff 1.5px, transparent 2.5px) 0 0 / 8px 8px, var(--blue-hover); }
.sw4 { background: repeating-linear-gradient(-45deg, var(--pale) 0 3px, var(--blue-soft) 3px 6px); }
.ax-chip { margin: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: .86rem; color: var(--on-dark); background: rgba(255, 255, 255, .04); border: 1px dashed rgba(143, 184, 255, .32); }
.ax-ico { flex: none; width: 16px; height: 16px; border-radius: 50%; background: rgba(61, 123, 255, .25); box-shadow: inset 0 0 0 2px var(--blue-soft); }
.ax-doc { display: grid; gap: 10px; }
.ax-scan { position: relative; overflow: hidden; display: grid; gap: 7px; padding: 12px; border-radius: 10px; background: var(--bg-soft); }
.ax-doc-t { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.ax-line { display: block; height: 6px; border-radius: 3px; background: #D5DCE8; }
.ax-line.s { width: 60%; }
.ax-beam { position: absolute; left: 0; right: 0; top: 0; height: 26px; opacity: 0; background: linear-gradient(180deg, transparent, rgba(61, 123, 255, .4), transparent); }
.ax-fields { margin: 0; display: grid; gap: 4px; }
.ax-fields div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: .86rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(143, 184, 255, .2); }
.ax-fields dt { color: var(--on-dark-2); }
.ax-fields dd { margin: 0; color: #fff; font-weight: 600; }
.anim .viz-ax:not(.is-in) .ax-chat > *, .anim .viz-ax:not(.is-in) .ax-fields div { opacity: 0; }
.anim .viz-ax.is-in .ax-chat > * { animation: rise .45s var(--ease) both; }
.anim .viz-ax.is-in .ax-chat > :nth-child(1) { animation-delay: .2s; }
.anim .viz-ax.is-in .ax-chat > :nth-child(2) { animation-delay: .8s; }
.anim .viz-ax.is-in .ax-chat > :nth-child(3) { animation-delay: 1.4s; }
.anim .viz-ax.is-in .ax-chat > :nth-child(4) { animation-delay: 1.7s; }
.anim .viz-ax.is-in .ax-beam { animation: beam 1.4s ease-in-out 2s both; }
.anim .viz-ax.is-in .ax-fields div { animation: rise .4s var(--ease) calc(var(--k) * .25s + 2.5s) both; }
@keyframes beam { 0% { opacity: 0; transform: translateY(0); } 12%, 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(96px); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Digital Transformation: connected production board */
.px { display: grid; gap: 12px; }
.px-t { margin: 0 0 8px; font-size: .82rem; font-weight: 700; color: var(--navy); }
.px-t small { display: block; font-size: .78rem; font-weight: 500; color: var(--text-2); }
.px-orders, .px-stock, .px-docs { padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); }
.px-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) 76px; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--border); font-size: .86rem; }
.px-row b { font-weight: 600; color: var(--text); }
.px-row em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--blue); text-align: right; }
.px-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.px-track i { height: 8px; border-radius: 3px; background: #E3E9F3; transform-origin: left; }
.px-row:nth-of-type(1) .px-track i:nth-child(-n+3),
.px-row:nth-of-type(2) .px-track i:nth-child(-n+2),
.px-row:nth-of-type(3) .px-track i:nth-child(1) { background: linear-gradient(90deg, var(--blue), var(--blue-hi)); }
.px-mid { display: grid; gap: 12px; }
@media (min-width: 560px) { .px-mid { grid-template-columns: 1fr 1fr; } }
.px-lvl { margin: 0 0 8px; display: grid; gap: 4px; font-size: .84rem; color: var(--text); }
.px-lvl i { position: relative; display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #E3E9F3; }
.px-lvl i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--l); border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); transform-origin: left; }
.px-doc { margin: 0 0 6px; display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--bg-soft); font-size: .84rem; }
.px-doc b { font-weight: 600; color: var(--ok); }
.px-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--navy); }
.px-phone-t { margin-right: 4px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-soft); }
.px-pill { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(61, 123, 255, .22); border: 1px solid rgba(143, 184, 255, .35); }
.anim .viz-px:not(.is-in) .px-track i { transform: scaleX(0); }
.anim .viz-px:not(.is-in) .px-lvl i::after { transform: scaleX(0); }
.anim .viz-px:not(.is-in) .px-doc, .anim .viz-px:not(.is-in) .px-pill { opacity: 0; }
.anim .viz-px.is-in .px-track i { animation: growX .35s var(--ease) both; }
.anim .viz-px.is-in .px-track i:nth-child(1) { animation-delay: .3s; }
.anim .viz-px.is-in .px-track i:nth-child(2) { animation-delay: .6s; }
.anim .viz-px.is-in .px-track i:nth-child(3) { animation-delay: .9s; }
.anim .viz-px.is-in .px-track i:nth-child(4) { animation-delay: 1.2s; }
.anim .viz-px.is-in .px-lvl i::after { animation: growX .9s var(--ease) 1.3s both; }
.anim .viz-px.is-in .px-doc { animation: rise .45s var(--ease) calc(var(--k) * .3s + 2s) both; }
.anim .viz-px.is-in .px-pill { animation: popIn .35s var(--ease) calc(var(--k) * .18s + 2.7s) both; }

/* App Modernization: same records, modern apps */
.mz { display: grid; gap: 12px; }
.mz-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; font-size: .76rem; font-weight: 600; color: var(--on-dark-2); border-bottom: 1px solid rgba(143, 184, 255, .16); }
.mz-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(143, 184, 255, .35); }
.mz-bar i:last-of-type { margin-right: 6px; }
.mz-old { border-radius: 10px; background: #1A2337; border: 1px solid rgba(143, 184, 255, .16); font-family: "Consolas", "Courier New", monospace; }
.mz-rows { display: grid; }
.mz-rows li { padding: 7px 12px; font-size: .82rem; color: var(--on-dark-2); border-bottom: 1px dashed rgba(143, 184, 255, .12); }
.mz-rows li:last-child { border-bottom: 0; }
.mz-lane { position: relative; display: flex; justify-content: center; gap: 8px; padding: 10px 0; }
.mz-lane::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--blue-hi), rgba(61, 123, 255, .1)); }
.mz-pkt { position: relative; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: var(--white); font-size: .78rem; font-weight: 600; }
.mz-new { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; align-items: stretch; }
.mz-web { border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(143, 184, 255, .3); overflow: hidden; }
.mz-bar-web { color: var(--white); background: rgba(61, 123, 255, .14); }
.mz-rows-new li { color: var(--white); font-family: var(--font-body); }
.mz-upd { display: grid; }
.mz-upd > span { grid-area: 1 / 1; }
.mz-was { opacity: 0; }
.mz-now { color: var(--blue-soft); font-weight: 600; }
.mz-phone { display: grid; align-content: start; gap: 6px; padding: 12px 10px; border-radius: 18px; border: 2px solid rgba(143, 184, 255, .4); background: rgba(11, 18, 32, .6); }
.mz-ph-t { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-soft); }
.mz-ph-rec { font-size: .86rem; font-weight: 700; color: var(--white); }
.mz-toggle { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .74rem; color: var(--on-dark); line-height: 1.25; }
.mz-switch { position: relative; flex: none; width: 30px; height: 18px; border-radius: 999px; background: var(--blue-hi); }
.mz-switch::after { content: ""; position: absolute; top: 3px; left: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); }
.mz-mgmt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(143, 184, 255, .35); }
.mz-mgmt b { display: block; font-family: var(--font-head); font-size: .88rem; color: var(--white); }
.mz-mgmt small { font-size: .8rem; color: var(--on-dark); }
.mz-ping { position: relative; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 0 4px rgba(61, 123, 255, .25); }
.anim .viz-mz:not(.is-in) .mz-pkt, .anim .viz-mz:not(.is-in) .mz-rows-new li, .anim .viz-mz:not(.is-in) .mz-mgmt { opacity: 0; }
.anim .viz-mz:not(.is-in) .mz-was { opacity: 1; }
.anim .viz-mz:not(.is-in) .mz-now { opacity: 0; }
.anim .viz-mz:not(.is-in) .mz-switch { background: rgba(143, 184, 255, .3); }
.anim .viz-mz:not(.is-in) .mz-switch::after { left: 3px; }
.anim .viz-mz.is-in .mz-pkt { animation: migrate 1.1s var(--ease) calc(var(--k) * .25s + .3s) both; }
.anim .viz-mz.is-in .mz-rows-new li { animation: rise .45s var(--ease) both; }
.anim .viz-mz.is-in .mz-rows-new li:nth-child(1) { animation-delay: 1.1s; }
.anim .viz-mz.is-in .mz-rows-new li:nth-child(2) { animation-delay: 1.3s; }
.anim .viz-mz.is-in .mz-rows-new li:nth-child(3) { animation-delay: 1.5s; }
.anim .viz-mz.is-in .mz-old { animation: dimOld .6s ease 1.6s both; }
.anim .viz-mz.is-in .mz-switch { animation: swOn .3s ease 2.4s both; }
.anim .viz-mz.is-in .mz-switch::after { animation: knobOn .3s ease 2.4s both; }
.anim .viz-mz.is-in .mz-was { animation: fadeOut .3s ease 2.9s both; }
.anim .viz-mz.is-in .mz-now { animation: fadeIn .3s ease 2.9s both, flash 1s ease 2.9s; }
.anim .viz-mz.is-in .mz-mgmt { animation: rise .5s var(--ease) 3.2s both; }
.anim .viz-mz.is-in .mz-ping { animation: pingRing 1.6s ease-out 3.4s infinite; }
@keyframes migrate { 0% { opacity: 0; transform: translateY(-16px); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes dimOld { to { opacity: .55; } }
@keyframes swOn { from { background: rgba(143, 184, 255, .3); } to { background: var(--blue-hi); } }
@keyframes knobOn { from { left: 3px; } to { left: 15px; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes flash { 0% { background: rgba(61, 123, 255, .4); } 100% { background: transparent; } }
@keyframes pingRing { 0% { box-shadow: 0 0 0 0 rgba(61, 123, 255, .55); } 100% { box-shadow: 0 0 0 12px rgba(61, 123, 255, 0); } }

/* IT Consulting: decision map */
.dm { display: grid; gap: 0; }
.dm-step { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 20px; }
.dm-step:last-child { padding-bottom: 0; }
.dm-step:not(:last-child)::before { /* connector */
  content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: linear-gradient(var(--blue), rgba(31, 91, 234, .25)); transform-origin: top;
}
.dm-thread .dm-step:not(:last-child)::before { background: repeating-linear-gradient(180deg, var(--blue) 0 6px, transparent 6px 10px); }
.dm-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font: 800 .9rem var(--font-head); box-shadow: 0 0 0 5px var(--pale); position: relative; z-index: 1; }
.dm-step b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); padding-top: 6px; }
.dm-step small { display: block; font-size: .86rem; color: var(--text-2); }
.dm-gaps, .dm-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dm-gaps span { padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--error); background: var(--error-bg); border: 1px solid rgba(180, 35, 24, .2); }
.dm-opts { align-items: center; }
.dm-opt { padding: 8px 12px; border-radius: 10px; border: 1px dashed rgba(31, 91, 234, .45); font-size: .86rem; font-weight: 600; color: var(--blue-hover); background: var(--white); }
.dm-or { font-size: .8rem; color: var(--text-2); }
.dm-pick { border-style: solid; border-color: var(--blue); background: var(--pale); box-shadow: 0 8px 18px -10px rgba(31, 91, 234, .7); }
.dm-road { display: grid; gap: 8px; margin-top: 10px; }
.dm-road span { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--text); }
.dm-road span::after { content: ""; display: block; width: var(--w); height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); transform-origin: left; }
.anim .viz-dm:not(.is-in) .dm-step { opacity: 0; }
.anim .viz-dm:not(.is-in) .dm-step::before { transform: scaleY(0); }
.anim .viz-dm:not(.is-in) .dm-road span::after { transform: scaleX(0); }
.anim .viz-dm.is-in .dm-step { animation: rise .5s var(--ease) calc(var(--k) * .7s + .2s) both; }
.anim .viz-dm.is-in .dm-step::before { animation: growY .6s var(--ease) calc(var(--k) * .7s + .55s) both; }
.anim .viz-dm.is-in .dm-gaps span { animation: popIn .35s var(--ease) both; }
.anim .viz-dm.is-in .dm-gaps span:nth-child(1) { animation-delay: 1.1s; }
.anim .viz-dm.is-in .dm-gaps span:nth-child(2) { animation-delay: 1.25s; }
.anim .viz-dm.is-in .dm-gaps span:nth-child(3) { animation-delay: 1.4s; }
.anim .viz-dm.is-in .dm-pick { animation: pickOn .6s ease 2.2s both; }
.anim .viz-dm.is-in .dm-road span::after { animation: growX .7s var(--ease) both; }
.anim .viz-dm.is-in .dm-road span:nth-child(1)::after { animation-delay: 2.6s; }
.anim .viz-dm.is-in .dm-road span:nth-child(2)::after { animation-delay: 2.85s; }
.anim .viz-dm.is-in .dm-road span:nth-child(3)::after { animation-delay: 3.1s; }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes pickOn { from { border-style: dashed; border-color: rgba(31, 91, 234, .45); background: var(--white); box-shadow: none; } to { border-style: solid; border-color: var(--blue); background: var(--pale); box-shadow: 0 8px 18px -10px rgba(31, 91, 234, .7); } }

/* ---------- Benefits ---------- */
.bento { display: grid; gap: 14px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .bn:first-child { grid-column: span 2; } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bn-wide { grid-column: span 2; } }
.bn {
  display: grid; align-content: space-between; gap: 18px; padding: 22px; border-radius: var(--r-lg); min-height: 180px;
  background: linear-gradient(180deg, var(--white), var(--bg-soft)); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bn:hover { border-color: rgba(31, 91, 234, .3); box-shadow: var(--shadow-md); }
.bn-ill { width: 160px; height: 72px; }
.bn p { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: var(--navy); line-height: 1.35; max-width: 28ch; }
.bn-wide { background: linear-gradient(180deg, var(--white), var(--bg-soft)); }
.anim .bn:not(.is-in) .bar { transform: scaleY(0); }
.anim .bn:not(.is-in) .il-prog { transform: scaleX(0); }
.anim .bn:not(.is-in) .il-chk { opacity: 0; }
.anim .bn.is-in .bar { animation: growY .7s var(--ease) .3s both; }
.anim .bn.is-in .bar.b2 { animation-delay: .45s; }
.anim .bn.is-in .bar.b3 { animation-delay: .6s; }
.anim .bn.is-in .il-prog { animation: growProg 1.2s var(--ease) .4s both; }
.anim .bn.is-in .il-chk { animation: jFade .35s ease .3s both; }
.anim .bn.is-in .il-chk.c2 { animation-delay: .6s; }
.anim .bn.is-in .il-chk.c3 { animation-delay: .9s; }
.anim .bn.is-in .il-flow { animation: dashFlow 1s linear infinite; }
.anim .bn.is-in .il-bolt { animation: blink 2.4s ease-in-out infinite; }
.anim .bn.is-in .il-src { animation: srcDrop 2.4s ease-in infinite; }
.anim .bn.is-in .il-src.s2 { animation-delay: .8s; }
.anim .bn.is-in .il-src.s3 { animation-delay: 1.6s; }
.anim .bn:not(.is-in) .stg { opacity: .15; }
.anim .bn.is-in .stg { animation: jFade .4s ease both; }
.anim .bn.is-in .stg.s1 { animation-delay: .2s; }
.anim .bn.is-in .stg.s2 { animation-delay: .5s; }
.anim .bn.is-in .stg.s3 { animation-delay: .8s; }
.anim .bn.is-in .stg.s4 { animation-delay: 1.1s; }
.bento.is-offscreen * { animation-play-state: paused !important; }
@keyframes growProg { from { transform: scaleX(0); } to { transform: scaleX(.75); } }
@keyframes dashFlow { to { stroke-dashoffset: -14; } }
@keyframes srcDrop { 0% { transform: translateY(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(30px); opacity: 0; } }
.il-src { transform-box: fill-box; }
.result {
  display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 24px; border-radius: var(--r-xl); color: var(--white);
  background: var(--navy);
  box-shadow: 0 26px 50px -32px rgba(11, 18, 32, .55);
}
.result svg { flex: none; padding: 10px; width: 48px; height: 48px; border-radius: 14px; color: var(--blue-soft); background: rgba(61, 123, 255, .16); }
.result p { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .8vw, 1.55rem); font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
@media (min-width: 768px) { .result { padding: 30px 36px; } }

/* ---------- Capability map ---------- */
.cap { position: relative; display: grid; gap: 16px; padding-left: 36px; }
.cap::before { /* route: vertical on small screens */
  content: ""; position: absolute; left: 11px; top: 24px; bottom: 24px; width: 2px; transform-origin: top;
  background: linear-gradient(180deg, var(--blue), var(--blue-hi), var(--blue-soft));
}
.cap-group { position: relative; padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.cap-h { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.cap-node { position: absolute; left: -32px; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue); box-shadow: 0 0 0 5px rgba(31, 91, 234, .12); }
.cap-group::after { /* step label */
  content: "0" counter(cap); counter-increment: cap; position: absolute; right: 18px; top: 18px; font: 800 .8rem var(--font-head); color: rgba(31, 91, 234, .45); letter-spacing: .08em;
}
.cap { counter-reset: cap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: var(--pale); border: 1px solid rgba(31, 91, 234, .18); font-size: .95rem; font-weight: 500; color: var(--text); }
@media (min-width: 1200px) {
  .cap { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-left: 0; padding-top: 44px; }
  .cap .tags li { font-size: .92rem; padding: 7px 12px; }
  .cap::before { /* horizontal thread route linking the five group nodes */
    left: calc(10% - 6.4px); right: calc(10% - 6.4px); top: 8px; bottom: auto; width: auto; height: 2px; transform-origin: left;
    background: linear-gradient(90deg, var(--blue), var(--blue-hi), var(--blue-soft));
  }
  .cap-node { left: 50%; top: -45px; transform: translateX(-50%); }
  .cap-group { padding: 20px 16px; }
  .cap-group:not(:last-child) .cap-h::after { /* route arrow between groups */
    content: ""; position: absolute; right: -13px; top: -40px; width: 8px; height: 8px; border-top: 2px solid var(--blue-hi); border-right: 2px solid var(--blue-hi); transform: rotate(45deg);
  }
}
.anim .cap:not(.is-in)::before { transform: scale(0); }
.anim .cap:not(.is-in) .cap-group { opacity: 0; transform: translateY(12px); }
.anim .cap.is-in::before { animation: routeDraw 1.6s var(--ease) both; }
.anim .cap.is-in .cap-group { animation: rise .55s var(--ease) calc(var(--k) * .3s + .2s) both; }
.anim .cap.is-in .cap-node { animation: nodeOn .5s ease calc(var(--k) * .3s + .35s) both; }
@keyframes routeDraw { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes nodeOn { 0% { box-shadow: 0 0 0 0 rgba(31, 91, 234, .5); } 100% { box-shadow: 0 0 0 5px rgba(31, 91, 234, .12); } }

/* ---------- Approach ---------- */
.ap { position: relative; display: grid; gap: 18px; }
.ap-step { position: relative; padding-left: 56px; }
.ap-n {
  position: absolute; left: 0; top: 10px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white); font: 800 1rem var(--font-head); box-shadow: 0 0 0 6px var(--pale);
}
.ap-step:not(:last-child)::after { /* vertical timeline connector */
  content: ""; position: absolute; left: 19px; top: 30px; height: calc(100% + 18px); width: 2px; background: rgba(31, 91, 234, .3); transform-origin: top;
}
.ap-card { position: relative; z-index: 1; /* connectors pass behind the cards */ display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.ap-ill { width: 48px; height: 48px; padding: 8px; border-radius: 14px; background: var(--pale); }
.ap-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
@media (min-width: 1024px) {
  .ap { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; row-gap: 36px; }
  .ap-step { padding-left: 0; padding-top: 0; }
  .ap-step:nth-child(4) { grid-area: 2 / 3; }
  .ap-step:nth-child(5) { grid-area: 2 / 2; }
  .ap-step:nth-child(6) { grid-area: 2 / 1; }
  .ap-n { left: 50%; top: 0; transform: translateX(-50%); }
  .ap-card { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-top: 64px; padding: 22px 20px 24px; min-height: 170px; align-content: start; }
  .ap-step:nth-child(2) .ap-card, .ap-step:nth-child(5) .ap-card { margin-top: 104px; } /* stagger */
  .ap-step::before { /* stem from the node down to the card */
    content: ""; position: absolute; left: 50%; top: 40px; width: 2px; height: 24px; transform: translateX(-50%); background: rgba(31, 91, 234, .3);
  }
  .ap-step:nth-child(2)::before, .ap-step:nth-child(5)::before { height: 64px; }
  .ap-step:not(:last-child)::after { width: calc(100% + 28px); height: 2px; top: 19px; left: 50%; background: linear-gradient(90deg, var(--blue), var(--blue-hi)); transform-origin: left; }
  .ap-step:nth-child(4)::after, .ap-step:nth-child(5)::after { left: auto; right: 50%; transform-origin: right; }
  .ap-step:nth-child(3)::after { /* turn down to the second row */
    left: calc(50% - 1px); width: 2px; height: calc(100% + 36px); top: 20px; transform-origin: top;
    background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  }
}
.anim .ap:not(.is-in) .ap-step::after { transform: scale(0); }
.anim .ap:not(.is-in) .ap-card, .anim .ap:not(.is-in) .ap-n { opacity: 0; }
.anim .ap.is-in .ap-n { animation: popIn .4s var(--ease) calc(var(--k) * .32s + .1s) both; }
.anim .ap.is-in .ap-card { animation: rise .5s var(--ease) calc(var(--k) * .32s + .2s) both; }
.anim .ap.is-in .ap-step::after { animation: routeDraw .4s var(--ease) calc(var(--k) * .32s + .35s) both; }
@media (min-width: 1024px) { .anim .ap.is-in .ap-n { animation-name: popInC; } }
@keyframes popInC { from { opacity: 0; transform: translateX(-50%) scale(.6); } to { opacity: 1; transform: translateX(-50%); } }
.highlight-line {
  margin: 40px auto 0; max-width: 720px; padding: 16px 22px; border-radius: 16px; text-align: center;
  background: var(--pale); border: 1px solid rgba(31, 91, 234, .2); font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--blue-hover);
}

/* ---------- Who we serve ---------- */
.aud { display: grid; gap: 16px; }
@media (min-width: 640px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .aud { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.aud-card { padding: 18px 18px 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.aud-card:hover { border-color: rgba(31, 91, 234, .3); box-shadow: var(--shadow-md); }
.aud-ill {
  width: 100%; height: auto; aspect-ratio: 2 / 1; margin-bottom: 18px; padding: 12px; border-radius: 14px;
  background:
    linear-gradient(rgba(31, 91, 234, .06) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(31, 91, 234, .06) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--pale);
}
.aud-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.aud-card p { color: var(--text-2); }
.ln { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ln-soft { stroke: rgba(31, 91, 234, .45); stroke-width: 1.3; }
.ln-road { stroke: var(--blue-soft); stroke-width: 6; }
.ln-acc { fill: var(--blue-hi); }
.ln-acc-s { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ln-acc-c { fill: none; stroke: var(--blue); stroke-width: 2.2; }
.ln-acc-f { fill: rgba(61, 123, 255, .25); stroke: var(--blue); stroke-width: 1.5; }
.ln-t { font: 600 10px var(--font-body); fill: var(--blue-hover); }
.ln-flow { stroke-dasharray: 5 5; }
.anim .aud-card:not(.is-in) path.ln[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .aud-card.is-in path.ln[pathLength] { stroke-dasharray: 1; animation: lnDraw 1.4s var(--ease) .2s both; }
.anim .aud-card.is-in .ln-flow { animation: dashFlow 1s linear infinite; }
.aud.is-offscreen * { animation-play-state: paused !important; }
@keyframes lnDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Testimonial ---------- */
.testi {
  position: relative; max-width: 860px; margin: 0 auto; padding: 32px 24px; border-radius: var(--r-xl); text-align: center;
  background: linear-gradient(180deg, var(--white), var(--pale)); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .testi { padding: 48px 56px; } }
.testi-mark { margin: 0 auto 18px; color: var(--blue-soft); }
.testi blockquote { margin: 0; }
.testi blockquote p { font-family: var(--font-head); font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 600; line-height: 1.5; color: var(--navy); }
.testi figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 26px; text-align: left; }
.testi-av { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); font: 800 1rem var(--font-head); }
.testi strong { display: block; color: var(--navy); }
.testi-role { display: block; font-size: .92rem; color: var(--text-2); }
.testi-src { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(31, 91, 234, .3); font-size: 1rem; font-weight: 600; text-decoration: none; background: var(--white); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; } }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(31, 91, 234, .35); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; cursor: pointer; list-style: none; border-radius: var(--r-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.faq-ico { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--pale); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--blue); transition: transform .25s var(--ease); }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico::after { transform: rotate(0); }
.faq-a { padding: 0 18px 18px; color: var(--text-2); }
.anim .faq-item[open] .faq-a { animation: rise .35s var(--ease); }

/* ---------- Final CTA ---------- */
.cta {
  position: relative; overflow: hidden; padding: clamp(80px, 6vw + 48px, 136px) 0; color: var(--on-dark); text-align: center;
  background: radial-gradient(760px 420px at 50% 30%, rgba(31, 91, 234, .2), transparent 68%), var(--navy);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143, 184, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 184, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}
.cta-lines { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); pointer-events: none; }
.cta-warp { fill: none; stroke: rgba(143, 184, 255, .3); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 12 8; }
.cta-weft { fill: none; stroke: rgba(143, 184, 255, .18); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 12 8; stroke-dashoffset: 10; }
.cta-run { fill: none; stroke: var(--blue-hi); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 6 94; opacity: 0; }
.anim .cta-run { opacity: 1; animation: ctaRun 14s linear infinite; }
.cta.is-offscreen .cta-run, .cta.is-offscreen .cta-build path { animation-play-state: paused; }
@keyframes ctaRun { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.cta-build { position: absolute; bottom: 12px; width: 220px; height: 160px; pointer-events: none; display: none; }
.cta-build path, .cta-build ellipse, .cta-build circle { fill: none; stroke: rgba(143, 184, 255, .2); stroke-width: 1.2; }
.cta-build-l { left: 4%; }
.cta-build-r { right: 4%; }
@media (min-width: 1024px) { .cta-build { display: block; } }
.cta-inner { position: relative; max-width: 820px; }
.cta h2 { margin: 18px 0 16px; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 800; color: var(--white); letter-spacing: -.03em; }
.cta-sub { color: var(--on-dark-2); font-size: clamp(1rem, .96rem + .3vw, 1.15rem); margin: 0 auto 32px; max-width: 64ch; }
.cta-contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin-top: 24px; color: var(--on-dark-2); }
.cta-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-soft); font-weight: 600; }
.cta-contact a:hover { color: var(--white); }

/* ---------- Enquiry dialog (inline section without JS) ---------- */
.enquiry {
  position: static; display: block; width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding: 64px var(--gutter);
  border: 0; background: var(--bg-soft); color: var(--text);
}
.js .enquiry:not(.is-modal) { display: none; }
.no-dialog .enquiry { display: block !important; }
.no-js .enquiry-close { display: none; }
.enquiry-card {
  position: relative; width: 100%; max-width: 720px; margin: 0 auto; padding: 28px 20px 24px; border-radius: var(--r-xl);
  background: var(--white); border: 1px solid var(--border); box-shadow: 0 40px 90px -40px rgba(11, 18, 32, .55);
}
@media (min-width: 768px) { .enquiry-card { padding: 40px; } }
.enquiry.is-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; width: 100%; height: 100%; max-width: none; max-height: none;
  padding: 16px; overflow-y: auto; background: transparent;
}
.enquiry.is-modal .enquiry-card { margin: auto; }
.enquiry::backdrop { background: rgba(11, 18, 32, .74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.anim .enquiry.is-modal .enquiry-card { animation: dlgIn .32s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.enquiry-close {
  position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--white); color: var(--text); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.enquiry-close:hover { border-color: var(--blue); color: var(--blue); }
.enquiry-title { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); font-weight: 800; color: var(--navy); padding-right: 96px; letter-spacing: -.02em; }
.no-js .enquiry-title { padding-right: 0; }
.enquiry-title:focus { outline: none; }
.enquiry-sub { margin: 8px 0 22px; color: var(--text-2); }

/* Forms */
.field-grid { display: grid; gap: 14px; margin-bottom: 10px; }
@media (min-width: 560px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #C3CCDB; border-radius: var(--r-sm); background: var(--bg-soft);
  font-size: 1rem; line-height: 1.4; color: var(--text); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #93A1BA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(31, 91, 234, .18); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); pointer-events: none; }
.field [aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field-error { color: var(--error); font-size: .86rem; font-weight: 500; margin-top: 4px; }
.field-error:empty { display: none; }
.req-note { font-size: .85rem; color: var(--text-2); margin-bottom: 16px; }
.req-note span { color: var(--blue); }
.form-status:not(:empty) { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: .92rem; line-height: 1.5; background: var(--pale); border: 1px solid rgba(31, 91, 234, .25); }
.form-status.is-error { background: var(--error-bg); border-color: rgba(180, 35, 24, .3); }
.form-status.is-success { background: #ECFDF3; border-color: #A6E4BF; }
.form-status a { font-weight: 600; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding: 64px 0 24px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer-brand img { width: 150px; height: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 42ch; }
.footer-col h2 { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.footer-col ul { display: grid; }
.footer-col a, .legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-2); text-decoration: none; }
.footer-col a:hover, .legal a:hover { color: var(--white); text-decoration: underline; }
.social { display: flex !important; flex-wrap: wrap; gap: 0 16px; margin-top: 8px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 40px; padding-top: 16px; font-size: .9rem; }
.footer-bottom::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; border-top: 1px solid var(--line-dark); }
.legal { display: flex; flex-wrap: wrap; gap: 0 20px; }

/* ---------- Reveal ---------- */
.anim .reveal { transition: opacity .55s var(--ease), transform .55s var(--ease); }
.anim .reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
.anim .prob:nth-child(2), .anim .bn:nth-child(2), .anim .aud-card:nth-child(2) { transition-delay: 60ms; }
.anim .prob:nth-child(3), .anim .bn:nth-child(3), .anim .aud-card:nth-child(3) { transition-delay: 120ms; }
.anim .prob:nth-child(4), .anim .bn:nth-child(4), .anim .aud-card:nth-child(4) { transition-delay: 60ms; }
.anim .prob:nth-child(5), .anim .bn:nth-child(5), .anim .aud-card:nth-child(5) { transition-delay: 120ms; }
.anim .prob:nth-child(6), .anim .bn:nth-child(6), .anim .aud-card:nth-child(6) { transition-delay: 180ms; }
.anim .prob:nth-child(7), .anim .bn:nth-child(7) { transition-delay: 60ms; }
.anim .prob:nth-child(8), .anim .bn:nth-child(8) { transition-delay: 120ms; }
.anim .bn:nth-child(9) { transition-delay: 180ms; }

/* ---------- Reduced motion: static, final states ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .jv-controls, .js .jv-controls { display: none; }
}

/* ---- 2026-10-12: approach step detail, results and case studies, spam honeypot ---- */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ap-body p { margin-top: 4px; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.proof-stats { display: grid; gap: 12px; margin-bottom: 24px; }
@media (min-width: 640px) { .proof-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proof-stat { padding: 20px; border-radius: var(--r-lg); background: var(--navy); color: var(--white); text-align: center; }
.proof-stat b { display: block; font: 800 clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem)/1.1 var(--font-head); color: var(--blue-soft); }
.proof-stat span { display: block; margin-top: 6px; font-size: .95rem; color: rgba(255, 255, 255, .86); }
.proof-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .proof-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; } }
.proof-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.proof-k { font: 700 .75rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.proof-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); line-height: 1.35; }
.proof-card p { color: var(--text-2); }
.proof-card a { margin-top: auto; padding-top: 4px; font-weight: 700; text-decoration: none; }
.proof-card a:hover { text-decoration: underline; }
.proof-more { margin-top: 20px; padding: 22px; border-radius: var(--r-lg); background: var(--pale); border: 1px solid var(--border); }
.proof-more h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.proof-more p { color: var(--text-2); }
.proof-more ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.proof-more a { font-weight: 700; }
.proof-testi { margin-top: clamp(40px, 5vw, 64px); }
