/* ================================================================
   ABOUT.CSS — About Section
   ================================================================ */

#about {
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
  margin-top: -100vh;    /* slides under the sticky hero */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

/* ── Left: Image ── */
.about-image-wrap {
  position: relative;
}

.about-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

/* Animated border */
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), transparent 60%, transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: 2;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: filter var(--duration-slow) var(--ease-out);
}

.about-image-frame:hover .about-image {
  filter: brightness(1.05);
}

/* Floating accent dot */
.about-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-glow-lg);
  filter: blur(40px);
  z-index: 0;
}

/* ── Right: Text ── */
.about-content {}

.about-heading {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.about-heading em {
  font-style: normal;
  color: var(--accent);
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ── Stats row ── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1;
}

.stat-number span.count { color: var(--accent); }

.stat-label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
}

/* ── Bubbles background ── */
.about-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  will-change: transform;
}

.bubble-1 { width: 400px; height: 400px; top: 10%; right: -100px; }
.bubble-2 { width: 250px; height: 250px; bottom: 20%; left: -80px; }
.bubble-3 { width: 180px; height: 180px; top: 50%; right: 30%; }

/* ── Button row ── */
.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-frame {
    max-width: 400px;
    margin: 0 auto;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
