:root {
  --ink: #111111;
  --muted: #626262;
  --line: #dedede;
  --soft: #f4f3f1;
  --white: #ffffff;
  --orange: #ff6a00;
  --orange-soft: #ffeadc;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 1000; background: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; top: 0; width: 100%; z-index: 50; background: rgba(17,17,17,.78); color: white; backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.1); transition: .25s; }
.site-header.scrolled { background: rgba(17,17,17,.96); }
.nav-wrap { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { position: relative; width: 30px; height: 48px; display: block; transform: skew(-7deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; left: 8px; width: 14px; background: var(--orange); }
.brand-mark::before { top: 0; height: 27px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.brand-mark::after { bottom: 0; height: 29px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.brand-text { font-size: 13px; font-weight: 800; line-height: 1.05; letter-spacing: .11em; }
.primary-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.primary-nav a:not(.nav-cta) { opacity: .78; }
.primary-nav a:hover { opacity: 1; }
.nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.nav-cta:hover { border-color: var(--orange); background: var(--orange); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: white; }

.hero { min-height: 820px; padding: 180px 0 70px; position: relative; overflow: hidden; background: #111; color: white; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(0,0,0,.35)); }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, black, transparent 65%); }
.hero-content { position: relative; z-index: 4; }
.eyebrow { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: #555; }
.hero h1 { max-width: 880px; margin: 28px 0 24px; font-size: clamp(48px, 7vw, 91px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lead { max-width: 660px; margin: 0; color: #c6c6c6; font-size: 20px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border-radius: 2px; font-size: 14px; font-weight: 700; transition: .2s; }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: #ff812f; transform: translateY(-2px); }
.button-secondary { border: 1px solid #4b4b4b; color: white; }
.button-secondary:hover { border-color: white; }
.hero-proof { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 880px; margin-top: 90px; padding-top: 24px; border-top: 1px solid #404040; }
.hero-proof div { display: flex; flex-direction: column; padding-right: 30px; }
.hero-proof strong { font-size: 14px; }
.hero-proof span { color: #888; font-size: 12px; margin-top: 3px; }
.hero-visual { position: absolute; z-index: 2; width: 600px; height: 600px; right: -80px; top: 128px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,0,.15), transparent 55%); }
.energy-core { position: absolute; inset: 210px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 70px 15px rgba(255,106,0,.45); }
.energy-orbit { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.orbit-one { inset: 70px; transform: rotate(22deg); }
.orbit-two { inset: 120px 40px; transform: rotate(-35deg); }
.energy-orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: white; top: 12%; left: 20%; box-shadow: 0 0 16px white; }
.tech-label { position: absolute; font-size: 11px; letter-spacing: .15em; color: #aaa; border: 1px solid #444; padding: 8px 11px; background: rgba(17,17,17,.8); }
.label-one { left: 10px; top: 110px; }.label-two { right: 30px; top: 190px; }.label-three { left: 40px; bottom: 90px; }.label-four { right: 30px; bottom: 130px; }

.trust-strip { background: #1a1a1a; color: white; border-top: 1px solid #2e2e2e; border-bottom: 1px solid #2e2e2e; }
.trust-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.trust-inner > span { color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.sector-list { display: flex; flex-wrap: wrap; gap: 36px; font-weight: 600; font-size: 13px; color: #d5d5d5; }

.section { padding: 120px 0; }
.section-heading { margin-bottom: 55px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; }
.section h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.045em; margin: 22px 0 0; }
.split-heading > p { color: var(--muted); font-size: 17px; margin: 0 0 6px; }
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfcfcf; border-left: 1px solid #cfcfcf; }
.service-card { min-height: 315px; padding: 30px; border-right: 1px solid #cfcfcf; border-bottom: 1px solid #cfcfcf; position: relative; background: rgba(255,255,255,.35); transition: .25s; }
.service-card:hover { background: white; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,.06); }
.service-card.featured { background: var(--ink); color: white; }
.service-number { position: absolute; right: 24px; top: 20px; font-size: 12px; color: #999; }
.service-icon { font-size: 29px; color: var(--orange); margin-bottom: 38px; }
.service-card h3 { font-size: 22px; margin: 0 0 12px; }
.service-card p { color: var(--muted); margin: 0; font-size: 14px; }
.service-card.featured p { color: #aaa; }
.service-card ul { margin: 20px 0 0; padding: 0; list-style: none; font-size: 12px; color: #aaa; }
.service-card li { margin: 6px 0; }
.service-card li::before { content: "—"; color: var(--orange); margin-right: 8px; }

.expertise { background: #111; color: white; }
.expertise-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.expertise-copy { position: sticky; top: 130px; }
.expertise-copy h2 { margin-top: 26px; }
.expertise-copy p { color: #999; font-size: 17px; max-width: 500px; }
.text-link { display: inline-flex; gap: 20px; margin-top: 25px; color: white; font-weight: 700; border-bottom: 1px solid #444; padding-bottom: 8px; }
.text-link span { color: var(--orange); }
.expertise-list { border-top: 1px solid #3a3a3a; }
.expertise-item { display: grid; grid-template-columns: 55px 1fr; column-gap: 15px; padding: 28px 0; border-bottom: 1px solid #303030; }
.expertise-item > span { font-size: 12px; color: var(--orange); }
.expertise-item h3 { margin: 0; font-size: 23px; }
.expertise-item p { grid-column: 2; margin: 7px 0 0; color: #888; font-size: 14px; }

.projects { background: white; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-card { border: 1px solid var(--line); overflow: hidden; background: white; }
.project-large { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; }
.project-art { min-height: 330px; position: relative; overflow: hidden; background: #242424; }
.rail-art { background: radial-gradient(circle at 58% 45%, #ff7d22 0 2%, transparent 3%), linear-gradient(120deg, #282828, #0e0e0e 62%); }
.rail-art::before, .rail-art::after { content:""; position:absolute; bottom: 0; height: 75%; width: 42%; border-top: 2px solid rgba(255,255,255,.25); transform: skewY(-19deg); }
.rail-art::before { left: 4%; border-left: 2px solid rgba(255,255,255,.18); }.rail-art::after { right: 4%; border-right: 2px solid rgba(255,255,255,.18); transform: skewY(19deg); }
.rail-line { position: absolute; left: 8%; right: 8%; bottom: 18%; height: 2px; background: var(--orange); box-shadow: 0 -35px 70px rgba(255,106,0,.7); }
.rail-light { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: white; box-shadow: 0 0 18px white; }.rail-light.one { left: 25%; top: 28%; }.rail-light.two { right: 22%; top: 38%; }
.project-content { padding: 34px; }
.project-meta { display: flex; justify-content: space-between; color: #777; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; }
.project-card h3 { font-size: 30px; line-height: 1.15; margin: 45px 0 16px; }
.project-card p { color: var(--muted); font-size: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-row span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; padding: 7px 9px; background: var(--soft); }
.battery-art { display:flex; align-items:center; justify-content:center; gap:12px; background: linear-gradient(145deg, #ece9e4, #c8c5bf); }
.battery-art span { width: 58px; height: 150px; border: 2px solid #242424; border-radius: 4px; position: relative; background: linear-gradient(to top, var(--orange) 0 68%, transparent 68%); }
.battery-art span::before { content:""; position:absolute; width: 20px; height: 7px; left: 17px; top:-9px; background:#242424; }
.battery-art i { position:absolute; width: 220px; height: 220px; border:1px solid rgba(0,0,0,.15); border-radius:50%; }
.dark-card { background: #171717; color: white; position: relative; min-height: 520px; }
.dark-card p { color: #999; max-width: 440px; }
.dark-card .tag-row span { background: #2a2a2a; }
.signal-graphic { position:absolute; left: 30px; right:30px; bottom:35px; height:120px; display:flex; align-items:end; gap: 14px; }
.signal-graphic span { flex:1; background: var(--orange); opacity:.85; }
.signal-graphic span:nth-child(1){height:35%}.signal-graphic span:nth-child(2){height:72%}.signal-graphic span:nth-child(3){height:50%}.signal-graphic span:nth-child(4){height:95%}

.about { background: var(--orange); color: white; }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about-statement blockquote { font-size: 30px; line-height: 1.3; margin: 70px 0 0; font-weight: 600; }
.about-copy h2 { margin-top: 0; }
.about-copy p { font-size: 17px; max-width: 700px; color: rgba(255,255,255,.86); }
.values-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.values-row span { border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 9px 14px; font-size: 12px; }

.contact { background: #111; color: white; padding: 110px 0; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.contact h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.045em; margin: 24px 0; }
.contact p { color: #999; max-width: 610px; }
.contact-card { border-top: 1px solid #3a3a3a; }
.contact-card > a { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid #3a3a3a; }
.contact-card a span { color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card a strong { font-size: 18px; }
.contact-card a b { color: var(--orange); }
.locations { display:flex; gap: 30px; padding-top: 24px; color:#777; font-size:13px; }

.site-footer { background: #0b0b0b; color: white; padding: 70px 0 20px; border-top: 1px solid #222; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 55px; }
.footer-brand p, .footer-grid p, .footer-grid a { color: #777; font-size: 13px; display: block; margin: 8px 0; }
.footer-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 18px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 20px; border-top: 1px solid #222; color: #666; font-size: 11px; }

@media (max-width: 980px) {
  .primary-nav { display: none; position: absolute; top: 86px; left: 0; right: 0; background: #111; padding: 24px; flex-direction: column; align-items: stretch; }
  .primary-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-visual { opacity: .55; right: -260px; }
  .split-heading, .expertise-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .expertise-copy { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-large { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 30px, var(--max)); }
  .nav-wrap { height: 72px; }
  .primary-nav { top: 72px; }
  .hero { min-height: auto; padding: 135px 0 60px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { grid-template-columns: 1fr; gap: 18px; margin-top: 55px; }
  .hero-proof div { padding-bottom: 15px; border-bottom: 1px solid #2f2f2f; }
  .hero-visual { width: 430px; height: 430px; top: 200px; right: -290px; }
  .section { padding: 82px 0; }
  .trust-inner { align-items: flex-start; flex-direction: column; padding: 24px 0; }
  .sector-list { gap: 14px 24px; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .project-large { grid-column: auto; }
  .service-card { min-height: auto; }
  .project-art { min-height: 260px; }
  .project-card h3 { margin-top: 30px; }
  .about-statement blockquote { margin-top: 35px; }
  .contact-card > a { grid-template-columns: 1fr auto; }
  .contact-card a span { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* Asset-led visual refresh */
.brand-logo { display:block; width:190px; height:auto; object-fit:contain; }
.site-header .brand-logo { filter:none; }
.hero { overflow:hidden; }
.hero-content { width:55%; position:relative; z-index:3; }
.hero-visual { position:absolute; inset:86px 0 0 auto; width:45%; height:calc(100% - 86px); opacity:1; border-radius:0; overflow:hidden; }
.hero-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#111 0%,rgba(17,17,17,.38) 20%,rgba(17,17,17,.05) 65%),linear-gradient(0deg,rgba(0,0,0,.55),transparent 45%); }
.hero-visual img { width:100%; height:100%; object-fit:cover; filter:saturate(.75) contrast(1.08); }
.hero-image-caption { position:absolute; left:34px; bottom:28px; z-index:2; font-size:11px; text-transform:uppercase; letter-spacing:.16em; color:#fff; }
.trust-inner { display:block; padding:28px 0 34px; }
.trust-inner > span { display:block; margin-bottom:22px; }
.client-logos { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:18px; align-items:center; }
.client-logo { min-width:0; height:74px; padding:12px 14px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.96); border-radius:8px; overflow:hidden; }
.client-logos img { display:block; width:100%; max-width:138px; height:46px; object-fit:contain; filter:grayscale(1); opacity:.72; transition:filter .2s ease, opacity .2s ease, transform .2s ease; }
.client-logo:hover img { filter:none; opacity:1; transform:scale(1.03); }
.project-art img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.project-card:hover .project-art img { transform:scale(1.025); }
.dark-card { overflow:hidden; }
.dark-card .project-content { position:relative; z-index:2; min-height:520px; background:linear-gradient(90deg,rgba(14,14,14,.97) 0%,rgba(14,14,14,.85) 58%,rgba(14,14,14,.22) 100%); }
.project-background-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.site-footer .brand-logo { width:175px; }
@media (max-width:980px){
  .hero-content{width:70%}
  .hero-visual{width:48%; opacity:.62}
  .client-logos{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:640px){
  .brand-logo{width:160px}
  .hero-content{width:100%}
  .hero-visual{inset:72px 0 auto 0;width:100%;height:420px;opacity:.34}
  .hero-visual::after{background:linear-gradient(0deg,#111 0%,rgba(17,17,17,.55) 65%,rgba(17,17,17,.18) 100%)}
  .hero-image-caption{display:none}
  .client-logos{grid-template-columns:repeat(2,1fr);gap:12px}
  .client-logo{height:66px;padding:10px 12px}
  .client-logos img{height:40px}
}


/* Official GPS logomark sizing */
.brand {
  flex: 0 0 auto;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.brand-logo-header {
  width: 120px;
  height: 120px;
}
.brand-logo-footer {
  width: 140px;
  height: 140px;
}
.site-header .brand {
  height: 100%;
}
.client-logo img[alt="Zinfra"] {
  width: 100%;
  max-width: 145px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
}
.client-logo:hover img[alt="Zinfra"] {
  filter: none;
  opacity: 1;
}
@media (max-width: 640px) {
  .brand-logo-header {
    width: 58px;
    height: 58px;
  }
  .brand-logo-footer {
    width: 72px;
    height: 72px;
  }
}
