/* ==========================================================
   Arffy Technologies: dark glass theme
   ========================================================== */
:root {
  --bg: #07060d;
  --bg-2: #0c0a16;
  --bg-3: #120f20;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eeecf8;
  --muted: #9d99b8;
  --dim: #6c6888;

  --violet: #8b5cf6;
  --purple: #6a2fd0;
  --lav: #a99bfa;
  --pink: #e45fb6;
  --green: #3fd17a;
  --deep: #2a0f63;

  --grad: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 30%, #e45fb6 65%, #3fd17a 100%);
  --grad-btn: linear-gradient(110deg, #7c3aed, #a855f7 45%, #e45fb6);

  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;

  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
strong, b { color: #fff; font-weight: 600; }
::selection { background: var(--violet); color: #fff; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.mono { font-family: var(--f-mono); }

/* ---------- ambient layers ---------- */
.noise {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; gap: 22px;
  background: var(--bg); transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__tiles { position: relative; width: 84px; height: 78px; margin: 0 auto; }
.loader__tiles span {
  position: absolute; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.35); animation: tilePop 1.4s var(--ease) infinite;
}
.loader__tiles span:nth-child(1) { left: 10px; top: 0; background: #7c3aed; }
.loader__tiles span:nth-child(2) { left: 46px; top: 0; background: #8f7cf3; animation-delay: .1s; }
.loader__tiles span:nth-child(3) { left: 0; top: 28px; background: #d9479f; animation-delay: .2s; }
.loader__tiles span:nth-child(4) { left: 22px; top: 20px; width: 44px; height: 44px; background: #3b1a85; opacity: .9; animation-delay: .3s; }
.loader__tiles span:nth-child(5) { left: 52px; top: 44px; background: #2fb862; animation-delay: .4s; }
@keyframes tilePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(.82) rotate(-6deg); } }
.loader__word { font-family: var(--f-head); font-weight: 700; letter-spacing: .5em; margin: 0; padding-left: .5em; color: var(--muted); font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  font-family: var(--f-head); letter-spacing: .01em; cursor: pointer; border: 0;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease-out), box-shadow .35s, background .35s, border-color .35s;
}
.btn .arrow { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--glow { color: #fff; background: var(--grad-btn); box-shadow: 0 10px 40px -10px rgba(168, 85, 247, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--glow:hover { box-shadow: 0 16px 50px -8px rgba(228, 95, 182, .7), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost { color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(169, 155, 250, .6); background: rgba(139, 92, 246, .1); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(63, 209, 122, .18); animation: blink 2s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(63, 209, 122, 0); } }

/* ---------- nav ---------- */
/* No transform/backdrop-filter on .nav itself: either would trap the fixed mobile menu inside the bar */
.nav {
  position: fixed; z-index: 90; top: 16px; left: 16px; right: 16px; margin-inline: auto;
  max-width: 1200px;
  display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 20px;
  border-radius: 999px; border: 1px solid transparent;
  transition: border-color .4s, top .4s, box-shadow .4s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(12, 10, 22, .65); opacity: 0; transition: opacity .4s;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav.scrolled { top: 10px; border-color: var(--line); box-shadow: 0 10px 40px -20px rgba(0,0,0,.8); }
.nav.scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: .12em; }
.brand img { width: 34px; height: auto; filter: drop-shadow(0 4px 12px rgba(139, 92, 246, .5)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted);
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: #fff; }
.nav__links a.active { color: #fff; background: rgba(139, 92, 246, .16); }
.nav__cta-mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__aurora {
  position: absolute; inset: -20% -10% auto; height: 120%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 35% at 75% 35%, rgba(124, 58, 237, .35), transparent 70%),
    radial-gradient(30% 30% at 90% 70%, rgba(63, 209, 122, .14), transparent 70%),
    radial-gradient(35% 30% at 15% 20%, rgba(228, 95, 182, .14), transparent 70%);
  filter: blur(20px);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(transparent, var(--bg)); z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(54px, 9vw, 128px); font-weight: 700; line-height: .95; letter-spacing: -.045em; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); }
.hero__title.in .line > span { transform: none; }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(238, 236, 248, .55); }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 40px; }
.hero__locs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__locs li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.025); font-size: 13.5px; color: var(--muted); }
.hero__locs b { color: var(--lav); font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }

/* glass stack (logo-inspired) */
.hero__visual { position: relative; height: 520px; perspective: 1200px; }
.glass-stack { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.gs {
  position: absolute; border-radius: 30px;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -20px 40px rgba(0,0,0,.15), 0 30px 60px -20px rgba(0,0,0,.6);
  animation: floaty 9s ease-in-out infinite;
}
.gs::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.28), transparent 45%); pointer-events: none; }
.gs--1 { left: 14%; top: 4%; width: 46%; height: 40%; background: linear-gradient(135deg, rgba(139, 75, 232, .85), rgba(106, 47, 208, .7)); transform: translateZ(20px); }
.gs--2 { left: 56%; top: 6%; width: 40%; height: 38%; background: linear-gradient(135deg, rgba(169, 155, 250, .75), rgba(127, 108, 240, .6)); animation-delay: -2s; transform: translateZ(40px); }
.gs--3 { left: 2%; top: 38%; width: 36%; height: 38%; background: linear-gradient(135deg, rgba(242, 138, 203, .8), rgba(201, 54, 154, .65)); animation-delay: -4s; transform: translateZ(60px); }
.gs--4 { left: 26%; top: 30%; width: 52%; height: 50%; background: linear-gradient(135deg, rgba(74, 30, 154, .78), rgba(42, 15, 99, .78)); animation-delay: -1s; transform: translateZ(90px); z-index: 2; }
.gs--5 { left: 60%; top: 58%; width: 36%; height: 36%; background: linear-gradient(135deg, rgba(79, 216, 132, .78), rgba(30, 158, 78, .65)); animation-delay: -6s; transform: translateZ(120px); z-index: 3; }
@keyframes floaty { 50% { translate: 0 -14px; } }
.gs__label { position: absolute; left: 18px; bottom: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.9); }
.gs--1 .gs__label, .gs--2 .gs__label, .gs--3 .gs__label { top: 16px; bottom: auto; }
.gs__core { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.gs__core .mono { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .14em; text-transform: uppercase; }
.gs__core strong { font-family: var(--f-head); font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.spark { width: 70%; margin-top: 12px; }
.spark polyline { fill: none; stroke: #6ee7a8; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 2.4s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.float-chip {
  position: absolute; z-index: 5; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(15, 12, 28, .7); border: 1px solid var(--line-2); backdrop-filter: blur(12px);
  display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 14px 40px -14px rgba(0,0,0,.8);
  animation: floaty 7s ease-in-out infinite;
}
.chip-a { left: -4%; bottom: 10%; }
.chip-b { right: -2%; top: -2%; animation-delay: -3s; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 0 rgba(63, 209, 122, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(63, 209, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 209, 122, 0); } }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 28px; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2); transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--lav); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); padding: 20px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-head); font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: var(--muted); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad-btn); transform: rotate(45deg); opacity: .8; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sec-head { position: relative; max-width: 900px; margin-bottom: clamp(48px, 7vw, 80px); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.sec-num {
  position: absolute; right: 100%; margin-right: 24px; top: -6px;
  font-family: var(--f-mono); font-size: 12px; color: var(--dim);
  writing-mode: vertical-rl; letter-spacing: .3em;
}
.sec-head--split .sec-num { position: static; writing-mode: initial; display: block; margin-bottom: 10px; }
.sec-title { font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: -.035em; }
.sec-lead { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.about__story p { color: var(--muted); font-size: 17px; }
.about__tagline { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-family: var(--f-head); font-size: 18px; font-weight: 500; }
.vm { display: grid; gap: 20px; }
.vm__card {
  position: relative; overflow: hidden; padding: 30px; border-radius: 28px 28px 28px 6px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line); transform-style: preserve-3d;
  transition: border-color .4s, transform .5s var(--ease-out);
}
.vm__card:hover { border-color: rgba(169, 155, 250, .35); }
.vm__card p, .vm__card li { color: var(--muted); }
.vm__card--mission { border-radius: 6px 28px 28px 28px; margin-left: clamp(0px, 4vw, 50px); }
.vm__tag { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: rgba(139, 92, 246, .16); color: var(--lav); }
.vm__card--mission .vm__tag { background: rgba(63, 209, 122, .14); color: #7ee2a6; }
.vm__card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vm__card ol b { font-family: var(--f-mono); color: #7ee2a6; margin-right: 8px; font-weight: 500; }
.vm__shape { position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 30px; background: var(--grad-btn); opacity: .18; filter: blur(2px); transform: rotate(18deg); }
.vm__card--mission .vm__shape { background: linear-gradient(135deg, #3fd17a, #8b5cf6); }

.factors { margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: var(--radius); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.factor { padding: 30px 26px; background: var(--bg); transition: background .4s; }
.factor:hover { background: var(--bg-3); }
.factor__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, rgba(139, 92, 246, .25), rgba(228, 95, 182, .12)); border: 1px solid rgba(169, 155, 250, .25); }
.factor__icon svg { width: 24px; height: 24px; fill: none; stroke: #d6ceff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.factor h3 { font-size: 20px; margin-bottom: 10px; }
.factor p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.bento__item {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  transition: border-color .4s, transform .5s var(--ease-out);
  isolation: isolate;
}
.bento__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--gx) var(--gy), rgba(139, 92, 246, .22), transparent 45%);
}
.bento__item:hover { border-color: rgba(169, 155, 250, .4); }
.bento__item:hover::before { opacity: 1; }
.bento__item--xl { grid-column: span 2; grid-row: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.bento__kicker { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); margin-bottom: 10px; }
.bento__item h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 10px; }
.bento__item--xl h3 { font-size: clamp(26px, 3vw, 36px); }
.bento__item p { color: var(--muted); font-size: 15px; margin: 0; }
.bento__go { margin-top: 18px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #fff; opacity: .6; transition: opacity .3s, transform .3s var(--ease); }
.bento__item:hover .bento__go { opacity: 1; transform: translateX(4px); }
.bento__art { flex: 1; display: grid; place-items: center; margin-bottom: 20px; min-height: 110px; }
.art-sap svg { width: min(100%, 360px); }
.art-sap .orbit circle { fill: none; stroke: rgba(169, 155, 250, .3); stroke-dasharray: 4 6; animation: spin 30s linear infinite; transform-origin: 150px 90px; }
.art-sap .orbit circle:last-child { animation-direction: reverse; animation-duration: 20s; }
.art-sap .nodes circle { fill: var(--lav); animation: nodePulse 3s ease-in-out infinite; }
.art-sap .nodes circle:nth-child(2n) { fill: var(--pink); animation-delay: -1s; }
.art-sap .nodes circle:nth-child(3n) { fill: var(--green); animation-delay: -2s; }
.art-sap .core { fill: rgba(124, 58, 237, .5); stroke: rgba(255,255,255,.4); }
.art-sap text { fill: #fff; font-family: var(--f-head); font-weight: 700; font-size: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nodePulse { 50% { opacity: .35; } }
.art-ai svg { width: 160px; }
.art-ai .ring { fill: none; stroke: rgba(228, 95, 182, .5); stroke-dasharray: 2 8; transform-origin: 80px 80px; animation: spin 18s linear infinite; }
.art-ai .r2 { stroke: rgba(169, 155, 250, .6); animation-direction: reverse; animation-duration: 12s; }
.art-ai .ai-core { fill: url(#none); fill: rgba(139, 92, 246, .7); stroke: #fff; stroke-opacity: .4; animation: corePulse 2.4s ease-in-out infinite; transform-origin: 80px 80px; }
.art-ai .spokes line { stroke: rgba(63, 209, 122, .6); stroke-width: 2; stroke-linecap: round; }
@keyframes corePulse { 50% { transform: scale(1.15); } }
.art-iot svg { width: 100%; }
.art-iot .route { fill: none; stroke: rgba(169, 155, 250, .45); stroke-width: 2; stroke-dasharray: 6 6; }
.art-iot .truck { fill: var(--green); filter: drop-shadow(0 0 6px var(--green)); }
.art-iot .pin { fill: var(--pink); }

/* ---------- product explorer ---------- */
.explorer { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.explorer__list { display: flex; flex-direction: column; gap: 4px; max-height: 640px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(139, 92, 246, .4) transparent; }
.explorer__tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 13px 16px; border-radius: 14px; border: 1px solid transparent; background: none;
  color: var(--muted); font-family: var(--f-head); font-size: 15.5px; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
.explorer__tab i { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--dim); width: 20px; }
.explorer__tab:hover { color: #fff; background: rgba(255,255,255,.03); }
.explorer__tab[aria-selected="true"] { color: #fff; background: linear-gradient(90deg, rgba(139, 92, 246, .2), rgba(139, 92, 246, .04)); border-color: rgba(169, 155, 250, .3); }
.explorer__tab[aria-selected="true"] i { color: var(--green); }
.explorer__panel {
  position: sticky; top: 100px; overflow: hidden; border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  display: grid; grid-template-columns: 1fr; min-height: 560px;
}
.explorer__art { position: relative; height: 230px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 90% at 50% 100%, rgba(124, 58, 237, .28), transparent 70%), var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.explorer__art svg { width: min(92%, 520px); height: 200px; }
.explorer__body { padding: 30px 34px 34px; }
.explorer__body.swap { animation: swapIn .6s var(--ease-out); }
.explorer__art.swap svg { animation: artIn .8s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes artIn { from { opacity: 0; transform: scale(.92); } }
.explorer__kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }
.explorer__body h3 { font-size: clamp(24px, 2.6vw, 34px); margin: 10px 0 14px; }
.explorer__body p { color: var(--muted); }
.explorer__caps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.explorer__caps li { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.explorer__caps li b { display: block; color: #fff; font-family: var(--f-head); font-size: 15px; margin-bottom: 3px; }

/* illustration primitives (shared by explorer SVGs) */
.il-stroke { fill: none; stroke: rgba(169, 155, 250, .55); stroke-width: 1.5; }
.il-dash { fill: none; stroke: rgba(169, 155, 250, .4); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dashMove 1.6s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -22; } }
.il-glass { fill: rgba(139, 92, 246, .18); stroke: rgba(255,255,255,.25); }
.il-pink { fill: rgba(228, 95, 182, .55); }
.il-green { fill: rgba(63, 209, 122, .7); }
.il-violet { fill: rgba(139, 92, 246, .75); }
.il-lav { fill: rgba(169, 155, 250, .6); }
.il-white { fill: rgba(255,255,255,.85); }
.il-text { fill: #fff; font-family: var(--f-head); font-weight: 600; }
.il-mono { fill: var(--muted); font-family: var(--f-mono); font-size: 10px; }
.il-pulse { animation: nodePulse 2.4s ease-in-out infinite; }
.il-spin { transform-box: fill-box; transform-origin: center; animation: spin 14s linear infinite; }
.il-float { animation: floaty 5s ease-in-out infinite; }
.il-bar { transform-box: fill-box; transform-origin: bottom; animation: barGrow 2.6s var(--ease) infinite alternate; }
@keyframes barGrow { from { transform: scaleY(.35); } }
.il-scan { animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(-34px); } to { transform: translateY(34px); } }

/* ---------- Velai ---------- */
.velai { overflow: hidden; }
.velai::before { content: ""; position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .18), transparent 65%); pointer-events: none; }
.velai__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.velai__copy > p { color: var(--muted); font-size: 17px; margin-top: 24px; }
.velai__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.velai__cols > div { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.velai__cols h4 { font-size: 17px; margin-bottom: 12px; }
.velai__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.velai__cols li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); }
.velai__cols li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-btn); transform: rotate(45deg); }
.velai__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.velai__pills span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(169, 155, 250, .3); color: var(--lav); font-size: 13px; font-family: var(--f-mono); }

.phone {
  position: relative; width: min(100%, 360px); margin-inline: auto; height: 640px; border-radius: 48px; padding: 14px;
  background: linear-gradient(160deg, #1c1830, #0b0915);
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -40px rgba(124, 58, 237, .55), inset 0 0 0 6px #05040a;
  display: flex; flex-direction: column;
}
.phone__notch { position: absolute; left: 50%; top: 18px; width: 100px; height: 26px; margin-left: -50px; border-radius: 20px; background: #05040a; z-index: 2; }
.phone__head { display: flex; align-items: center; gap: 12px; padding: 50px 18px 14px; border-bottom: 1px solid var(--line); }
.phone__head b { display: block; font-family: var(--f-head); font-size: 15px; }
.phone__head small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.phone__head .pulse { width: 6px; height: 6px; }
.phone__avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; background: var(--grad-btn); }
.chat { flex: 1; overflow: hidden; padding: 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.45; animation: msgIn .5s var(--ease-out) both; }
.msg--bot { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--grad-btn); border-bottom-right-radius: 6px; }
.msg--card { align-self: flex-start; width: 86%; background: rgba(63, 209, 122, .1); border: 1px solid rgba(63, 209, 122, .3); }
.msg--card b { display: block; font-size: 13px; }
.msg--card small { color: var(--muted); font-size: 12px; }
.msg--card .ok { color: #7ee2a6; font-family: var(--f-mono); font-size: 11px; display: block; margin-top: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.phone__input { margin: 10px 6px 6px; padding: 12px 16px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 13px; }
.mic { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-btn); position: relative; }
.mic::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 11px; border-radius: 4px; background: #fff; }

/* ---------- journey ---------- */
.journey { padding-top: 0; }
.journey__track { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: stretch; }
.jcard { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.jcard--accent { background: linear-gradient(160deg, rgba(124, 58, 237, .28), rgba(228, 95, 182, .1)); border-color: rgba(169, 155, 250, .35); }
.jcard__step { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }
.jcard h3 { font-size: 22px; margin: 12px 0; }
.jcard p { color: var(--muted); font-size: 15px; margin: 0; }
.journey__connector { position: relative; align-self: center; height: 2px; background: linear-gradient(90deg, rgba(169, 155, 250, .1), rgba(169, 155, 250, .7)); }
.journey__connector::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid rgba(169, 155, 250, .8); }
.solution-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.solution { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.solution > b { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(63, 209, 122, .15); color: var(--green); }
.solution h4 { font-size: 16.5px; margin-bottom: 6px; }
.solution p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 70px; }
.timeline__rail { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform .2s linear; box-shadow: 0 0 20px rgba(168, 85, 247, .6); }
.tl { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease-out); }
.tl:hover { border-color: rgba(169, 155, 250, .35); transform: translateY(-6px); }
.tl::before { content: ""; position: absolute; top: -56px; left: 26px; width: 16px; height: 16px; border-radius: 5px; transform: rotate(45deg); background: var(--bg); border: 2px solid var(--lav); box-shadow: 0 0 0 6px var(--bg); }
.tl.in::before { background: var(--violet); }
.tl__year { font-family: var(--f-head); font-size: 44px; font-weight: 700; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(169, 155, 250, .7); }
.tl h3 { font-size: 19px; margin: 10px 0; }
.tl p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- impact ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 18px; }
.stat { position: relative; overflow: hidden; padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 100px; height: 100px; border-radius: 26px; transform: rotate(20deg); background: var(--grad-btn); opacity: .12; }
.stat:nth-child(2)::after { background: linear-gradient(135deg, #3fd17a, #8b5cf6); }
.stat:nth-child(3)::after { background: linear-gradient(135deg, #e45fb6, #a99bfa); }
.stat strong { display: block; font-family: var(--f-head); font-size: clamp(40px, 5vw, 62px); font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 14.5px; }
.impact__grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; gap: 18px; }
.panel { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.panel__title { font-size: 17px; font-weight: 600; margin-bottom: 24px; color: var(--text); }
.bars { display: grid; gap: 22px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.bar span { font-size: 14.5px; color: var(--muted); }
.bar b { font-family: var(--f-head); font-size: 18px; }
.bar__track { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar__track i { display: block; height: 100%; width: calc(var(--v) * 1%); border-radius: inherit; background: var(--grad-btn); transform-origin: 0; transform: scaleX(0); transition: transform 1.6s var(--ease-out) .2s; }
.bar:nth-child(2) .bar__track i { background: linear-gradient(90deg, #8b5cf6, #3fd17a); }
.bar:nth-child(3) .bar__track i { background: linear-gradient(90deg, #a99bfa, #e45fb6); }
.panel.in .bar__track i { transform: scaleX(1); }
.donut-wrap { position: relative; width: 190px; margin: 0 auto 20px; }
.donut { transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 4.2; }
.donut__bg { stroke: rgba(255,255,255,.06); }
.donut__seg { stroke-dasharray: 0 100; stroke-dashoffset: var(--off); transition: stroke-dasharray 1.6s var(--ease-out); stroke-linecap: butt; }
.panel.in .donut__seg { stroke-dasharray: calc(var(--len) - .6) calc(100 - var(--len) + .6); }
.donut .s1 { stroke: #8b5cf6; }
.donut .s2 { stroke: #e45fb6; transition-delay: .2s; }
.donut .s3 { stroke: #3fd17a; transition-delay: .4s; }
.donut__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__center strong { font-family: var(--f-head); font-size: 26px; }
.donut__center span { font-size: 11.5px; color: var(--muted); max-width: 110px; line-height: 1.3; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.legend b { margin-left: auto; color: #fff; font-family: var(--f-head); }
.legend i { width: 12px; height: 12px; border-radius: 4px; }
.l1 { background: #8b5cf6; } .l2 { background: #e45fb6; } .l3 { background: #3fd17a; }
.rings { display: grid; grid-template-columns: 84px 1fr; gap: 20px 18px; align-items: center; }
.rings h4 { font-size: 16px; margin-bottom: 4px; }
.rings p { color: var(--muted); font-size: 14px; margin: 0; }
.ring-stat { position: relative; width: 84px; height: 84px; }
.ring-stat svg { transform: rotate(-90deg); }
.ring-stat circle { fill: none; stroke-width: 3.4; stroke: rgba(255,255,255,.07); }
.ring-stat .fg { stroke: #a78bfa; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.8s var(--ease-out); }
.ring-stat--b .fg { stroke: #3fd17a; }
.panel.in .ring-stat .fg { stroke-dasharray: var(--p) 100; }
.ring-stat b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-head); font-size: 18px; }

/* globe / map */
.globe { margin-top: 18px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.globe__map { position: relative; padding: 20px; background: radial-gradient(60% 80% at 60% 40%, rgba(124, 58, 237, .14), transparent 70%); }
.globe__map svg { width: 100%; height: auto; }
.map-dot { fill: rgba(169, 155, 250, .22); }
.map-pin circle.core { fill: #fff; }
.map-pin circle.halo { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
.map-pin.hq circle.halo { stroke: var(--pink); }
.map-pin text { fill: #fff; font-family: var(--f-head); font-size: 15px; font-weight: 600; }
.map-arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-dasharray: 6 6; animation: dashMove 1.4s linear infinite; }
@keyframes halo { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.globe__info { padding: clamp(28px, 4vw, 44px); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.globe__info h3 { font-size: clamp(24px, 2.5vw, 32px); margin-bottom: 24px; }
.locs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.locs li { display: flex; align-items: center; gap: 14px; }
.locs b { display: block; font-family: var(--f-head); font-size: 16px; }
.locs small { color: var(--muted); font-size: 13px; }
.loc-dot { flex: none; width: 12px; height: 12px; border-radius: 4px; transform: rotate(45deg); background: var(--grad-btn); }

/* ---------- why / hexes ---------- */
.hexes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hex {
  --clip: 28px;
  position: relative; padding: 34px 30px; min-height: 220px;
  clip-path: polygon(var(--clip) 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% calc(100% - var(--clip)), calc(100% - var(--clip)) 100%, var(--clip) 100%, 0 calc(100% - var(--clip)), 0 var(--clip));
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  transition: background .5s, transform .5s var(--ease-out);
}
.hex::before { content: ""; position: absolute; inset: 1px; clip-path: inherit; background: var(--bg); z-index: -1; }
.hex { isolation: isolate; }
.hex:hover { background: linear-gradient(160deg, rgba(139, 92, 246, .55), rgba(228, 95, 182, .25)); transform: translateY(-6px); }
.hex:hover::before { background: linear-gradient(160deg, #14102a, #0c0a16); }
.hex__n { font-family: var(--f-mono); font-size: 12px; color: var(--lav); }
.hex h3 { font-size: 26px; margin: 40px 0 10px; }
.hex p { color: var(--muted); font-size: 15px; margin: 0; }
.strengths { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.strengths li { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); }
.strengths b { margin-right: 6px; }

/* ---------- team ---------- */
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.team__grid > div > p { color: var(--muted); font-size: 17px; margin-top: 24px; }
.team__grid .sec-num { position: static; writing-mode: initial; display: block; margin-bottom: 10px; }
.culture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.culture__item { padding: 22px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.culture__item:nth-child(1) { border-top: 2px solid #8b5cf6; }
.culture__item:nth-child(2) { border-top: 2px solid #3fd17a; }
.culture__item:nth-child(3) { border-top: 2px solid #e45fb6; }
.culture__item strong { display: block; font-family: var(--f-head); font-size: 36px; letter-spacing: -.03em; }
.culture__item span { font-size: 13px; color: var(--muted); }
.quote {
  position: relative; margin: 0; padding: clamp(30px, 4vw, 50px); border-radius: 36px 36px 36px 8px;
  background: linear-gradient(160deg, rgba(124, 58, 237, .22), rgba(228, 95, 182, .06) 60%, rgba(63, 209, 122, .06));
  border: 1px solid rgba(169, 155, 250, .25);
}
.quote__mark { position: absolute; top: -30px; right: 30px; font-family: Georgia, serif; font-size: 160px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-head); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; font-weight: 400; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote figcaption b { display: block; font-family: var(--f-head); }
.quote figcaption small { color: var(--muted); }

/* ---------- contact ---------- */
.contact__card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); padding: clamp(30px, 5vw, 64px); border-radius: 36px; border: 1px solid var(--line-2); background: linear-gradient(160deg, #130f26, #0a0914); }
.contact__glow { position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 65%); pointer-events: none; animation: aurora 12s ease-in-out infinite alternate; }
.contact__copy { position: relative; }
.contact__copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-top: 20px; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 15px; }
.contact__list a:hover { color: #fff; }
.ci { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(139, 92, 246, .14); border: 1px solid rgba(169, 155, 250, .25); }
.ci svg { width: 20px; height: 20px; fill: none; stroke: #d6ceff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form { position: relative; display: grid; gap: 16px; align-content: start; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 18px 10px; border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.035); color: var(--text); font: inherit; font-size: 15.5px; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical;
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--lav) 50%), linear-gradient(135deg, var(--lav) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--bg-3); color: var(--text); }
.field label { position: absolute; left: 19px; top: 17px; color: var(--dim); font-size: 15px; pointer-events: none; transition: transform .25s var(--ease), color .25s, font-size .25s; transform-origin: 0 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(169, 155, 250, .6); background: rgba(139, 92, 246, .06); box-shadow: 0 0 0 4px rgba(139, 92, 246, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-10px); font-size: 12px; color: var(--lav); }
.field.invalid input, .field.invalid textarea { border-color: rgba(228, 95, 182, .7); }
.form__note { font-size: 13px; color: var(--dim); margin: 0; text-align: center; }

/* ---------- footer ---------- */
.footer { position: relative; padding: 40px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-family: var(--f-head); font-weight: 700; letter-spacing: -.05em; line-height: .8;
  font-size: clamp(90px, 22vw, 330px); text-align: center; margin: 10px 0 50px;
  color: transparent; -webkit-text-stroke: 1px rgba(169, 155, 250, .2);
  background: linear-gradient(180deg, rgba(139, 92, 246, .18), transparent 80%); -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); max-width: 320px; margin: 18px 0 22px; font-size: 15px; }
.footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); margin-bottom: 18px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; }
.footer__grid a:not(.brand) { color: var(--muted); font-size: 15px; transition: color .3s, transform .3s var(--ease); width: fit-content; }
.footer__grid a:not(.brand):hover { color: #fff; transform: translateX(4px); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s; }
.socials a:hover { background: rgba(139, 92, 246, .2); border-color: rgba(169, 155, 250, .5); transform: none !important; }
.socials svg { width: 19px; height: 19px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 26px; font-size: 13.5px; color: var(--dim); }
.totop { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: #fff; transition: background .3s, transform .3s var(--ease); }
.totop:hover { background: var(--violet); transform: translateY(-3px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a { padding: 9px 10px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 420px; max-width: 560px; width: 100%; margin: 20px auto 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--tall { grid-row: span 1; }
  .explorer { grid-template-columns: 1fr; }
  .explorer__list { flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 8px; -webkit-mask: linear-gradient(90deg, #000 90%, transparent); mask: linear-gradient(90deg, #000 90%, transparent); }
  .explorer__tab { flex: none; width: auto; white-space: nowrap; }
  .explorer__panel { position: relative; top: 0; min-height: 0; }
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .impact__grid .panel:last-child { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .factors { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sec-num { position: static; writing-mode: initial; display: block; margin-bottom: 10px; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(7, 6, 13, .96); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav.open .nav__links { opacity: 1; visibility: visible; }
  .nav.open { border-color: transparent; box-shadow: none; }
  .nav.open::before { opacity: 0; }
  .nav__links a { font-family: var(--f-head); font-size: 30px; color: var(--text); padding: 8px 20px; }
  .nav__cta-mobile { display: block; }
  .nav__cta { display: none; }
  .burger { display: block; }
  .about__grid, .velai__grid, .team__grid, .contact__card, .sec-head--split, .globe { grid-template-columns: 1fr; }
  .globe__info { border-left: 0; border-top: 1px solid var(--line); }
  .journey__track { grid-template-columns: 1fr; gap: 0; }
  .journey__connector { width: 2px; height: 34px; justify-self: center; background: linear-gradient(180deg, rgba(169, 155, 250, .1), rgba(169, 155, 250, .7)); }
  .journey__connector::after { right: -5px; top: auto; bottom: -6px; border: 6px solid transparent; border-top: 8px solid rgba(169, 155, 250, .8); }
  .solution-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .timeline__rail, .tl::before { display: none; }
  .hexes { grid-template-columns: 1fr 1fr; }
  .phone { height: 580px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .nav { padding: 8px 8px 8px 16px; }
  .hero { padding-top: 110px; }
  .hero__visual { height: 320px; }
  .float-chip { font-size: 12px; padding: 8px 12px; }
  .chip-a { left: 0; bottom: 0; }
  .chip-b { right: 0; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--xl, .bento__item--wide { grid-column: span 1; }
  .bento__item--xl { grid-row: span 1; }
  .factors, .stats, .impact__grid, .timeline, .hexes, .velai__cols, .culture, .explorer__caps { grid-template-columns: 1fr; }
  .culture { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .culture__item { padding: 16px 12px; }
  .culture__item strong { font-size: 26px; }
  .culture__item span { font-size: 11.5px; }
  .explorer__body { padding: 24px 20px; }
  .explorer__art { height: 180px; }
  .explorer__art svg { height: 160px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hex h3 { margin-top: 24px; }
  .globe__map { padding: 10px; }
  .map-pin text { font-size: 34px; }
  .pin-tenkasi text { display: none; } /* too close to Bangalore at this size; listed below the map */
  .hex { min-height: 0; }
  .contact__card { border-radius: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
