:root {
  --ink: #050b12;
  --ink-2: #0b141f;
  --paper: #e9eef3;
  --white: #ffffff;
  --muted: #9eafbf;
  --orange: #00a8ff;
  --blue: #0077ff;
  --silver: #c8d0d8;
  --line: rgba(167,205,235,.16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(5,8,12,.82), rgba(5,8,12,.18)); backdrop-filter: blur(12px); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; }
.brand-logo { display: block; flex: 0 0 auto; width: 55px; height: 55px; object-fit: cover; background: #020812; border: 1px solid rgba(0,168,255,.42); box-shadow: 0 0 22px rgba(0,119,255,.16); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { letter-spacing: .16em; font-size: .94rem; }
.brand-copy small { color: #b8c1cc; font-size: .58rem; letter-spacing: .18em; margin-top: 6px; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .88rem; font-weight: 650; }
.site-nav a:not(.nav-cta) { color: #c6ced8; }
.site-nav a:hover { color: #fff; }
.nav-cta { background: var(--orange); border: 1px solid var(--orange); padding: 11px 18px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); color: #fff; padding: 8px 12px; }

.hero { min-height: 910px; position: relative; overflow: hidden; padding: 150px 0 0; background: radial-gradient(circle at 20% 25%, #172536 0, var(--ink) 48%); }
.hero-grid, .contact-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent); }
.hero-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(120px); opacity: .16; }
.hero-glow-orange { background: #7890a6; left: -180px; top: 180px; }
.hero-glow-blue { background: var(--blue); right: -180px; top: 220px; }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.72fr); gap: clamp(45px,7vw,100px); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow, .section-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .2em; color: #aab3bf; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 36px; height: 2px; background: var(--orange); }
.hero h1 { margin: 25px 0 22px; max-width: 760px; font-size: clamp(4rem, 6.8vw, 6.8rem); letter-spacing: -.065em; line-height: .88; font-weight: 800; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(0,168,255,.72); }
.hero-lead { max-width: 680px; color: #b5bec9; font-size: clamp(1rem, 1.8vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 0 22px; font-size: .88rem; font-weight: 800; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); }
.button-ghost { border: 1px solid rgba(255,255,255,.28); }
.button-light { background: #fff; color: var(--ink); }
.hero-proof { display: flex; gap: clamp(28px, 7vw, 90px); margin-top: 52px; }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-size: 1.3rem; }
.hero-proof span { color: #7f8a98; font-size: .75rem; }
.hero-visual { position: relative; min-height: 520px; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.018)); box-shadow: 0 40px 100px rgba(0,0,0,.38); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.12) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(255,255,255,.12) 50%, transparent 50.2%); background-size: 70px 70px; opacity: .36; }
.visual-top { position: relative; z-index: 2; height: 55px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: .57rem; letter-spacing: .16em; color: #aab4c0; }
.visual-stage { position: relative; height: 345px; display: grid; place-content: center; text-align: center; overflow: hidden; }
.visual-stage strong { position: relative; z-index: 2; font-size: clamp(5.5rem, 9vw, 8.8rem); line-height: .8; letter-spacing: -.09em; }
.visual-stage p { position: relative; z-index: 2; margin: 22px 0 0; font-size: .58rem; letter-spacing: .22em; color: #c8d0d8; }
.structure-lines { position: absolute; left: 0; bottom: 0; width: 52%; height: 76%; border-right: 1px solid rgba(0,168,255,.55); }
.structure-lines i { position: absolute; bottom: 0; width: 1px; background: linear-gradient(var(--orange), transparent); transform-origin: bottom; opacity: .72; }
.structure-lines i:nth-child(1) { height: 82%; left: 16%; transform: rotate(20deg); }
.structure-lines i:nth-child(2) { height: 68%; left: 38%; transform: rotate(-13deg); }
.structure-lines i:nth-child(3) { height: 92%; left: 64%; transform: rotate(16deg); }
.structure-lines i:nth-child(4) { height: 62%; left: 88%; transform: rotate(-24deg); }
.energy-line { position: absolute; right: -38px; top: 34px; width: 190px; height: 290px; border: 2px solid var(--blue); transform: skew(-22deg); opacity: .55; box-shadow: 0 0 50px rgba(33,150,243,.25); }
.visual-bottom { position: relative; z-index: 2; min-height: 120px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.visual-bottom div { padding: 25px 20px; display: flex; flex-direction: column; justify-content: center; }
.visual-bottom div:first-child { background: #364452; }
.visual-bottom div:last-child { background: #006fc9; }
.visual-bottom small { font-size: .55rem; letter-spacing: .17em; opacity: .78; }
.visual-bottom b { margin-top: 6px; font-size: .9rem; }
.sector-switch { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 3; display: grid; grid-template-columns: 1fr 1fr; }
.sector { height: 126px; padding: 22px 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.sector-build { background: linear-gradient(135deg, #2b3540, #637383); }
.sector-electric { background: linear-gradient(135deg, #004b89, #008ee0); }
.sector-number { border: 1px solid rgba(255,255,255,.5); width: 38px; height: 38px; display: grid; place-items: center; font-size: .7rem; }
.sector small { display: block; font-size: .58rem; letter-spacing: .18em; opacity: .8; }
.sector strong { display: block; font-size: 1.45rem; }
.sector i { font-size: 1.35rem; font-style: normal; }

.section { padding: 120px 0; }
.intro { background: var(--paper); color: var(--ink); }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.section-kicker { color: var(--orange); margin: 0 0 20px; }
.section h2, .contact h2 { margin: 0; font-size: clamp(2.55rem, 5.4vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.intro-copy { padding-top: 34px; }
.intro-copy p { color: #66707b; }
.intro-copy .large-copy { color: #1e2935; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.45; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.values span { border: 1px solid #d4d0c7; padding: 9px 14px; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }

.services { background: #0d131b; }
.section-head { display: grid; grid-template-columns: 1fr .55fr; gap: 50px; align-items: end; margin-bottom: 64px; }
.section-head > p { color: #8d98a6; max-width: 460px; }
.service-panel { min-height: 440px; display: grid; grid-template-columns: .78fr 1.22fr; margin-top: 24px; padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.23); }
.service-panel::after { content: ""; position: absolute; width: 390px; height: 390px; border: 70px solid rgba(255,255,255,.06); transform: rotate(45deg); left: -190px; bottom: -240px; }
.construction { background: linear-gradient(125deg, #151d26, #3e4a57 72%, #657484); }
.electrical { background: linear-gradient(125deg, #031c36, #0059a9 72%, #00a8ff); }
.service-title { display: flex; gap: 22px; position: relative; z-index: 1; }
.service-title > span { font-size: .72rem; border: 1px solid rgba(255,255,255,.5); width: 38px; height: 38px; display: grid; place-items: center; }
.service-title small { font-size: .65rem; letter-spacing: .17em; opacity: .8; }
.service-title h3 { margin: 20px 0 0; font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.service-list { border-top: 1px solid rgba(255,255,255,.35); }
.service-list > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 15px; align-items: center; min-height: 72px; border-bottom: 1px solid rgba(255,255,255,.25); }
.service-list span { opacity: .65; font-size: .7rem; }
.service-list strong { font-size: .95rem; }
.service-list i { font-style: normal; }
.service-list-detailed > div { min-height: 94px; padding: 14px 0; }
.service-copy { display: block; min-width: 0; }
.service-copy strong { display: block; }
.service-copy p { margin: 7px 0 0; max-width: 650px; color: rgba(255,255,255,.7); font-size: .78rem; line-height: 1.5; font-weight: 450; }

.engineering-services { margin-top: 72px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; padding: 64px; border: 1px solid rgba(255,255,255,.13); background: #111923; }
.engineering-services { box-shadow: inset 4px 0 0 var(--blue); }
.engineering-intro h3 { margin: 0 0 22px; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.engineering-intro > p:last-child { color: #8d98a6; }
.engineering-grid { display: grid; grid-template-columns: 1fr 1fr; }
.engineering-grid > div { padding: 28px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.engineering-grid > div:nth-child(-n+2) { border-top: 0; }
.engineering-grid span { color: var(--blue); font-size: .7rem; font-weight: 800; }
.engineering-grid strong { display: block; margin-top: 26px; }
.engineering-grid p { color: #7f8a98; font-size: .82rem; margin-bottom: 0; }

.process { background: var(--paper); color: var(--ink); }
.process .section-head > p { color: #68727e; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #c9c5bc; border-bottom: 1px solid #c9c5bc; }
.process-card { padding: 34px 25px 40px 0; min-height: 270px; }
.process-card + .process-card { border-left: 1px solid #c9c5bc; padding-left: 25px; }
.process-card span { color: var(--orange); font-size: .74rem; font-weight: 800; }
.process-card h3 { margin: 50px 0 14px; font-size: 1.25rem; }
.process-card p { color: #68727e; font-size: .88rem; }
.portfolio-note { margin-top: 50px; display: flex; justify-content: space-between; gap: 30px; border-left: 4px solid var(--orange); padding: 8px 0 8px 20px; }
.portfolio-note span { font-size: .7rem; letter-spacing: .15em; font-weight: 800; }
.portfolio-note p { margin: 0; color: #68727e; }

.contact { position: relative; overflow: hidden; padding: 120px 0 0; background: linear-gradient(135deg, #003d73, #0077cc 60%, #00a8ff); }
.contact-grid { opacity: .35; mask-image: none; }
.contact-inner { position: relative; z-index: 1; }
.contact .section-kicker { color: rgba(255,255,255,.72); }
.contact h2 { max-width: 900px; font-size: clamp(3.4rem, 7vw, 7rem); }
.contact-inner > p:not(.section-kicker) { max-width: 620px; font-size: 1.1rem; margin: 28px 0; }
.contact-details { margin-top: 90px; min-height: 124px; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(11,15,20,.95); }
.contact-details div { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.contact-details div + div { border-left: 1px solid var(--line); }
.contact-details small { color: #788391; letter-spacing: .16em; font-size: .6rem; }
.contact-details strong { margin-top: 8px; }
.site-footer { background: #070a0e; }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand .brand-logo { width: 42px; height: 42px; }
.footer-inner p, .footer-inner > a { color: #73808f; font-size: .74rem; }

@media (max-width: 800px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { height: 76px; }
  .brand-logo { width: 46px; height: 46px; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #050b12; padding: 24px; flex-direction: column; align-items: stretch; gap: 18px; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: 1260px; padding-top: 125px; }
  .hero-content { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { min-height: 430px; }
  .visual-stage { height: 270px; }
  .hero h1 { font-size: clamp(3.6rem, 15vw, 5.5rem); }
  .hero-proof { gap: 22px; }
  .hero-proof span { max-width: 105px; }
  .sector-switch { grid-template-columns: 1fr; }
  .sector { height: 95px; }
  .intro-grid, .section-head, .service-panel, .engineering-services { grid-template-columns: 1fr; }
  .intro-grid, .section-head { gap: 30px; }
  .service-panel { gap: 45px; }
  .service-list-detailed > div { min-height: 104px; }
  .engineering-services { padding: 36px 26px; gap: 35px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-card:nth-child(3) { border-left: 0; border-top: 1px solid #c9c5bc; }
  .process-card:nth-child(4) { border-top: 1px solid #c9c5bc; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-details div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { padding: 35px 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .brand-copy strong { font-size: .78rem; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-actions .button { width: 100%; }
  .section { padding: 85px 0; }
  .service-list-detailed > div { grid-template-columns: 28px 1fr auto; gap: 10px; min-height: 112px; }
  .service-copy strong { font-size: .9rem; line-height: 1.35; }
  .service-copy p { font-size: .74rem; line-height: 1.45; }
  .process-grid { grid-template-columns: 1fr; }
  .engineering-grid { grid-template-columns: 1fr; }
  .engineering-grid > div, .engineering-grid > div:nth-child(-n+2) { border-top: 1px solid var(--line); border-left: 0; padding-inline: 0; }
  .engineering-grid > div:first-child { border-top: 0; }
  .process-card, .process-card + .process-card { border-left: 0; border-top: 1px solid #c9c5bc; padding: 28px 0; min-height: auto; }
  .process-card:first-child { border-top: 0; }
  .process-card h3 { margin-top: 24px; }
  .portfolio-note { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
