/* ==========================================================================
   Next Value Digital — Finitions premium
   Same layout, same content, same logo colours (violet → magenta → coral).
   This layer only refines: lighter serif headlines, more air, finer
   hairlines, softer shadows, slower and smoother motion, monochrome client
   logos that regain colour on hover, and a very subtle film grain.
   ========================================================================== */

::selection{ background: var(--violet); color: #fff; }

/* ---------- Typography: lighter, more editorial ---------- */
h1, h2{ font-weight: 400; letter-spacing: -0.015em; }
.hero h1{ font-size: clamp(3rem, 6.6vw, 5.6rem); line-height: 1; }
h2{ line-height: 1.05; }
p{ line-height: 1.72; }
.hero p.lead, .page-hero .lead{ line-height: 1.75; }

.eyebrow{ font-size: 0.72rem; letter-spacing: 0.28em; font-weight: 500; }
.hero .eyebrow{ font-size: 0.8rem; letter-spacing: 0.3em; text-shadow: none; }
.eyebrow::before{ width: 32px; }

/* ---------- Buttons: same gradient pill, finer label, softer glow ---------- */
.btn{
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .4s ease, color .4s ease, border-color .4s ease;
}
.btn-primary{ box-shadow: 0 14px 34px -16px rgba(108,76,245,0.55); }
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 20px 44px -16px rgba(185,83,154,0.55); }
.btn-ghost{ border-width: 1px; }
.btn-ghost:hover{ transform: translateY(-1px); }
.btn-sm{ font-size: 0.72rem; padding: 11px 22px; }
.floating-contact{ font-size: 0.78rem; letter-spacing: 0.08em; box-shadow: 0 16px 36px -18px rgba(11,10,20,0.6); }

/* ---------- Header: a touch more glass, finer links ---------- */
.site-header{ backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.nav-links a{ font-size: 0.86rem; letter-spacing: 0.04em; }

/* ---------- More breathing room ---------- */
section{ padding: 130px 0; }
.section-head{ margin-bottom: 70px; }
@media (max-width: 900px){ section{ padding: 90px 0; } }

/* ---------- Cards: hairline, lighter shadow, calmer hover ---------- */
.card, .sector-card{
  box-shadow: 0 1px 2px rgba(20,18,31,0.03), 0 18px 40px -28px rgba(20,18,31,0.18);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), border-color .5s ease;
}
.card:hover, .sector-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(20,18,31,0.03), 0 30px 60px -30px rgba(74,47,203,0.28);
}
.card .icon-wrap, .sector-card .line-icon{ box-shadow: none; }

/* ---------- Client logos: monochrome, colour on hover, slower marquee ---------- */
.logo-marquee-track{ animation-duration: 64s; }
.client-logo img{ filter: grayscale(1); opacity: .72; transition: filter .6s ease, opacity .6s ease, transform .6s var(--ease-out); }
.client-logo:hover img{ filter: none; opacity: 1; }

/* ---------- Chips & badges: finer ---------- */
.chip, .platform-badge{ font-size: 0.78rem; letter-spacing: 0.02em; box-shadow: none; }

/* ---------- Scroll reveals: slower, softer ---------- */
[data-reveal]{ transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1), transform 1.4s cubic-bezier(0.16,1,0.3,1); }

/* ---------- Film grain (very subtle, whole page) ---------- */
body::before{
  content: "";
  position: fixed; inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce){
  .card, .sector-card, .btn{ transition: none; }
}
