/* Layout: industrial site sheet — navy bands alternate with light working surfaces; condensed caps for headings like site signage */
:root {
  --bg: #f4f6fa; --surface: #ffffff; --surface-2: #eaeef6; --ink: #0d1a3d; --muted: #55607d;
  --line: #dde3ee; --accent: #1d3a9e; --gold: #e9a400; --gold-ink: #9a6b00;
  --band: #0f1f5c; --band-ink: #eef1fa; --band-muted: #aab6dc; --logo-bg: #ffffff;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --r: 12px; --wrap: 1160px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0a1027; --surface: #111a37; --surface-2: #17224a; --ink: #e9edf8; --muted: #a0abc9;
  --line: #24315c; --accent: #93a9ff; --gold: #f5b324; --gold-ink: #f5b324;
  --band: #071034; --band-ink: #eef1fa; --band-muted: #9ba8d2; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0a1027; --surface: #111a37; --surface-2: #17224a; --ink: #e9edf8; --muted: #a0abc9;
  --line: #24315c; --accent: #93a9ff; --gold: #f5b324; --gold-ink: #f5b324;
  --band: #071034; --band-ink: #eef1fa; --band-muted: #9ba8d2; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
svg { flex: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 52px); text-transform: uppercase; letter-spacing: .3px; }
h3 { font-size: 22px; letter-spacing: .2px; }
p { margin: 0; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; color: var(--gold-ink); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold); border-radius: 2px; }
.lede { color: var(--muted); max-width: 62ch; font-size: 18px; }
section { padding-block: 88px; scroll-margin-top: 70px; }
.sec-head { display: grid; gap: 16px; margin-bottom: 44px; }
.alt { background: var(--surface-2); }
.band { background: var(--band); color: var(--band-ink); }
.band .lede, .band p { color: var(--band-muted); }
.band .eyebrow { color: var(--gold); }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 52px; border-radius: 6px; }
.brand b { font: 700 22px/1 var(--display); letter-spacing: 1.5px; }
.brand small { display: block; font: 500 11px/1.2 var(--body); color: var(--muted); letter-spacing: .5px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font: 600 15px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn-gold { background: var(--gold); color: #0d1a3d; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { border: 1.5px solid currentColor; color: inherit; background: transparent; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--ink); cursor: pointer; }
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .top .cta { display: none; }
}

/* hero */
.hero { padding-block: 64px 0; background: var(--band); color: var(--band-ink); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.hero-txt { padding-bottom: 64px; min-width: 0; }
.hero h1 { font-size: clamp(46px, 7.4vw, 88px); text-transform: uppercase; letter-spacing: -.5px; margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: var(--band-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-img { position: relative; align-self: stretch; min-height: 420px; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; border-radius: 18px 18px 0 0; }
.hero-img::after { content: ""; position: absolute; inset: 0; border-radius: 18px 18px 0 0; background: linear-gradient(to top, rgba(7,16,52,.65), transparent 45%); }
.hero-tag { position: absolute; left: 18px; bottom: 18px; z-index: 1; color: #fff; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.hero-tag svg { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.stat { padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 46px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--band-muted); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-txt { padding-bottom: 36px; }
  .hero-img { min-height: 300px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about > * { min-width: 0; }
.about-txt { display: grid; gap: 18px; }
.about-txt p { color: var(--muted); }
.about-txt p b { color: var(--ink); font-weight: 600; }
.vm { display: grid; gap: 14px; }
.vm div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.vm h3 { font-size: 20px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.vm p { color: var(--muted); font-size: 16px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.values span { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.values svg { color: var(--gold-ink); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; display: grid; gap: 12px; align-content: start; }
.ic { flex: none; width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--band); color: var(--gold); }
.svc p { color: var(--muted); font-size: 15.5px; }
.steps { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--band); color: var(--band-ink); border-radius: var(--r); overflow: hidden; }
.step { padding: 22px; border-right: 1px solid rgba(255,255,255,.1); display: grid; gap: 4px; }
.step:last-child { border-right: 0; }
.step i { font: 700 15px var(--display); color: var(--gold); font-style: normal; letter-spacing: 1px; }
.step b { font: 700 22px/1.1 var(--display); text-transform: uppercase; }
.step span { font-size: 14.5px; color: var(--band-muted); }
@media (max-width: 980px) { .svc-grid, .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); } }
@media (max-width: 560px) { .svc-grid, .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); } }

/* projects */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proj { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proj-code { font: 700 52px/1 var(--display); color: #fff; }
.chip { font: 600 12px/1 var(--body); letter-spacing: 1px; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; background: rgba(245,179,36,.15); color: var(--gold); white-space: nowrap; }
.proj h3 { color: #fff; font-size: 21px; }
.proj .loc { font-size: 14px; color: var(--band-muted); display: flex; gap: 6px; align-items: center; }
.proj .loc svg { color: var(--gold); }
.proj p { font-size: 15.5px; }
.proj .role { margin-top: 6px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.18); font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.proj .role svg { color: var(--gold); }
.sites { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.site { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; }
.site b { font: 700 22px var(--display); text-transform: uppercase; color: #fff; display: block; }
.site span { font-size: 14.5px; }
.note { margin-top: 30px; font-size: 14.5px; color: var(--band-muted); }
@media (max-width: 860px) { .proj-grid { grid-template-columns: 1fr; } .sites { grid-template-columns: 1fr 1fr; } }

/* trades */
.trade-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.trade { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; min-width: 0; }
.trade h3 { font-size: 19px; text-transform: uppercase; display: flex; gap: 8px; align-items: center; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid var(--gold); }
.trade h3 svg { color: var(--accent); }
.trade ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.trade li { font-size: 14.5px; color: var(--muted); }
.std { margin-top: 26px; display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 16px 20px; font-size: 16px; }
.std svg { color: var(--gold-ink); }
@media (max-width: 1080px) { .trade-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .trade-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .trade-grid { grid-template-columns: 1fr; } }

/* locations */
.loc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.loc-wrap > * { min-width: 0; }
.map svg { width: 100%; height: auto; }
.map .ksa, .map .qa, .map .uae { fill: color-mix(in srgb, var(--accent) 22%, var(--surface)); stroke: var(--accent); stroke-width: .7; }
.map .oth { fill: none; stroke: var(--line); stroke-width: .6; }
.map text { font: 600 8.5px var(--body); fill: var(--ink); }
.map text.s { font-size: 6.5px; fill: var(--gold-ink); font-weight: 500; }
.map text.c { font-size: 7px; fill: var(--muted); letter-spacing: 1.5px; font-weight: 600; }
.offices { display: grid; gap: 14px; }
.office { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 6px; }
.office .chip { justify-self: start; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-ink); }
.office h3 { font-size: 24px; }
.office p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .loc-wrap { grid-template-columns: 1fr; } }

/* compliance */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.comp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.comp p { color: var(--muted); font-size: 15.5px; }
.regs { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.reg h3 { font-size: 19px; text-transform: uppercase; margin-bottom: 8px; }
.reg p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .comp-grid { grid-template-columns: 1fr 1fr; } .regs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .comp-grid { grid-template-columns: 1fr; } }

/* clients */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.logo { background: var(--logo-bg); border: 1px solid var(--line); border-radius: 10px; height: 96px; display: grid; place-items: center; padding: 12px; }
.logo img { max-height: 70px; width: auto; object-fit: contain; }

/* group */
.grp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.co { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; gap: 16px; }
.co > div { min-width: 0; display: grid; gap: 6px; align-content: start; }
.co h3 { font-size: 21px; }
.co .chip { justify-self: start; background: var(--surface-2); color: var(--accent); }
.co p { color: var(--muted); font-size: 15px; }
@media (max-width: 980px) { .grp { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grp { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact > * { min-width: 0; }
form { background: var(--surface); color: var(--ink); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; }
form h3 { font-size: 26px; text-transform: uppercase; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; min-width: 0; }
textarea { min-height: 84px; resize: vertical; }
.send { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-mail { background: var(--band); color: #fff; }
.hint { font-size: 13.5px; color: var(--muted); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.person { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 18px; display: grid; gap: 4px; }
.person b { font: 700 20px/1.1 var(--display); color: #fff; }
.person i { font-style: normal; font-size: 13.5px; color: var(--gold); font-weight: 600; }
.person a, .person span { font-size: 15px; color: var(--band-muted); text-decoration: none; user-select: all; }
.addr { margin-top: 16px; display: grid; gap: 12px; }
.addr div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--band-muted); }
.addr svg { color: var(--gold); margin-top: 3px; }
.addr b { color: #fff; display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row, .people { grid-template-columns: 1fr; } }

footer { padding-block: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

/* enquiry form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form { position: relative; }
.hint.ok { color: #1f8a4c; font-weight: 600; }
.hint.err { color: #c0392b; font-weight: 600; }
button[disabled] { opacity: .6; cursor: progress; }
.proj h3 a, .co h3 a { text-decoration: none; }
.co h3 a:hover { text-decoration: underline; }
