/* ============================================================
   Avance Design System — Combined (tokens + motion + premium)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ===== TOKENS ===== */
:root {
  --avance-indigo:  #533AFD;
  --indigo-press:   #2E2B8C;
  --deep-nav:       #1C1E54;
  --process-cyan:   #4CC9F0;
  --human-coral:    #CC785C;

  --canvas:         #FFFFFF;
  --canvas-soft:    #F6F9FC;
  --warm-canvas:    #FAF9F5;
  --hairline:       #E3E8EE;
  --success-pale:   #EDFCE9;

  --ink:            #0D253D;
  --ink-muted:      #64748D;
  --ink-faint:      #98A4B5;

  --dark-canvas:    #08090D;
  --dark-surface:   #11131A;
  --dark-surface-2: #171A24;
  --dark-hairline:        rgba(255,255,255,.08);
  --dark-hairline-strong: rgba(255,255,255,.14);
  --dark-ink:       #F5F6FA;
  --dark-ink-muted: #8A91A8;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 999px;

  --sh-1: 0 1px 0 rgba(13,37,61,.04), 0 1px 2px rgba(13,37,61,.04);
  --sh-2: 0 1px 0 rgba(13,37,61,.04), 0 4px 16px rgba(13,37,61,.06);
  --sh-3: 0 8px 32px rgba(13,37,61,.08), 0 2px 4px rgba(13,37,61,.04);
  --sh-glow-indigo: 0 0 0 1px rgba(83,58,253,.18), 0 8px 24px rgba(83,58,253,.18);

  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:    cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--dark-canvas);
  color: var(--dark-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 768px) { body { cursor: auto; } }

/* ===== TYPOGRAPHY ===== */
.av-h-display { font-size: 64px; line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
.av-h-1 { font-size: 44px; line-height: 1.06; letter-spacing: -.03em; font-weight: 600; }
.av-h-2 { font-size: 32px; line-height: 1.1; letter-spacing: -.025em; font-weight: 600; }
.av-h-3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.av-h-4 { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.av-body    { font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.av-body--lg{ font-size: 18px; line-height: 1.55; color: var(--ink-muted); }
.av-body--sm{ font-size: 14px; line-height: 1.5;  color: var(--ink-muted); }
.av-mono { font-family: var(--font-mono); letter-spacing: .02em; }
.av-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted);
}
.av-eyebrow--dark { color: var(--process-cyan); }
.av-headline {
  font-family: var(--font-sans);
  font-size: clamp(48px, 6.4vw, 104px);
  line-height: 1; letter-spacing: -.04em; font-weight: 600;
}

/* ===== BUTTONS ===== */
.av-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: var(--r-full); border: 0;
  cursor: pointer; transition: all .15s ease; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap;
}
.av-btn--primary { background: var(--avance-indigo); color: #fff; box-shadow: var(--sh-glow-indigo); }
.av-btn--primary:hover { background: #6852FF; transform: translateY(-1px); }
.av-btn--dark-primary { background: var(--avance-indigo); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 12px 32px rgba(83,58,253,.32); }
.av-btn--dark-secondary { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.av-btn--dark-secondary:hover { background: rgba(255,255,255,.1); }
.av-btn--lg { padding: 16px 24px; font-size: 15px; }
.av-btn--sm { padding: 9px 14px; font-size: 13px; }

/* Magnetic buttons */
.magnet {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px;
  border-radius: 999px; border: 0;
  background: #fff; color: var(--dark-canvas);
  cursor: pointer; position: relative;
  transition: background .2s ease, color .2s ease;
  will-change: transform;
}
.magnet--ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.magnet--indigo { background: var(--avance-indigo); color: #fff; box-shadow: 0 12px 32px rgba(83,58,253,.4); }
.magnet:hover { background: var(--process-cyan); color: var(--dark-canvas); }
.magnet--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.magnet--indigo:hover { background: #6852FF; }
.magnet svg { transition: transform .4s var(--ease-soft); }
.magnet:hover svg { transform: translateX(4px); }
.magnet:active { transform: scale(.97) !important; transition: transform .12s ease; }

/* ===== TAGS ===== */
.av-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-full);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase;
}
.av-tag--light { background: rgba(83,58,253,.08); color: var(--avance-indigo); }
.av-tag--dark  { background: rgba(255,255,255,.06); color: var(--process-cyan); box-shadow: inset 0 0 0 1px rgba(76,201,240,.18); }
.av-tag--coral { background: rgba(204,120,92,.1); color: var(--human-coral); }
.av-tag--green { background: rgba(34,197,94,.1); color: #22C55E; box-shadow: inset 0 0 0 1px rgba(34,197,94,.2); }
.av-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 6px; }

/* ===== LAYOUT HELPERS ===== */
.sec  { padding: 12vw 0; position: relative; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.av-section   { padding: 96px 0; }
.av-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hr-line { height: 1px; background: rgba(255,255,255,.08); }

/* ===== GRID BG ===== */
.av-grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ===== CUSTOM CURSOR ===== */
.av-cursor {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--process-cyan);
  pointer-events: none; mix-blend-mode: difference; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, opacity .25s ease;
  will-change: transform;
}
.av-cursor--lg { width: 64px; height: 64px; background: var(--avance-indigo); }
.av-cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .14s linear;
  will-change: transform;
}

/* ===== SCROLL REVEALS ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-word {
  display: inline-block; overflow: hidden;
  padding: 0 .04em; margin: 0 -.04em; vertical-align: top;
}
.reveal-word > span {
  display: inline-block; transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.reveal-word.in > span { transform: none; }
.reveal-chars > span {
  display: inline-block; opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-chars.in > span { opacity: 1; transform: none; }

/* data-fade system */
[data-fade] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-fade].in { opacity: 1; transform: none; }
[data-fade="up-lg"]  { transform: translateY(80px); }
[data-fade="left"]   { transform: translateX(-60px); }
[data-fade="right"]  { transform: translateX(60px); }
[data-fade="scale"]  { transform: scale(.92); }
[data-fade="blur"]   { filter: blur(14px); transform: translateY(20px); }
[data-fade="blur"].in { filter: none; }

/* Stagger children */
[data-stagger-parent] > [data-stagger] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-stagger-parent].in > [data-stagger] { opacity: 1; transform: none; }
[data-stagger-parent].in > [data-stagger]:nth-child(1) { transition-delay: 0ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(2) { transition-delay: 80ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(3) { transition-delay: 160ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(4) { transition-delay: 240ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(5) { transition-delay: 320ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(6) { transition-delay: 400ms; }
[data-stagger-parent].in > [data-stagger]:nth-child(n+7) { transition-delay: 480ms; }

/* ===== 3D TILT ===== */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  will-change: transform;
}
[data-tilt-inner] { transform: translateZ(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }

/* ===== GLOW HOVER ===== */
.glow-hover { position: relative; isolation: isolate; }
.glow-hover::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(76,201,240,.18), transparent 40%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none; z-index: -1;
}
.glow-hover:hover::before { opacity: 1; }

/* ===== CURSOR SPOTLIGHT ===== */
.spot-layer {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(76,201,240,.10), transparent 50%);
  opacity: 0; transition: opacity .8s ease;
  mix-blend-mode: screen; z-index: 1;
}
.has-spot:hover .spot-layer { opacity: 1; }

/* ===== SCROLL LINKS ===== */
[data-parallax] { will-change: transform; }
[data-rise]     { will-change: transform, opacity; }
[data-scale-out]{ will-change: transform, opacity; transform-origin: center top; }

/* ===== SVG PATH DRAW ===== */
.draw-path {
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1);
}
.draw-path.drawn { stroke-dashoffset: 0; }

/* ===== GLOWING DOT (pulse) ===== */
.av-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--process-cyan);
  box-shadow: 0 0 0 0 rgba(76,201,240,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(76,201,240,.7); }
  70%  { box-shadow: 0 0 0 14px rgba(76,201,240,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,201,240,0); }
}

