/* ══════════════════════════════════════════════════
   CODICE VINCI — Premium Stylesheet v5.0
   Moonshot · Preloader · Cursor Glow · Progress
   ══════════════════════════════════════════════════ */

/* ── PRELOADER ── */
#cvw-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #070a0e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s;
}

#cvw-preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cvw-preloader-inner {
  text-align: center;
}

.cvw-preloader-icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  animation: cvwPreSpin 3s linear infinite;
  opacity: .5;
}

.cvw-preloader-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 1.2rem;
  animation: cvwPrePulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(74,143,231,.3));
}

@keyframes cvwPrePulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes cvwPreSpin {
  to { transform: rotate(360deg); }
}

.cvw-preloader-text {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: rgba(126,180,242, .9);
  margin-bottom: 1.5rem;
}

.cvw-pre-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  animation: cvwPreLetter .5s ease forwards;
}

.cvw-pre-letter:nth-child(1)  { animation-delay: .1s; }
.cvw-pre-letter:nth-child(2)  { animation-delay: .15s; }
.cvw-pre-letter:nth-child(3)  { animation-delay: .2s; }
.cvw-pre-letter:nth-child(4)  { animation-delay: .25s; }
.cvw-pre-letter:nth-child(5)  { animation-delay: .3s; }
.cvw-pre-letter:nth-child(6)  { animation-delay: .35s; }
.cvw-pre-letter:nth-child(8)  { animation-delay: .5s; }
.cvw-pre-letter:nth-child(9)  { animation-delay: .55s; }
.cvw-pre-letter:nth-child(10) { animation-delay: .6s; }
.cvw-pre-letter:nth-child(11) { animation-delay: .65s; }
.cvw-pre-letter:nth-child(12) { animation-delay: .7s; }

.cvw-pre-dot {
  display: inline-block;
  color: rgba(74,143,231, .4);
  opacity: 0;
  animation: cvwPreLetter .5s ease .42s forwards;
  margin: 0 .15em;
}

@keyframes cvwPreLetter {
  to { opacity: 1; transform: translateY(0); }
}

.cvw-preloader-bar {
  width: 180px;
  height: 1px;
  background: rgba(74,143,231, .1);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1px;
}

.cvw-preloader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(74,143,231,.4), rgba(126,180,242,.7));
  animation: cvwPreFill 1.2s ease .3s forwards;
}

@keyframes cvwPreFill {
  to { width: 100%; }
}

/* ── CURSOR GLOW ── */
#cvw-cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(74,143,231,.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  opacity: 0;
  will-change: left, top;
}

body:hover #cvw-cursor-glow {
  opacity: 1;
}

/* ── SCROLL PROGRESS BAR ── */
#cvw-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, rgba(74,143,231,.3), rgba(126,180,242,.7), rgba(74,143,231,.3));
  z-index: 100000;
  transition: none;
  will-change: width;
}

/* ── Scroll offset for fixed header ── */
[id^="cvw-"] {
  scroll-margin-top: 70px;
}

/* ── NAV ENHANCED GLASS ── */
#cvw-nav {
  transition: background .4s, backdrop-filter .4s, -webkit-backdrop-filter .4s, box-shadow .4s;
}

#cvw-nav.scrolled {
  background: rgba(8,11,16, .88) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(74,143,231, .06), 0 4px 20px rgba(0,0,0,.3);
}

/* ── SOUND TOGGLE PULSE ── */
#cvw-sound-toggle {
  animation: cvwSoundPulse 3s ease 4s 3;
}

@keyframes cvwSoundPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,.4); }
  50% { box-shadow: 0 4px 16px rgba(0,0,0,.4), 0 0 0 6px rgba(74,143,231,.15); }
}

/* ── SOCIAL PROOF BAR ── */
.cvw-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  opacity: 0;
  animation: cvwUp .8s ease 2s forwards;
}

.cvw-proof-stat {
  text-align: center;
}

.cvw-proof-num {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(126,180,242, .8);
  display: block;
  line-height: 1;
}

.cvw-proof-label {
  font-size: .65rem;
  letter-spacing: .08em;
  color: rgba(232,224,216, .3);
  margin-top: .2rem;
  display: block;
}

.cvw-proof-sep {
  width: 1px;
  height: 20px;
  background: rgba(74,143,231, .15);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #080b10;
  color: rgba(232,224,216, .72);
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.cvw-gold {
  background: linear-gradient(135deg, #e8c97a 0%, #c9a84c 50%, #e8c97a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */

#cvw-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8,11,16, 0);
  border-bottom: 1px solid rgba(74,143,231, 0);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}

#cvw-nav.scrolled {
  background: rgba(8,11,16, .88);
  border-bottom-color: rgba(74,143,231, .1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cvw-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cvw-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.cvw-logo-icon {
  font-size: 1.2rem;
  animation: cvwSpin 7s linear infinite;
}

.cvw-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(201,168,76,.25));
  transition: filter .3s;
}

.cvw-logo:hover .cvw-logo-img {
  filter: drop-shadow(0 0 14px rgba(232,201,122,.5));
}

.cvw-footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: .5rem;
  filter: drop-shadow(0 0 12px rgba(201,168,76,.25));
}

.cvw-logo-text {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .12em;
  color: #c9a84c;
}

.cvw-logo-sep {
  color: rgba(74,143,231, .35);
  padding: 0 .15em;
}

.cvw-logo-phonetic {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: .65rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(232,224,216, .35);
  letter-spacing: .04em;
  margin-left: .5em;
  white-space: nowrap;
}

.cvw-nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.cvw-nav-links a {
  font-size: .92rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(232,224,216, .5);
  transition: color .3s;
  position: relative;
  font-weight: 400;
}

