// ============================================================ // SECTION 3 — Full-bleed video + overlapping title + paragraph // ============================================================ function Section3() { // ─── YouTube Shorts embed: autoplay (muted) on scroll-into-view ─── // The video is vertical (9:16). It loads with autoplay=0 to save // bandwidth, then we swap the iframe URL to autoplay=1 once the // section enters the viewport. Muted is required for browser // autoplay policies; users can unmute via the YouTube player UI. const videoRef = React.useRef(null); const frameRef = React.useRef(null); const [playing, setPlaying] = React.useState(false); const VIDEO_ID = 'Jhm3dJ0aEuM'; const base = 'https://www.youtube.com/embed/' + VIDEO_ID; const params = (auto) => '?rel=0&modestbranding=1&playsinline=1&loop=1&playlist=' + VIDEO_ID + (auto ? '&autoplay=1&mute=1' : ''); // ─── Fullscreen on demand ─────────────────────────────────── // Prefer the