/* ===== GRADIENT TEXT ===== */
.grad-text {
  background: linear-gradient(120deg, #fff 0%, var(--process-cyan) 40%, var(--avance-indigo) 60%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ===== MARQUEE ===== */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.av-marquee {
  display: flex; gap: 64px; width: max-content;
  animation: marquee var(--mq-dur, 40s) linear infinite;
}
.av-marquee--rev  { animation-direction: reverse; }
.mq-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-sans);
  font-size: clamp(40px, 5vw, 84px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
  white-space: nowrap; color: #fff;
}
.mq-item--outline { -webkit-text-stroke: 1px rgba(255,255,255,.4); color: transparent; }
.mq-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--process-cyan); flex: 0 0 10px; }

/* ===== PROCESS FLOW ===== */
.flow-line { stroke-dasharray: 4 4; }
.flow-pulse { fill: var(--process-cyan); filter: drop-shadow(0 0 6px var(--process-cyan)); }

/* ===== HUD TAGS ===== */
.hud-tag {
  position: absolute;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 8px;
  background: rgba(8,9,13,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 8px 12px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  white-space: nowrap; z-index: 2;
}
.hud-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--process-cyan);
  box-shadow: 0 0 0 3px rgba(76,201,240,.18);
  flex: 0 0 6px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); z-index: 3;
}
.scroll-indicator__line {
  position: relative; width: 1px; height: 48px;
  background: rgba(255,255,255,.15); overflow: hidden;
}
.scroll-indicator__line::after {
  content: ''; position: absolute; left: 0; right: 0;
  top: -20px; height: 20px;
  background: linear-gradient(to bottom, transparent, var(--process-cyan));
  animation: scrollDot 2.2s var(--ease-premium) infinite;
}
@keyframes scrollDot {
  0%   { top: -20px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}

/* ===== SECTION BADGE ===== */
.s-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 48px;
}
.s-head__l { display: flex; flex-direction: column; gap: 14px; max-width: 80%; }
.sec-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.sec-badge .bar {
  display: inline-block; width: 0; height: 1px;
  background: var(--process-cyan);
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}
[data-fade].in .sec-badge .bar { width: 42px; }

/* ===== BACKGROUND ORBS ===== */
.bg-stage {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-orb {
  position: absolute; border-radius: 50%;
  width: 60vw; height: 60vw;
  filter: blur(120px); opacity: .35;
  will-change: transform; mix-blend-mode: screen;
}
.bg-orb--1 {
  top: -20vw; left: -15vw;
  background: radial-gradient(circle, rgba(83,58,253,.6), transparent 60%);
  animation: orbDrift1 28s ease-in-out infinite alternate;
}
.bg-orb--2 {
  top: 30vh; right: -20vw;
  background: radial-gradient(circle, rgba(76,201,240,.45), transparent 60%);
  animation: orbDrift2 36s ease-in-out infinite alternate;
}
.bg-orb--3 {
  bottom: -25vw; left: 30vw;
  background: radial-gradient(circle, rgba(204,120,92,.35), transparent 60%);
  animation: orbDrift3 42s ease-in-out infinite alternate;
  width: 50vw; height: 50vw;
}
@keyframes orbDrift1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(20vw,30vh) scale(1.2); } }
@keyframes orbDrift2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-15vw,20vh) scale(.85); } }
@keyframes orbDrift3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-25vw,-30vh) scale(1.15); } }

/* ===== LENIS ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ============================================================
   NAV
   ============================================================ */
/* ─────────────────────────────────────────
   PILL NAV
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 9, 13, 0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 10px 12px 10px 20px;
  max-width: 960px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,.5), inset 0 0 0 0.5px rgba(255,255,255,.04);
  transition: border-color .3s ease;
}
.nav-pill:hover { border-color: rgba(255,255,255,.13); }

/* Logo: pictogram always visible, wordmark slides in after hero */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 4px;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(1.05);
}
/* Wordmark animates in via JS (width + margin-left) */
.nav-logo-wordmark {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  opacity: 0;
  margin-left: 0;
  pointer-events: none;
  transition: width .55s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity .45s cubic-bezier(0.2, 0.7, 0.2, 1),
              margin-left .45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-logo-wordmark em {
  font-style: normal;
  color: var(--process-cyan);
}
.progress-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: var(--process-cyan); transform: scaleX(0); transform-origin: left;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; padding: 140px 48px 80px; overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(83,58,253,.28), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(76,201,240,.10), transparent 50%),
    #08090D;
}
.hero::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, #08090D);
  pointer-events: none; z-index: 1;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__inner {
  position: relative; z-index: 2; max-width: 1440px; margin: 0 auto;
  min-height: calc(100vh - 220px); display: flex; flex-direction: column; justify-content: center;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,.7); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 36px;
}
.hero__title {
  font-size: clamp(72px, 11vw, 192px);
  line-height: .88; letter-spacing: -.055em; font-weight: 600;
  margin-bottom: 36px; max-width: 1200px;
}
.hero__title .accent { color: var(--process-cyan); font-style: italic; font-family: 'Inter', serif; font-weight: 400; }
.hero__sub {
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5;
  color: rgba(255,255,255,.7); max-width: 560px; margin-bottom: 48px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__hud { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__hud .hud-tag { pointer-events: auto; }
.live-bar {
  position: relative; z-index: 2; max-width: 1440px; margin: 80px auto 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.live-bar__cell { background: rgba(8,9,13,.6); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.live-bar__label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 8px;
}
.live-bar__value { font-size: 32px; font-weight: 600; letter-spacing: -.025em; display: flex; align-items: baseline; gap: 8px; }
.live-bar__delta { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-sec {
  padding: 60px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden; background: #08090D;
}
.marquee-row { padding: 8px 0; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: 18vw 0 14vw; position: relative; }
.manifesto__title {
  font-size: clamp(48px, 7.5vw, 128px);
  line-height: .95; letter-spacing: -.04em; font-weight: 600; max-width: 1200px;
}
.manifesto__title .muted { color: rgba(255,255,255,.3); }
.manifesto__title .glow  { color: var(--process-cyan); }

/* ============================================================
   APP SPOTLIGHT
   ============================================================ */
.app-spot { padding: 12vw 0; position: relative; border-top: 1px solid rgba(255,255,255,.06); }
.app-spot__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.app-spot__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--avance-indigo); background: rgba(83,58,253,.1); border: 1px solid rgba(83,58,253,.2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 28px;
}
.app-spot__title {
  font-size: clamp(40px, 5vw, 80px);
  line-height: .95; letter-spacing: -.04em; font-weight: 600; margin-bottom: 24px;
}
.app-spot__sub {
  font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.65); max-width: 480px; margin-bottom: 40px;
}
.app-spot__examples { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.app-spot__examples li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.8); }
.app-spot__examples li::before {
  content: '→'; font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); flex: 0 0 16px;
}
.app-spot__viz {
  border-radius: 22px; background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.5); overflow: hidden;
}
.app-spot__viz-chrome {
  display: flex; align-items: center; gap: 8px; padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5);
}
.app-spot__viz-chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3d4d; }