.cvw-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4A8FE7;
  transition: width .3s;
}

.cvw-nav-links a:hover {
  color: #7EB4F2;
}

.cvw-nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.cvw-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.cvw-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #4A8FE7;
  transition: transform .3s, opacity .3s;
}

.cvw-menu-btn.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.cvw-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.cvw-menu-btn.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */

#cvw-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(74,143,231,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(80,130,200,.04) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(60,110,180,.05) 0%, transparent 40%),
    rgba(9,12,17,.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

#cvw-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.cvw-vig {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 28%, rgba(7,10,15, .75) 100%);
}

.cvw-ui {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  pointer-events: none;
}

.cvw-eye {
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  letter-spacing: .3em;
  color: rgba(74,143,231, .55);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 400;
  opacity: 0;
  animation: cvwUp .9s ease .4s forwards;
}

/* ── Interactive Title (Dual-span Letters) ── */

#cvw-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0;
  margin: 0;
  pointer-events: all;
  position: relative;
  padding: .7em 1.2em;
}

/* Traveling light removed from title — now on CTA */

@keyframes cvwLightOrbit {
  to { --cvw-light-angle: 360deg; }
}

@keyframes cvwLightBreath {
  0%, 100% { opacity: 1; }
  30% { opacity: 1; }
  45% { opacity: 0; }
  65% { opacity: 0; }
  80% { opacity: 1; }
}

@property --cvw-light-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Letter wrapper */
.cvw-hl-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
  user-select: none;
  padding: 0 .01em;
}

/* Shared base for both layers */
.cvw-hl-outline,
.cvw-hl-fill {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  display: block;
}

