
/* ─────────────────────────────────────────
   CUSTOM CURSOR
───────────────────────────────────────── */
#cursor {
  display: none;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  position: fixed;
  top: -60px;
  left: -60px;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition:
    width      var(--transition-fast),
    height     var(--transition-fast),
    background var(--transition-fast);
}

body.cursor-enhanced #cursor {
  display: block;
}

#cursor.hovered {
  width: 42px;
  height: 42px;
  background: var(--color-accent-coral);
  opacity: 0.7;
}

/* ─────────────────────────────────────────
   ANIMATED MESH GRADIENT BACKGROUND
───────────────────────────────────────── */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 50%,
      color-mix(in srgb, var(--palette-lilac)  30%, transparent) 0%,
      transparent 60%),
    radial-gradient(ellipse at 80% 20%,
      color-mix(in srgb, var(--palette-violet) 30%, transparent) 0%,
      transparent 55%),
    radial-gradient(ellipse at 60% 80%,
      color-mix(in srgb, var(--palette-turquoise) 15%, transparent) 0%,
      transparent 55%),
    var(--color-bg);
  /* sin animation */
}

@keyframes meshShift {
  0%   { filter: hue-rotate(0deg);   }
  50%  { filter: hue-rotate(20deg);  }
  100% { filter: hue-rotate(-15deg); }
}

/* ─────────────────────────────────────────
   SECTION WRAPPER
───────────────────────────────────────── */
section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   SECTION TYPOGRAPHY
───────────────────────────────────────── */
.section-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: color-mix(in srgb, var(--color-white) 65%, transparent);
  max-width: 520px;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   DECORATIVE DIVIDER
───────────────────────────────────────── */
.divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--glass-border),
    transparent
  );
}

/* ─────────────────────────────────────────
   SCROLL REVEAL ANIMATION
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ─────────────────────────────────────────
   SHARED KEYFRAMES
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
