/* ============================================================
   VOXMERGE — vibrant liquid-glass multi-page design system
   ============================================================ */

:root {
  --bg: #080a12;
  --ink: #f4f5ff;
  --ink-2: rgba(244, 245, 255, .68);
  --ink-3: rgba(244, 245, 255, .42);
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .045);
  --glass-brd: rgba(255, 255, 255, .12);
  --r-lg: 28px;
  --r-md: 18px;
  --font-d: "Space Grotesk", sans-serif;
  --font-b: "Inter", sans-serif;
  --ease: cubic-bezier(.22, .61, .21, 1);

  /* vibrant brand gradient — from the logo */
  --o1: #2f7ef7; /* blue   */
  --o2: #f97316; /* orange */
  --o3: #8b5cf6; /* violet */
  --g1: #3b82f6;
  --g2: #8b5cf6;
  --pastel: linear-gradient(100deg, #38bdf8, #8b5cf6 35%, #f97316 68%, #ef4444);
}

/* ---------- per-page signatures ---------- */
body[data-theme="web"]      { --g1: #38bdf8; --g2: #8b5cf6; --o1: #2f7ef7; --o2: #8b5cf6; }
body[data-theme="marketing"]{ --g1: #f472b6; --g2: #ef4444; --o1: #fb923c; --o2: #ef4444; }
body[data-theme="recruit"]  { --g1: #34d399; --g2: #22d3ee; --o1: #10b981; --o2: #22d3ee; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  line-height: 1.6;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--g1); color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
img { max-width: 100%; display: block; }

/* ---------- typography ---------- */
h1, h2, h3, .brand { font-family: var(--font-d); }

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; margin-bottom: 22px; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 600; letter-spacing: -.01em; }

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

.outline { color: transparent; -webkit-text-stroke: 1px rgba(244, 245, 255, .5); }

.kicker {
  font-family: var(--font-d);
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--ink-2);
  max-width: 640px;
  margin: 24px 0 0;
}
.lede-2 { color: var(--ink-2); max-width: 680px; margin-top: 8px; }
.quote { color: var(--ink-2); font-style: italic; margin: 10px 0 14px; }
.micro {
  margin-top: 22px; font-size: .68rem; letter-spacing: .22em;
  color: var(--ink-3); text-transform: uppercase; font-family: var(--font-d);
}

/* ---------- liquid glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02) 45%, rgba(255,255,255,.045));
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 44px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute; inset: -60% -20%;
  background: radial-gradient(closest-side, rgba(255,255,255,.09), transparent 70%) no-repeat,
              radial-gradient(260px 130px at 20% 0%, var(--g1), transparent 72%);
  transform: translateY(-40%);
  opacity: 0;
  transition: opacity .8s var(--ease), transform 1.6s var(--ease);
  pointer-events: none;
}
.glass:hover::before { opacity: .12; transform: translateY(0); }

/* gradient edge that ties panels to the ambient background */
.glowline::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--g1), transparent 32%, transparent 66%, var(--g2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .55;
  transition: opacity .4s var(--ease);
}
.glowline:hover::after { opacity: 1; }