/* Layer 1: Outline (stroke only) */
.cvw-hl-outline {
  -webkit-text-stroke: 1.5px #c9a84c;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  transform: translateY(14px) scale(0.88);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Layer 2: Gradient fill (stacked on top) */
.cvw-hl-fill {
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #e8c97a 0%, #c9a84c 38%, #9a7228 68%, #e8c97a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s;
  filter: drop-shadow(0 0 0px rgba(201,168,76, 0));
}

/* Phase 1: Outline appears */
.cvw-hl-wrap.show-outline .cvw-hl-outline {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Phase 2: Fill fades in over outline */
.cvw-hl-wrap.show-fill .cvw-hl-fill {
  opacity: 1;
  transform: translateY(0);
  filter: drop-shadow(0 0 18px rgba(201,168,76, .25))
          drop-shadow(0 0 6px rgba(0, 0, 0, .9))
          drop-shadow(0 0 14px rgba(0, 0, 0, .7))
          drop-shadow(0 0 28px rgba(0, 0, 0, .4));
}

/* Hover / Active glow boost */
.cvw-hl-wrap.active .cvw-hl-fill,
.cvw-hl-wrap:hover .cvw-hl-fill {
  filter: drop-shadow(0 0 24px rgba(232,201,122, .9))
          drop-shadow(0 0 60px rgba(201,168,76, .6))
          drop-shadow(0 0 8px rgba(0, 0, 0, .85))
          drop-shadow(0 0 20px rgba(0, 0, 0, .5)) !important;
}

.cvw-hl-wrap.active .cvw-hl-outline,
.cvw-hl-wrap:hover .cvw-hl-outline {
  -webkit-text-stroke-color: #e8c97a;
}

/* Separator dot */
.cvw-hl-sep-wrap {
  cursor: default;
  pointer-events: none;
}

.cvw-sep-text {
  -webkit-text-stroke: none;
  -webkit-text-fill-color: rgba(201,168,76, .4);
  color: rgba(201,168,76, .4);
}

.cvw-sub {
  font-family: 'Outfit', sans-serif;
  margin-top: 1.2rem;
  font-size: clamp(.78rem, 1.5vw, .92rem);
  letter-spacing: .2em;
  color: rgba(232,224,216, .5);
  text-transform: none;
  font-weight: 300;
  opacity: 0;
  animation: cvwUp 1s ease 1s forwards;
  text-shadow: 0 0 20px rgba(0,0,0,.5);
}

.cvw-divider {
  margin: 1.7rem auto;
  width: 52px;
  height: 1px;
  background: linear-gradient(to right, transparent, #4A8FE7, transparent);
  opacity: 0;
  animation: cvwUp 1s ease 1.2s forwards;
}

/* ── Sacred 369 ∞ inscription ── */
.cvw-sacred {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: .6rem auto 1.2rem;
  opacity: 0;
  animation: cvwSacredIn 2.5s ease 2s forwards;
  user-select: none;
  pointer-events: none;
}
.cvw-s-num {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: .15em;
  background: linear-gradient(135deg, #4A8FE7 0%, #9DC5F5 40%, #4A8FE7 60%, #3570C0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cvw-s-dot {
  font-size: .6rem;
  color: rgba(74,143,231,.3);
}
.cvw-s-inf {
  font-size: 1.3rem;
  margin-left: .3rem;
  background: linear-gradient(135deg, #4A8FE7 0%, #9DC5F5 50%, #4A8FE7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: cvwInfBreath 4s ease-in-out infinite;
}
@keyframes cvwSacredIn {
  0% { opacity: 0; transform: translateY(8px); letter-spacing: .8em; }
  60% { opacity: .35; }
  100% { opacity: .3; transform: translateY(0); letter-spacing: .15em; }
}
@keyframes cvwInfBreath {
  0%, 100% { opacity: .3; transform: scale(1) rotate(0deg); }
  50% { opacity: .6; transform: scale(1.08) rotate(3deg); }
}

.cvw-cta {
  font-family: 'Outfit', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.6rem;
  border: 1px solid rgba(74,143,231, .35);
  color: #7EB4F2;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(74,143,231, .04);
  cursor: pointer;
  position: relative;
  transition: color .35s, box-shadow .35s, border-color .35s, background .35s;
  border-radius: 12px;
  opacity: 0;
  animation: cvwUp 1s ease 1.4s forwards;
  pointer-events: all;
  overflow: hidden;
  will-change: transform, box-shadow;
}

/* ── Traveling light impulse around CTA (primary, clockwise) ── */
.cvw-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: conic-gradient(
    from var(--cvw-light-angle, 0deg) at 50% 50%,
    transparent 0deg,
    transparent 310deg,
    rgba(74,143,231, .15) 330deg,
    rgba(126,180,242, .5) 345deg,
    rgba(180,210,255, .8) 355deg,
    rgba(126,180,242, .5) 358deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px;
  animation: cvwLightOrbit 4s linear infinite,
             cvwCtaBreath 8s ease-in-out infinite;
  z-index: 1;
}

/* ── Second impulse (counter-clockwise, offset) ── */
.cvw-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: conic-gradient(
    from var(--cvw-light-angle2, 180deg) at 50% 50%,
    transparent 0deg,
    transparent 320deg,
    rgba(140,170,220, .12) 340deg,
    rgba(126,180,242, .35) 352deg,
    rgba(140,170,220, .12) 358deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1.5px;
  animation: cvwLightOrbit2 5s linear infinite;
  z-index: 1;
  opacity: .7;
}

@property --cvw-light-angle2 {
  syntax: '<angle>';
  initial-value: 180deg;
  inherits: false;
}

@keyframes cvwLightOrbit2 {
  to { --cvw-light-angle2: -180deg; }
}

@keyframes cvwCtaBreath {
  0%, 100% { opacity: 1; }
  30% { opacity: 1; }
  45% { opacity: .15; }
  55% { opacity: .15; }
  70% { opacity: 1; }
}

.cvw-cta:hover {
  background: rgba(74,143,231, .08);
  box-shadow:
    0 0 28px rgba(74,143,231, .25),
    inset 0 0 20px rgba(74,143,231, .06);
  border-color: rgba(74,143,231, .6);
  color: #fff;
}

/* Speed up orbits on hover */
.cvw-cta:hover::before {
  animation-duration: 2s, 8s;
}
.cvw-cta:hover::after {
  animation-duration: 2.5s;
  opacity: 1;
}

.cvw-gear {
  display: inline-block;
  animation: cvwSpin 7s linear infinite;
}

/* Scroll hint */
.cvw-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: cvwUp 1s ease 2s forwards;
}

.cvw-scroll-arrow {
  font-size: 1.1rem;
  color: rgba(74,143,231, .4);
  animation: cvwBounce 2s ease-in-out infinite;
}

@keyframes cvwBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ══════════════════════════════════════════════════
   INFO PANEL (constellation-bordered)
   ══════════════════════════════════════════════════ */

#cvw-info-panel {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  padding: 1.2rem 1.6rem;
  background: rgba(10,13,18, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: .5px solid rgba(74,143,231, .1);
  border-radius: 14px;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity .45s cubic-bezier(0.22, 1, 0.36, 1),
    transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}

#cvw-info-panel.show {
  opacity: .92;
  transform: scale(1) translateY(0);
}

.cvw-info-letter {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .2rem;
  background: linear-gradient(135deg, #7EB4F2, #4A8FE7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .85;
}

.cvw-info-word {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  letter-spacing: .3em;
  color: rgba(74,143,231, .55);
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.cvw-info-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(232,224,216, .4);
  font-weight: 300;
}

/* ══════════════════════════════════════════════════
   SECTION BACKGROUND CANVASES
   ══════════════════════════════════════════════════ */

.cvw-section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: .45;
}

/* ══════════════════════════════════════════════════
   SECTIONS — Common
   ══════════════════════════════════════════════════ */

.cvw-section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.cvw-section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  letter-spacing: .25em;
  color: rgba(74,143,231, .5);
  text-transform: uppercase;
  margin-bottom: .8rem;
  text-align: center;
  font-weight: 400;
}

.cvw-section-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(232,224,216, .88);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* Reveal */
.cvw-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.cvw-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional reveals */
.cvw-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .9s cubic-bezier(0.22, 1, 0.36, 1), transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvw-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .9s cubic-bezier(0.22, 1, 0.36, 1), transform .9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvw-reveal-left.visible,
.cvw-reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-up reveal with blur (for cards & images) */
.cvw-reveal-scale {
  opacity: 0;
  transform: scale(.92) translateY(20px);
  filter: blur(4px);
  transition: opacity .9s cubic-bezier(0.22, 1, 0.36, 1),
              transform .9s cubic-bezier(0.22, 1, 0.36, 1),
              filter .9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvw-reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

/* ══════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════ */

#cvw-about {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74,143,231,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(80,120,180,.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(74,143,231,.025) 0%, transparent 40%),
    rgba(8,11,16,.82);
  border-top: 1px solid rgba(74,143,231, .06);
  overflow: hidden;
}

.cvw-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.cvw-about-text p {
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(232,224,216, .6);
  margin-bottom: 1rem;
}

.cvw-about-text strong {
  color: #4A8FE7;
  font-weight: 500;
}

.cvw-about-text em {
  color: rgba(232,224,216, .75);
  font-style: italic;
}

.cvw-about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-top: .5rem;
}

/* Stat with ring */
.cvw-stat {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  transition: background .4s, box-shadow .4s;
}

.cvw-stat:hover {
  background: rgba(74,143,231,.03);
  box-shadow: 0 0 20px rgba(74,143,231,.06);
}

.cvw-stat:hover .cvw-stat-num {
  text-shadow: 0 0 20px rgba(126,180,242,.3);
}

.cvw-stat-ring {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.cvw-stat-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cvw-ring-bg {
  fill: none;
  stroke: rgba(74,143,231, .08);
  stroke-width: 3;
}

.cvw-ring-fill {
  fill: none;
  stroke: url(#cvw-gold-grad);
  stroke: #4A8FE7;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 6px rgba(74,143,231, .4));
}

.cvw-stat.counted .cvw-ring-fill {
  /* JS sets the final dashoffset via inline style */
  stroke-dashoffset: 0;
}

.cvw-stat-content {
  display: flex;
  flex-direction: column;
}

.cvw-stat-num {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #7EB4F2;
  line-height: 1;
  display: block;
  margin-bottom: .2rem;
}

.cvw-stat-label {
  font-size: .82rem;
  letter-spacing: .1em;
  color: rgba(232,224,216, .4);
  text-transform: none;
}

/* ══════════════════════════════════════════════════
   SERVICES CARDS
   ══════════════════════════════════════════════════ */

#cvw-panel {
  width: 100%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(74,143,231,.035) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, rgba(75,110,170,.025) 0%, transparent 50%),
    rgba(8,11,16,.82);
  border-top: 1px solid rgba(74,143,231, .08);
  position: relative;
  z-index: 1;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.cvw-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

/* ── Card Preview Image ── */
.cvw-card-preview {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(74,143,231, .08);
  background:
    linear-gradient(90deg, rgba(74,143,231,.03) 25%, rgba(74,143,231,.06) 50%, rgba(74,143,231,.03) 75%);
  background-size: 200% 100%;
  animation: cvwSkeleton 1.5s ease-in-out infinite;
}

.cvw-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(.7) saturate(.85);
  transition: transform .8s cubic-bezier(0.22, 1, 0.36, 1), filter .8s, clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  clip-path: inset(100% 0 0 0);
}

.cvw-card.visible .cvw-card-img {
  clip-path: inset(0 0 0 0);
}

.cvw-card:hover .cvw-card-img {
  transform: scale(1.08);
  filter: brightness(.85) saturate(1);
}

.cvw-card-preview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,13,18, .95), transparent);
  pointer-events: none;
}

