/* Elevate Systems — techwebsite demo (portfolio) */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/_vinext_fonts/geist-8ac0455e797f/geist-98bbbccb.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: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/_vinext_fonts/geist-8ac0455e797f/geist-001175b1.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/_vinext_fonts/geist-mono-00e989178794/geist-mono-013b2f2f.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 {
  --bg: #050709;
  --bg2: #0b0f14;
  --ink: #eef2f6;
  --muted: #8a94a3;
  --line: rgba(255,255,255,.08);
  --cyan: #38f2ff;
  --violet: #7c5cff;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1240px;
  --ease: cubic-bezier(.2,.7,.1,1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; max-width: 100%; }
::selection { background: var(--cyan); color: #04141a; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cyan);
}
.display { font-size: clamp(36px, 5.2vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; margin-top: 16px; }
.lead { color: var(--muted); font-size: 18px; max-width: 42ch; margin-top: 22px; }

/* ---------- overlays ---------- */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 60; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(-4%,3%)} 100%{transform:translate(3%,-5%)} }
.cursorGlow {
  pointer-events: none; position: fixed; z-index: 1; width: 520px; height: 520px; left: 0; top: 0;
  border-radius: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(56,242,255,.10), rgba(124,92,255,.05) 40%, transparent 65%);
  opacity: 0; transition: opacity .6s;
}
body.hasPointer .cursorGlow { opacity: 1; }

.demoTag {
  position: fixed; left: 18px; bottom: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(5,7,9,.7); backdrop-filter: blur(10px); color: var(--muted);
  transition: color .2s, border-color .2s;
}
.demoTag:hover { color: var(--ink); border-color: rgba(255,255,255,.25); }
.demoTagDot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: padding .3s, background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 10px 0; background: rgba(5,7,9,.72); backdrop-filter: blur(14px); border-color: var(--line); }
.navInner { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logoMark { display: inline-flex; gap: 3px; }
.logoMark i { width: 6px; background: var(--ink); border-radius: 1px; }
.logoMark i:nth-child(1) { height: 10px; } .logoMark i:nth-child(2) { height: 16px; } .logoMark i:nth-child(3) { height: 22px; }
.logoText { font-size: 14px; letter-spacing: .14em; font-weight: 400; }
.logoText b { font-weight: 700; margin-left: .35em; }
.navLinks { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.navLinks a { position: relative; padding: 4px 0; transition: color .2s; }
.navLinks a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--cyan); transition: right .3s var(--ease); }
.navLinks a:hover { color: var(--ink); } .navLinks a:hover::after { right: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: #06090c; font-weight: 500; font-size: 15px; letter-spacing: -.01em;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .3s;
  will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--cyan), #9dd7ff 45%, var(--violet)); opacity: 0; transition: opacity .3s; }
.btn:hover::before { opacity: 1; }
.btn:hover { box-shadow: 0 10px 40px rgba(56,242,255,.25); }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translate(3px,-3px); }
.btnSmall { padding: 10px 16px; font-size: 13.5px; }
.btnBig { padding: 20px 30px; font-size: clamp(16px, 2vw, 22px); }

/* ---------- hero ---------- */
.heroTrack { height: 600vh; position: relative; }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.heroVideo, .heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heroVideo { opacity: 0; transition: opacity .8s; }
.hero.videoReady .heroVideo { opacity: 1; }
.hero.videoReady .heroCanvas { opacity: 0; transition: opacity .8s; }
.heroVignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(5,7,9,.3) 100%),
    linear-gradient(to top, rgba(5,7,9,.85), transparent 30%),
    linear-gradient(to bottom, rgba(5,7,9,.45), transparent 18%);
}