/* ============================================================
   SOLUTIONS GRID (homepage)
   ============================================================ */
.solutions { padding: 12vw 0; border-top: 1px solid rgba(255,255,255,.06); }
.solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.sol-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden; cursor: default;
}
.sol-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.sol-card--featured {
  grid-column: span 2; background: rgba(83,58,253,.1); border-color: rgba(83,58,253,.2);
}
.sol-card--featured:hover { background: rgba(83,58,253,.15); border-color: rgba(83,58,253,.3); }
.sol-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.sol-card__id { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .08em; }
.sol-card__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.5);
}
.sol-card--featured .sol-card__tag { background: rgba(83,58,253,.15); color: var(--avance-indigo); }
.sol-card__title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.sol-card--featured .sol-card__title { font-size: 26px; }
.sol-card__body { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.sol-card__examples { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sol-card__examples li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); }
.sol-card__examples li::before { content: '→'; font-family: var(--font-mono); font-size: 10px; color: var(--process-cyan); flex: 0 0 14px; }
.sol-card__glow {
  position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px;
  border-radius: 50%; pointer-events: none; opacity: .3; filter: blur(2px);
  background: radial-gradient(circle, var(--avance-indigo), transparent 60%);
}
.sol-card--featured .sol-card__glow { opacity: .5; }

/* ============================================================
   PIN SECTION
   ============================================================ */
.pin { position: relative; height: 500vh; }
.pin__track {
  position: sticky; top: 0; height: 100vh; overflow: hidden; background: #08090D;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 0 48px; align-items: center;
}
.pin__intro {
  grid-column: 1 / -1; position: absolute; top: 60px; left: 48px; right: 48px;
  z-index: 3; display: flex; justify-content: space-between; align-items: baseline;
}
.pin__heading { font-size: clamp(32px, 3.5vw, 56px); font-weight: 600; letter-spacing: -.025em; line-height: 1; }
.pin__counter { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); letter-spacing: .1em; text-transform: uppercase; }
.pin__steps { max-width: 540px; padding-top: 80px; }
.pin__step { padding: 32px 0; border-top: 1px solid rgba(255,255,255,.08); opacity: .35; transition: opacity .5s ease; position: relative; }
.pin__step.active { opacity: 1; }
.pin__step:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.pin__step::before {
  content: ''; position: absolute; left: 0; top: 0; width: 0%; height: 1px;
  background: var(--process-cyan); transition: width .6s cubic-bezier(.2,.7,.2,1);
}
.pin__step.active::before { width: 100%; }
.pin__step__num { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); letter-spacing: .1em; margin-bottom: 12px; }
.pin__step__title { font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 12px; }
.pin__step__detail {
  font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.65);
  max-height: 0; overflow: hidden; transition: max-height .55s ease;
}
.pin__step.active .pin__step__detail { max-height: 200px; }
.pin__visuals { position: relative; width: 100%; height: 70vh; }
.pin__visual {
  position: absolute; inset: 0; opacity: 0; transform: scale(.96);
  transition: opacity .5s ease, transform .5s ease;
  display: flex; align-items: center; justify-content: center;
}
.pin__visual.active { opacity: 1; transform: none; }
.viz {
  width: 100%; max-width: 620px; aspect-ratio: 4/3; border-radius: 22px;
  background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.viz__chrome {
  display: flex; align-items: center; gap: 8px; padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5);
}
.viz__chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3d4d; }

/* ============================================================
   CASES HORIZONTAL SCROLL
   ============================================================ */
.cases-stage { position: relative; height: 400vh; }
.cases-track-wrap { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.cases-header {
  position: absolute; top: 60px; left: 48px; right: 48px;
  display: flex; justify-content: space-between; align-items: baseline; z-index: 2;
}
.cases-track { display: flex; gap: 32px; padding: 0 48px; will-change: transform; }
.case-card {
  flex: 0 0 580px; height: 70vh; min-height: 520px;
  background: rgba(255,255,255,.03); border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); padding: 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
}
.case-card:hover { transform: translateY(-6px); }
.case-card__metric { font-size: clamp(80px, 9vw, 140px); font-weight: 600; letter-spacing: -.045em; line-height: .9; }
.case-card__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 8px; }
.case-card__title { font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; max-width: 90%; }
.case-card__sector {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(76,201,240,.1); color: var(--process-cyan);
  align-self: flex-start; box-shadow: inset 0 0 0 1px rgba(76,201,240,.2);
}
.case-card__stack { display: flex; flex-wrap: wrap; gap: 6px; }
.case-card__stack span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em;
  padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
}
.case-card__visual {
  position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px;
  border-radius: 50%; pointer-events: none; opacity: 0; filter: blur(2px);
  transform: scale(1.2) translate(20px,20px);
  transition: transform 1.4s var(--ease-premium), opacity 1.2s var(--ease-premium);
}
.case-card.in .case-card__visual { transform: scale(1) translate(0,0); opacity: .5; }
.case-card .case-card__sector, .case-card .case-card__metric, .case-card .case-card__label,
.case-card .case-card__title, .case-card .case-card__stack, .case-card > p {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease-premium), transform .8s var(--ease-premium);
}
.case-card.in .case-card__sector { transition-delay: 100ms; opacity: 1; transform: none; }
.case-card.in .case-card__metric { transition-delay: 220ms; opacity: 1; transform: none; }
.case-card.in .case-card__label  { transition-delay: 280ms; opacity: 1; transform: none; }
.case-card.in .case-card__title  { transition-delay: 360ms; opacity: 1; transform: none; }
.case-card.in > p                { transition-delay: 440ms; opacity: 1; transform: none; }
.case-card.in .case-card__stack  { transition-delay: 520ms; opacity: 1; transform: none; }

/* ============================================================
   NUMBERS
   ============================================================ */
