1import{r as n,j as e,L as o}from"./react-vendor-XFQdasYO.js";import{u,a,m as r}from"./framer-motion-BGNcrG8X.js";import{h as c}from"./icons-BMJOnumJ.js";const d=[{id:9,image:"/books/retire-rich.webp",title:"Retire Rich",subtitle:"The tax-free blueprint"},{id:10,image:"/books/the-cost-of-goodbye.webp",title:"The Cost of Goodbye",subtitle:"Final expense insurance"},{id:8,image:"/book_senior_3d.webp",title:"The Senior Survival Guide",subtitle:"Dental, vision and hearing"},{id:3,image:"/books/medicare-now.webp",title:"Medicare Now!",subtitle:"Today's Medicare planning"},{id:4,image:"/book_ltm_3d.webp",title:"Let's Talk Money",subtitle:"Lifetime income planning"},{id:7,image:"/book_financing.webp",title:"Financing Your Life",subtitle:"Financial security"},{id:1,image:"/book_legacy_3d.webp",title:"Avoiding a Legacy Nightmare",subtitle:"Legacy planning"},{id:2,image:"/book_retirement_3d.webp",title:"Retirement You Can't Outlive",subtitle:"Retirement security"},{id:5,image:"/book_alz_3d.webp",title:"Alzheimer's Legacy Guide",subtitle:"Patients and caregivers"},{id:6,image:"/book_physicians_3d.webp",title:"Physicians: Money for Life",subtitle:"Retirement savings"}],w=()=>{const i=n.useRef(null),l=n.useRef(null),{scrollYProgress:t}=u({target:i,offset:["start end","end start"]}),m=a(t,[.3,.9],["0%","-95%"]),x=a(t,[0,.2,.4],[1,1,0]),p=a(t,[0,.2],[0,-50]),h=a(t,[0,.2],[1,.95]);return e.jsx("section",{ref:i,className:"relative h-auto md:h-[400vh] bg-white",children:e.jsxs("div",{className:"md:sticky md:top-0 h-auto md:h-screen flex flex-col justify-center py-12 sm:py-16 md:py-0 md:overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_50%_120%,rgba(13,27,62,0.03),transparent)] pointer-events-none"}),e.jsxs(r.div,{style:{opacity:x,y:p,scale:h},className:"relative z-10 px-6 text-center pt-8 sm:pt-12 md:pt-20 md:block hidden",children:[e.jsx("span",{className:"text-primary text-[10px] sm:text-xs font-bold tracking-[0.4em] sm:tracking-[0.5em] uppercase mb-2 sm:mb-4 block",children:"Education is Key"}),e.jsx("h2",{className:"text-3xl sm:text-5xl md:text-7xl font-serif italic text-[#0d1b3e] mb-4 sm:mb-6 tracking-tight",children:"Empowering Your Decisions"}),e.jsx("p",{className:"text-[#0d1b3e]/70 text-sm sm:text-lg md:text-xl max-w-2xl mx-auto font-light leading-relaxed px-4",children:"Gain the knowledge you need to protect your legacy. Explore our library of expert resources authored by Dennis M. Postema."}),e.jsx("div",{className:"mt-6 sm:mt-8",children:e.jsxs(o,{to:"/educational-tools",className:"inline-flex items-center gap-3 px-6 sm:px-8 py-3 sm:py-4 bg-[#0710ee] text-white rounded-full font-medium text-[11px] sm:text-sm uppercase tracking-widest hover:bg-[#0710ee]/90 transition-all duration-300 group shadow-lg shadow-[#0710ee]/20",children:["Explore the Library",e.jsx(c,{size:18,className:"group-hover:translate-x-2 transition-transform"})]})})]}),e.jsxs("div",{className:"relative z-10 px-6 text-center md:hidden mb-8",children:[e.jsx("span",{className:"text-primary text-[10px] font-bold tracking-[0.4em] uppercase mb-2 block",children:"Education is Key"}),e.jsx("h2",{className:"text-3xl font-serif italic text-[#0d1b3e] mb-4 tracking-tight",children:"Empowering Your Decisions"}),e.jsx("p",{className:"text-[#0d1b3e]/70 text-sm max-w-sm mx-auto font-light leading-relaxed mb-6",children:"Gain the knowledge you need to protect your legacy. Explore our library of expert resources."}),e.jsxs(o,{to:"/educational-tools",className:"inline-flex items-center gap-3 px-6 py-3 bg-[#0710ee] text-white rounded-full font-medium text-[11px] uppercase tracking-widest shadow-lg shadow-[#0710ee]/20",children:["Explore Library",e.jsx(c,{size:16})]})]}),e.jsxs("div",{className:"relative mt-4 sm:mt-8 md:mt-24",children:[e.jsx(r.div,{ref:l,style:{x:m},className:"hidden md:flex w-max gap-12 sm:gap-20 md:gap-32 px-[10vw] sm:px-[15vw]",children:d.map((s,g)=>e.jsx(b,{book:s,index:g,scrollYProgress:t},s.id))}),e.jsx("div",{className:"flex md:hidden overflow-x-auto gap-6 px-6 pb-4 snap-x snap-mandatory no-scrollbar",children:d.map(s=>e.jsxs("div",{className:"min-w-[280px] snap-center flex flex-col items-center",children:[e.jsx("div",{className:"relative mb-4 w-full",children:e.jsx("img",{src:s.image,alt:s.title,width:"280",height:"200",decoding:"async",className:"w-full h-auto max-h-[40vh] object-contain drop-shadow-xl"})}),e.jsxs("div",{className:"text-center",children:[e.jsx("h3",{className:"text-2xl font-serif text-[#0d1b3e] mb-1",children:s.title}),e.jsx("p",{className:"text-[9px] text-primary font-bold tracking-[0.2em] uppercase opacity-60",children:s.subtitle})]})]},s.id))}),e.jsxs("div",{className:"flex md:hidden items-center justify-center gap-3 mt-2 text-[#0d1b3e]/40",children:[e.jsx("div",{className:"h-[1px] w-8 bg-[#0d1b3e]/10"}),e.jsx("span",{className:"text-[9px] font-bold uppercase tracking-[0.3em] animate-pulse",children:"Swipe to explore"}),e.jsx("div",{className:"h-[1px] w-8 bg-[#0d1b3e]/10"})]})]}),e.jsxs("div",{className:"absolute bottom-12 left-1/2 -translate-x-1/2 hidden md:flex items-center gap-6",children:[e.jsx("span",{className:"text-[10px] font-bold text-[#0d1b3e]/30 tracking-[0.3em] uppercase",children:"01"}),e.jsx("div",{className:"h-[1px] w-64 bg-[#0d1b3e]/10 relative",children:e.jsx(r.div,{style:{scaleX:t},className:"absolute inset-0 bg-primary origin-left"})}),e.jsx("span",{className:"text-[10px] font-bold text-[#0d1b3e]/30 tracking-[0.3em] uppercase",children:"08"})]})]})})},b=({book:i,index:l,scrollYProgress:t})=>(a(t,[l*.1,(l+2)*.1],[5,-5]),e.jsxs(r.div,{whileHover:{y:-20},transition:{type:"spring",stiffness:300,damping:20},className:"relative w-[240px] sm:w-[350px] md:w-[450px] shrink-0 group flex flex-col items-center",children:[e.jsxs("div",{className:"relative mb-4 w-full",children:[e.jsx("div",{className:"absolute -inset-4 bg-[#0d1b3e]/5 blur-3xl rounded-full opacity-0 group-hover:opacity-100 transition-opacity duration-1000"}),e.jsx("img",{src:i.image,alt:i.title,width:"450",height:"320",decoding:"async",className:"w-full h-auto max-h-[40vh] sm:max-h-[60vh] object-contain filter drop-shadow-[0_20px_40px_rgba(13,27,62,0.1)] transition-all duration-700 ease-out group-hover:drop-shadow-[0_40px_70px_rgba(13,27,62,0.2)] group-hover:scale-[1.02]",loading:"lazy"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("h3",{className:"text-2xl md:text-3xl font-serif text-[#0d1b3e] mb-1 leading-tight",children:i.title}),e.jsx("p",{className:"text-[10px] text-primary font-bold tracking-[0.2em] uppercase opacity-60",children:i.subtitle})]})]}));export{w as default};
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.