.cvw-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74,143,231, .1);
  background: rgba(74,143,231, .02);
  padding: 1.8rem 1.4rem;
  transition: background .5s, transform .6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .5s, border-color .5s;
  cursor: pointer;
  transform-style: preserve-3d;
  border-radius: 16px;
  will-change: transform;
  contain: layout style paint;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cvw-card:hover {
  transform: translateY(-4px);
  background: rgba(74,143,231, .06);
  border-color: rgba(74,143,231, .3);
  box-shadow:
    0 8px 32px rgba(0,0,0,.3),
    0 0 40px rgba(74,143,231, .06),
    inset 0 1px 0 rgba(126,180,242, .08);
}

.cvw-card:hover::before {
  opacity: 1;
}

/* Subtle bottom accent line */
.cvw-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(74,143,231, .3), transparent);
  transition: width .6s cubic-bezier(0.22, 1, 0.36, 1), left .6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvw-card:hover::after {
  width: 60%;
  left: 20%;
}

.cvw-card-icon {
  color: rgba(74,143,231, .6);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  transition: color .5s, filter .5s;
}

.cvw-card-icon svg {
  width: 20px;
  height: 20px;
}

.cvw-card:hover .cvw-card-icon {
  color: #7EB4F2;
  filter: drop-shadow(0 0 6px rgba(74,143,231, .3));
}

.cvw-card-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(126,180,242, .9);
  margin-bottom: .4rem;
  font-variant: normal;
  text-transform: none;
  font-feature-settings: 'smcp' off, 'c2sc' off;
}

.cvw-card-text {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(232,224,216, .5);
  font-weight: 300;
}

.cvw-card-link {
  display: inline-flex;
  gap: .4rem;
  margin-top: .9rem;
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  letter-spacing: .1em;
  color: rgba(74,143,231, .45);
  text-transform: none;
  text-decoration: none;
  transition: color .4s;
  position: relative;
  z-index: 5;
  font-weight: 400;
}

.cvw-card:hover .cvw-card-link {
  color: #7EB4F2;
}

/* Staggered card reveal */
.cvw-card.cvw-reveal:nth-child(1) {
  transition-delay: 0s;
}

.cvw-card.cvw-reveal:nth-child(2) {
  transition-delay: .15s;
}

.cvw-card.cvw-reveal:nth-child(3) {
  transition-delay: .3s;
}

/* ══════════════════════════════════════════════════
   PROCESS — INTERACTIVE HORIZONTAL TIMELINE
   ══════════════════════════════════════════════════ */

#cvw-process {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(74,143,231,.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(70,100,160,.025) 0%, transparent 45%),
    rgba(8,11,16,.82);
  border-top: 1px solid rgba(74,143,231, .06);
  position: relative;
  z-index: 1;
  overflow: visible;
  scroll-margin-top: 70px;
}

/* ── Timeline Container ── */
.cvw-process-timeline {
  position: relative;
  padding: 3rem 0 3rem;
}

/* ── Horizontal Track ── */
.cvw-tl-track {
  position: absolute;
  top: calc(4rem + 32px);
  left: 5%;
  right: 5%;
  height: 2px;
  z-index: 0;
}

.cvw-tl-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(74,143,231, .15) 15%, rgba(74,143,231, .15) 85%, transparent);
  border-radius: 1px;
}