.nums { padding: 14vw 0; background: linear-gradient(180deg, #08090D 0%, #0A0B14 100%); position: relative; }
.nums__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; overflow: hidden; margin-top: 60px;
}
.nums__cell { background: #08090D; padding: 60px 48px; display: flex; flex-direction: column; }
.nums__cell .num {
  font-size: clamp(80px, 10vw, 160px); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.nums__cell .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 14px; }
.nums__cell .sub { font-size: 15px; color: rgba(255,255,255,.65); margin-top: 12px; line-height: 1.5; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { padding: 16vw 0 10vw; position: relative; overflow: hidden; }
.final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(83,58,253,.3), transparent 60%);
  pointer-events: none;
}
.final__title {
  font-size: clamp(64px, 10vw, 184px); line-height: .9; letter-spacing: -.05em; font-weight: 600;
  text-align: center; max-width: 1300px; margin: 0 auto 60px;
}
.final__title em { color: var(--process-cyan); font-style: italic; font-family: serif; font-weight: 400; }
.final__cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: 80px 48px 40px; border-top: 1px solid rgba(255,255,255,.08); background: #08090D; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px;
  max-width: 1440px; margin: 0 auto;
}
.footer__col h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--process-cyan); margin-bottom: 16px; font-weight: 500;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li a {
  color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px;
  position: relative; transition: color .35s var(--ease-soft);
}
.footer__col li a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px;
  width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-premium);
}
.footer__col li a:hover { color: #fff; }
.footer__col li a:hover::after { transform: scaleX(1); }
.footer__bottom {
  max-width: 1440px; margin: 60px auto 0; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4);
}

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  padding: 160px 48px 100px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 60% 20%, rgba(83,58,253,.2), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(76,201,240,.08), transparent 50%),
    #08090D;
}
.page-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--process-cyan); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.page-hero__title {
  font-size: clamp(56px, 8vw, 140px); line-height: .92; letter-spacing: -.05em; font-weight: 600;
  max-width: 1000px; margin-bottom: 28px;
}
.page-hero__sub {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55;
  color: rgba(255,255,255,.65); max-width: 560px; margin-bottom: 44px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-section { padding: 10vw 0; border-top: 1px solid rgba(255,255,255,.06); }
.services-category { margin-bottom: 80px; }
.services-category__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--process-cyan); margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.services-category__label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .3s ease, border-color .3s ease;
}
.service-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.service-card--flagship {
  background: rgba(83,58,253,.08); border-color: rgba(83,58,253,.18);
  grid-column: span 3; padding: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.service-card__num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .06em; }
.service-card__title { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.service-card--flagship .service-card__title { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.025em; }
.service-card__body { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.5); flex: 1; }
.service-card__examples { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-card__examples li { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }
.service-card__examples li::before { content: '→'; font-family: var(--font-mono); font-size: 10px; color: var(--process-cyan); flex: 0 0 14px; }
.service-card__tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.4);
}
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.rec-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.rec-card--featured { background: rgba(76,201,240,.06); border-color: rgba(76,201,240,.2); }
.rec-card__tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--process-cyan); }
.rec-card__name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.rec-card__body { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.5); flex: 1; }
.rec-card__includes { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rec-card__includes li { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: flex-start; gap: 8px; }
.rec-card__includes li::before { content: '✓'; font-size: 11px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }

/* ============================================================
   CHI SIAMO
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.team-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.team-card__avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 18px; letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--avance-indigo), var(--human-coral));
}
.team-card__name { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.team-card__role { font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); letter-spacing: .06em; text-transform: uppercase; }
.team-card__bio { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); }
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; overflow: hidden; margin-top: 60px;
}
.value-cell { background: #08090D; padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.value-cell__num { font-size: clamp(48px, 6vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: rgba(255,255,255,.08); }
.value-cell__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.value-cell__body { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.55); }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 10vw 0; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 14px 16px;
  font-family: var(--font-sans); font-size: 15px; color: #fff; outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,.3); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--avance-indigo); background: rgba(83,58,253,.06); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; color: rgba(255,255,255,.8); }
.form-select option { background: #11131A; color: #fff; }
.form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px; border-radius: 999px; border: 0;
  background: var(--avance-indigo); color: #fff;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all .2s ease; box-shadow: 0 12px 32px rgba(83,58,253,.4);
}
.form-submit:hover { background: #6852FF; transform: translateY(-2px); }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info__item { display: flex; flex-direction: column; gap: 8px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.06); }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--process-cyan); }
.contact-info__value { font-size: 16px; color: rgba(255,255,255,.8); line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.show { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.form-success__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.av-preloader {
  position: fixed; inset: 0; z-index: 9999; background: #08090D;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-premium), visibility 0s linear .8s;
}
.av-preloader::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(83,58,253,.18), transparent 60%);
  opacity: 0; transition: opacity 1s var(--ease-premium);
}
.av-preloader.ready::before { opacity: 1; }
.av-preloader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.av-preloader__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  opacity: 0; transform: scale(.96);
  transition: opacity .9s var(--ease-premium), transform 1.1s var(--ease-premium);
}
.av-preloader.ready .av-preloader__inner { opacity: 1; transform: scale(1); }
.av-preloader.gone .av-preloader__inner { opacity: 0; transform: scale(1.02); transition: opacity .5s ease, transform .8s var(--ease-premium); }
.av-preloader__logo { display: inline-flex; align-items: center; gap: 14px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.av-preloader__logo .box {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, #533AFD, #2918a8);
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
}
.av-preloader__logo .box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(76,201,240,.5), transparent 60%);
}
.av-preloader__logo .box svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.av-preloader__bar { width: 180px; height: 1px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.av-preloader__bar::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, transparent, var(--process-cyan), transparent);
  transition: width 1.4s var(--ease-premium);
}
.av-preloader.ready .av-preloader__bar::after { width: 100%; }
.av-preloader__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
html.av-loading, html.av-loading body { overflow: hidden; height: 100%; }

/* ============================================================
   HERO CINEMATIC CASCADE
   ============================================================ */
html.av-ready .hero__eyebrow   { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 200ms; }
html.av-ready .hero__title     { animation: heroEnter 1.2s var(--ease-premium) both; animation-delay: 380ms; }
html.av-ready .hero__sub       { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 720ms; }
html.av-ready .hero__cta       { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 880ms; }
html.av-ready .live-bar        { animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 1050ms; }
html.av-ready .scroll-indicator{ animation: heroEnter 1s var(--ease-premium) both;   animation-delay: 1200ms; }
@keyframes heroEnter { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
html.av-ready .live-bar__cell { animation: cellEnter .7s var(--ease-premium) both; }
html.av-ready .live-bar__cell:nth-child(1) { animation-delay: 1150ms; }
html.av-ready .live-bar__cell:nth-child(2) { animation-delay: 1230ms; }
html.av-ready .live-bar__cell:nth-child(3) { animation-delay: 1310ms; }
html.av-ready .live-bar__cell:nth-child(4) { animation-delay: 1390ms; }
@keyframes cellEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.av-ready .hud-tag { animation: hudEnter 1.1s var(--ease-premium) both; }
html.av-ready .hud-tag:nth-of-type(1) { animation-delay: 950ms; }
html.av-ready .hud-tag:nth-of-type(2) { animation-delay: 1080ms; }
html.av-ready .hud-tag:nth-of-type(3) { animation-delay: 1180ms; }
html.av-ready .hud-tag:nth-of-type(4) { animation-delay: 1280ms; }
@keyframes hudEnter { from { opacity: 0; transform: translate(0,12px) scale(.96); } to { opacity: .85; transform: none; } }
html:not(.av-ready) .hero__eyebrow,
html:not(.av-ready) .hero__title,
html:not(.av-ready) .hero__sub,
html:not(.av-ready) .hero__cta,
html:not(.av-ready) .hero .live-bar,
html:not(.av-ready) .hero .live-bar__cell,
html:not(.av-ready) .hero .hud-tag,
html:not(.av-ready) .hero .scroll-indicator { opacity: 0 !important; transform: translateY(20px); }

/* ============================================================
   CLIP REVEALS & S-TITLES
   ============================================================ */
.clip-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-premium); }
.clip-reveal.in { clip-path: inset(0 0 0 0); }
.s-titles > * { opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium), filter 1s var(--ease-premium); }
.s-titles.in > * { opacity: 1; transform: none; filter: none; }
.s-titles.in > *:nth-child(1) { transition-delay: 0ms; }
.s-titles.in > *:nth-child(2) { transition-delay: 140ms; }
.s-titles.in > *:nth-child(3) { transition-delay: 260ms; }

