:root {
  --navy: #071421;
  --navy-2: #0b1d2c;
  --navy-3: #122b3e;
  --orange: #f36b2b;
  --orange-light: #ff8d52;
  --ink: #102332;
  --muted: #5d6a74;
  --line: #dbe2e7;
  --paper: #f4f6f7;
  --white: #fff;
  --heading: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: .96; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: none; }
h1 { max-width: 760px; margin-bottom: 28px; color: var(--white); font-size: clamp(4.6rem, 7.2vw, 7.5rem); letter-spacing: -.035em; }
h1 em { display: block; color: var(--orange); font-style: normal; }
h2 { margin-bottom: 24px; font-size: clamp(3.2rem, 5vw, 5rem); letter-spacing: -.025em; }
h3 { margin-bottom: 16px; font-size: 1.7rem; letter-spacing: -.01em; }

.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; color: #aebdca; font-size: .71rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); }
.eyebrow.dark { color: #697984; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 0 25px; border: 1px solid transparent; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: .25s ease; cursor: pointer; }
.button span { font-size: 1.1rem; }
.button-primary { color: var(--white); background: var(--orange); }
.button-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 178px; height: 76px; object-fit: contain; filter: brightness(0) invert(1); }
.main-nav { height: 100%; display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; color: #d9e2e9; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--orange); transition: width .25s; }
.main-nav > a:hover::after { width: 100%; }
.main-nav .nav-cta { height: 42px; display: flex; align-items: center; padding: 0 18px; border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.main-nav .nav-cta:hover { border-color: var(--orange); background: var(--orange); }
.menu-toggle { display: none; border: 0; background: none; }

.hero { position: relative; min-height: 820px; overflow: hidden; color: var(--white); background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 42%, rgba(28,67,91,.62), transparent 33%), linear-gradient(115deg, rgba(4,14,24,.97) 0%, rgba(7,20,33,.95) 52%, rgba(10,33,49,.85) 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to right, transparent 8%, black 60%, transparent); }
.hero-glow { position: absolute; top: 140px; right: -150px; width: 700px; height: 700px; border: 1px solid rgba(243,107,43,.15); border-radius: 50%; box-shadow: inset 0 0 100px rgba(243,107,43,.04), 0 0 120px rgba(24,99,135,.12); }
.hero-inner { position: relative; z-index: 2; min-height: 760px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 45px; padding-top: 95px; }
.hero-copy { position: relative; z-index: 3; padding-top: 38px; }
.hero-lead { max-width: 650px; margin-bottom: 35px; color: #b7c6d1; font-size: 1.06rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 43px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 23px; color: #8093a1; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-tags span { position: relative; padding-left: 14px; }
.hero-tags span::before { content: ""; position: absolute; top: 8px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.hero-visual { position: relative; min-height: 570px; display: flex; align-items: center; justify-content: center; }
.orbit { position: absolute; border: 1px solid rgba(115,158,186,.18); border-radius: 50%; }
.orbit-one { width: 600px; height: 600px; }
.orbit-two { width: 455px; height: 455px; border-style: dashed; animation: rotate 60s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.system-card { position: relative; z-index: 2; width: 510px; border: 1px solid rgba(143,180,203,.25); background: rgba(7,22,34,.82); box-shadow: 0 35px 90px rgba(0,0,0,.38); backdrop-filter: blur(12px); }
.system-topline { height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: #8098a8; font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.status { display: flex; align-items: center; gap: 8px; color: #8bd5ae; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #4cca8a; box-shadow: 0 0 10px #4cca8a; }
.pipeline-diagram { width: 100%; display: block; }
.pipeline-diagram text { fill: #8aa0af; font: 600 10px var(--body); letter-spacing: .08em; }
.terrain { fill: #0d2232; }
.pulse-lines path { fill: none; stroke: #f47a32; stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .45; }
.anode rect, .anode circle { fill: #f47a32; filter: url(#orangeGlow); }
.rectifier rect, .test-post rect { fill: #132d40; stroke: #66859a; }
.signal-dot { fill: #ff8d52; animation: signal 2s ease-out infinite; }
.signal-dot.delayed { animation-delay: 1s; }
@keyframes signal { 0% { r: 4; opacity: 1; } 100% { r: 17; opacity: 0; } }
.system-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.1); }
.system-metrics div { padding: 16px 17px 17px; border-right: 1px solid rgba(255,255,255,.1); }
.system-metrics div:last-child { border: 0; }
.system-metrics small { display: block; margin-bottom: 4px; color: #718999; font-size: .56rem; letter-spacing: .06em; text-transform: uppercase; }
.system-metrics strong { color: #e3edf3; font-family: var(--heading); font-size: 1.45rem; }
.system-metrics strong span { color: #718999; font-size: .72rem; }
.system-metrics .good { color: #4cca8a; font-size: 1.1rem; }
.float-badge { position: absolute; z-index: 4; min-width: 132px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.15); background: #102a3d; box-shadow: 0 15px 35px rgba(0,0,0,.25); }
.float-badge b { color: var(--orange); font-family: var(--heading); font-size: 1.4rem; }
.float-badge span { color: #a9bac5; font-size: .57rem; font-weight: 700; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; }
.badge-one { top: 75px; left: -5px; }
.badge-two { right: -14px; bottom: 65px; }
.hero-strip { position: relative; z-index: 3; height: 60px; display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.11); background: rgba(4,14,23,.88); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; color: #6f8796; font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.strip-inner i { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }

.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 120px; }
.intro .section-heading h2 { max-width: 660px; margin-bottom: 0; }
.intro-copy { padding-top: 43px; color: var(--muted); }
.intro-copy p:first-child { color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 12px; padding-bottom: 5px; border-bottom: 2px solid var(--orange); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.services { background: var(--paper); }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 58px; }
.section-top h2 { margin-bottom: 0; }
.section-top > p { max-width: 415px; margin: 0 0 3px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 430px; padding: 38px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: .3s ease; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { z-index: 2; transform: translateY(-7px); box-shadow: 0 25px 50px rgba(18,43,62,.11); }
.service-card:hover::after { transform: scaleX(1); }
.service-number { position: absolute; top: 28px; right: 30px; color: #a3afb7; font-family: var(--heading); font-size: .9rem; }
.service-icon { width: 55px; height: 55px; display: grid; place-items: center; margin-bottom: 56px; border: 1px solid #d3dde3; color: var(--orange); }
.service-icon svg { width: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card p { color: var(--muted); font-size: .88rem; }
.service-card h3 { max-width: 100%; }
.service-card ul { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid #edf0f2; list-style: none; }
.service-card li { position: relative; margin: 7px 0; padding-left: 16px; color: #53636d; font-size: .72rem; }
.service-card li::before { content: ""; position: absolute; top: 9px; left: 0; width: 5px; height: 1px; background: var(--orange); }
.csd-page .service-card { min-height: 575px; padding-bottom: 78px; }
.service-detail-panels { background: var(--white); }
.service-detail-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; margin-bottom: 24px; padding: 42px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 45px rgba(18,43,62,.06); }
.service-detail-panel:last-child { margin-bottom: 0; }
.service-detail-copy h2 { margin-bottom: 22px; font-size: clamp(2.55rem, 4.8vw, 4.55rem); }
.service-detail-copy p:not(.eyebrow) { color: var(--muted); font-size: .96rem; }
.service-detail-list, .pmc-capability-grid { min-width: 0; }
.service-detail-list h3, .pmc-capabilities > h3 { margin-bottom: 16px; font-size: 1.55rem; }
.pmc-capability-grid h4 { margin: 0 0 14px; color: var(--ink); font-family: var(--heading); font-size: 1.3rem; line-height: 1.08; text-transform: uppercase; }
.service-detail-list ul, .pmc-capability-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.service-detail-list ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-detail-list li, .pmc-capability-grid li { position: relative; padding-left: 18px; color: #53636d; font-size: .78rem; line-height: 1.45; }
.service-detail-list li::before, .pmc-capability-grid li::before { content: ""; position: absolute; top: .72em; left: 0; width: 6px; height: 2px; background: var(--orange); }
.pmc-detail-panel { align-items: start; background: #f8fafb; }
.pmc-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pmc-capability-grid div { min-width: 0; padding: 24px; border: 1px solid #dce5ea; background: var(--white); }
.services-project-gallery { background: var(--paper); }
.services-gallery-grid .gallery-card { border: 0; }
.services-gallery-grid .gallery-card img { background: var(--navy); }
[data-service-color-cycle] .service-card {
  transition: background-color 1s ease, color 1s ease, transform .3s ease, box-shadow .3s ease;
}
[data-service-color-cycle] .service-card p,
[data-service-color-cycle] .service-card .service-number,
[data-service-color-cycle] .service-card .service-icon,
[data-service-color-cycle] .service-card .card-link {
  transition: color 1s ease, border-color 1s ease;
}
[data-service-color-cycle] .service-card.service-cycle-active {
  background-color: #f36b2b;
  color: #071421;
}
[data-service-color-cycle] .service-card.service-cycle-active p,
[data-service-color-cycle] .service-card.service-cycle-active .service-number,
[data-service-color-cycle] .service-card.service-cycle-active .service-icon,
[data-service-color-cycle] .service-card.service-cycle-active .card-link {
  color: #071421;
}
[data-service-color-cycle] .service-card.service-cycle-active .service-icon {
  border-color: rgba(7, 20, 33, .45);
}

.assets { min-height: 720px; display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: var(--navy); color: var(--white); }
.assets-image { min-height: 720px; background: linear-gradient(90deg, transparent 70%, var(--navy)), linear-gradient(0deg, rgba(4,15,24,.2), rgba(4,15,24,.2)), url("assets/pipeline-system.jpg") center/cover no-repeat; }
.assets-content { display: flex; align-items: center; padding: 90px max(48px, calc((100vw - 1180px) / 2)) 90px 75px; }
.assets-inner { width: 100%; max-width: 590px; }
.assets-inner > p:not(.eyebrow) { color: #9fb0bc; }
.asset-list { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.13); }
.asset-item { width: 100%; min-height: 62px; display: grid; grid-template-columns: 42px 1fr 30px; align-items: center; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.13); color: #a6b5bf; background: none; text-align: left; cursor: pointer; transition: .25s; }
.asset-item span { color: #617583; font-family: var(--heading); font-size: .8rem; }
.asset-item b { font-family: var(--heading); font-size: 1.25rem; font-weight: 600; text-transform: uppercase; }
.asset-item i { color: var(--orange); font-style: normal; opacity: 0; transform: translateX(-10px); transition: .25s; }
.asset-item:hover, .asset-item.active { color: var(--white); }
.asset-item:hover i, .asset-item.active i { opacity: 1; transform: translateX(0); }

.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery-card { position: relative; min-width: 0; padding: 0; border: 0; overflow: hidden; color: var(--white); background: var(--navy); text-align: left; cursor: zoom-in; }
.gallery-card-wide { grid-column: span 2; }
.gallery-card-tall { grid-row: span 2; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,14,23,.88), transparent 62%); transition: background .35s ease; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, opacity .35s ease; }
.gallery-card span { position: absolute; z-index: 2; right: 22px; bottom: 18px; left: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.gallery-card b { font-family: var(--heading); font-size: 1.25rem; font-weight: 600; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.gallery-card small { color: #c6d0d7; font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.045); opacity: .88; }
.gallery-card:hover::after, .gallery-card:focus-visible::after { background: linear-gradient(0deg, rgba(4,14,23,.95), rgba(243,107,43,.08)); }
.gallery-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.gallery-source { margin: 20px 0 0; color: #7c8992; font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -24px 0 34px; }
.gallery-filter { min-height: 42px; padding: 0 17px; border: 1px solid #cfd8dd; color: #52616b; background: var(--white); font: 700 .62rem/1 var(--body); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: color .25s ease, border-color .25s ease, background .25s ease; }
.gallery-filter:hover, .gallery-filter:focus-visible, .gallery-filter.active { border-color: var(--orange); color: var(--white); background: var(--orange); outline: 0; }
.fabrication-gallery-grid .gallery-card[hidden] { display: none; }
.fabrication-gallery-grid .gallery-card { transition: opacity .3s ease, transform .3s ease; }
.fabrication-video-section { margin-top: 72px; padding-top: 52px; border-top: 1px solid var(--line); }
.fabrication-video-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 28px; }
.fabrication-video-heading h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; }
.fabrication-video-heading .eyebrow { margin: 0; }
.fabrication-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fabrication-video-grid figure { margin: 0; padding: 10px; background: var(--white); box-shadow: 0 14px 38px rgba(6,17,28,.09); }
.fabrication-video-grid video { width: 100%; aspect-ratio: 16 / 10; display: block; background: var(--navy); object-fit: cover; }
.fabrication-video-grid figcaption { padding: 13px 5px 5px; color: var(--ink); font: 700 .66rem/1.4 var(--body); letter-spacing: .07em; text-transform: uppercase; }

.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; grid-template-columns: 90px minmax(0, 1fr) 90px; align-items: center; padding: 54px 30px 30px; color: var(--white); background: rgba(3,10,16,.96); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 1180px; max-height: calc(100vh - 100px); margin: 0 auto; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(100vh - 145px); margin: 0 auto; object-fit: contain; box-shadow: 0 24px 75px rgba(0,0,0,.55); }
.lightbox figcaption { margin-top: 14px; color: #c9d3da; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.lightbox button { border: 0; color: var(--white); background: transparent; cursor: pointer; }
.lightbox-close { position: absolute; top: 14px; right: 22px; width: 48px; height: 48px; font-size: 2.2rem; line-height: 1; }
.lightbox-control { width: 56px; height: 56px; margin: auto; border: 1px solid rgba(255,255,255,.25) !important; font-size: 1.5rem; transition: border-color .2s, background .2s; }
.lightbox-control:hover, .lightbox-control:focus-visible { border-color: var(--orange) !important; background: var(--orange); outline: 0; }

.approach { background: var(--white); }
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding-top: 24px; }
.process-line { position: absolute; top: 47px; right: 0; left: 0; height: 1px; background: var(--line); }
.process-step { position: relative; padding-top: 74px; }
.process-step > span { position: absolute; top: 0; left: 0; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--orange); background: var(--white); font-family: var(--heading); font-size: .9rem; }
.process-step h3 { margin-bottom: 12px; font-size: 1.45rem; }
.process-step p { color: var(--muted); font-size: .78rem; }

.standards { position: relative; overflow: hidden; color: var(--white); background: var(--navy-2); }
.standards::before { content: ""; position: absolute; top: -280px; left: -220px; width: 650px; height: 650px; border: 1px solid rgba(243,107,43,.12); border-radius: 50%; }
.standards-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.standards-copy > p:not(.eyebrow) { max-width: 510px; margin-bottom: 33px; color: #9caeba; }
.standard-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.standard-list div { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 22px 28px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.standard-list strong { color: var(--orange); font-family: var(--heading); font-size: 1.5rem; letter-spacing: .03em; }
.standard-list span { color: #8fa1ad; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }

.contact { position: relative; overflow: hidden; color: var(--white); background: #102a3c; }
.contact-pattern { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(120deg, transparent 0 48%, rgba(255,255,255,.13) 48% 49%, transparent 49% 100%); background-size: 70px 122px; }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; }
.contact-copy > p:not(.eyebrow) { color: #a6b7c2; }
.contact-details { margin-top: 42px; }
.contact-details a, .contact-details div { display: block; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-details small { display: block; color: #77909f; font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-details strong { font-size: .88rem; }
.contact-form { padding: 42px; color: var(--ink); background: var(--white); box-shadow: 0 28px 65px rgba(0,0,0,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: block; margin-bottom: 20px; color: #65727b; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; display: block; margin-top: 7px; padding: 12px 0; border: 0; border-bottom: 1px solid #ccd6dc; border-radius: 0; outline: none; color: var(--ink); background: transparent; font-size: .87rem; text-transform: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { resize: vertical; }
.contact-form .button { border: 0; }

.site-footer { color: #8395a1; background: #06111c; font-size: .7rem; }
.footer-main { min-height: 140px; display: flex; align-items: center; gap: 42px; }
.footer-brand img { width: 150px; height: 70px; }
.footer-main p { margin: 0 auto 0 0; }
.footer-links { display: flex; gap: 25px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { min-height: 60px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav { gap: 22px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 150px; padding-bottom: 80px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; }
  .hero-inner { min-height: 760px; }
  .intro-grid, .standards-grid, .contact-grid { gap: 60px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-panel { grid-template-columns: 1fr; gap: 32px; }
  .assets-content { padding-left: 50px; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 45px; }
  .process-line { display: none; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 78px 0; }
  h1 { font-size: clamp(3.7rem, 16vw, 5.5rem); }
  h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .nav-wrap { height: 76px; }
  .brand img { width: 140px; height: 64px; }
  .menu-toggle { z-index: 30; width: 42px; height: 42px; display: grid; align-content: center; gap: 5px; padding: 10px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 100%; height: 2px; display: block; background: var(--white); transition: .25s; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 25px; padding: 80px 34px; background: var(--navy); transform: translateX(100%); transition: .3s ease; }
  .menu-open .main-nav { transform: none; }
  .main-nav a { font-family: var(--heading); font-size: 2rem; }
  .main-nav .nav-cta { height: auto; padding: 0; border: 0; color: var(--orange); }
  .hero-inner { min-height: 750px; padding-top: 120px; }
  .hero-lead { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .button { width: 100%; }
  .hero-tags { gap: 13px; }
  .hero-strip { display: none; }
  .intro-grid, .standards-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .intro-copy { padding-top: 0; }
  .section-top { display: block; }
  .section-top > p { margin-top: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .csd-page .service-card { min-height: auto; }
  .service-detail-panel { padding: 28px; }
  .service-detail-list ul, .pmc-capability-grid { grid-template-columns: 1fr; }
  .assets { grid-template-columns: 1fr; }
  .assets-image { min-height: 390px; background-image: linear-gradient(0deg, var(--navy), transparent 55%), url("assets/pipeline-system.jpg"); }
  .assets-content { padding: 45px 24px 80px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery-card-wide { grid-column: span 2; }
  .gallery-card-tall { grid-row: span 2; }
  .lightbox { grid-template-columns: 54px minmax(0, 1fr) 54px; padding: 60px 8px 24px; }
  .lightbox-control { width: 44px; height: 44px; }
  .process { grid-template-columns: 1fr; gap: 10px; }
  .process-step { min-height: 120px; padding: 5px 0 20px 75px; border-bottom: 1px solid var(--line); }
  .process-step > span { top: 0; }
  .standard-list { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 15px; padding: 34px 0; }
  .footer-main p { margin: 0; }
  .footer-links { flex-wrap: wrap; }
}

/* Multi-page COC Engineering redevelopment */
.inner-site .site-header { position: absolute; }
.main-nav a.active { color: var(--orange); }
.main-nav a.active::after { width: 100% !important; }
.home-hero { min-height: 800px; }
.capability-panel { position: relative; z-index: 2; width: min(470px, 100%); padding: 46px; border: 1px solid rgba(143,180,203,.25); background: rgba(7,22,34,.88); box-shadow: 0 35px 90px rgba(0,0,0,.38); }
.capability-panel small { color: #8098a8; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.capability-panel > strong { display: block; margin: 18px 0 35px; color: var(--white); font-family: var(--heading); font-size: 4.3rem; line-height: .88; text-transform: uppercase; }
.capability-panel div { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
.capability-panel span { padding: 18px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); color: #9eb0bc; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.page-hero { position: relative; min-height: 485px; overflow: hidden; color: var(--white); background: var(--navy); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 42%, rgba(28,67,91,.62), transparent 33%), linear-gradient(115deg, rgba(4,14,24,.98), rgba(7,20,33,.92)); }
.page-hero-inner { position: relative; z-index: 2; padding-top: 185px; padding-bottom: 85px; }
.page-hero h1 { max-width: 1180px; margin: 0; font-size: clamp(3.2rem, 5.9vw, 6.4rem); }
.fabrication-color-cycle .color-cycle-letter {
  display: inline-block;
  color: #fff;
  animation: fabricationLetterColor 20s ease-in-out infinite;
  animation-delay: calc(var(--letter-index) * .11s);
}
.fabrication-color-cycle .color-cycle-space { display: inline-block; width: .24em; }
@keyframes fabricationLetterColor {
  0%, 5% { color: #fff; }
  20%, 50% { color: #f36b2b; }
  65%, 100% { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .fabrication-color-cycle .color-cycle-letter { animation: none; }
  [data-service-color-cycle] .service-card { transition: none; }
}
.page-lead { max-width: 760px; margin: 28px 0 0; color: #b7c6d1; font-size: 1.05rem; }
.detail-section { background: var(--white); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 90px; align-items: start; }
.detail-content { max-width: 790px; }
.detail-content h2 { margin: 54px 0 20px; font-size: clamp(2rem, 4vw, 3.3rem); }
.detail-content h2:first-child { margin-top: 0; }
.detail-content p { color: var(--muted); }
.detail-content p:first-of-type { color: var(--ink); font-size: 1.12rem; font-weight: 600; }
.detail-content ul { display: grid; gap: 10px; margin: 25px 0; padding: 0; list-style: none; }
.detail-content li { position: relative; padding-left: 21px; color: var(--muted); }
.detail-content li::before { content: ""; position: absolute; top: .8em; left: 0; width: 8px; height: 2px; background: var(--orange); }
.detail-aside { position: sticky; top: 30px; padding: 36px; border-top: 4px solid var(--orange); background: var(--paper); }
.detail-aside h3 { font-size: 2rem; }
.detail-aside p { color: var(--muted); font-size: .86rem; }
.detail-aside .button { width: 100%; margin-top: 12px; }
.engineering-capabilities { background: var(--paper); }
.engineering-discipline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.engineering-discipline-card { min-width: 0; padding: 34px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 45px rgba(18,43,62,.055); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.engineering-discipline-card:hover { transform: translateY(-6px); border-color: rgba(243,107,43,.5); box-shadow: 0 28px 58px rgba(18,43,62,.13); }
.discipline-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid #d1dce3; color: var(--orange); background: #fbfcfc; }
.discipline-icon svg, .tool-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.engineering-discipline-card h3 { margin-bottom: 13px; font-size: clamp(1.75rem, 2.7vw, 2.35rem); }
.engineering-discipline-card p { min-height: 3.4em; margin-bottom: 22px; color: var(--muted); font-size: .88rem; }
.engineering-discipline-card h4 { margin: 0; padding-top: 18px; border-top: 1px solid #edf0f2; color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.engineering-discipline-card ul, .tool-card ul { display: grid; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none; }
.engineering-discipline-card li, .tool-card li { position: relative; padding-left: 17px; color: #53636d; font-size: .75rem; line-height: 1.45; }
.engineering-discipline-card li::before, .tool-card li::before { content: ""; position: absolute; top: .72em; left: 0; width: 6px; height: 2px; background: var(--orange); }
.engineering-deliverables { position: relative; overflow: hidden; color: var(--white); background: var(--navy-2); }
.engineering-deliverables::before { content: ""; position: absolute; inset: 0; opacity: .12; 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: 64px 64px; }
.deliverables-layout { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.deliverables-heading { position: sticky; top: 30px; }
.deliverables-heading h2 { margin-bottom: 0; font-size: clamp(2.8rem, 4.8vw, 4.7rem); }
.deliverables-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.deliverable-item { min-height: 112px; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 20px; padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); }
.deliverable-item span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(243,107,43,.55); color: var(--orange); font-family: var(--heading); font-size: 1.05rem; }
.deliverable-item strong { color: #dce7ee; font-family: var(--heading); font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; }
.engineering-tools-section { background: var(--white); }
.tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card { min-width: 0; min-height: 245px; padding: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7f9fa); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.tool-card:hover { transform: translateY(-5px); border-color: rgba(243,107,43,.5); box-shadow: 0 22px 44px rgba(18,43,62,.11); }
.tool-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; color: var(--ink); background: #e9eef2; }
.tool-card h3 { min-height: 2.15em; margin-bottom: 18px; font-size: 1.42rem; }
.related { background: var(--paper); }
.link-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.link-card { min-height: 125px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: .25s; }
.link-card span { font-family: var(--heading); font-size: 1.3rem; font-weight: 600; line-height: 1.05; text-transform: uppercase; }
.link-card b { color: var(--orange); }
.link-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(18,43,62,.1); }
.service-card { display: block; color: inherit; }
.card-link { position: absolute; right: 34px; bottom: 28px; color: var(--orange); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-action { display: flex; justify-content: center; margin-top: 48px; }
.featured-projects { color: var(--white); background: var(--navy-2); }
.featured-projects .section-top > p { color: #9fb0bc; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.project-grid .service-card { min-height: 350px; border: 0; color: var(--ink); }
.contact-band { padding: 70px 0; color: var(--white); background: #102a3c; }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact-band h2 { max-width: 760px; margin: 0; font-size: clamp(2.8rem, 4.5vw, 4.5rem); }
.contact-band .eyebrow { margin-bottom: 17px; }
.footer-offices { display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 45px; padding: 28px 0; border-top: 1px solid var(--line); }
.footer-offices div { display: flex; flex-direction: column; gap: 5px; }
.footer-offices strong { color: var(--ink); text-transform: uppercase; }
.footer-offices a:hover { color: var(--orange); }
.whatsapp { position: fixed; z-index: 30; right: 24px; bottom: 24px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #16ba63; box-shadow: 0 12px 30px rgba(0,0,0,.22); font-size: .72rem; font-weight: 800; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sitemap-grid a { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 700; }
.sitemap-grid a span { color: var(--orange); }
.sitemap-grid a:hover { background: var(--paper); }
.project-summary { color: var(--white); background: #102a3c; }
.project-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.project-summary-grid div { min-height: 135px; display: flex; flex-direction: column; justify-content: center; padding: 25px 38px; border-right: 1px solid rgba(255,255,255,.13); }
.project-summary-grid div:last-child { border-right: 0; }
.project-summary-grid strong { color: var(--orange); font-family: var(--heading); font-size: 2.8rem; line-height: 1; }
.project-summary-grid span { margin-top: 8px; color: #a9bac5; font-size: .67rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.project-register-section { background: var(--paper); }
.project-tools { position: sticky; z-index: 10; top: 0; margin-bottom: 30px; padding: 26px 30px; border-top: 4px solid var(--orange); background: var(--white); box-shadow: 0 12px 35px rgba(18,43,62,.09); }
.project-tools label { display: block; margin-bottom: 10px; color: var(--ink); font-family: var(--heading); font-size: 1.3rem; font-weight: 600; text-transform: uppercase; }
.project-search-wrap { display: flex; align-items: center; gap: 24px; }
.project-search-wrap input { width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid var(--line); outline: none; background: var(--paper); }
.project-search-wrap input:focus { border-color: var(--orange); background: var(--white); }
.project-search-wrap > span { min-width: 110px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.project-search-wrap b { color: var(--orange); font-family: var(--heading); font-size: 1.4rem; }
.project-register { border-top: 1px solid var(--line); }
.project-record { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 28px; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.project-record[hidden] { display: none; }
.project-record-index { color: #a8b3ba; font-family: var(--heading); font-size: 1.1rem; }
.project-record-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 13px; }
.project-record-meta strong { color: var(--orange); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.project-record-meta span { color: #788892; font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.project-record h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.08; text-transform: none; }
.project-record p { margin: 13px 0 0; color: var(--muted); font-size: .8rem; }
.project-empty { padding: 55px; color: var(--muted); background: var(--white); text-align: center; }

/* Clients and vendor registrations */
.clients-section { background: #f4f6f7; }
.partners-section { background: #fff; }
.clients-heading { max-width: 760px; margin-bottom: 42px; }
.clients-heading h2 { margin: 12px 0 14px; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.clients-heading > p:last-child { max-width: 650px; color: var(--muted); }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.client-card { min-width: 0; min-height: 245px; padding: 26px; border: 1px solid #e0e5e8; background: var(--white); box-shadow: 0 12px 30px rgba(18,43,62,.045); transform-style: preserve-3d; transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease, background-color .65s ease; }
.client-card:hover { transform: translateY(-8px) rotateX(2deg) rotateY(-2deg); border-color: rgba(243,107,43,.45); box-shadow: 16px 28px 48px rgba(18,43,62,.16); }
.client-logo { height: 112px; display: flex; align-items: center; justify-content: center; margin-bottom: 27px; padding: 18px 28px; border: 1px solid #edf0f2; border-radius: 3px; background: #fff; transform: translateZ(18px); transition: border-color .2s ease, background .2s ease, transform .3s ease; }
.client-logo:hover { border-color: rgba(243,107,43,.45); background: #fafbfb; }
.client-logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 74px; object-fit: contain; animation: clientLogoBlink 3.2s ease-in-out infinite; }
.client-logo-wide { padding-right: 18px; padding-left: 18px; }
.client-logo-wide img { width: 100%; max-height: 68px; }
.client-logo-large { padding: 10px 14px; }
.client-logo-large img { max-height: 90px; }
.client-logo-large.client-logo-wide img { max-height: 84px; }
.client-logo-xl { padding: 4px 8px; }
.client-logo-xl img { max-width: 100%; max-height: 102px; }
.client-logo-xl.client-logo-wide img { width: 100%; max-height: 96px; }
.client-logo-maaden { height: 132px; padding: 8px; }
.client-logo-maaden img { width: 100% !important; max-height: 112px !important; transform: scale(1.3); }
.client-logo-sadara { padding: 10px 16px; }
.client-logo-sadara img { width: 88% !important; max-height: 88px !important; margin: 0 auto; object-position: center; }
.client-logo-seal { padding: 10px; }
.client-logo-seal img { width: 88px; height: 88px; max-height: 88px; }
.client-logo-royal { height: 132px; }
.client-logo-royal img { width: 114px; height: 114px; max-height: 114px; }
.client-logo-larsen { padding: 10px 12px; }
.client-logo-larsen img { width: 100%; max-height: 92px; }
.client-logo-portrait { padding: 8px; }
.client-logo-portrait img { width: auto; height: 94px; max-height: 94px; }
.client-card h3 { min-height: 2.4em; margin: 0 0 16px; color: var(--ink); font-size: 1.2rem; line-height: 1.2; }
.client-card p { margin: 0; padding-top: 14px; border-top: 1px solid #edf0f2; color: #f36b2b; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.client-card strong { color: #4b5258; font-size: .86rem; font-weight: 800; overflow-wrap: anywhere; }
.client-card h3.typing-text { color: #4b5258; }
.client-card p.typing-text { color: #f36b2b; }
.typing-text::after { content: "\270D"; display: inline-block; min-width: 1.1em; margin-left: 5px; padding-left: 3px; border-left: 2px solid #4b5258; color: #4b5258; font-family: "Segoe UI Symbol", sans-serif; font-size: .9em; line-height: 1; animation: typingScribe .7s ease-in-out infinite; vertical-align: -.05em; }
.client-card p.typing-text::after { border-left-color: #f36b2b; color: #f36b2b; }
[data-client-color-cycle] .client-card.client-cycle-active {
  border-color: #f36b2b;
  background-color: #f36b2b;
  box-shadow: 0 18px 38px rgba(243,107,43,.24);
}
[data-client-color-cycle] .client-card.client-cycle-active h3,
[data-client-color-cycle] .client-card.client-cycle-active h3.typing-text,
[data-client-color-cycle] .client-card.client-cycle-active p,
[data-client-color-cycle] .client-card.client-cycle-active p.typing-text,
[data-client-color-cycle] .client-card.client-cycle-active strong {
  color: #071421;
}
[data-client-color-cycle] .client-card.client-cycle-active p {
  border-top-color: rgba(7,20,33,.28);
}
[data-client-color-cycle] .client-card.client-cycle-active p.typing-text::after {
  border-left-color: #071421;
  color: #071421;
}
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.partner-card { position: relative; min-width: 0; min-height: 390px; display: flex; flex-direction: column; padding: 28px; border: 1px solid #e0e5e8; background: #f7f9fa; box-shadow: 0 12px 30px rgba(18,43,62,.045); transition: background-color .65s ease, border-color .65s ease, box-shadow .65s ease, transform .35s ease; }
.partner-card:hover { transform: translateY(-7px); border-color: rgba(243,107,43,.55); box-shadow: 0 24px 46px rgba(18,43,62,.13); }
.partner-logo { min-height: 112px; display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 25px; padding: 12px 18px; border: 1px solid #e6ebee; background: #fff; color: var(--ink); }
.partner-logo img { width: 48px; height: 48px; object-fit: contain; }
.partner-logo-mark { justify-content: center; }
.partner-logo-mark img { width: auto; height: 74px; max-width: 150px; }
.partner-logo-wide { justify-content: center; padding: 8px 14px; }
.partner-logo-wide img { width: auto; max-width: 100%; height: 88px; }
.partner-logo-fse img { width: 96%; height: auto; max-height: 92px; }
.partner-logo-process img { width: auto; max-width: 58%; height: 46px; }
.partner-logo-vanguard img { height: 92px; max-width: 180px; }
.partner-logo-enlarged img { width: 88px; height: 88px; }
.partner-logo-alasas img { width: auto; height: 120px; max-width: 252px; object-fit: contain; }
.partner-logo-oep img { width: auto; height: 100px; }
.partner-logo-pse img { width: auto; height: 54px; }
.partner-logo-ducorr img { width: auto; height: 96px; max-width: 92%; }
.partner-card h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.45rem; line-height: 1.08; }
.partner-location { margin: 0 0 14px; color: #f36b2b; font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.partner-scope { margin: 0 0 25px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.partner-link { align-self: flex-start; margin-top: auto; color: #f36b2b; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
[data-partner-color-cycle] .partner-card.partner-cycle-active { border-color: #f36b2b; background-color: #f36b2b; box-shadow: 0 18px 38px rgba(243,107,43,.24); }
[data-partner-color-cycle] .partner-card.partner-cycle-active h3,
[data-partner-color-cycle] .partner-card.partner-cycle-active .partner-location,
[data-partner-color-cycle] .partner-card.partner-cycle-active .partner-scope,
[data-partner-color-cycle] .partner-card.partner-cycle-active .partner-link { color: #071421; }
.typing-text.typing-complete::after { display: none; }
@keyframes clientLogoBlink {
  0%, 100% { opacity: 1; filter: drop-shadow(0 5px 7px rgba(18,43,62,.12)); transform: scale(1); }
  50% { opacity: .68; filter: drop-shadow(0 9px 13px rgba(243,107,43,.24)); transform: scale(1.035); }
}
@keyframes typingScribe {
  0%, 100% { opacity: 1; transform: translate(0, 0) rotate(-8deg); }
  50% { opacity: .65; transform: translate(2px, -2px) rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo img { animation: none; }
  .client-card, .client-logo { transition: none; }
  .client-card:hover { transform: none; }
  .typing-text::after { display: none; }
  .partner-card { transition: none; }
}
.logo-sipchem { color: #007d70; }
.logo-maaden { color: #006a88; }
.logo-appc { color: #17375e; }
.logo-sabic { color: #1175b5; }
.logo-marafiq { color: #008da8; }
.logo-sadara { color: #f05a28; }
.logo-neom { color: #111; letter-spacing: .18em; }
.logo-rc { color: #177747; font-size: 2rem; }
.logo-tasnee { color: #0069a7; }
.logo-jana { color: #0d8188; }
.logo-hadeed { color: #44728b; }
.logo-eastgas { color: #18805a; }
.logo-halliburton { color: #d71920; font-size: 1.25rem; }
.logo-nesma { color: #07579a; }
.logo-tamimi { color: #bd1e2d; }
.logo-lt { color: #006cb7; font-size: 2rem; }
.logo-saipem { color: #00699d; }
.logo-nsh { color: #174d88; font-size: 2rem; }
.logo-elseif { color: #9b7b3e; }
.logo-abb { color: #e30613; font-size: 2.2rem; letter-spacing: -.08em; }
.logo-aramco { color: #00a79d; font-family: var(--body); font-size: 1.85rem; font-weight: 700; text-transform: lowercase; }
.logo-sec { color: #0097c7; font-size: 2rem; }
.logo-satorp { color: #0076a8; }
.logo-petrorabigh { color: #006fb9; font-size: 1.2rem; }
.logo-chemanol { color: #198c52; font-size: 1.25rem; }

@media (max-width: 1050px) {
  .detail-layout { grid-template-columns: 1fr; gap: 45px; }
  .detail-aside { position: static; }
  .engineering-discipline-grid { grid-template-columns: 1fr; }
  .deliverables-layout { grid-template-columns: 1fr; gap: 42px; }
  .deliverables-heading { position: static; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .link-card-grid, .project-grid, .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .62rem; }
}

@media (max-width: 780px) {
  .page-hero { min-height: 420px; }
  .page-hero-inner { padding-top: 145px; padding-bottom: 65px; }
  .engineering-discipline-card { padding: 26px; }
  .engineering-discipline-card p { min-height: 0; }
  .deliverables-grid, .tools-grid { grid-template-columns: 1fr; }
  .deliverable-item { min-height: 92px; padding: 19px 18px; }
  .tool-card { min-height: 0; }
  .tool-card h3 { min-height: 0; }
  .link-card-grid, .project-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: 1fr; }
  .client-card { min-height: 225px; padding: 22px; }
  .contact-band-inner { align-items: flex-start; flex-direction: column; }
  .footer-offices { grid-template-columns: 1fr; gap: 22px; }
  .capability-panel { display: none; }
  .project-summary-grid { grid-template-columns: 1fr; }
  .project-summary-grid div { min-height: 100px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .project-search-wrap { align-items: stretch; flex-direction: column; gap: 12px; }
  .project-record { grid-template-columns: 1fr; gap: 10px; padding: 25px 20px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-card-wide { grid-column: span 1; }
  .gallery-card-tall { grid-row: span 1; }
  .gallery-card span { right: 16px; bottom: 15px; left: 16px; }
  .client-grid { grid-template-columns: 1fr; }
  .client-card { min-height: 0; }
  .lightbox { grid-template-columns: 42px minmax(0, 1fr) 42px; }
  .lightbox-control { width: 38px; height: 38px; }
}

@media (max-width: 760px) {
  .gallery-filters { margin-top: -12px; }
  .gallery-filter { flex: 1 1 calc(50% - 10px); }
  .fabrication-video-heading { display: block; }
  .fabrication-video-heading h3 { margin-top: 12px; }
  .fabrication-video-grid { grid-template-columns: 1fr; }
}

/* Light brand areas */
.site-header {
  background: var(--white);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(7, 20, 33, .08);
}

.site-header .brand img,
.site-footer .brand img {
  filter: none;
}

.site-header .main-nav a {
  color: var(--ink);
}

.site-header .main-nav a:hover {
  color: var(--orange);
}

.site-header .main-nav .nav-cta {
  border-color: #b9c6ce;
  color: var(--ink);
  background: transparent;
}

.site-header .main-nav .nav-cta:hover {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}

.site-footer {
  color: var(--muted);
  background: var(--white);
}

.site-footer .footer-main p {
  color: var(--ink);
}

.site-footer .footer-links {
  color: var(--ink);
}

.site-footer .footer-bottom {
  border-top-color: var(--line);
}

.site-footer .footer-bottom a {
  color: var(--ink);
}

@media (max-width: 780px) {
  .site-header .menu-toggle span:not(.sr-only) {
    background: var(--ink);
  }

  .menu-open .site-header .menu-toggle span:not(.sr-only) {
    background: var(--white);
  }

  .site-header .main-nav a {
    color: var(--white);
  }

  .site-header .main-nav .nav-cta {
    color: var(--orange);
  }
}