/* Traveling light on track */
.cvw-tl-light {
  position: absolute;
  top: -4px;
  width: 40px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(126,180,242, .8) 0%, rgba(74,143,231, .3) 40%, transparent 70%);
  filter: blur(2px);
  animation: cvwTlTravel 6s ease-in-out infinite;
}

@keyframes cvwTlTravel {
  0% { left: 0%; opacity: 0; }
  5% { opacity: 1; }
  50% { opacity: .8; }
  95% { opacity: 1; }
  100% { left: calc(100% - 40px); opacity: 0; }
}

/* ── Nodes Row ── */
.cvw-tl-nodes {
  display: flex;
  justify-content: space-around;
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-top: 1rem;
}

/* ── Individual Node ── */
.cvw-tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  flex: 1;
  max-width: 220px;
  overflow: visible;
}

/* ── Glowing Ring ── */
.cvw-tl-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(74,143,231, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(10,13,18, .8);
  transition: border-color .5s, box-shadow .5s, transform .5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  overflow: visible;
  flex-shrink: 0;
}

.cvw-tl-node:hover .cvw-tl-ring {
  border-color: rgba(126,180,242, .7);
  box-shadow:
    0 0 20px rgba(74,143,231, .25),
    0 0 50px rgba(74,143,231, .1),
    inset 0 0 15px rgba(74,143,231, .08);
  transform: scale(1.15);
}

/* Pulse ring effect */
.cvw-tl-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(74,143,231, .15);
  animation: cvwTlPulse 3s ease-out infinite;
}

.cvw-tl-node:nth-child(2) .cvw-tl-pulse { animation-delay: .75s; }
.cvw-tl-node:nth-child(3) .cvw-tl-pulse { animation-delay: 1.5s; }
.cvw-tl-node:nth-child(4) .cvw-tl-pulse { animation-delay: 2.25s; }

@keyframes cvwTlPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── Icon ── */
.cvw-tl-icon {
  color: rgba(74,143,231, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .4s, filter .4s;
  position: relative;
  z-index: 1;
}

.cvw-tl-icon svg {
  width: 18px;
  height: 18px;
}

.cvw-tl-node:hover .cvw-tl-icon {
  color: #7EB4F2;
  filter: drop-shadow(0 0 8px rgba(74,143,231, .5));
}

/* ── Step Number ── */
.cvw-tl-num {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(74,143,231, .25);
  margin-top: .6rem;
  letter-spacing: .08em;
  transition: color .4s, text-shadow .4s;
}

.cvw-tl-node:hover .cvw-tl-num {
  color: rgba(126,180,242, .7);
  text-shadow: 0 0 15px rgba(74,143,231, .3);
}

/* ── Cards Row (below nodes) ── */
.cvw-tl-cards-row {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── Individual Card ── */
.cvw-tl-card {
  width: 200px;
  max-width: 220px;
  flex: 1;
  padding: 1.1rem 1rem;
  text-align: center;
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow .45s;
  background: rgba(10,13,18, .6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: .5px solid rgba(74,143,231, .1);
  border-radius: 14px;
}

.cvw-tl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(74,143,231, .12), 0 0 0 1px rgba(74,143,231, .2);
}

.cvw-tl-card-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(126,180,242, .9);
  margin-bottom: .3rem;
  font-variant: normal;
  text-transform: none;
  font-feature-settings: 'smcp' off, 'c2sc' off;
}

.cvw-tl-card-desc {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(232,224,216, .42);
  font-weight: 300;
}

/* ── Scroll-triggered entrance ── */
.cvw-tl-node {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(0.22, 1, 0.36, 1),
              transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvw-tl-node.tl-visible {
  opacity: 1;
  transform: translateY(0);
}

.cvw-tl-node:nth-child(1) { transition-delay: 0s; }
.cvw-tl-node:nth-child(2) { transition-delay: .2s; }
.cvw-tl-node:nth-child(3) { transition-delay: .4s; }
.cvw-tl-node:nth-child(4) { transition-delay: .6s; }

.cvw-tl-track {
  opacity: 0;
  transition: opacity 1s ease .3s;
}

.cvw-process-timeline.tl-active .cvw-tl-track {
  opacity: 1;
}

/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */

#cvw-contact {
  position: relative;
  z-index: 1;
  background: rgba(8,11,16,.82);
  border-top: 1px solid rgba(74,143,231, .08);
  overflow: hidden;
}

.cvw-contact-inner {
  text-align: center;
  padding: 4.5rem 2rem;
}

.cvw-contact-desc {
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(232,224,216, .5);
  margin-bottom: 1.8rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Wrapper — magnetic detection zone */
.cvw-cta-wrap {
  display: inline-block;
  position: relative;
  padding: 15px;
  margin: -15px;
}

.cvw-cta-contact {
  opacity: 1;
  animation: none;
  position: relative;
  transition: color .35s, box-shadow .35s, border-color .35s, transform .25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvw-cta-contact:hover {
  box-shadow: 0 0 24px rgba(74,143,231, .15), 0 0 8px rgba(74,143,231, .1);
  border-color: rgba(74,143,231, .7);
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */

#cvw-footer {
  background: rgba(7,10,14,.88);
  border-top: 1px solid rgba(74,143,231, .08);
  padding: 3rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.cvw-footer-shimmer {
  position: absolute;
  top: -1px;
  left: 0;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(74,143,231, .0) 20%,
      rgba(74,143,231, .2) 40%,
      rgba(126,180,242, .4) 50%,
      rgba(74,143,231, .2) 60%,
      rgba(74,143,231, .0) 80%,
      transparent 100%);
  animation: cvwShimmer 6s ease-in-out infinite;
}

@keyframes cvwShimmer {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0%);
  }
}

.cvw-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cvw-footer-contact-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(74,143,231, .06);
}

