function VideoSection({ dark }) {
  const bg = dark ? '#0e0f0f' : '#25282C';
  return (
    <section style={{
      background: bg,
      padding: '0',
      position: 'relative',
      overflow: 'hidden',
      transition: 'background 320ms ease 220ms'
    }}>
      <div style={{
        position: 'absolute', top: 32, left: 56, zIndex: 2,
        font: '400 12px/1 var(--rz-font-mono)', color: 'rgba(249,250,251,0.45)',
        letterSpacing: '0.16em'
      }}>
        <span className="rz-accent-dot"/>IN ACTION
      </div>

      {/* Compress this file before deploying — use HandBrake (free) to bring it under 20MB */}
      <video
        src="assets/renders/Rzr video render.mp4"
        autoPlay muted loop playsInline
        style={{
          display: 'block',
          width: '100%',
          height: 'auto',
          maxHeight: '90vh',
          objectFit: 'cover'
        }}
      />
    </section>
  );
}
window.VideoSection = VideoSection;