/* ---------- ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
.ambient .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: .5;
}
.orb { position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; }
.orb-a { width: 540px; height: 540px; background: var(--o1); top: -190px; left: -140px; opacity: .38; animation: drift 26s ease-in-out infinite alternate; }
.orb-b { width: 480px; height: 480px; background: var(--o3); top: 28%; right: -170px; opacity: .3; animation: drift 32s ease-in-out infinite alternate-reverse; }
.orb-c { width: 420px; height: 420px; background: var(--o2); bottom: -160px; left: 28%; opacity: .26; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(60px, 50px, 0) scale(1.14); } }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; }
.progress span { display: block; height: 100%; width: 0; background: var(--pastel); }

/* ---------- reveal + draw engines ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

.draw {
  fill: none;
  stroke: rgba(244, 245, 255, .85);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1.05 2;
  stroke-dashoffset: 1.05;
  transition: stroke-dashoffset 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 180ms);
}
.draw.accent { stroke: var(--g1); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--g1) 55%, transparent)); }
.draw.faint { stroke: rgba(244, 245, 255, .3); }
.in-view .draw, .in-view.draw { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .draw { stroke-dashoffset: 0 !important; transition: none; }
  .spin, .grad { animation: none !important; }
}

.node, .pulse { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.node { fill: var(--g2); stroke: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(400ms + var(--i, 0) * 240ms); }
.pulse { fill: var(--g1); stroke: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(700ms + var(--i, 0) * 200ms); }
.in-view .node { opacity: 1; transform: scale(1); }
.in-view .pulse { opacity: 1; transform: scale(1); animation: pulse 2.4s ease-in-out 1.4s infinite; }
@keyframes pulse { 50% { transform: scale(1.45); } }

.spin { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.svg-label, .loop-labels text, .loop-word { font-family: var(--font-d); font-size: 13px; letter-spacing: .22em; fill: var(--ink-3); }
.loop-word { font-size: 15px; fill: var(--ink); letter-spacing: .34em; }
.ring { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.5; }
.ring-dash { fill: none; stroke: var(--g1); stroke-width: 1.5; stroke-dasharray: 6 14; opacity: .5; }

.flow-line { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1.05 2; stroke-dashoffset: 1.05; transition: stroke-dashoffset 2s var(--ease); }
.flow-line.accent { stroke: var(--g1); transition-delay: .3s; }
.in-view .flow-line { stroke-dashoffset: 0; }

/* ---------- logo ---------- */
.logo-chip {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 20px -6px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.8);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-chip img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); object-position: center 30%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 11px 20px;
  border-radius: 999px;
  overflow: visible;
  transition: box-shadow .4s var(--ease);
}
.nav::before { content: none; }
.nav.scrolled { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 16px 36px -16px rgba(0,0,0,.6); }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.brand .grad { animation: none; }
.brand-mark { width: 26px; height: 26px; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: .92rem;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: color .25s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
/* liquid-glass pill on hover / active */
.nav-links a::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 28%, rgba(255,255,255,.26) 50%, transparent 72%);
  transform: translateX(-140%);
  pointer-events: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink);
  background: linear-gradient(120deg, rgba(255,255,255,.17), rgba(255,255,255,.04) 48%, rgba(255,255,255,.1));
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -1px 1px rgba(255,255,255,.07),
    0 8px 22px -10px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(255, 255, 255, .06);
}
.nav-links a:hover::before, .nav-links a.active::before {
  opacity: 1;
  animation: navSheen 1.9s var(--ease) infinite;
}
@keyframes navSheen {
  0% { transform: translateX(-140%); }
  55%, 100% { transform: translateX(140%); }
}

.nav-cta { padding: 9px 18px; font-size: .85rem; flex-shrink: 0; margin-left: 16px; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d);
  font-size: .92rem; font-weight: 600;
  padding: 13px 26px; border-radius: 999px;
  text-decoration: none; letter-spacing: .02em;
  cursor: pointer; border: 0;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; }