.heroHud {
  position: absolute; left: 24px; right: 24px; bottom: 66px; z-index: 3;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase;
  display: grid; gap: 10px;
}
.hudRow { display: flex; justify-content: space-between; }
.hudLabel { display: inline-flex; align-items: center; gap: 8px; }
.hudRec { width: 7px; height: 7px; border-radius: 50%; background: #ff4d5e; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hudProgress { height: 1px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.hudProgress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hudChapters { justify-content: space-between; }
.hudChapters span { transition: color .3s; }
.hudChapters span.on { color: var(--cyan); }

.heroStages { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stage { position: absolute; opacity: 0; transform: translateY(24px); transition: none; will-change: opacity, transform; }
.stage .btn, .stage a { pointer-events: auto; }
.stage h2 { font-size: clamp(30px, 4.4vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; margin: 14px 0 16px; }
.stage p { color: var(--muted); font-size: 17px; max-width: 38ch; }

.stageIntro { left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(var(--wrap), calc(100% - 48px)); text-align: left; }
.stageIntro h1 { font-size: clamp(52px, 10vw, 150px); font-weight: 500; letter-spacing: -.045em; line-height: .92; margin: 22px 0 26px; }
.stageIntro h1 em { font-style: normal; background: linear-gradient(110deg, var(--cyan), #fff 55%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stageIntro p { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scrollHint { width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; margin-top: 26px; position: relative; }
.scrollHint span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--cyan); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(14px);opacity:0} 100%{opacity:0} }

.stageSide { left: max(24px, calc((100% - var(--wrap)) / 2)); bottom: 130px; width: min(520px, calc(100% - 48px)); }
.stageSide.right { left: auto; right: max(24px, calc((100% - var(--wrap)) / 2)); }
.stageFinal { left: 50%; top: 56%; width: min(var(--wrap), calc(100% - 48px)); text-align: center; }
.stageFinal h2 { font-size: clamp(36px, 6vw, 84px); max-width: 14ch; margin-inline: auto; }
.stageFinal .btn { margin-top: 12px; }

/* reduced motion: video plays, stages stack */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .hudRec, .scrollHint span { animation: none; }
}
body.noScrub .heroTrack { height: auto; }
body.noScrub .hero { position: relative; }
body.noScrub .stage { position: static; opacity: 1; transform: none; padding: 24px; }
body.noScrub .heroStages { position: relative; padding-top: 30vh; }
body.noScrub .heroHud { display: none; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg2); }
.marqueeTrack { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marqueeTrack i { color: var(--cyan); font-style: normal; font-size: 9px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.secLine { border-top: 1px solid var(--line); }
.secHead { max-width: 720px; margin-bottom: 56px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 14px; }
.tile {
  grid-column: span 1; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); overflow: hidden; position: relative;
  transition: border-color .3s, transform .4s var(--ease);
}
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(56,242,255,.12), transparent 60%); }
.tile:hover { border-color: rgba(56,242,255,.35); transform: translateY(-3px); }
.tile:hover::after { opacity: 1; }
.tileWide { grid-column: span 2; }
.tileTall { grid-row: span 2; }
.tile:last-child { grid-column: span 3; }
.tileVisual { flex: 1; position: relative; overflow: hidden; min-height: 120px; }
.tileBody { padding: 22px 24px 24px; border-top: 1px solid var(--line); }
.tileBody small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.tileBody h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; margin: 8px 0 6px; }
.tileBody p { color: var(--muted); font-size: 15px; }

/* chip visual */
.visualChip { background: radial-gradient(circle at 50% 50%, rgba(124,92,255,.15), transparent 60%); }
.chip { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%,-50%); border-radius: 14px; border: 1px solid rgba(255,255,255,.25); background: #0d1218; box-shadow: 0 0 40px rgba(56,242,255,.15), inset 0 0 0 10px #0a0e13; }
.chip span { position: absolute; inset: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--cyan), var(--violet)); animation: chipPulse 2.4s ease-in-out infinite; }
@keyframes chipPulse { 50% { filter: brightness(1.6); box-shadow: 0 0 30px rgba(56,242,255,.6); } }
.chipTrace { position: absolute; top: 50%; height: 1px; width: 32%; background: linear-gradient(90deg, transparent, var(--cyan)); overflow: hidden; }
.chipTrace::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px var(--cyan); animation: trace 2s linear infinite; }
.t1 { left: 8%; margin-top: -18px; } .t2 { left: 8%; margin-top: 18px; animation-delay: 1s; }
.t3 { right: 8%; margin-top: -18px; transform: scaleX(-1); } .t4 { right: 8%; margin-top: 18px; transform: scaleX(-1); }
.t2::after, .t4::after { animation-delay: .9s; }
@keyframes trace { from { left: -6px; } to { left: 100%; } }

