/* HQWS components — Navbar, Footer, BriefModal, ProjectCard, CategoryFilter, RightsBanner, StickyCTA */ const { useState, useEffect, useMemo, useRef } = React; const HQT = () => window.HQWS_DATA.TRANSLATIONS; /* ─── shared bits ─── */ function Arrow({ size = 14 }) { return ( ); } function HQLogo({ height = 26 }) { // small inline mark — we reference the SVG file for fidelity return ( HQWS ); } /* ─── Navbar ─── */ function Navbar({ route, navigate, lang, setLang, onBrief, light = false }) { const t = HQT()[lang]; const items = [ { id: "work", label: t.nav.work }, { id: "capabilities", label: t.nav.capabilities }, { id: "about", label: t.nav.about }, { id: "clients", label: t.nav.clients }, { id: "contact", label: t.nav.contact }, ]; return (
navigate("home")}> HQWS
); } /* ─── Rights banner ─── */ function RightsBanner({ lang }) { const t = HQT()[lang].rights; return (
{t.l}
{t.r}
); } /* ─── Footer ─── */ function Footer({ navigate, lang, onBrief }) { const t = HQT()[lang]; return ( ); } /* ─── BriefModal ─── */ function BriefModal({ open, onClose, lang, initialCategory }) { const t = HQT()[lang]; const [cat, setCat] = useState(initialCategory || "shows"); const [sent, setSent] = useState(false); useEffect(() => { if (open) { setSent(false); setCat(initialCategory || "shows"); } }, [open, initialCategory]); if (!open) return null; return (
e.stopPropagation()}> {!sent ? ( <>
{ lang === "ar" ? "اطلب عرضاً" : "REQUEST A PROPOSAL" }

{ lang === "ar" ? "أخبرنا عن المشروع." : "Tell us about the project." }

{ lang === "ar" ? "نحدّد فئة واحدة على الأقل لتوجيه طلبك إلى الفريق المناسب — لا أسعار، التصميم بحسب المشروع." : "Pick at least one category so we route this to the right team. No prices — every brief is bespoke." }

{window.HQWS_DATA.CATEGORIES.map(c => ( ))}