/* ============================================================
   GLITCH
   ============================================================ */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: var(--dark-canvas); overflow: hidden; }
.glitch::before { left: 2px; text-shadow: -1px 0 var(--process-cyan); animation: glitch-1 3s infinite linear alternate-reverse; }
.glitch::after  { left: -2px; text-shadow: -1px 0 var(--avance-indigo); animation: glitch-2 2.5s infinite linear alternate-reverse; }
@keyframes glitch-1 { 0%,90%,100% { clip-path: inset(100% 0 0 0); } 10% { clip-path: inset(20% 0 60% 0); } 30% { clip-path: inset(50% 0 30% 0); } }
@keyframes glitch-2 { 0%,90%,100% { clip-path: inset(100% 0 0 0); } 20% { clip-path: inset(70% 0 10% 0); } 40% { clip-path: inset(10% 0 75% 0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .app-spot__inner { gap: 48px; }
  .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card--featured { grid-column: span 2; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--flagship { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .app-spot__inner { grid-template-columns: 1fr; }
  .app-spot__viz { display: none; }
  .pin__track { grid-template-columns: 1fr; padding: 0 24px; }
  .pin__visuals { display: none; }
  .nums__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 18px 20px; }
  .nav__items { display: none; }
  .nav .magnet { display: none; }
  .nav__burger { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .live-bar { grid-template-columns: 1fr 1fr; }
  .case-card { flex: 0 0 85vw; }
  .nums__cell { padding: 40px 24px; }
  footer { padding: 60px 20px 30px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .solutions__grid { grid-template-columns: 1fr; }
  .sol-card--featured { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--flagship { grid-column: span 1; }
  .rec-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 20px 60px; }
  .av-cursor, .av-cursor-ring { display: none; }
}
@media (max-width: 480px) { .rec-grid { grid-template-columns: 1fr; } }

/* ============================================================
   NEW PAGE LAYOUT — shared utilities
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a, .nav-link {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease;
  white-space: nowrap;
  position: relative;
}
.nav-links a:hover, .nav-link:hover { color: #fff; }
.nav-link--active { color: rgba(255,255,255,.9) !important; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 0;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease;
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.hamburger span { display: block; width: 16px; height: 1px; background: #fff; transition: all .3s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(3px,3px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(3px,-3px); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(8,9,13,.97); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-premium);
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-nav a {
  color: #fff; text-decoration: none; font-size: clamp(24px, 5vw, 40px);
  font-weight: 600; letter-spacing: -.025em; opacity: .55; transition: opacity .2s ease;
}
.mobile-nav a:hover { opacity: 1; }
.mobile-nav-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 22px; cursor: pointer; transition: color .2s ease;
}
.mobile-nav-close:hover { color: #fff; }

/* Cursor */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  border-radius: 50%; background: var(--process-cyan);
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
  mix-blend-mode: difference; transition: width .2s, height .2s;
  will-change: transform;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  pointer-events: none; z-index: 9998; transform: translate(-50%,-50%);
  will-change: transform;
}
.cursor-dot.hover { width: 14px; height: 14px; }
.cursor-ring.hover { width: 48px; height: 48px; border-color: rgba(76,201,240,.5); }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--process-cyan); transform-origin: left; transform: scaleX(0);
  pointer-events: none;
}

/* ============================================================
   HERO (new HTML structure)
   ============================================================ */
.hero { position: relative; min-height: 100vh; overflow: hidden;
  background: radial-gradient(ellipse at 70% 25%, rgba(83,58,253,.28), transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(76,201,240,.1), transparent 50%), var(--dark-canvas);
  display: flex; flex-direction: column; justify-content: space-between; }
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.spot-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-content {
  position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 140px 48px 60px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}
/* Per-line word-split helper — makes <span> appear as block lines inside headings */
.split-line { display: block; }
.hero-h1-line { display: block; }

.hero-tag { margin-bottom: 22px; }
.hero-h1 {
  font-size: clamp(52px, 7.5vw, 120px); line-height: .92; letter-spacing: -.05em;
  font-weight: 600; color: #fff; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; color: rgba(255,255,255,.68);
  max-width: 540px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
/* av-btn style within dark hero */
.hero-content .av-btn {
  background: #fff; color: var(--dark-canvas); box-shadow: 0 8px 24px rgba(255,255,255,.1);
}
.hero-content .av-btn:hover { background: var(--process-cyan); }
.hero-content .av-btn--ghost {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.hero-content .av-btn--ghost:hover { background: rgba(255,255,255,.06); }

/* Live bar (new naming) */
.live-bar {
  position: relative; z-index: 2; margin: 0; padding: 0 48px 80px;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0; max-width: 1280px; align-self: center; width: 100%;
}
.live-bar-item {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px; display: flex; flex-direction: column; gap: 6px;
}
.live-bar-item:first-child { border-radius: 14px 0 0 14px; }
.live-bar-item:last-child { border-radius: 0 14px 14px 0; border-left: 0; }
.live-bar-item:not(:first-child):not(:last-child) { border-left: 0; }
.live-bar-sep { width: 1px; background: rgba(255,255,255,.08); }
.live-bar-value { font-size: 28px; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.live-bar-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3;
}
.scroll-indicator-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-indicator-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: .8; } }

/* ============================================================
   MARQUEE SECTION (new naming)
   ============================================================ */
.marquee-section {
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden; background: var(--dark-canvas); padding: 20px 0;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex; gap: 0; white-space: nowrap;
  animation: marqueeSlide 30s linear infinite;
  will-change: transform;
}
@keyframes marqueeSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item {
  display: inline-block; padding: 8px 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.mq-sep {
  display: inline-block; padding: 8px 4px;
  color: var(--process-cyan); font-size: 12px; opacity: .5;
}

/* ============================================================
   MANIFESTO SECTION (new naming)
   ============================================================ */
.manifesto-section {
  padding: 120px 0; position: relative;
  background: var(--dark-canvas);
  border-top: 1px solid rgba(255,255,255,.06);
}
.manifesto-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.manifesto-label { margin-bottom: 8px; }
.manifesto-text {
  font-size: clamp(36px, 5.5vw, 80px); line-height: 1; letter-spacing: -.04em;
  font-weight: 600; color: #fff; max-width: 900px;
}
.manifesto-text em { color: var(--process-cyan); font-style: italic; font-weight: 400; }
.manifesto-sub {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6;
  color: rgba(255,255,255,.6); max-width: 620px; margin-top: 8px;
}

/* ============================================================
   APP SPOTLIGHT SECTION (new naming)
   ============================================================ */
.app-spot-section {
  padding: 120px 0; border-top: 1px solid rgba(255,255,255,.06);
  background: var(--dark-canvas); position: relative;
}
.app-spot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.app-spot-copy { display: flex; flex-direction: column; align-items: flex-start; }
.app-spot-tag { margin-bottom: 20px; }
.app-spot-title {
  font-size: clamp(40px, 5.5vw, 80px); line-height: .96; letter-spacing: -.04em;
  font-weight: 600; color: #fff; margin-bottom: 24px;
}
.app-spot-desc {
  font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.6);
  max-width: 460px; margin-bottom: 32px;
}
.app-spot-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.app-spot-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.app-spot-arrow { font-family: var(--font-mono); font-size: 12px; color: var(--process-cyan); flex: 0 0 16px; margin-top: 1px; }
.app-spot-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.app-spot-ctas .av-btn {
  background: #fff; color: var(--dark-canvas);
}
.app-spot-ctas .av-btn:hover { background: var(--process-cyan); }
.app-spot-ctas .av-btn--ghost {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.app-spot-ctas .av-btn--ghost:hover { background: rgba(255,255,255,.06); }

/* Viz frame */
.app-spot-viz { position: relative; }
.viz-frame {
  border-radius: 20px; background: rgba(255,255,255,.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden; padding: 20px;
}
.viz-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4);
}
.viz-dots { display: flex; gap: 5px; }
.viz-dots span { width: 8px; height: 8px; border-radius: 50%; background: #3a3d4d; }
.viz-mono { margin-left: 6px; }
.viz-live {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  color: var(--process-cyan); font-size: 11px;
}
.arch-svg { width: 100%; height: auto; display: block; }
.viz-pills {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px;
}
.viz-pill {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px;
}
.viz-pill-val { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.viz-pill-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* ============================================================
   SOLUTIONS SECTION (new naming)
   ============================================================ */
.solutions-section {
  padding: 120px 0; border-top: 1px solid rgba(255,255,255,.06);
  background: var(--dark-canvas);
}
.solutions-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px;
}
.solutions-head .av-h-1 { color: #fff; }
.solutions-intro { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 460px; margin-left: auto; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Sol cards (new naming) */
.sol-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  min-height: 280px; cursor: default; position: relative; overflow: hidden;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.sol-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.sol-card--featured { grid-column: span 2; background: rgba(83,58,253,.1); border-color: rgba(83,58,253,.2); }
.sol-card--featured:hover { background: rgba(83,58,253,.16); border-color: rgba(83,58,253,.3); }
.sol-card-top { display: flex; justify-content: space-between; align-items: center; }
.sol-num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .08em; }
.sol-card-title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.sol-card--featured .sol-card-title { font-size: 26px; }
.sol-card-blurb { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.sol-card-examples { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sol-card-examples li { font-size: 13px; color: rgba(255,255,255,.6); }
.sol-card-link {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  color: var(--process-cyan); letter-spacing: .04em; text-decoration: none; margin-top: 4px;
  transition: letter-spacing .2s ease;
}
.sol-card-link:hover { letter-spacing: .08em; }

/* ============================================================
   PIN SECTION (new naming)
   ============================================================ */
.pin-section { position: relative; height: 500vh; background: var(--dark-canvas); }
.pin-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 48px 48px; max-width: 100%; background: var(--dark-canvas);
}
.pin-header { margin-bottom: 48px; }
.pin-header .av-eyebrow { color: rgba(255,255,255,.4); }
.pin-header .av-h-1 { color: #fff; }
.pin-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; width: 100%; }
.pin-step {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  opacity: .3; transition: opacity .5s ease, background .3s ease;
}
.pin-step.active { opacity: 1; background: rgba(83,58,253,.08); border-color: rgba(83,58,253,.2); }
.pin-step-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); letter-spacing: .1em;
}
.pin-step-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.pin-step-desc { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.pin-step-svg { margin-top: auto; }
.pin-step-svg svg { width: 100%; height: auto; }
.pin-progress {
  position: absolute; bottom: 40px; left: 48px; right: 48px; height: 1px;
  background: rgba(255,255,255,.08); max-width: 1280px; margin: 0 auto;
}
.pin-progress-fill { height: 100%; background: var(--process-cyan); width: 0%; transition: width .1s linear; }

/* ============================================================
   CASES SECTION (new naming)
   ============================================================ */
.cases-section { position: relative; height: 400vh; }
.cases-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--dark-canvas); padding: 0 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.cases-header { margin-bottom: 40px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.cases-header .av-eyebrow { color: rgba(255,255,255,.4); }
.cases-header .av-h-2 { color: #fff; margin-top: 10px; }
.cases-track { display: flex; gap: 24px; will-change: transform; max-width: none; }

/* Case cards (new naming) */
.case-card {
  flex: 0 0 500px; border-radius: 20px; padding: 32px;
  background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .4s var(--ease-soft);
}
.case-card:hover { transform: translateY(-6px); }
.case-card-tag {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.case-metric {
  font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -.045em;
  line-height: .9; color: #fff;
}
.case-metric-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: -8px;
}
.case-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); flex: 1; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* ============================================================
   NUMBERS SECTION (new naming)
   ============================================================ */
.numbers-section {
  padding: 100px 0; background: var(--dark-canvas);
  border-top: 1px solid rgba(255,255,255,.06);
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; overflow: hidden;
}
.number-item {
  background: var(--dark-canvas); padding: 48px; display: flex; flex-direction: column; gap: 10px;
}
.number-val {
  font-size: clamp(56px, 7vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums; color: #fff;
}
.number-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--avance-indigo), var(--process-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */
.testimonial-section {
  padding: 100px 0; background: var(--dark-canvas);
  border-top: 1px solid rgba(255,255,255,.06);
}
.testimonial-inner {
  max-width: 800px; margin: 0 auto; padding: 0 48px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.testimonial-quote-mark { font-size: 80px; line-height: .5; color: var(--avance-indigo); font-weight: 600; }
.testimonial-text {
  font-size: clamp(22px, 2.5vw, 30px); line-height: 1.45; letter-spacing: -.02em;
  color: rgba(255,255,255,.9); font-style: italic; font-weight: 400;
}
.testimonial-footer { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--avance-indigo), var(--human-coral));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #fff;
}
.testimonial-name { font-size: 15px; font-weight: 600; color: #fff; }
.testimonial-role { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .04em; margin-top: 2px; }

/* ============================================================
   FINAL CTA SECTION (new naming)
   ============================================================ */
.final-cta-section {
  padding: 120px 0; background: var(--dark-canvas); position: relative; overflow: hidden;
}
.final-cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(83,58,253,.2), transparent 55%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative; z-index: 1; max-width: 700px; margin: 0 auto; padding: 0 48px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.final-cta-title {
  font-size: clamp(40px, 5.5vw, 72px); line-height: .96; letter-spacing: -.04em;
  font-weight: 600; color: #fff;
}
.final-cta-sub {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.6); max-width: 500px;
}
.final-cta-section .av-btn {
  background: #fff; color: var(--dark-canvas); margin-top: 12px;
}
.final-cta-section .av-btn:hover { background: var(--process-cyan); }

/* ============================================================
   FOOTER (new naming)
   ============================================================ */
.footer {
  background: var(--dark-canvas); padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-desc { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.45); margin-top: 12px; max-width: 240px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social-link {
  color: rgba(255,255,255,.4); transition: color .2s ease;
  display: flex; align-items: center;
}
.footer-social-link:hover { color: #fff; }
.footer-col { display: flex; flex-direction: column; }
.footer-col-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--process-cyan); margin-bottom: 16px; font-weight: 500;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px;
  transition: color .25s ease; position: relative;
}
.footer-col-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px; margin: 48px auto 0; padding: 24px 48px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.35);
}
.footer-copy {}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s ease; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   PAGE HERO (sub-pages — new naming)
   ============================================================ */
.page-hero--dark {
  padding: 160px 48px 100px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 60% 20%, rgba(83,58,253,.2), transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(76,201,240,.08), transparent 50%), var(--dark-canvas);
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; max-width: 800px; }
.page-hero-title {
  font-size: clamp(48px, 7vw, 100px); line-height: .95; letter-spacing: -.045em;
  font-weight: 600; color: #fff; margin-bottom: 24px;
}
.page-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,.6); max-width: 560px;
}

