1import{o as e,t}from"./jsx-runtime-DVpe7PXp.js";import{t as n}from"./react-Dps3yNUO.js";import{t as r}from"./useServerFn-Cuny7MIu.js";import{n as i,s as a,t as o}from"./SiteCaptcha-CFHL4O40.js";var s=e(n(),1),c=t();function l({children:e,delay:t=0,className:n=``}){let r=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=r.current;if(!e)return;let n=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.style.transitionDelay=`${t}ms`,e.target.classList.add(`is-visible`),n.unobserve(e.target))})},{threshold:.12,rootMargin:`0px 0px -60px 0px`});return n.observe(e),()=>n.disconnect()},[t]),(0,c.jsx)(`div`,{ref:r,className:`reveal ${n}`,children:e})}var u={name:``,email:``,phone:``,company:``,job_title:``,reason_for_inquiry:``,how_heard:``,monthly_budget:``,engagement_type:``,message:``,captcha:``},d=[`Share of Model Audit`,`AI Communications Strategy`,`GEO Services`,`PR & Earned Media`,`Crisis Management`,`Social Media/Digital Services`,`New Business`,`Media Inquiry`,`General Inquiry`,`Careers`],f=[`Google`,`Referral`,`LinkedIn`,`Instagram`,`Conferences or Events`,`O'Dwyers`,`Blog`,`ChatGPT/AI`,`Other`],p=[`Under $15,000 a month`,`$15,000 - $25,000`,`$25,000 - $50,000`,`More than $50,000`,`$100,000+ â speak with senior leadership`],m=[`Retainer`,`Project`];function h({pageKey:e,variant:t=`dark`}={}){let n=t===`light`,h=t!==`dark`,v=r(a),[y,b]=(0,s.useState)(u),[x,S]=(0,s.useState)(!1),[C,w]=(0,s.useState)(!1),[T,E]=(0,s.useState)(null),D=i(),O=(e,t)=>b(n=>({...n,[e]:t}));return(0,c.jsx)(`section`,{id:`contact`,className:`section-pad scroll-mt-28 ${n?`bg-[#E1E3F3] text-[var(--color-lavender-ink)]`:`bg-[var(--color-navy)] text-[var(--color-ink-1)]`}`,children:(0,c.jsxs)(`div`,{className:`container-x grid lg:grid-cols-2 gap-14`,children:[(0,c.jsx)(l,{children:(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`p`,{className:`font-serif-i mb-4 ${n?`text-[var(--color-navy)]/60`:`text-[var(--color-periwinkle)]`}`,children:`Get in touch`}),(0,c.jsx)(`h2`,{className:`font-display text-4xl md:text-6xl font-black tracking-[-0.03em] leading-[1.02] mb-6`,children:`Let's build your next chapter.`}),(0,c.jsx)(`p`,{className:`leading-relaxed max-w-md mb-10 ${n?`text-[var(--color-navy)]/70`:`text-[var(--color-ink-3)]`}`,children:`Tell us what you're working on. A senior strategist will respond within one business day.`}),(0,c.jsxs)(`dl`,{className:`space-y-5 text-sm`,children:[(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`dt`,{className:`mono-label mb-1 ${n?`text-[var(--color-navy)]/55`:`text-[var(--color-ink-4)]`}`,children:`Email`}),(0,c.jsx)(`dd`,{className:`text-base ${n?`text-[var(--color-navy)]`:`text-[var(--color-ink-1)]`}`,children:`[email protected]`})]}),(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`dt`,{className:`mono-label mb-1 ${n?`text-[var(--color-navy)]/55`:`text-[var(--color-ink-4)]`}`,children:`Phone`}),(0,c.jsx)(`dd`,{className:`text-base ${n?`text-[var(--color-navy)]`:`text-[var(--color-ink-1)]`}`,children:`212.999.5585`})]}),(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`dt`,{className:`mono-label mb-1 ${n?`text-[var(--color-navy)]/55`:`text-[var(--color-ink-4)]`}`,children:`Offices`}),(0,c.jsx)(`dd`,{className:`text-base ${n?`text-[var(--color-navy)]/80`:`text-[var(--color-ink-1)]`}`,children:(0,c.jsxs)(`div`,{className:`space-y-4`,children:[(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`strong`,{className:`block font-semibold ${n?`text-[var(--color-navy)]`:`text-white`}`,children:`New York · HQ`}),`469 7th Avenue, Floor 8`,(0,c.jsx)(`br`,{}),`New York, NY 10018`]}),(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`strong`,{className:`block font-semibold ${n?`text-[var(--color-navy)]`:`text-white`}`,children:`Miami`}),`100 SE 2nd Street, Floor 38`,(0,c.jsx)(`br`,{}),`Miami, FL 33131`]}),(0,c.jsxs)(`div`,{children:[(0,c.jsx)(`strong`,{className:`block font-semibold ${n?`text-[var(--color-navy)]`:`text-white`}`,children:`Tampa`}),`110 South 12th Street`,(0,c.jsx)(`br`,{}),`Tampa, FL 33602`]})]})})]})]})]})}),(0,c.jsx)(l,{delay:150,children:(0,c.jsxs)(`form`,{onSubmit:async e=>{if(e.preventDefault(),!C){if(E(null),!D.valid){E(D.errorMessage);return}w(!0);try{await v({data:{captcha_token:D.token||null,source_path:typeof window<`u`?window.location.pathname:null,name:y.name.trim(),email:y.email.trim(),phone:y.phone.trim(),company:y.
1company.trim(),message:y.message.trim(),job_title:y.job_title||null,reason_for_inquiry:y.reason_for_inquiry||null,how_heard:y.how_heard||null,monthly_budget:y.monthly_budget||null,engagement_type:y.engagement_type||null}}),S(!0)}catch(e){console.error(`[ContactSection] submit failed`,e),E(`Something went wrong sending your message. Please try again.`)}finally{w(!1)}}},"data-source":`contact`,className:`rounded-3xl p-7 md:p-9 space-y-4 ${h?`bg-white border border-[color:var(--color-periwinkle)]/30 shadow-[0_30px_70px_-40px_rgba(14,9,41,0.55)]`:`glass`}`,children:[e?(0,c.jsx)(`input`,{type:`hidden`,name:`page_key`,value:e}):null,x?(0,c.jsxs)(`div`,{className:`py-16 text-center max-w-md mx-auto`,children:[(0,c.jsx)(`p`,{className:`font-serif-i text-[var(--color-periwinkle)] text-2xl mb-2`,children:`Thank you â`}),(0,c.jsx)(`p`,{className:`font-display text-2xl md:text-3xl font-bold ${h?`text-[var(--color-navy)]`:``}`,children:`Our team will get back to you within 24 hours.`})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4`,children:[(0,c.jsx)(g,{light:h,name:`name`,label:`Contact Name`,placeholder:`Jane Smith`,required:!0,value:y.name,onChange:e=>O(`name`,e)}),(0,c.jsx)(g,{light:h,name:`email`,label:`Contact Email`,placeholder:`[email protected]`,type:`email`,required:!0,value:y.email,onChange:e=>O(`email`,e)}),(0,c.jsx)(g,{light:h,name:`phone`,label:`Client Contact Phone`,placeholder:`(555) 555-1234`,required:!0,value:y.phone,onChange:e=>O(`phone`,e)}),(0,c.jsx)(g,{light:h,name:`company`,label:`Company Name`,placeholder:`Acme Inc.`,required:!0,value:y.company,onChange:e=>O(`company`,e)})]}),(0,c.jsx)(g,{light:h,name:`job_title`,label:`Job Title`,placeholder:`VP, Communications`,required:!0,value:y.job_title,onChange:e=>O(`job_title`,e)}),(0,c.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4`,children:[(0,c.jsx)(_,{light:h,name:`reason_for_inquiry`,label:`Reason for Inquiry`,required:!0,value:y.reason_for_inquiry,onChange:e=>O(`reason_for_inquiry`,e),options:d}),(0,c.jsx)(_,{light:h,name:`how_heard`,label:`How Did You Hear About Us`,value:y.how_heard,onChange:e=>O(`how_heard`,e),options:f}),(0,c.jsx)(_,{light:h,name:`monthly_budget`,label:`Monthly Budget`,required:!0,value:y.monthly_budget,onChange:e=>O(`monthly_budget`,e),options:p}),(0,c.jsx)(_,{light:h,name:`engagement_type`,label:`Retainer or Project`,value:y.engagement_type,onChange:e=>O(`engagement_type`,e),options:m})]}),(0,c.jsxs)(`div`,{children:[(0,c.jsxs)(`label`,{htmlFor:`contact-section-message`,className:`block text-[11px] font-semibold uppercase tracking-[0.16em] mb-2 ${h?`text-[var(--color-navy)]/70`:`text-white/60`}`,children:[`Message `,(0,c.jsx)(`span`,{className:`text-red-500`,children:`*`})]}),(0,c.jsx)(`textarea`,{id:`contact-section-message`,required:!0,minLength:10,name:`message`,placeholder:`Tell us what you're looking for...`,rows:4,value:y.message,onChange:e=>O(`message`,e.target.value),className:`w-full rounded-2xl px-5 py-3 focus:outline-none focus:border-[var(--color-periwinkle)] ${h?`bg-[var(--color-lavender,#E0E3F4)]/40 border border-[color:var(--color-navy)]/15 text-[var(--color-navy)] placeholder-[color:var(--color-navy)]/40`:`bg-white/5 border border-white/15 text-white placeholder-white/40`}`})]}),(0,c.jsx)(o,{captcha:D,variant:h?`light`:`dark`}),T?(0,c.jsx)(`p`,{className:`text-sm text-red-300 bg-red-500/10 border border-red-400/30 rounded-2xl px-4 py-3`,children:T}):null,(0,c.jsx)(`button`,{type:`submit`,disabled:C,className:`w-full rounded-full bg-[var(--color-periwinkle)] text-[var(--color-navy)] font-semibold px-6 py-3 hover:brightness-110 transition disabled:opacity-60 disabled:cursor-not-allowed`,children:C?`Sendingâ¦`:`Send message â`})]})]})})]})})}function g({name:e,placeholder:t,type:n=`text`,label:r,required:i,value:a,onChange:o,light:s}){let l=e?`contact-section-${e}`:void 0;return(0,c.jsxs)(`div`,{children:[(0,c.jsxs)(`label`,{htmlFor:l,className:`block text-[11px] font-semibold uppercase tracking-[0.16em] mb-2 ${s?`text-[color:var(--color-navy)]/70`:`text-white/60`}`,children:[r,` `,i?(0,c.jsx)(`span`,{className:s?`text-red-500`:`text-red-400`,children:`*`}):null]}),(0,c.jsx)(`input`,{id:l,name:e,type:n,required:i,placeholder:t,value:a,onChange:e=>o(e.target.value),className:`w-full rounded-full px-5 py-3 focus:outline-none focus:border-[var(--color-periwinkle)] ${s?`bg-[color:var(--color-navy)]/[0.04] border border-[color:var(--color-navy)]/15 text-[var(--color-navy)] placeholder-[color:var(--color-navy)]/40`:`bg-white/5 border border-white/15 text-white placeholder-white/40`}`})]})}function _({name:e,label:t,options:n,value:r,onChange:i,required:a,light:o}){let s=e?`contact-section-${e}`:void 0;return(0,c.jsxs)(`div`,{children:[(0,c.jsxs)(`label`,{htmlFor:s,className:`block text-[11px] font-semibold uppercase tracking-[0.16em] mb
1-2 ${o?`text-[color:var(--color-navy)]/70`:`text-white/60`}`,children:[t,` `,a?(0,c.jsx)(`span`,{className:o?`text-red-500`:`text-red-400`,children:`*`}):null]}),(0,c.jsxs)(`select`,{id:s,name:e,"aria-label":t,required:a,value:r,onChange:e=>i(e.target.value),className:`w-full min-w-0 truncate rounded-full pl-5 pr-10 py-3 focus:outline-none focus:border-[var(--color-periwinkle)] appearance-none ${o?`bg-[color:var(--color-navy)]/[0.04] border border-[color:var(--color-navy)]/15 text-[color:var(--color-navy)]/85`:`bg-white/5 border border-white/15 text-white/80`}`,children:[(0,c.jsx)(`option`,{value:``,disabled:!0,children:`Select ${t}`}),n.map(e=>(0,c.jsx)(`option`,{value:e,className:o?`bg-white text-[var(--color-navy)]`:`bg-[var(--color-navy-card)] text-white`,children:e},e))]})]})}export{h as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.