/* terminal visual */
.visualTerminal { padding: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.visualTerminal pre { margin: 0; white-space: pre-wrap; color: #b8c2cf; }
.visualTerminal pre::after { content: "▍"; color: var(--cyan); animation: blink 1s infinite; }

/* bars visual */
.visualBars { display: flex; align-items: flex-end; gap: 8px; padding: 26px 26px 0; }
.visualBars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(to top, rgba(56,242,255,.15), var(--cyan)); transform-origin: bottom; animation: bar 3s var(--ease) infinite alternate; }
.visualBars i:nth-child(odd) { animation-duration: 3.8s; } .visualBars i:nth-child(3n) { animation-delay: .6s; }
@keyframes bar { to { transform: scaleY(.55); } }

/* orbit visual */
.visualOrbit { display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; animation: spin linear infinite; }
.orbit b { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.o1 { width: 110px; height: 110px; animation-duration: 8s; }
.o2 { width: 190px; height: 190px; animation-duration: 14s; animation-direction: reverse; }
.o2 b { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.o3 { width: 270px; height: 270px; animation-duration: 22s; }
.core { width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 40px rgba(255,255,255,.6), 0 0 80px rgba(56,242,255,.4); }
@keyframes spin { to { transform: rotate(360deg); } }

/* mini app visual */
.visualGrid { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; display: grid; place-items: end center; padding: 26px 26px 0; }
.miniApp { width: min(360px, 100%); background: #0b0f14; border: 1px solid rgba(255,255,255,.14); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 12px; box-shadow: 0 -20px 60px rgba(124,92,255,.15); }
.miniTop { display: flex; gap: 5px; margin-bottom: 10px; } .miniTop i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.miniCards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.miniCards span { height: 34px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.miniCards span::after { content: ""; position: absolute; left: 8px; bottom: 6px; height: 3px; width: 40%; background: var(--cyan); border-radius: 2px; animation: grow 3s var(--ease) infinite alternate; }
.miniCards span:nth-child(2)::after { background: var(--violet); animation-delay: .8s; }
@keyframes grow { to { width: 75%; } }
.miniLine { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); margin-top: 6px; }
.w1 { width: 80%; } .w2 { width: 55%; } .w3 { width: 66%; }

/* ---------- aanpak ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.splitSticky { position: sticky; top: 120px; align-self: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 36px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.stepNum { font-family: var(--mono); font-size: 13px; color: var(--cyan); padding-top: 6px; }
.step h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 46ch; }

/* ---------- stats ---------- */
.stats { padding: 0; border-top: 1px solid var(--line); }
.statGrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 28px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(40px, 5vw, 68px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b i { color: var(--cyan); font-style: normal; }
.stat small { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- stack ---------- */
.stackGrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stackGrid li { background: var(--bg); padding: 30px 18px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); transition: color .3s, background .3s; }
.stackGrid li:hover { color: var(--ink); background: rgba(56,242,255,.06); }

/* ---------- manifest ---------- */
.manifest { border-top: 1px solid var(--line); background: radial-gradient(60% 50% at 50% 100%, rgba(124,92,255,.14), transparent 70%); }
.manifestText { font-size: clamp(26px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.03em; line-height: 1.18; max-width: 24ch; margin-bottom: 36px; }
.manifestText .w { display: inline-block; color: rgba(238,242,246,.18); transition: color .4s; }
.manifestText .w.on { color: var(--ink); }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contactInner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.contactActions p { color: var(--muted); margin-top: 20px; max-width: 40ch; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 90px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.footInner { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.footNote { max-width: 48ch; }
.footTop:hover { color: var(--cyan); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .tileTall { grid-row: span 1; }
  .tile:last-child { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .splitSticky { position: static; }
  .statGrid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 32px 20px; } .stat:nth-child(2) { border-right: 0; } .stat:first-child { padding-left: 0; }
  .stackGrid { grid-template-columns: repeat(3, 1fr); }
  .contactInner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .navLinks { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tileWide, .tile:last-child { grid-column: span 1; }
  .stageSide, .stageSide.right { left: 24px; right: 24px; width: auto; bottom: 150px; }
  .heroTrack { height: 500vh; }
  .stackGrid { grid-template-columns: repeat(2, 1fr); }
  .demoTag { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
  .foot { padding-bottom: 110px; }
  .stat b { font-size: 40px; }
}
