/* =========================================================
   MAVE DIGITAL — v2 "Kinetic" · dark cinematic, brand blue → turquoise
   ========================================================= */
@font-face { font-family: "Syne"; src: url("../assets/fonts/syne-latin-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Syne"; src: url("../assets/fonts/syne-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("../assets/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --bg: #05070F;
  --bg-2: #0A0F1F;
  --navy: #0B2A5B;
  --blue: #2F6BFF;
  --teal: #19C6D6;
  --white: #F4F7FF;
  --dim: rgba(244,247,255,.55);
  --line: rgba(244,247,255,.1);
  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--body); color: var(--white); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; cursor: none;
}
@media (hover: none) { body { cursor: auto; } }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
canvas { display: block; }
::selection { background: var(--teal); color: var(--bg); }

.label { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 28px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6.2vw, 92px); line-height: .98; letter-spacing: -.03em; }
.h2 em { color: var(--teal); font-size: 1.05em; }

/* ---------- Pill button ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 999px;
  background: var(--white); color: var(--bg); font-weight: 700; font-size: 14px; letter-spacing: .01em;
  border: 1px solid transparent; transition: background .4s, color .4s, box-shadow .4s; will-change: transform; font-family: var(--body); cursor: none;
}
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.pill:hover svg { transform: translate(3px, -3px); }
.pill--glass { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.pill--glass:hover { background: var(--white); color: var(--bg); }
.pill--light:hover { background: var(--teal); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.intro-seen .intro { display: none; }
.intro__panel { position: absolute; inset: 0; background: var(--bg); transform-origin: top; }
.intro__counter { position: absolute; right: var(--gutter); bottom: var(--gutter); z-index: 2; font-family: var(--display); font-weight: 800; font-size: clamp(80px, 14vw, 200px); line-height: 1; letter-spacing: -.05em; color: var(--white); }
.intro__word { position: absolute; left: var(--gutter); bottom: var(--gutter); z-index: 2; font-family: var(--display); font-size: clamp(18px, 2vw, 28px); font-weight: 600; letter-spacing: -.01em; height: 1.3em; overflow: hidden; }
.intro__word span { display: block; height: 1.3em; color: var(--dim); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 1500; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); pointer-events: none; mix-blend-mode: difference; display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), background .3s;
}
.cursor__label { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.is-active { width: 84px; height: 84px; }
.cursor.is-active .cursor__label { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; background: var(--teal); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Grain ---------- */
.grain { position: fixed; inset: -50%; z-index: 1400; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-5%,-2%)} 80%{transform:translate(4%,4%)} 100%{transform:translate(0,0)} }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1200; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); }
.nav__meta, .nav__menu { mix-blend-mode: difference; }
.nav { pointer-events: none; } .nav__logo, .nav__menu { pointer-events: auto; }
.nav__logo { position: relative; z-index: 1; transition: opacity .45s ease; }
.nav.is-scrolling .nav__logo { opacity: .12; }
.nav__logo .logo-color { display: none; }
.nav.on-light .logo-light { display: none; } .nav.on-light .logo-color { display: block; }
.nav.on-light .nav__meta, .nav.on-light .nav__menu { mix-blend-mode: normal; color: #0B2A5B; }
.nav.on-light .nav__time b { color: #0B2A5B; }
.nav.on-light .nav__menu-lines i { background: #0B2A5B; }
.nav__logo img { height: 62px; width: auto; }
.nav__meta { display: flex; gap: 28px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.nav__time b { color: #fff; font-weight: 700; margin-left: 6px; font-variant-numeric: tabular-nums; }
.live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 8px; animation: live 1.6s ease-in-out infinite; vertical-align: 1px; }
@keyframes live { 50% { opacity: .3 } }
.nav__menu { display: flex; align-items: center; gap: 14px; background: transparent; border: 0; color: #fff; font-family: var(--body); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; cursor: none; padding: 8px 0; }
.nav__menu-text { display: block; }
.nav__menu-text span { display: block; line-height: 1.2em; }
.nav__menu-text span:last-child { display: none; }
.nav__menu.is-open .nav__menu-text span:first-child { display: none; }
.nav__menu.is-open .nav__menu-text span:last-child { display: block; }
.nav__menu-lines { display: flex; flex-direction: column; gap: 5px; width: 28px; }
.nav__menu-lines i { height: 2px; background: #fff; transition: transform .5s var(--ease); transform-origin: center; }
.nav__menu.is-open .nav__menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu.is-open .nav__menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 1100; visibility: hidden; display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px; overflow-y: auto; }
.menu.is-open { visibility: visible; }
.menu__bg { position: absolute; inset: 0; background: var(--navy); transform: scaleY(0); transform-origin: top; }
.menu__links { position: relative; display: grid; gap: 4px; }
.menu__links a { font-family: var(--display); font-weight: 700; font-size: clamp(32px, min(8vw, 9vh), 110px); line-height: 1.02; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 20px; opacity: 0; transform: translateY(40px); transition: color .3s; }
.menu__links a::before { content: attr(data-i); font-family: var(--body); font-size: 12px; letter-spacing: .2em; color: var(--teal); font-weight: 700; }
.menu__links a:hover { color: var(--teal); }
.menu__foot { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(24px, 5vh, 64px); font-size: 14px; color: rgba(255,255,255,.7); opacity: 0; }
.menu__foot span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 100px var(--gutter) 36px; overflow: hidden; }
.hero__shader { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, transparent 30%, rgba(5,7,15,.55) 100%), linear-gradient(180deg, rgba(5,7,15,.5) 0%, transparent 30%, transparent 70%, var(--bg) 100%); pointer-events: none; }
.hero__top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.hero__intro { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.75); max-width: 320px; }
.hero__badge { position: relative; width: min(120px, 14vh); height: min(120px, 14vh); }
.hero__badge svg { width: 100%; height: 100%; animation: rotate 18s linear infinite; }
.hero__badge text { font-family: var(--body); font-size: 11.5px; letter-spacing: .22em; font-weight: 700; fill: rgba(255,255,255,.85); }
.hero__badge img { position: absolute; inset: 0; margin: auto; width: 36px; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero__title { position: relative; align-self: center; font-family: var(--display); font-weight: 800; font-size: clamp(48px, min(10.5vw, 15.5vh), 170px); line-height: .92; letter-spacing: -.045em; text-transform: none; margin: 24px 0; white-space: nowrap; }
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line--outline .w { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); }
.hero__title em { color: var(--teal); font-family: inherit; font-style: normal; }
.char { display: inline-block; will-change: transform; }
.hero__bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -.03em; line-height: 1; }
.hero__stats span { font-size: 12px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.hero__scroll i { width: 1px; height: 48px; background: linear-gradient(180deg, var(--teal), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0) } 50% { transform: scaleY(1) } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ---------- Ticker ---------- */
.ticker { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); position: relative; z-index: 2; }
.ticker__row { overflow: hidden; }
.ticker__track { display: flex; align-items: center; gap: 32px; width: max-content; white-space: nowrap; }
.ticker__row--a .ticker__track span { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 8vw, 120px); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); line-height: 1.1; }
.ticker__row--a i { color: var(--teal); font-style: normal; font-size: 32px; }
.ticker__row--b { margin-top: 18px; }
.ticker__row--b .ticker__track span { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.ticker__row--b i { color: var(--teal); font-style: normal; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(120px, 16vw, 240px) var(--gutter); max-width: 1400px; }
.manifesto__text { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -.025em; }
.manifesto__text .word { display: inline-block; color: rgba(244,247,255,.18); transition: color .3s; margin-right: .22em; }
.manifesto__text .word.is-on { color: var(--white); }
.manifesto__meta { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 56px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.manifesto__meta span::before { content: "— "; color: var(--teal); }

/* ---------- Services (horizontal) ---------- */
.services { position: relative; }
.services__head { padding: 0 var(--gutter) 48px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 32px; }
.services__head .label { grid-column: 1 / -1; }
.services__hint { padding-bottom: 12px; }
.services__hint { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.services__hint i { display: inline-block; font-style: normal; color: var(--teal); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px) } }
.services__pin { height: 100vh; overflow: hidden; display: flex; align-items: center; }
.services__track { display: flex; gap: 24px; padding: 0 var(--gutter); will-change: transform; }
.svc {
  position: relative; flex: 0 0 clamp(320px, 42vw, 620px); height: min(74vh, 720px); padding: 36px; border-radius: 28px;
  background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .4s, transform .6s var(--ease-out);
}
.svc:hover { border-color: rgba(25,198,214,.5); }
.svc__num { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--teal); }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.4vw, 52px); line-height: .98; letter-spacing: -.03em; margin-top: auto; }
.svc p { margin-top: 18px; color: var(--dim); font-size: 15.5px; max-width: 460px; text-align: justify; hyphens: auto; }
.svc ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.svc li { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: rgba(255,255,255,.8); }
.svc__visual { position: absolute; top: 36px; right: 36px; width: 46%; height: 42%; pointer-events: none; }
.grid-viz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; height: 100%; }
.grid-viz i { border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--teal)); opacity: .15; animation: cell 3s ease-in-out infinite; }
.grid-viz i:nth-child(3n) { animation-delay: .4s } .grid-viz i:nth-child(5n) { animation-delay: .9s } .grid-viz i:nth-child(7n) { animation-delay: 1.4s } .grid-viz i:nth-child(2n) { animation-delay: 2s }
@keyframes cell { 50% { opacity: .9 } }
.rings { position: absolute; inset: 0; }
.rings i { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(47,107,255,.6); animation: ring 4s ease-out infinite; opacity: 0; width: 60%; aspect-ratio: 1; height: auto; }
.rings i:nth-child(2) { animation-delay: 1s } .rings i:nth-child(3) { animation-delay: 2s } .rings i:nth-child(4) { animation-delay: 3s }
@keyframes ring { 0% { transform: scale(.2); opacity: 1 } 100% { transform: scale(1.6); opacity: 0 } }
.phones { position: absolute; inset: 0; display: flex; justify-content: flex-end; gap: 10px; align-items: flex-start; }
.phones i { width: 30%; height: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(180deg, rgba(47,107,255,.35), rgba(25,198,214,.05)); animation: hover 3.6s ease-in-out infinite; }
.phones i:nth-child(2) { animation-delay: .6s; height: 85% } .phones i:nth-child(3) { animation-delay: 1.2s; height: 70% }
@keyframes hover { 50% { transform: translateY(-10px) } }
.svc__visual--ai { width: 100%; height: 100%; top: 0; right: 0; }
#ai-canvas { width: 100%; height: 100%; opacity: .7; }
.svc--ai { background: radial-gradient(120% 90% at 100% 0%, rgba(47,107,255,.35), var(--bg-2) 60%); }
.svc--end { background: var(--white); color: var(--bg); justify-content: center; }
.svc--end h3 { margin-top: 0; }
.svc--end p { color: rgba(5,7,15,.6); }
.svc--end .pill { margin-top: 28px; align-self: flex-start; background: var(--bg); color: var(--white); }
.svc--end .pill:hover { background: var(--blue); }