.cvw-footer-contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  color: rgba(232,224,216, .4);
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .3s;
}

.cvw-footer-contact-item:hover {
  color: #7EB4F2;
}

.cvw-footer-contact-icon {
  font-size: 1.2rem;
  opacity: .6;
}

.cvw-footer-brand {
  margin-bottom: 1.5rem;
}

.cvw-footer-tagline {
  font-size: .88rem;
  letter-spacing: .2em;
  color: rgba(232,224,216, .22);
  text-transform: none;
  font-style: italic;
  margin-top: .8rem;
}

.cvw-footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cvw-footer-links a {
  font-size: .9rem;
  letter-spacing: .1em;
  color: rgba(232,224,216, .4);
  transition: color .3s, text-shadow .3s;
  font-weight: 400;
}

.cvw-footer-links a:hover {
  color: #7EB4F2;
  text-shadow: 0 0 16px rgba(74,143,231, .3);
}

.cvw-footer-copy {
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(232,224,216, .18);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(74,143,231, .06);
}

/* ══════════════════════════════════════════════════
   HAND TRACKING UI
   ══════════════════════════════════════════════════ */

/* ── Toggle Button ── */
.cvw-hand-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 4.5rem;
  z-index: 99999;
  background: rgba(10,13,18,.9);
  border: 1px solid rgba(74,143,231,.3);
  color: rgba(232,224,216,.6);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}

.cvw-hand-toggle:hover {
  border-color: rgba(74,143,231,.6);
  color: #7EB4F2;
  box-shadow: 0 4px 20px rgba(0,0,0,.5), 0 0 12px rgba(74,143,231,.15);
}

.cvw-hand-toggle.cvw-hand-on {
  border-color: rgba(74,143,231,.5);
  background: rgba(10,13,18,.95);
  box-shadow: 0 4px 20px rgba(0,0,0,.5), 0 0 16px rgba(74,143,231,.15);
  animation: cvwHandPulse 3s ease-in-out infinite;
}

.cvw-hand-toggle.cvw-hand-loading {
  animation: cvwHandSpin 1.2s linear infinite;
  border-color: rgba(126,180,242,.4);
}

@keyframes cvwHandPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,.4), 0 0 8px rgba(74,143,231,.1); }
  50% { box-shadow: 0 4px 16px rgba(0,0,0,.4), 0 0 20px rgba(74,143,231,.25); }
}

@keyframes cvwHandSpin {
  to { transform: rotate(360deg); }
}

/* ── Webcam Preview ── */
.cvw-hand-preview {
  position: fixed;
  bottom: 4.5rem;
  left: 1.5rem;
  width: 150px;
  height: 112px;
  z-index: 99998;
  border-radius: 8px;
  border: 1px solid rgba(74,143,231,.2);
  background: #000;
  object-fit: cover;
  transform: scaleX(-1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s, border-color .4s;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}

.cvw-hand-preview.active {
  opacity: .7;
  pointer-events: auto;
}

.cvw-hand-preview:hover {
  opacity: .95;
  border-color: rgba(74,143,231,.4);
}

/* ── Gesture HUD ── */
.cvw-gesture-hud {
  position: fixed;
  bottom: 4.5rem;
  right: 1.5rem;
  z-index: 99998;
  padding: .4rem .8rem;
  font-family: 'Outfit', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(232,224,216,.8);
  background: rgba(10,13,18,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(74,143,231,.15);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}

.cvw-gesture-hud.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive: mobile adjustments ── */
@media (max-width: 768px) {
  .cvw-hand-toggle {
    bottom: 1rem;
    right: 4rem;
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }
  .cvw-hand-preview {
    width: 110px;
    height: 82px;
    bottom: 3.5rem;
    left: 1rem;
  }
  .cvw-gesture-hud {
    bottom: 3.5rem;
    right: 1rem;
    font-size: .72rem;
  }
}

/* ── HAND HOVER HIGHLIGHT ── */
.cvw-hand-hover {
  outline: 1.5px solid rgba(232,201,122, .45) !important;
  outline-offset: 4px;
  box-shadow: 0 0 20px rgba(201,168,76, .2), inset 0 0 12px rgba(201,168,76, .06) !important;
  transition: outline .15s, box-shadow .15s !important;
}
.cvw-nav-links a.cvw-hand-hover {
  color: #e8c97a !important;
  outline: none !important;
  box-shadow: none !important;
}
.cvw-nav-links a.cvw-hand-hover::after {
  width: 100% !important;
}

/* ══════════════════════════════════════════════════
   STEVE'S GRAPHIC UPGRADES v4
   ══════════════════════════════════════════════════ */

/* ── Particle Sparks on CTA ── */
.cvw-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #7EB4F2;
  border-radius: 50%;
  pointer-events: none;
  animation: cvwSparkFade .6s ease forwards;
  box-shadow: 0 0 6px rgba(126,180,242,.8), 0 0 12px rgba(74,143,231,.4);
  z-index: 10;
}

@keyframes cvwSparkFade {
  0%   { opacity: 1; transform: scale(1) translate(0, 0); }
  100% { opacity: 0; transform: scale(0) translate(var(--sx, 10px), var(--sy, -20px)); }
}


/* ── Section Canvas Parallax-Ready ── */
.cvw-section-canvas {
  will-change: transform;
  transition: transform 0s;
}

/* ── GPU Acceleration Hints ── */
.cvw-tl-node,
.cvw-stat {
  will-change: transform;
  contain: layout style paint;
}

/* ── Contact Aurora ── */
#cvw-contact {
  background:
    radial-gradient(ellipse at 40% 40%, rgba(74,143,231,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(80,120,180,.03) 0%, transparent 45%),
    rgba(8,11,16,.82) !important;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ══════════════════════════════════════════════════
   MICHELANGELO'S DESIGN POLISH v4.1
   ══════════════════════════════════════════════════ */

/* ── Focus States (Accessibility) ── */
.cvw-cta:focus-visible,
.cvw-card:focus-visible,
.cvw-nav-links a:focus-visible,
.cvw-lang-btn:focus-visible,
.cvw-tl-node:focus-visible {
  outline: 2px solid rgba(126,180,242,.6);
  outline-offset: 3px;
}

/* ── Footer Branding ── */
#cvw-footer .cvw-logo-icon {
  font-size: 1.3rem;
}

#cvw-footer .cvw-logo-text {
  font-size: 1.2rem;
}

