/* =========================================
   base.css — body, blobs, shared utilities
   ========================================= */

body {
  background-color: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Animated background blobs ---- */
.blob-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  animation: blobDrift 14s ease-in-out infinite alternate;
}

.blob.b1 { width: 600px; height: 600px; background: var(--blob-1); top: -150px; left: -150px; animation-duration: 16s; }
.blob.b2 { width: 450px; height: 450px; background: var(--blob-2); top: 35%;  right: -100px; animation-duration: 12s; animation-delay: -5s; }
.blob.b3 { width: 380px; height: 380px; background: var(--blob-3); bottom: 5%; left: 25%;    animation-duration: 18s; animation-delay: -9s; }
.blob.b4 { width: 300px; height: 300px; background: var(--blob-4); top: 60%;  left: 10%;    animation-duration: 13s; animation-delay: -3s; }

@keyframes blobDrift {
  from { transform: translate(0, 0)     scale(1);    }
  to   { transform: translate(40px, 50px) scale(1.1); }
}

/* ---- Page wrapper (sits above blobs) ---- */
.wrap {
  position: relative;
  z-index: 1;
}

/* ---- Section shell ---- */
section {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) var(--space-xl);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-accent-2);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.section-sub {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: var(--space-2xl);
  font-style: italic;
}

/* ---- Gradient text utility ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Pulse dot ---- */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