.btn .ico .draw { stroke: currentColor; }
/* one brand color on every page + liquid-glass finish (no per-page vars here) */
.btn-solid {
  background: linear-gradient(120deg, rgba(59, 130, 246, .88), rgba(139, 92, 246, .88));
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -2px 5px rgba(0, 0, 0, .16),
    0 12px 30px -10px rgba(59, 130, 246, .55);
}
.btn-solid::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .34) 50%, transparent 72%);
  transform: translateX(-140%);
  transition: transform .65s var(--ease);
  pointer-events: none;
}
.btn-solid:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -2px 5px rgba(0, 0, 0, .16),
    0 16px 38px -10px rgba(59, 130, 246, .72);
}
.btn-solid:hover::after { transform: translateX(140%); }
.btn-ghost { color: var(--ink); border: 1px solid var(--glass-brd); background: var(--glass); backdrop-filter: blur(10px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(122px, 14vh, 168px) 0 0;
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.hero-copy { max-width: 720px; }
.hero-inner::after { content: ""; display: block; height: clamp(28px, 4vh, 44px); width: 100%; }

.tag {
  font-family: var(--font-d);
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
  display: inline-block;
  padding: 8px 18px; border: 1px solid var(--glass-brd); border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(10px);
  background-clip: padding-box;
  margin-bottom: 20px;
  color: var(--ink-2);
}
.tag b { background: linear-gradient(90deg, var(--g1), var(--g2)); -webkit-background-clip: text; color: transparent; }

.hero-cta { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }

/* Subpage hero art container */
.page-hero .hero-art { width: 100%; overflow: hidden; margin-top: 36px; }
.page-hero .hero-art svg { width: 100%; height: auto; display: block; }


/* marquee */
.marquee {
  margin-top: clamp(12px, 2vh, 20px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 12px 0;
  background: rgba(255,255,255,.02);
}
.marquee-track { display: flex; align-items: center; gap: 28px; white-space: nowrap; animation: scroll-x 32s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--font-d); font-size: .78rem; letter-spacing: .3em; color: var(--ink-3); }
.marquee-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--g1); opacity: .7; flex-shrink: 0; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; position: relative; }
.sec-head { max-width: 800px; margin-bottom: 56px; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.pillar {
  --pc: var(--c1, var(--g1));
  padding: 34px 26px; border-radius: var(--r-md);
  transition: transform .4s var(--ease);
}
.pillar:nth-child(1) { --c1: #38bdf8; }
.pillar:nth-child(2) { --c1: #8b5cf6; }
.pillar:nth-child(3) { --c1: #f97316; }
.pillar:nth-child(4) { --c1: #34d399; }
.pillar::after {
  content: ""; position: absolute; inset: auto 0 -1px;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--pc), transparent 85%);
  opacity: .7;
}
.pillar:nth-child(1) { --c1: #38bdf8; }
.pillar:nth-child(2) { --c1: #8b5cf6; }
.pillar:nth-child(3) { --c1: #f97316; }
.pillar:nth-child(4) { --c1: #34d399; }
.pillar:hover { transform: translateY(-6px); }
.pillar-ico { width: 52px; height: 52px; margin-bottom: 22px; }
.pillar-ico .draw { stroke: var(--pc); }
.pillar-ico .draw.accent { stroke: var(--pc); filter: none; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--ink-2); font-size: .95rem; }

/* ---------- stats ---------- */
.glass-wide {
  margin-top: 56px; padding: 44px 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-radius: var(--r-lg);
}
.stat h3 { font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.02em; }
.stat h3 .grad { animation: none; }
.stat p { color: var(--ink-2); font-size: .92rem; margin-top: 4px; }

/* ---------- service panels (ART BLENDED IN) ---------- */
.svc {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 18px;
  margin-bottom: 30px;
  align-items: stretch;
  padding: 44px 0 44px 44px;
}
.svc .inner { padding-right: 20px; display: flex; flex-direction: column; justify-content: center; }
.svc h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.svc .quote { margin: 10px 0 14px; }
.svc .desc { color: var(--ink-2); max-width: 480px; }

.svc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-d); font-weight: 600; font-size: .95rem; margin-top: 26px; width: fit-content; }
.svc-link .arrow { width: 20px; height: 20px; stroke: currentColor; transition: transform .3s; }
.svc-link:hover .arrow { transform: translateX(5px); }
.svc-link:hover { text-shadow: 0 0 18px color-mix(in srgb, var(--g1) 70%, transparent); }

/* the art: no card of its own — bleeds to the panel edge and glows */
.svc .art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 6px 14px 26px 40px;
  margin: 0;
}
.svc .art svg { width: 100%; height: auto; position: relative; z-index: 1; transition: transform .5s var(--ease); }
.svc:hover .art svg { transform: translateY(-5px) scale(1.015); }

.glow-blob {
  position: absolute; right: -70px; bottom: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--g1), transparent 68%);
  opacity: .16; filter: blur(46px);
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.svc:hover .glow-blob { opacity: .3; }

/* connector trace between copy and art */
.trace {
  position: absolute; left: 46%; top: 50%;
  width: 130px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--g1), transparent);
  opacity: .5; border-radius: 2px;
}

/* ---------- ecosystem / chips ---------- */
.eco { margin-top: 90px; text-align: center; }
.chip-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.chip-row li, .chips li {
  padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-d); font-size: .88rem; color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  transition: transform .3s var(--ease), color .3s, border-color .3s;
}
.chip-row li:hover, .chips li:hover { transform: translateY(-3px); color: var(--ink); border-color: color-mix(in srgb, var(--g1) 55%, transparent); }
.eco .lede-2 { margin: 34px auto 0; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-content: flex-start; }
.chips li { padding: 8px 16px; font-size: .82rem; font-family: var(--font-b); }