/* ── Cards Content Area ── */
#cvw-panel .cvw-section-inner {
  max-width: 900px;
}

/* ── Card Link Arrow Animation ── */
.cvw-card-link {
  display: inline-flex;
  align-items: center;
}

.cvw-card-link::after {
  content: '→';
  display: inline-block;
  transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1);
  margin-left: .3rem;
}

.cvw-card:hover .cvw-card-link::after {
  transform: translateX(6px);
}

/* ══════════════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════════════ */

@keyframes cvwSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cvwUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cvwSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ══════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════════════════ */

.cvw-lang-switch {
  position: relative;
  margin-left: auto;
  margin-right: 1rem;
  z-index: 1001;
}

.cvw-lang-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(74,143,231, .08);
  border: 1px solid rgba(74,143,231, .15);
  color: rgba(232,224,216, .75);
  padding: .4rem .7rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  transition: all .3s ease;
}

.cvw-lang-btn:hover {
  background: rgba(74,143,231, .15);
  border-color: rgba(74,143,231, .3);
  color: #7EB4F2;
}

.cvw-lang-arrow {
  font-size: .6rem;
  opacity: .5;
  transition: transform .3s ease;
}

.cvw-lang-dropdown.open + .cvw-lang-arrow,
.cvw-lang-dropdown.open ~ .cvw-lang-arrow {
  transform: rotate(180deg);
}

.cvw-lang-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 170px;
  background: rgba(8,11,16, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(74,143,231, .12);
  border-radius: 8px;
  padding: .4rem;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}