/* ---------- Products (stack) ---------- */
.products { padding: clamp(120px, 14vw, 220px) var(--gutter) 0; }
.products__head { margin-bottom: 64px; }
.stack { position: relative; }
.stack__card { position: sticky; top: 90px; display: block; margin-bottom: 40px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); transform-origin: top center; will-change: transform; z-index: 1; cursor: default; pointer-events: auto; }
.stack__card:nth-child(2) { z-index: 2 } .stack__card:nth-child(3) { z-index: 3 }
.stack__card:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (hover: none) { body { cursor: auto; } .stack__card { position: relative; top: auto; } }
.stack__card:last-child { margin-bottom: 0; }
.stack__inner { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px; }
.stack__card--datagram { background: linear-gradient(135deg, #0B2A5B 0%, #0A1836 60%, #071028 100%); }
.stack__card--moniteye { background: linear-gradient(135deg, #2A0A12 0%, #140A10 60%, #0A0608 100%); }
.stack__card--finvisio { background: linear-gradient(135deg, #063A3F 0%, #06202A 60%, #04131B 100%); }
.stack__text { padding: clamp(32px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.stack__tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 20px; }
.stack__card--moniteye .stack__tag { color: #FF4D63; }
.stack__text h3 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.6vw, 76px); letter-spacing: -.04em; line-height: .95; overflow-wrap: anywhere; }
.stack__text p { margin-top: 24px; color: rgba(255,255,255,.65); font-size: 17px; max-width: 460px; text-align: justify; hyphens: auto; }
.stack__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.stack__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .4s var(--ease-out); }
.stack__card:hover .stack__link svg { transform: translate(3px, -3px); }
.stack__visual { position: relative; padding: clamp(32px, 4vw, 64px); display: grid; place-items: stretch; min-width: 0; }
.stack__text { min-width: 0; }
.ui { width: 100%; height: 100%; min-height: 320px; display: grid; grid-template-columns: 56px 1fr; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; }
.ui__side { border-right: 1px solid rgba(255,255,255,.1); padding: 16px 12px; display: grid; gap: 14px; align-content: start; }
.ui__side i { height: 10px; border-radius: 3px; background: rgba(255,255,255,.18); }
.ui__side i:first-child { background: var(--teal); }
.ui__main { padding: 20px; display: grid; gap: 12px; align-content: start; }
.ui__row { height: 12px; border-radius: 4px; background: rgba(255,255,255,.14); }
.ui__row.w60 { width: 60% } .ui__row.w80 { width: 80% }
.ui__chart { display: flex; gap: 8px; align-items: flex-end; height: 150px; margin-top: 14px; }
.ui__chart b { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), var(--blue)); animation: bars 2.6s ease-in-out infinite; }
.ui__chart b:nth-child(1){height:40%} .ui__chart b:nth-child(2){height:70%;animation-delay:.2s} .ui__chart b:nth-child(3){height:55%;animation-delay:.4s} .ui__chart b:nth-child(4){height:90%;animation-delay:.6s} .ui__chart b:nth-child(5){height:65%;animation-delay:.8s} .ui__chart b:nth-child(6){height:80%;animation-delay:1s} .ui__chart b:nth-child(7){height:100%;animation-delay:1.2s}
@keyframes bars { 50% { transform: scaleY(.6); transform-origin: bottom } }
/* ---------- MonitEye camera scene (canvas) ---------- */
.cam { display: block; width: 100%; height: 100%; min-width: 0; min-height: 360px; border-radius: 18px; background: #0B0608; border: 1px solid rgba(255,255,255,.12); }
.cam.fin { background: #04131B; }
.stack__card--moniteye { background: linear-gradient(135deg, #2A0A12 0%, #140A10 60%, #0A0608 100%); }
.stack__card--finvisio { background: linear-gradient(135deg, #063A3F 0%, #06202A 60%, #04131B 100%); }
.stack__text { padding: clamp(32px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.stack__tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 20px; }
.stack__card--moniteye .stack__tag { color: #FF4D63; }
.stack__text h3 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.6vw, 76px); letter-spacing: -.04em; line-height: .95; overflow-wrap: anywhere; }
.stack__text p { margin-top: 24px; color: rgba(255,255,255,.65); font-size: 17px; max-width: 460px; text-align: justify; hyphens: auto; }
.stack__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.stack__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .4s var(--ease-out); }
.stack__card:hover .stack__link svg { transform: translate(3px, -3px); }
.stack__visual { position: relative; padding: clamp(32px, 4vw, 64px); display: grid; place-items: center; }
.ui { width: 100%; height: 100%; min-height: 320px; display: grid; grid-template-columns: 56px 1fr; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; }
.ui__side { border-right: 1px solid rgba(255,255,255,.1); padding: 16px 12px; display: grid; gap: 14px; align-content: start; }
.ui__side i { height: 10px; border-radius: 3px; background: rgba(255,255,255,.18); }
.ui__side i:first-child { background: var(--teal); }
.ui__main { padding: 20px; display: grid; gap: 12px; align-content: start; }
.ui__row { height: 12px; border-radius: 4px; background: rgba(255,255,255,.14); }
.ui__row.w60 { width: 60% } .ui__row.w80 { width: 80% }
.ui__chart { display: flex; gap: 8px; align-items: flex-end; height: 150px; margin-top: 14px; }
.ui__chart b { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), var(--blue)); animation: bars 2.6s ease-in-out infinite; }
.ui__chart b:nth-child(1){height:40%} .ui__chart b:nth-child(2){height:70%;animation-delay:.2s} .ui__chart b:nth-child(3){height:55%;animation-delay:.4s} .ui__chart b:nth-child(4){height:90%;animation-delay:.6s} .ui__chart b:nth-child(5){height:65%;animation-delay:.8s} .ui__chart b:nth-child(6){height:80%;animation-delay:1s} .ui__chart b:nth-child(7){height:100%;animation-delay:1.2s}
@keyframes bars { 50% { transform: scaleY(.6); transform-origin: bottom } }
/* ---------- MonitEye camera viewfinder ---------- */
.cam { position: relative; width: 100%; height: 100%; min-height: 340px; border-radius: 18px; overflow: hidden; background: #0B0608; border: 1px solid rgba(255,255,255,.12); font-family: var(--body); color: #fff; }
.cam__feed { position: absolute; inset: 0; background: linear-gradient(180deg, #1A1216 0%, #0D0A0C 100%); }
.cam__belt { position: absolute; left: 0; right: 0; top: 56%; height: 24%; background: repeating-linear-gradient(90deg, #262026 0 60px, #1C171C 60px 120px); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); animation: belt 2.4s linear infinite; }
@keyframes belt { to { background-position: -120px 0; } }
.cam__parts { position: absolute; left: 0; right: 0; top: 46%; height: 26%; }
.cam__parts i { position: absolute; top: 0; width: 86px; height: 58px; border-radius: 12px; background: linear-gradient(135deg, #C4CEDF, #6B7A96); box-shadow: 0 14px 28px -12px #000; animation: parts 7.2s linear infinite; }
.cam__parts i:nth-child(1) { animation-delay: 0s } .cam__parts i:nth-child(2) { animation-delay: -1.8s } .cam__parts i:nth-child(3) { animation-delay: -3.6s } .cam__parts i:nth-child(4) { animation-delay: -5.4s }
.cam__parts i.bad::after { content: ""; position: absolute; left: 30%; top: 40%; width: 34%; height: 2px; background: #3A2A2E; transform: rotate(-22deg); border-radius: 2px; }
@keyframes parts { from { left: -100px } to { left: 110% } }
.cam__worker { position: absolute; right: 12%; top: 18%; width: 34px; height: 60px; }
.cam__worker b { display: block; width: 22px; height: 22px; border-radius: 50%; background: #F2C94C; margin: 0 auto; box-shadow: inset 0 -6px 0 #C79A1E; }
.cam__worker span { display: block; width: 30px; height: 34px; margin: 3px auto 0; border-radius: 8px 8px 4px 4px; background: #F2994A; }
.cam__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 33.33% 33.33%; pointer-events: none; }
.cam__corner { position: absolute; width: 26px; height: 26px; border: 2px solid #FF4D63; }
.cam__corner.tl { top: 40px; left: 18px; border-right: 0; border-bottom: 0 } .cam__corner.tr { top: 40px; right: 18px; border-left: 0; border-bottom: 0 } .cam__corner.bl { bottom: 44px; left: 18px; border-right: 0; border-top: 0 } .cam__corner.br { bottom: 44px; right: 18px; border-left: 0; border-top: 0 }
.cam__focus { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%,-50%); border: 1.5px solid rgba(255,255,255,.7); border-radius: 6px; animation: focus 3.6s var(--ease) infinite; }
.cam__focus::before, .cam__focus::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,255,255,.7); }
.cam__focus::before { width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px } .cam__focus::after { width: 1.5px; height: 14px; margin: -7px 0 0 -0.75px }
@keyframes focus { 0% { width: 200px; height: 200px; opacity: .3 } 30% { width: 120px; height: 120px; opacity: 1; border-color: #4ADE80 } 70% { width: 120px; height: 120px; opacity: 1; border-color: #4ADE80 } 100% { width: 200px; height: 200px; opacity: .3 } }
.cam__det { position: absolute; border: 2px solid; border-radius: 6px; opacity: 0; }
.cam__det span { position: absolute; left: -2px; top: -22px; padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; border-radius: 4px 4px 0 0; color: #0B0608; }
.cam__det--ok { border-color: #4ADE80; width: 100px; height: 70px; top: 44%; animation: detOk 7.2s linear infinite; } .cam__det--ok span { background: #4ADE80 }
.cam__det--ng { border-color: #FF4D63; width: 100px; height: 70px; top: 44%; animation: detNg 7.2s linear infinite; animation-delay: -1.8s } .cam__det--ng span { background: #FF4D63 }
.cam__det--ppe { border-color: #19C6D6; right: 9%; top: 14%; width: 56px; height: 72px; animation: detPpe 4s ease-in-out infinite; } .cam__det--ppe span { background: #19C6D6; left: auto; right: -2px; }
@keyframes detOk { 0%,34% { opacity: 0; left: 30% } 38% { opacity: 1 } 60% { opacity: 1; left: 52% } 64%,100% { opacity: 0; left: 56% } }
@keyframes detNg { 0%,34% { opacity: 0; left: 30% } 38% { opacity: 1 } 60% { opacity: 1; left: 52% } 64%,100% { opacity: 0; left: 56% } }
@keyframes detPpe { 0%,20% { opacity: 0 } 30%,80% { opacity: 1 } 90%,100% { opacity: 0 } }
.cam__scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #FF4D63, transparent); box-shadow: 0 0 18px #FF4D63; animation: scan 3.6s ease-in-out infinite; opacity: .8; }
@keyframes scan { 0%,100% { top: 12% } 50% { top: 88% } }
.cam__flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 7.2s linear infinite; pointer-events: none; }
@keyframes flash { 0%,37% { opacity: 0 } 38% { opacity: .55 } 40%,100% { opacity: 0 } }
.cam__top, .cam__bottom { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-family: var(--mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.cam__top { top: 0; background: linear-gradient(180deg, rgba(0,0,0,.6), transparent); } .cam__bottom { bottom: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
.cam__rec { display: inline-flex; align-items: center; gap: 6px; color: #FF4D63; font-weight: 700; } .cam__rec i { width: 8px; height: 8px; border-radius: 50%; background: #FF4D63; animation: live 1s steps(2) infinite; }
.cam__time { font-variant-numeric: tabular-nums; }
.cam__battery { width: 22px; height: 10px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 2px; position: relative; } .cam__battery::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: rgba(255,255,255,.7); } .cam__battery i { position: absolute; inset: 2px; width: 70%; background: #4ADE80; }
.stack__card--moniteye { background: linear-gradient(135deg, #2A0A12 0%, #140A10 60%, #0A0608 100%); }

@keyframes draw { 0% { stroke-dashoffset: 900 } 55%,100% { stroke-dashoffset: 0 } }
@keyframes fade { 0%,45% { opacity: 0 } 65%,100% { opacity: 1 } }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(72px, 8vw, 120px) var(--gutter); gap: 24px; border-bottom: 1px solid var(--line); }
.numbers__item b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.2vw, 72px); letter-spacing: -.05em; line-height: .9; background: linear-gradient(90deg, var(--white), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers__item span { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 600; }

/* ---------- References ---------- */
.refs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ref { position: relative; min-height: 150px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.03); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: transform .5s var(--ease), border-color .3s, background .3s; overflow: hidden; }
.ref::before { content: ""; position: absolute; inset: 0; background: radial-gradient(300px circle at 50% 0%, rgba(25,198,214,.18), transparent 60%); opacity: 0; transition: opacity .4s; }
.ref:hover { transform: translateY(-6px); border-color: rgba(25,198,214,.45); background: rgba(255,255,255,.06); }
.ref:hover::before { opacity: 1; }
.ref__logo { position: relative; height: 44px; display: flex; align-items: center; }
.ref__logo img { max-height: 40px; max-width: 150px; width: auto; filter: brightness(0) invert(1); opacity: .85; transition: opacity .3s; }
.ref:hover .ref__logo img { opacity: 1; }
.ref__logo b { display: none; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.ref__meta { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ref__name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }
.ref.is-text .ref__name { display: none; }
.ref.is-text .ref__logo b { display: block; }
.ref__tag { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; white-space: nowrap; }

/* ---------- Work ---------- */
.work { padding: clamp(120px, 14vw, 220px) var(--gutter); position: relative; }
.work__head { margin-bottom: 56px; }
.worklist__item { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 24px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease-out), color .3s; }
.worklist__item:last-child { border-bottom: 1px solid var(--line); }
.worklist__item:hover { padding-left: 24px; }
.worklist__client { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 44px); letter-spacing: -.03em; }
.worklist__title { font-size: 16px; color: var(--dim); transition: color .3s; }
.worklist__item:hover .worklist__title { color: var(--white); }
.worklist__tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 700; text-align: right; }
.work__preview { position: fixed; top: 0; left: 0; width: 300px; height: 200px; border-radius: 20px; pointer-events: none; z-index: 50; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .3s, transform .5s var(--ease-out); overflow: hidden; display: grid; place-items: center; }
.work__preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.work__preview span { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -.04em; color: #fff; mix-blend-mode: overlay; }
.quotes { position: relative; min-height: 220px; margin-top: clamp(80px, 10vw, 140px); max-width: 980px; }
.quote { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.quote.is-active { opacity: 1; transform: none; }
.quote p { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 48px); line-height: 1.2; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; }

/* ---------- Approach ---------- */
.approach { padding: clamp(120px, 14vw, 220px) var(--gutter); background: var(--white); color: var(--bg); }
.approach .label { color: var(--blue); }
.approach .h2 em { color: var(--blue); }
.approach__head { margin-bottom: 72px; }
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; }
.path__line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(11,42,91,.12); }
.path__line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.path__step b { display: block; font-family: var(--display); font-weight: 800; font-size: 64px; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.path__step h3 { font-family: var(--display); font-weight: 700; font-size: 26px; margin-top: 18px; letter-spacing: -.02em; }
.path__step p { margin-top: 12px; color: rgba(5,7,15,.6); font-size: 15px; }

/* ---------- Team ---------- */
.team { padding: clamp(120px, 14vw, 220px) var(--gutter); }
.team__head { margin-bottom: 56px; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.people li { padding: 36px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; position: relative; overflow: hidden; transition: color .3s; }
.people li::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue), var(--teal)); transform: translateY(100%); transition: transform .6s var(--ease); z-index: 0; }
.people li:hover::before { transform: none; }
.people li > * { position: relative; z-index: 1; }
.people span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.people em { font-family: var(--body); font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; transition: color .3s; }
.people li:hover em { color: rgba(255,255,255,.85); }
.people__more span { color: var(--teal); }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(140px, 16vw, 260px) var(--gutter); overflow: hidden; border-top: 1px solid var(--line); }
.contact__shader { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 70%, var(--bg) 100%); pointer-events: none; }
.contact__inner { position: relative; z-index: 2; }
.contact__title { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 9.5vw, 150px); white-space: nowrap; line-height: .92; letter-spacing: -.045em; }
.contact__title .outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); }
.contact__title em { color: var(--teal); font-family: inherit; font-style: normal; }
.contact__row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 56px; }
.contact__mail { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.6vw, 36px); letter-spacing: -.02em; border-bottom: 2px solid var(--teal); padding-bottom: 4px; }
.form { margin-top: 48px; max-width: 820px; display: grid; gap: 14px; }
.form[hidden] { display: none; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--white); padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); outline: 0; transition: border-color .3s; backdrop-filter: blur(10px); }
.form select option { color: var(--bg); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.4); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); }
.form button { justify-self: start; }

/* ---------- Footer ---------- */
.footer { padding: 72px var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.7; }
.footer__col span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 10px; }
.footer__col a:hover { color: var(--teal); }
.footer__big { margin-top: 72px; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 8.6vw, 160px); letter-spacing: -.05em; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25); white-space: nowrap; text-align: center; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); letter-spacing: .06em; }
.footer__bottom a:hover { color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .refs { grid-template-columns: repeat(3, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .stack__inner { grid-template-columns: 1fr; }
  .stack__visual { display: none; }
  .stack__inner { min-height: 420px; }
}
@media (max-width: 720px) {
  .nav__meta { display: none; }
  .nav__logo img { height: 48px; }
  .hero { padding-top: 100px; }
  .hero__badge { width: 88px; height: 88px; }
  .hero__badge img { width: 26px; }
  .hero__title { font-size: clamp(40px, 12vw, 80px); }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__badge { position: absolute; right: var(--gutter); top: 100px; }
  .hero__top { min-height: 100px; }
  .hero__stats { gap: 24px; }
  .hero__scroll { display: none; }
  .services__pin { height: auto; overflow: visible; display: block; }
  .services__track { flex-direction: column; transform: none !important; }
  .svc { flex-basis: auto; height: auto; min-height: 480px; }
  .svc__visual { opacity: .5; }
  .stack__card { position: relative; top: auto; }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact__title { font-size: clamp(40px, 13vw, 90px); }
  .numbers__item b { font-size: 56px; }
  .menu__foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .grain { display: none; }
}
