/* ============ ABOUT — stacked copy left, 3D React video right ============ */
#about.about {
  background: var(--white, #fff);
  padding-block: clamp(34.56px, 3.96vw, 60.48px);
}

#about .about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(25.92px, 3.6vw, 69.12px);
  align-items: start; /* video hugs the top, right under the hero */
}

#about .about-name {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-weight: 500;
  font-size: clamp(28.8px, 3.02vw, 54.72px);
  line-height: 1.08;
  color: var(--ink, #000);
}

#about .about-intro {
  margin-top: clamp(11.52px, 1.08vw, 18.72px);
  max-width: 446.4px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-weight: 300;
  font-size: clamp(13px, 0.72vw, 13px);
  line-height: 1.5;
  color: var(--ink, #000);
}

#about .about-statement {
  margin-top: clamp(17.28px, 1.66vw, 28.8px);
  max-width: 460.8px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-weight: 500;
  font-size: clamp(13px, 0.97vw, 17.28px);
  line-height: 1.4;
  color: var(--ink, #000);
}

/* ---- stats row + CTAs (fills the space under the statement) ---- */
#about .about-stats {
  display: flex;
  gap: clamp(20.16px, 2.16vw, 37.44px);
  margin-top: clamp(20.16px, 1.87vw, 31.68px);
}

#about .stat {
  display: flex;
  flex-direction: column;
  gap: 2.88px;
}

#about .stat-num {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-weight: 600;
  font-size: clamp(15.84px, 1.3vw, 21.6px);
  color: var(--ink, #000);
}

#about .stat-label {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--muted, #6b6b6b);
  text-transform: uppercase;
  letter-spacing: .04em;
}

#about .about-cta {
  display: flex;
  gap: 10.08px;
  margin-top: clamp(17.28px, 1.58vw, 25.92px);
}

#about .btn-solid,
#about .btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 8.64px 18.72px;
  border-radius: 999px;
  font-family: var(--font-display, 'Inter', sans-serif);
  font-weight: 500;
  font-size: 13px;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

#about .btn-solid {
  background: var(--ink, #000);
  color: var(--white, #fff);
}

#about .btn-solid:hover {
  background: var(--accent, #0fb5a6);
  transform: translateY(-2px);
}

#about .btn-ghost {
  border: 1px solid #c9c9c9;
  color: var(--ink, #000);
}

#about .btn-ghost:hover {
  border-color: var(--accent, #0fb5a6);
  color: var(--accent, #0fb5a6);
  transform: translateY(-2px);
}

/* ---- floating keyed video (black background removed via canvas clip) ---- */
#about .about-media {
  position: relative;
  align-self: center;   /* vertically centered against the copy block */
  justify-self: center; /* balanced inside the right column */
  width: min(100%, 266px);
  aspect-ratio: 1;
  animation: about-float 7s ease-in-out infinite;
}

#about .about-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* once JS keying kicks in, the raw video hides and the canvas takes over */
#about .about-media.is-keyed video {
  visibility: hidden;
  position: absolute;
  inset: 0;
}

#about .about-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .18));
}

@keyframes about-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

@media (prefers-reduced-motion: reduce) {
  #about .about-media { animation: none; }
}

@media (max-width: 900px) {
  #about .about-layout {
    grid-template-columns: 1fr;
  }
  #about .about-media {
    justify-self: center;
    width: min(100%, 259.2px);
    margin-top: 0;
  }
}