.cvw-lang-dropdown.open {
  display: flex;
  animation: cvwLangFadeIn .25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cvwLangFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cvw-lang-opt {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .7rem;
  background: transparent;
  border: none;
  color: rgba(232,224,216, .55);
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  cursor: pointer;
  border-radius: 5px;
  transition: all .2s ease;
  text-align: left;
  width: 100%;
}

.cvw-lang-opt:hover {
  background: rgba(74,143,231, .08);
  color: rgba(232,224,216, .85);
}

.cvw-lang-opt.active {
  background: rgba(74,143,231, .12);
  color: #7EB4F2;
  font-weight: 500;
}

/* ── Chinese Font Override ── */
body.cvw-lang-zh {
  font-family: 'Noto Sans SC', 'Outfit', sans-serif;
}

body.cvw-lang-zh .cvw-section-title,
body.cvw-lang-zh .cvw-card-title,
body.cvw-lang-zh .cvw-tl-card-title {
  font-family: 'Noto Sans SC', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

body.cvw-lang-zh .cvw-hl-outline,
body.cvw-lang-zh .cvw-hl-fill {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 768px)
   ══════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Navigation ── */
  .cvw-menu-btn {
    display: flex;
  }

  .cvw-nav-inner {
    padding: .7rem 1.2rem;
  }

  /* ── Lang Switch Mobile ── */
  .cvw-lang-switch {
    margin-right: .6rem;
  }
  .cvw-lang-btn {
    padding: .35rem .55rem;
    font-size: .72rem;
  }

  .cvw-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(8,11,16, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid rgba(74,143,231, .12);
    display: none;
    opacity: 0;
    transform: translateY(-8px);
  }

  .cvw-nav-links.open {
    display: flex;
    animation: cvwNavSlideIn .35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @keyframes cvwNavSlideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .cvw-nav-links li {
    border-bottom: 1px solid rgba(74,143,231, .05);
  }

  .cvw-nav-links li:last-child {
    border-bottom: none;
  }

  .cvw-nav-links a {
    display: block;
    padding: .9rem 0;
    font-size: .9rem;
    letter-spacing: .3em;
  }

  /* ── Hero ── */
  #cvw-hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .cvw-ui {
    padding: 0 1rem;
  }

  .cvw-eye {
    font-size: .72rem;
    letter-spacing: .35em;
    margin-bottom: 1rem;
  }

  .cvw-hl-outline,
  .cvw-hl-fill {
    font-size: clamp(1.9rem, 9.5vw, 3.4rem) !important;
    letter-spacing: .03em;
  }

  #cvw-title {
    padding: .5em .6em;
    flex-wrap: wrap;
  }

  /* Force clean line break: CODICE on line 1, VINCI on line 2 */
  .cvw-hl-sep-wrap {
    flex-basis: 100%;
    height: 0.6em;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cvw-hl-sep-wrap .cvw-sep-text {
    display: none;
  }

  .cvw-sub {
    font-size: clamp(.72rem, 2.2vw, .95rem);
    letter-spacing: .25em;
    margin-top: 1rem;
  }

  .cvw-divider {
    margin: 1.2rem auto;
    width: 40px;
  }

  .cvw-cta {
    font-size: .88rem;
    padding: .62rem 1.6rem;
    letter-spacing: .18em;
  }

  .cvw-scroll-hint {
    bottom: 1.5rem;
  }

  /* ── Info Panel ── */
  #cvw-info-panel {
    left: 5% !important;
    width: 90% !important;
    max-width: 320px;
    padding: 1rem 1.2rem;
  }

  .cvw-info-letter {
    font-size: 1.8rem;
  }

  .cvw-info-word {
    font-size: .78rem;
  }

  .cvw-info-desc {
    font-size: .88rem;
  }

  /* ── Sections Common ── */
  .cvw-section-inner {
    padding: 3.5rem 1.2rem;
  }

  .cvw-section-tag {
    font-size: .78rem;
    letter-spacing: .35em;
    margin-bottom: .6rem;
  }

  .cvw-section-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    margin-bottom: 2rem;
    letter-spacing: .05em;
  }

  /* ── About ── */
  .cvw-about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cvw-about-text p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .cvw-about-stats {
    gap: 1rem;
    padding-top: 0;
  }

  .cvw-stat {
    padding: .6rem 0;
    gap: 1rem;
  }

  .cvw-stat-ring {
    width: 52px;
    height: 52px;
  }

  .cvw-stat-num {
    font-size: 2.2rem;
  }

  .cvw-stat-label {
    font-size: .82rem;
    letter-spacing: .12em;
  }

  /* ── Services Cards ── */
  .cvw-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cvw-card {
    padding: 1.8rem 1.4rem;
  }

  .cvw-card-preview {
    height: 130px;
    margin-bottom: 1rem;
  }

  .cvw-card-title {
    font-size: 1.1rem;
    letter-spacing: .14em;
  }

  .cvw-card-text {
    font-size: 1rem;
  }

  .cvw-card-link {
    font-size: .85rem;
  }

  /* ── Process Timeline — Vertical on Mobile ── */
  .cvw-process-timeline {
    padding: 2rem 0 3rem;
  }

  .cvw-tl-track {
    display: none;
  }

  .cvw-tl-nodes {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .cvw-tl-node {
    flex: none;
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(74,143,231, .04);
  }

  .cvw-tl-node:last-child {
    border-bottom: none;
  }

  .cvw-tl-ring {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .cvw-tl-icon {
    font-size: 1.2rem;
  }

  .cvw-tl-pulse {
    inset: -4px;
  }

  .cvw-tl-num {
    display: none;
  }

  .cvw-tl-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: auto;
    max-width: none;
    margin-top: 0;
    padding: 0;
    text-align: left;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cvw-tl-card-title {
    font-size: .95rem;
    letter-spacing: .12em;
    margin-bottom: .3rem;
  }

  .cvw-tl-card-desc {
    font-size: .92rem;
    line-height: 1.55;
    color: rgba(232,224,216, .4);
  }

  .cvw-tl-node:hover .cvw-tl-ring {
    transform: scale(1.08);
  }

  .cvw-tl-node:hover .cvw-tl-card {
    transform: none;
  }

  /* ── Contact ── */
  .cvw-contact-inner {
    padding: 4rem 1.2rem;
  }

  .cvw-contact-desc {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .cvw-cta-contact {
    font-size: .95rem;
    padding: .8rem 2.2rem;
    letter-spacing: .18em;
  }

  /* ── Footer ── */
  #cvw-footer {
    padding: 2.5rem 1.2rem 1.5rem;
  }

  .cvw-footer-brand {
    margin-bottom: 1.2rem;
  }

  .cvw-footer-tagline {
    font-size: .78rem;
    letter-spacing: .2em;
  }

  .cvw-footer-links {
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .cvw-footer-links a {
    font-size: .82rem;
    letter-spacing: .12em;
  }

  .cvw-footer-copy {
    font-size: .78rem;
    letter-spacing: .1em;
    padding-top: 1.2rem;
  }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — SMALL PHONE (≤ 480px)
   ══════════════════════════════════════════════════ */

@media (max-width: 480px) {

  .cvw-hl-outline,
  .cvw-hl-fill {
    font-size: clamp(1.8rem, 12vw, 3rem) !important;
  }

  .cvw-section-title {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    margin-bottom: 1.8rem;
  }

  .cvw-section-inner {
    padding: 3rem 1rem;
  }

  .cvw-about-text p {
    font-size: .95rem;
  }

  .cvw-stat-num {
    font-size: 1.9rem;
  }

  .cvw-stat-ring {
    width: 44px;
    height: 44px;
  }

  .cvw-stat-label {
    font-size: .75rem;
  }

  .cvw-tl-ring {
    width: 46px;
    height: 46px;
  }

  .cvw-tl-icon {
    font-size: 1.1rem;
  }

  .cvw-tl-node {
    gap: 1rem;
    padding: 1.2rem 0;
  }

  .cvw-contact-inner {
    padding: 3.5rem 1rem;
  }

  .cvw-footer-links {
    gap: .8rem 1.2rem;
  }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — EXTRA SMALL PHONE (≤ 360px)
   ══════════════════════════════════════════════════ */

@media (max-width: 360px) {

  .cvw-nav-inner {
    padding: .6rem 1rem;
  }

  .cvw-logo-text {
    font-size: 1.05rem;
  }

  .cvw-hl-outline,
  .cvw-hl-fill {
    font-size: clamp(1.6rem, 13vw, 2.5rem) !important;
  }

  .cvw-sub {
    font-size: .68rem;
    letter-spacing: .2em;
  }

  .cvw-cta {
    font-size: .78rem;
    padding: .55rem 1.2rem;
    letter-spacing: .15em;
  }

  .cvw-section-inner {
    padding: 2.5rem .8rem;
  }

  .cvw-tl-card-title {
    font-size: .85rem;
  }

  .cvw-tl-card-desc {
    font-size: .85rem;
  }
}