/* ============================================================
   SERVICES CATALOG (servizi.html)
   ============================================================ */
.services-catalog { padding: 0 0 120px; }
.svc-category {
  padding: 80px 0; border-top: 1px solid rgba(255,255,255,.06);
  max-width: 1280px; margin: 0 auto; padding-left: 48px; padding-right: 48px;
}
.svc-category-header { margin-bottom: 48px; }
.svc-category-header .av-eyebrow { color: var(--process-cyan); margin-bottom: 12px; }
.svc-category-title { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; color: #fff; margin-bottom: 12px; }
.svc-category-desc { font-size: 16px; color: rgba(255,255,255,.5); max-width: 560px; }

/* Featured card */
.svc-featured-card {
  background: rgba(83,58,253,.08); border: 1px solid rgba(83,58,253,.2);
  border-radius: 20px; padding: 40px; margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.svc-featured-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--process-cyan); background: rgba(76,201,240,.08);
  border: 1px solid rgba(76,201,240,.2); padding: 6px 14px; border-radius: 999px;
}
.svc-featured-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.svc-featured-copy { display: flex; flex-direction: column; align-items: flex-start; }
.svc-num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.3); letter-spacing: .08em; margin-bottom: 12px; display: block; }
.svc-featured-title { font-size: clamp(28px, 3.5vw, 48px); font-weight: 600; letter-spacing: -.03em; color: #fff; margin-bottom: 20px; }
.svc-featured-desc { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.6); margin-bottom: 28px; }
.svc-featured-ctas { display: flex; gap: 12px; margin-top: 12px; }
.svc-featured-ctas .av-btn { background: #fff; color: var(--dark-canvas); }
.svc-featured-ctas .av-btn:hover { background: var(--process-cyan); }
.svc-featured-ctas .av-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.svc-featured-ctas .av-btn--ghost:hover { background: rgba(255,255,255,.06); }
.svc-featured-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-metric-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px;
}
.svc-metric-val { font-size: 32px; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.svc-metric-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* Svc grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-grid--1 { grid-template-columns: 1fr; }
.svc-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: background .3s ease, border-color .3s ease;
}
.svc-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.svc-card-head { display: flex; justify-content: space-between; align-items: center; }
.svc-card-title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.svc-card-desc { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); flex: 1; }
.svc-card-cta {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  color: var(--process-cyan); letter-spacing: .04em; text-decoration: none;
  margin-top: 4px; transition: letter-spacing .2s ease;
}
.svc-card-cta:hover { letter-spacing: .08em; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc-list li { font-size: 14px; color: rgba(255,255,255,.7); display: flex; align-items: flex-start; gap: 8px; }
.svc-list li::before { content: '→'; font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }
.svc-list-sm { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-list-sm li { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: flex-start; gap: 8px; }
.svc-list-sm li::before { content: '✓'; font-family: var(--font-mono); font-size: 10px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }

/* Plans section */
.plans-section {
  padding: 100px 0; background: var(--dark-surface);
  border-top: 1px solid rgba(255,255,255,.06);
}
.plans-head { max-width: 1280px; margin: 0 auto 60px; padding: 0 48px; }
.plans-title { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.035em; color: #fff; margin-bottom: 16px; }
.plans-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 520px; }
.plans-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.plan-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.plan-card--featured { background: rgba(83,58,253,.1); border-color: rgba(83,58,253,.25); }
.plan-card-header { display: flex; justify-content: space-between; align-items: center; }
.plan-name { font-size: 20px; font-weight: 600; letter-spacing: -.015em; color: #fff; }
.plan-desc { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.5); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { font-size: 13px; color: rgba(255,255,255,.65); display: flex; align-items: flex-start; gap: 8px; }
.plan-features li::before { content: '✓'; font-size: 11px; color: var(--process-cyan); flex: 0 0 14px; margin-top: 1px; }
.plans-note {
  max-width: 1280px; margin: 36px auto 0; padding: 0 48px;
  font-size: 14px; color: rgba(255,255,255,.4); text-align: center;
}

/* ============================================================
   CHI SIAMO — MISSION
   ============================================================ */
.mission-section { padding: 100px 0; background: var(--dark-canvas); border-top: 1px solid rgba(255,255,255,.06); }
.mission-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.mission-copy .av-h-1 { color: #fff; margin-top: 16px; }
.mission-text p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.6); }

/* Values section (new naming) */
.values-section { padding: 100px 0; background: var(--dark-surface); border-top: 1px solid rgba(255,255,255,.06); }
.values-head { max-width: 1280px; margin: 0 auto 60px; padding: 0 48px; }
.values-head .av-h-1 { color: #fff; margin-top: 16px; }
.values-grid { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-card {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 14px;
  transition: background .3s ease, border-color .3s ease;
}
.value-card:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.value-num {
  font-size: 56px; font-weight: 600; letter-spacing: -.04em; line-height: 1;
  color: rgba(255,255,255,.06);
}
.value-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.value-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* Team section (new naming) */
.team-section { padding: 100px 0; background: var(--dark-canvas); border-top: 1px solid rgba(255,255,255,.06); }
.team-head { max-width: 1280px; margin: 0 auto 0; padding: 0 48px; }
.team-title { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; color: #fff; }
.team-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 540px; margin-top: 16px; }
.team-grid { max-width: 1280px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.team-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.team-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #fff;
}
.team-avatar--1 { background: linear-gradient(135deg, var(--avance-indigo), var(--process-cyan)); }
.team-avatar--2 { background: linear-gradient(135deg, var(--process-cyan), #22C55E); }
.team-avatar--3 { background: linear-gradient(135deg, var(--human-coral), var(--avance-indigo)); }
.team-info { display: flex; flex-direction: column; gap: 4px; }
.team-name { font-size: 17px; font-weight: 600; color: #fff; }
.team-role { font-family: var(--font-mono); font-size: 11px; color: var(--process-cyan); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.team-bio { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.5); }

/* ============================================================
   CONTACT HERO (contatti.html)
   ============================================================ */
.contact-hero {
  min-height: 100vh; padding: 140px 0 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 30% 30%, rgba(83,58,253,.18), transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(76,201,240,.08), transparent 50%), var(--dark-canvas);
}
.contact-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-title {
  font-size: clamp(40px, 5.5vw, 72px); line-height: .96; letter-spacing: -.04em;
  font-weight: 600; color: #fff; margin-bottom: 20px;
}
.contact-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.6); margin-bottom: 40px; }

/* Contact expect list */
.contact-expect { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.contact-expect-title { margin-bottom: 16px; }
.contact-expect-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-expect-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-expect-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--process-cyan); flex: 0 0 24px; margin-top: 1px;
}
.contact-expect-list strong { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.contact-expect-list p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.5); }

/* Contact proof stats */
.contact-proof { display: flex; align-items: center; gap: 24px; }
.contact-proof-stat { display: flex; flex-direction: column; gap: 4px; }
.contact-proof-val { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.contact-proof-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.contact-proof-sep { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Form card */
.contact-form-wrap {}
.contact-form-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 32px; position: relative;
}
.contact-form-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 28px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4);
}

/* Form elements (already exist but adding new ones) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group--check { margin-top: 4px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.form-check-custom {
  width: 18px; height: 18px; border-radius: 4px; flex: 0 0 18px; margin-top: 1px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  transition: border-color .2s ease, background .2s ease;
}
.form-check input:checked ~ .form-check-custom {
  background: var(--avance-indigo); border-color: var(--avance-indigo);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.form-check-label { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.form-link { color: var(--process-cyan); text-decoration: none; }
.form-link:hover { text-decoration: underline; }
.form-submit-text {}
.form-disclaimer { font-size: 12px; color: rgba(255,255,255,.3); text-align: center; margin-top: 8px; }

/* Form success */
.form-success {
  display: none; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; padding: 48px 24px;
}
.form-success[hidden] { display: none !important; }
.form-success:not([hidden]) { display: flex; }
.form-success-icon { margin-bottom: 8px; }
.form-success-title { font-size: 22px; font-weight: 600; color: #fff; }
.form-success-text { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { padding: 80px 0; background: var(--dark-canvas); border-top: 1px solid rgba(255,255,255,.06); }
.faq-head { max-width: 1280px; margin: 0 auto 48px; padding: 0 48px; }
.faq-head .av-h-2 { color: #fff; margin-top: 12px; }
.faq-list { max-width: 800px; margin: 0 auto; padding: 0 48px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 0;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,.85);
  transition: color .2s ease;
}
.faq-q:hover { color: #fff; }
.faq-q[aria-expanded="true"] { color: #fff; }
.faq-icon {
  font-size: 20px; color: var(--process-cyan); transition: transform .3s ease; flex: 0 0 20px;
  font-weight: 300; line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.55);
}
.faq-a[hidden] { display: none; }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 1200px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card--featured { grid-column: span 2; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-featured-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-featured-metrics { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .app-spot-grid { grid-template-columns: 1fr; gap: 60px; }
  .app-spot-viz { display: none; }
  .pin-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .solutions-head { grid-template-columns: 1fr; gap: 24px; }
  .solutions-intro { margin-left: 0; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { top: 12px; padding: 0 12px; }
  .nav-pill { padding: 8px 8px 8px 16px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 100px 20px 40px; }
  .live-bar { padding: 0 20px 60px; grid-template-columns: 1fr auto 1fr; }
  .live-bar-item:nth-child(n+6) { display: none; }
  .manifesto-inner { padding: 0 20px; }
  .app-spot-section { padding: 80px 0; }
  .app-spot-section .container { padding: 0 20px; }
  .solutions-section .container { padding: 0 20px; }
  .pin-sticky { padding: 60px 20px 40px; }
  .pin-steps-grid { grid-template-columns: 1fr; }
  .cases-sticky { padding: 0 20px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .testimonial-inner { padding: 0 20px; }
  .final-cta-inner { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .footer-bottom { padding: 20px 20px 0; flex-direction: column; gap: 12px; }
  .page-hero--dark { padding: 100px 20px 60px; }
  .services-catalog .svc-category { padding-left: 20px; padding-right: 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid--2 { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .plans-head { padding: 0 20px; }
  .plans-note { padding: 0 20px; }
  .values-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .values-head { padding: 0 20px; }
  .team-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .team-head { padding: 0 20px; }
  .mission-grid { padding: 0 20px; }
  .contact-hero { padding: 100px 0 60px; }
  .contact-hero-inner { padding: 0 20px; }
  .faq-list { padding: 0 20px; }
  .faq-head { padding: 0 20px; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}
@media (max-width: 480px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-card--featured { grid-column: span 1; }
  .case-card { flex: 0 0 90vw; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .av-preloader { transition: none; opacity: 0; visibility: hidden; pointer-events: none; }
  html.av-ready .hero__eyebrow, html.av-ready .hero__title, html.av-ready .hero__sub,
  html.av-ready .hero__cta, html.av-ready .live-bar, html.av-ready .live-bar__cell,
  html.av-ready .hud-tag, html.av-ready .scroll-indicator { animation: none; }
  [data-fade], [data-stagger-parent] > [data-stagger] { transition: none; opacity: 1; transform: none; }
  [data-parallax], [data-rise], [data-scale-out] { transform: none !important; }
  .av-marquee, .marquee-inner { animation: none; }
  .clip-reveal { clip-path: none; }
}
