1import{r as l,h as y,s as w,j as e,L as i}from"./index-CwyW69ES.js";import{B as n}from"./button-JEvSNvnr.js";import{u as N}from"./useQuery-DAG4kRip.js";import{l as k}from"./logo-CXuxeZXt.js";import{s as _,a as z,b as S,c as O}from"./service-automation-Ctply9T_.js";import{A as h}from"./arrow-right-BaFMqbln.js";import{A as E}from"./award-BeUaz0GY.js";import{c as p}from"./createLucideIcon-BwfpN3tD.js";import{S as T}from"./shield-check-oSLxhrng.js";const A=[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],M=p("earth",A);const L=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],C=p("zap",L),D="/assets/hero-branch-office-Dl0eP0ov.jpg",P="/assets/hero-system-operations-BxLEiGAp.jpg",r=[{image:y,label:"Global Oilfield Systems head office in Ohio"},{image:D,label:"Global Oilfield Systems branch office in Texas"},{image:P,label:"Global Oilfield Systems field operations crew"}],R=[{id:"onshore",title:"Onshore Drilling",desc:"Modern land-rig fleet with industry-leading uptime, automation, and safety performance.",img:_},{id:"offshore",title:"Offshore Platforms",desc:"Deepwater and shallow-water platforms engineered for maximum operational reliability.",img:z},{id:"pipeline",title:"Pipeline & Welding",desc:"Inspection, structural welding, and repair of damaged sections, anywhere in the world.",img:S},{id:"automation",title:"Drilling Automation",desc:"Real-time optimization, predictive analytics, and autonomous drilling intelligence.",img:O}],$=[{value:"30+",label:"Years of operations"},{value:"$186M",label:"Largest single contract"},{value:"3",label:"Continents served"},{value:"98%",label:"On-time delivery"}];function X(){const[s,o]=l.useState(0),[d,u]=l.useState(!1);l.useEffect(()=>{const a=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>u(a.matches);return t(),a.addEventListener("change",t),()=>a.removeEventListener("change",t)},[]),l.useEffect(()=>{if(d)return;const a=window.setInterval(()=>{o(t=>(t+1)%r.length)},6500);return()=>window.clearInterval(a)},[d]);const{data:c}=N({queryKey:["latest-news"],queryFn:async()=>{const{data:a}=await w.from("news").select("id, title, slug, summary, cover_image, published_at").eq("published",!0).order("published_at",{ascending:!1}).limit(3);return a??[]}}),m=l.useRef(null),f=a=>{const t=a.touches[0];m.current={x:t.clientX,y:t.clientY}},b=a=>{const t=m.current;if(m.current=null,!t)return;const g=a.changedTouches[0],x=g.clientX-t.x,j=g.clientY-t.y;if(Math.abs(x)<55||Math.abs(x)<Math.abs(j)*1.4)return;const v=x<0?(s+1)%r.length:(s-1+r.length)%r.length;o(v)};return e.jsxs("div",{children:[e.jsxs("section",{className:"relative min-h-[92vh] flex items-center overflow-hidden touch-pan-y",onTouchStart:f,onTouchEnd:b,children:[e.jsxs("div",{className:"absolute inset-0 bg-background",children:[r.map((a,t)=>e.jsx("img",{src:a.image,alt:t===s?a.label:"","aria-hidden":t!==s,loading:t===0?"eager":"lazy",fetchPriority:t===0?"high":"auto",width:1920,height:1080,className:`absolute inset-0 h-full w-full object-cover transition-opacity duration-1000 ease-in-out ${t===s?`opacity-100 ${d?"":"animate-ken-burns"}`:"opacity-0"}`},a.image)),e.jsxs("div",{className:"absolute top-24 right-4 lg:top-28 lg:right-8 z-20 flex items-center gap-2 pointer-events-none rounded-full glass border border-foreground
1/15 px-3 py-1.5",children:[e.jsx("img",{src:k,alt:"","aria-hidden":!0,width:22,height:22,className:"h-5 w-5 object-contain drop-shadow-[0_2px_6px_rgba(0,0,0,0.6)]"}),e.jsx("span",{className:"text-[10px] uppercase tracking-[0.32em] text-foreground/85 font-display",children:"G.O.S"})]})]}),e.jsx("div",{className:"absolute bottom-5 left-4 right-4 sm:left-auto sm:bottom-7 sm:right-7 z-20 flex justify-center",children:e.jsx("div",{className:"flex items-center gap-2 px-3 py-2 rounded-full glass border border-foreground/20",children:r.map((a,t)=>e.jsx(n,{type:"button",variant:"ghost",size:"icon","aria-label":`Show ${a.label}`,"aria-current":t===s,onClick:()=>o(t),className:"h-7 w-7 rounded-full",children:e.jsx("span",{className:`block h-1.5 rounded-full transition-all duration-300 ${t===s?"w-5 bg-primary-glow":"w-2 bg-foreground/40"}`})},a.image))})}),e.jsx("div",{className:"absolute inset-0 bg-gradient-hero"}),e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_left,oklch(0.62_0.22_255/0.25),transparent_60%)]"}),e.jsx("div",{className:"container-page relative z-10 py-24 lg:py-32",children:e.jsxs("div",{className:"max-w-3xl animate-fade-up",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full glass text-xs uppercase tracking-[0.25em] text-primary-glow mb-8",children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-primary-glow animate-pulse-glow"}),"Energy Services · Worldwide"]}),e.jsxs("h1",{className:"font-display text-5xl sm:text-6xl lg:text-7xl xl:text-8xl font-bold leading-[0.95] tracking-tight",children:["Engineered for the",e.jsx("br",{}),e.jsx("span",{className:"text-gradient-brand",children:"Future of Energy."})]}),e.jsxs("p",{className:"mt-8 text-lg lg:text-xl text-ink-muted max-w-2xl leading-relaxed",children:["Three pillars ",e.jsx("span",{className:"text-foreground font-medium",children:"Talent, Technology, and Transition"})," drive our drilling, pipeline, and welding services across upstream operations on three continents."]}),e.jsxs("div",{className:"mt-10 flex flex-wrap gap-4",children:[e.jsx(n,{asChild:!0,variant:"hero",size:"xl",children:e.jsxs(i,{to:"/services",children:["Explore our services ",e.jsx(h,{className:"ml-1"})]})}),e.jsx(n,{asChild:!0,variant:"glass",size:"xl",children:e.jsx(i,{to:"/about",children:"Our story"})})]})]})}),e.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 z-10 hidden lg:block",children:e.jsx("div",{className:"w-6 h-10 rounded-full border-2 border-foreground
1/30 flex justify-center pt-2",children:e.jsx("div",{className:"w-1 h-2 rounded-full bg-primary-glow animate-pulse-glow"})})})]}),e.jsx("section",{className:"container-page py-20 -mt-1",children:e.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-px bg-border rounded-2xl overflow-hidden glass",children:$.map(a=>e.jsxs("div",{className:"bg-surface/50 p-8 lg:p-10 text-center",children:[e.jsx("div",{className:"text-4xl lg:text-5xl font-display font-bold text-gradient-brand",children:a.value}),e.jsx("div",{className:"mt-2 text-xs uppercase tracking-wider text-ink-muted",children:a.label})]},a.label))})}),e.jsxs("section",{className:"container-page py-24",children:[e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end justify-between gap-8 mb-16",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-xs uppercase tracking-[0.3em] text-primary-glow",children:"What we do"}),e.jsxs("h2",{className:"mt-3 font-display text-4xl lg:text-6xl font-bold tracking-tight",children:["Comprehensive",e.jsx("br",{}),e.jsx("span",{className:"text-gradient",children:"drilling solutions."})]})]}),e.jsx("p",{className:"text-ink-muted max-w-md text-lg",children:"From advanced land rigs to sophisticated offshore platforms, we deliver world-class energy services while maintaining the highest safety standards."})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:R.map(a=>e.jsxs(i,{to:"/services",hash:a.id,className:"group relative overflow-hidden rounded-2xl bg-gradient-card border border-border card-shadow hover:border-primary/40 transition-all duration-500",children:[e.jsxs("div",{className:"aspect-[16/10] overflow-hidden",children:[e.jsx("img",{src:a.img,alt:a.title,loading:"lazy",width:1280,height:896,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent"})]}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-8",children:[e.jsx("h3",{className:"font-display text-2xl lg:text-3xl font-bold mb-2",children:a.title}),e.jsx("p",{className:"text-ink-muted text-sm lg:text-base mb-4 max-w-md",children:a.desc}),e.jsxs("span",{className:"inline-flex items-center gap-2 text-primary-glow text-sm font-medium group-hover:gap-3 transition-all",children:["Learn more ",e.jsx(h,{size:16})]})]})]},a.id))})]}),e.jsxs("section",{className:"container-page py-24",children:[e.jsxs("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[e.jsx("span",{className:"text-xs uppercase tracking-[0.3em] text-primary-glow",children:"Three pillars"}),e.jsx("h2",{className:"mt-3 font-display text-4xl lg:text-5xl font-bold",children:"Built on what matters most."})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:[{icon:E,title:"Talent",desc:"World-class engineers, rig hands, and welders trained to global standards."},{icon:C,title:"Technology",desc:"Automation, predictive analytics, and digital twins powering every operation."},{icon:M,title:"Transition",desc:"Helping our partners navigate the energy transition with cleaner, smarter operations."}].map(a=>e.jsxs("div",{className:"bg-gradient-card border border-border rounded-2xl p-8 hover:border-primary/40 transition-colors",children:[e.jsx("div",{className:"w-14 h-14 rounded-xl bg-gradient-brand flex items-center justify-center mb-6 glow-shadow",children:e.jsx(a.icon,{className:"text-primary-foreground",size:26})}),e.jsx("h3",{className:"font-display text-2xl font-bold mb-3",children:a.title}),e.jsx("p",{className:"text-ink-muted leading-relaxed",children:a.desc})]},a.title))})]}),c&&c.length>0&&e.jsxs("section",{className:"container-page py-24",children:[e.jsxs("div",{className:"flex items-end justify-between mb-12 gap-6",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-xs uppercase tracking-[0.3em] text-primary-glow",children:"Newsroom"}),e.jsx("h2",{className:"mt-3 font-display text-4xl lg:text-5xl font-bold",children:"Latest from the field."})]}),e.jsx(n,{asChild:!0,variant:"outline",children:e.jsx(i,{to:"/news",children:"All news"})})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:c.map(a=>e.jsxs("article",{className:"bg-gradient-card border border-border rounded-2xl overflow-hidden group hover:border-primary/40 transition-colors",children:[a.cover_image&&e.jsx("div",{className:"aspect-video overflow-hidden",children:e.jsx("img",{src:a.c
1over_image,alt:a.title,loading:"lazy",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),e.jsxs("div",{className:"p-6",children:[e.jsx("time",{className:"text-xs uppercase tracking-wider text-ink-muted",children:a.published_at?new Date(a.published_at).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):""}),e.jsx("h3",{className:"mt-2 font-display text-xl font-bold leading-tight",children:a.title}),e.jsx("p",{className:"mt-3 text-sm text-ink-muted line-clamp-3",children:a.summary})]})]},a.id))})]}),e.jsx("section",{className:"container-page py-24",children:e.jsxs("div",{className:"relative overflow-hidden rounded-3xl bg-gradient-brand p-10 lg:p-20 glow-shadow",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_top_right,oklch(1_0_0/0.15),transparent_60%)]"}),e.jsxs("div",{className:"relative z-10 max-w-3xl",children:[e.jsx(T,{className:"text-primary-foreground mb-6",size:40}),e.jsx("h2",{className:"font-display text-3xl lg:text-5xl font-bold text-primary-foreground mb-4",children:"Ready to start your next project?"}),e.jsx("p",{className:"text-primary-foreground/80 text-lg mb-8 max-w-xl",children:"Tell us about your operation. Our team will respond within one business day with a tailored proposal."}),e.jsx(n,{asChild:!0,variant:"glass",size:"xl",children:e.jsxs(i,{to:"/contact",children:["Contact our team ",e.jsx(h,{className:"ml-1"})]})})]})]})})]})}export{X as component};
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.