/* ---------- loop ---------- */
.loop-sec { padding: 80px 0 120px; }
.loop { padding: 40px 30px 50px; border-radius: var(--r-lg); text-align: center; }
.loop-svg { width: min(640px, 100%); height: auto; }
.loop .lede-2 { margin: 24px auto 0; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 30px 26px; border-radius: var(--r-md); transition: transform .4s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step-ico { width: 44px; height: 44px; margin-bottom: 20px; }
.step-ico .draw { stroke: var(--g1); }
.step p.n { font-family: var(--font-d); font-size: .75rem; letter-spacing: .24em; color: var(--g2); }
.step h3 { margin: 4px 0 8px; font-size: 1.2rem; }
.step p.t { color: var(--ink-2); font-size: .93rem; }

.flow { margin-top: 26px; padding: 20px 12px; border-radius: var(--r-md); }
.flow-svg { width: 100%; height: 60px; display: block; }

/* ---------- page hero (sub-pages) ---------- */
.page-hero { padding: 170px 0 40px; }
.crumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 26px; font-family: var(--font-d); letter-spacing: .1em; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ========== CTA BANDS ============ */
.cta-band {
  position: relative; overflow: hidden;
  padding: 56px 48px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin: 90px 0 30px;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, color-mix(in srgb, var(--g1) 22%, transparent), transparent 55%, color-mix(in srgb, var(--g2) 24%, transparent));
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--ink-2); max-width: 560px; }
.cta-band .btn { z-index: 1; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-lines { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.line {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: var(--r-md);
  text-decoration: none; color: var(--ink);
  font-family: var(--font-d); font-size: 1.05rem;
  transition: transform .3s var(--ease);
}
.line:hover { transform: translateX(6px); }
.line .ico { width: 26px; height: 26px; flex-shrink: 0; }
.line .ico .draw { stroke: var(--g1); }
.line small { display: block; font-size: .66rem; letter-spacing: .26em; color: var(--ink-3); font-family: var(--font-b); margin-bottom: 2px; }
.motto { font-style: italic; color: var(--ink-2); justify-content: center; }

.form { padding: 40px; border-radius: var(--r-lg); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-d); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-b); font-size: .95rem;
  outline: none;
  transition: border-color .3s, background .3s;
  width: 100%;
  color-scheme: dark;
}
/* make the native option list dark + readable */
.field select option {
  background: #0c101c;
  color: #f2f4ff;
}
.field select option:checked { background: #223; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--g1); background: color-mix(in srgb, var(--g1) 7%, transparent); }
.field textarea { resize: vertical; }
.wide { width: 100%; justify-content: center; }
.form-note { font-size: .88rem; color: var(--g2); }
.form-note.err { color: #f87171; }
.spin-btn { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rot 1s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: rgba(255,255,255,.015); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 56px; }
.foot-brand { display: flex; align-items: center; gap: 18px; }
.foot-logo { width: 56px; border-radius: 14px; padding: 7px 9px 5px; background: #fff; transform: rotate(-2deg); }
.foot-tag { color: var(--ink-2); margin-top: 16px; font-size: .92rem; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col > p:first-child { font-family: var(--font-d); font-size: .7rem; letter-spacing: .26em; color: var(--ink-3); margin-bottom: 8px; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: .92rem; transition: color .25s; }
.foot-col a:hover { color: var(--ink); }
.motto-sm { color: var(--ink-3); font-style: italic; font-size: .88rem; }
.foot-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .82rem; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
  .glass-wide { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; padding: 34px 30px 30px; }
  .svc .art { padding: 6px 0 10px; }
  .trace { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav { gap: 14px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .burger.open span:first-child { transform: translateY(7px) rotate(45deg); }
  .burger.open span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .nav.open { border-radius: 28px; overflow: visible; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    padding: 22px; gap: 18px;
    background: rgba(10, 12, 20, .9);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-brd); border-radius: var(--r-lg);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  }
  .nav.open .nav-cta { display: inline-flex; align-self: center; margin: 12px 0 2px; justify-content: center; border-radius: 999px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 128px; }
  .section { padding: 84px 0; }
  .pillars, .steps, .glass-wide { grid-template-columns: 1fr; }
  .svc, .form, .cta-band { padding: 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-base { flex-direction: column; }
  .cta-band { padding: 36px 26px; }
}
