/* ==========================================================================
   Gulfaara General Trading and Contracting Services W.L.L. — site styles
   Palette: Abyss (true black), Bitumen, Gulf Gold (metallic), Pearl, Steel
   Type: Marcellus (display, echoes the logo's Roman capitals), Archivo (text)
   ========================================================================== */

:root {
  --abyss: #000000;
  --bitumen: #15120d;
  --bitumen-2: #1d1912;
  --line-dark: #3a3122;
  --gold: #c9a24a;
  --gold-hi: #f2d48a;
  --gold-lo: #8a6420;
  --gold-metal: linear-gradient(100deg, #8a6420 0%, #d9b25a 28%, #f6dc96 46%, #c9a24a 62%, #8a6420 100%);
  --pearl: #eceeef;
  --pearl-2: #f7f8f8;
  --ink: #16181b;
  --ink-soft: #4a4f55;
  --steel: #9aa0a6;
  --on-dark: #e9e4d8;
  --on-dark-soft: #a9a295;
  --line-light: #cfd3d6;

  --f-display: "Marcellus", "Trajan Pro", Georgia, serif;
  --f-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-ar: "Noto Kufi Arabic", "Geeza Pro", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 132px);
  --r: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--abyss);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type scale ---------- */
.d1 { font-family: var(--f-display); font-size: clamp(2.4rem, 4.9vw, 4.15rem); line-height: 1.06; letter-spacing: -0.005em; }
.d2 { font-family: var(--f-display); font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.12; }
.d3 { font-family: var(--f-display); font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.65; max-width: 60ch; }
.muted { color: var(--on-dark-soft); }
.metal {
  background: var(--gold-metal);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.ar { font-family: var(--f-ar); direction: rtl; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- registry strip (top) ---------- */
.registry {
  background: var(--bitumen);
  border-bottom: 1px solid var(--line-dark);
  font-size: 13px;
  color: var(--on-dark-soft);
}
.registry .wrap { display: flex; gap: 28px; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; }
.registry ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; flex-wrap: wrap; }
.registry a { text-decoration: none; }
.registry a:hover { color: var(--gold-hi); }
.registry strong { color: var(--on-dark); font-weight: 500; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.18);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand { gap: 14px; }
.brand-mark { width: 70px; height: 50px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(242, 212, 138, .18)); }
.brand-name { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.brand-word { width: 163px; height: 24px; }
.brand-name small { font-size: 10.5px; color: var(--gold); letter-spacing: 0.06em; opacity: .85; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 15px; color: var(--on-dark); padding: 6px 0; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--gold-hi); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; margin: 5px auto; }

/* ---------- buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 15px/1 var(--f-text);
  padding: 15px 26px; min-height: 48px;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--r);
  transition: background-position .5s ease, color .2s, border-color .2s, background-color .2s;
}
.btn-gold { background: var(--gold-metal); background-size: 220% 100%; background-position: 0% 0; color: #120d04; }
.btn-gold:hover { background-position: 100% 0; }
.btn-line { border-color: rgba(201, 162, 74, .55); color: var(--gold-hi); background: transparent; }
.btn-line:hover { background: rgba(201, 162, 74, .1); border-color: var(--gold); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-sm { padding: 11px 18px; min-height: 42px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--abyss); border-bottom: 1px solid var(--line-dark); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.95fr); gap: 48px; align-items: center; min-height: min(84vh, 800px); padding-top: 64px; padding-bottom: 64px; }
.hero-copy .place { color: var(--gold); font-size: 15px; margin-bottom: 22px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.hero-copy .place .ar { font-size: 15px; color: var(--on-dark-soft); }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy .lede { color: var(--on-dark-soft); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-fig { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.hero-fig svg { width: 100%; height: 100%; overflow: visible; }

/* live 3D assembly (three.js) */
.hero-3d { position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; left: 40%; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.hero-3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero-3d.is-live { opacity: 1; }
.hero-3d.is-live ~ .wrap .hero-fig, .hero:has(.hero-3d.is-live) .hero-fig { visibility: hidden; }
.hero:has(.hero-3d.is-live)::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #000 0%, #000 42%, rgba(0,0,0,.75) 50%, rgba(0,0,0,.25) 58%, rgba(0,0,0,0) 66%),
              linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 22%); }

/* P&ID schematic */
.pid .pipe { fill: none; stroke: #3c3324; stroke-width: 2; }
.pid .pipe-hi { fill: none; stroke: url(#gGold); stroke-width: 2.2; stroke-linecap: round; }
.js .pid .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 2.6s cubic-bezier(.65, 0, .35, 1) forwards; }
.pid .flow { fill: none; stroke: var(--gold-hi); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 10 190; opacity: 0; animation: flow 5.5s linear infinite, fadein 1s 2.6s forwards; filter: drop-shadow(0 0 4px rgba(242, 212, 138, .9)); }
.pid .sym { fill: #000; stroke: var(--gold); stroke-width: 1.6; opacity: 0; animation: fadein .8s forwards; }
.pid .sym-fill { fill: var(--gold); }
.pid .tag text { font: 500 10.5px var(--f-text); fill: var(--on-dark-soft); letter-spacing: .04em; }
.pid .tag { opacity: 0; animation: fadein .8s forwards; }
.pid .grid line { stroke: rgba(201, 162, 74, .07); stroke-width: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes flow { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

.hero::before { /* warm glow behind schematic */
  content: ""; position: absolute; z-index: 1; right: -10%; top: 6%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(201, 162, 74, .16), rgba(201, 162, 74, 0) 70%);
  pointer-events: none;
}

/* ---------- facts band ---------- */
.facts { background: var(--bitumen); border-bottom: 1px solid var(--line-dark); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts dl > div { padding: 30px 26px 28px; border-left: 1px solid var(--line-dark); }
.facts dl > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 13.5px; color: var(--on-dark-soft); margin-bottom: 6px; }
.facts dd { margin: 0; font-family: var(--f-display); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--on-dark); line-height: 1.2; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-dark { background: var(--abyss); }
.sec-raised { background: var(--bitumen); }
.sec-pearl { background: var(--pearl); color: var(--ink); }
.sec-pearl .muted { color: var(--ink-soft); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head p { margin: 0; }
.sec-head.single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.kicker { display: inline-block; font-size: 15px; color: var(--gold); margin-bottom: 16px; }
.sec-pearl .kicker { color: var(--gold-lo); }

/* ---------- capability register (home) ---------- */
.register { border-top: 1px solid var(--line-dark); }
.reg-row {
  display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1.4fr) 140px;
  gap: 28px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line-dark);
  text-decoration: none; color: inherit; position: relative;
}
.reg-row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold); transition: width .5s ease; }
.reg-row:hover::before, .reg-row:focus-visible::before { width: 100%; }
.reg-code { font-size: 13px; color: var(--on-dark-soft); padding-top: 8px; }
.reg-code b { display: block; color: var(--gold); font-weight: 500; font-size: 15px; letter-spacing: .03em; }
.reg-title { display: flex; gap: 18px; align-items: center; }
.reg-title svg { width: 46px; height: 46px; flex: none; }
.reg-desc { color: var(--on-dark-soft); margin: 0; }
.reg-more { font-size: 14px; color: var(--gold-hi); padding-top: 8px; text-align: right; }

/* line-icon style */
.ico { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sec-pearl .ico { stroke: var(--gold-lo); }

/* ---------- split feature (pipeline services) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.svc-list li { padding: 22px 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 30px 1fr; gap: 16px; }
.svc-list h3 { font-family: var(--f-text); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.svc-list p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.svc-list svg { width: 26px; height: 26px; margin-top: 2px; }
.sticky-col { position: sticky; top: 110px; }

/* ---------- supply schedule (products table) ---------- */
.schedule { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.schedule caption { text-align: left; color: var(--on-dark-soft); font-size: 14px; padding-bottom: 14px; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-dark); }
.schedule thead th { font-weight: 500; font-size: 13.5px; color: var(--gold); border-bottom-color: var(--gold-lo); }
.schedule tbody th { font-weight: 500; color: var(--on-dark); width: 28%; }
.schedule td { color: var(--on-dark-soft); }
.sec-pearl .schedule th, .sec-pearl .schedule td { border-bottom-color: var(--line-light); }
.sec-pearl .schedule thead th { color: var(--gold-lo); border-bottom-color: var(--gold-lo); }
.sec-pearl .schedule tbody th { color: var(--ink); }
.sec-pearl .schedule td { color: var(--ink-soft); }
.table-scroll { overflow-x: auto; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.principles article { padding: 40px 40px 40px 0; border-bottom: 1px solid var(--line-dark); }
.principles article:nth-child(2n) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line-dark); }
.principles h3 { margin-bottom: 12px; }
.principles p { color: var(--on-dark-soft); margin: 0; max-width: 46ch; }

/* ---------- industries ---------- */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.industries li { border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 26px 18px 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--pearl-2); }
.industries svg { width: 34px; height: 34px; }
.industries span { font-weight: 600; font-size: 15.5px; color: var(--ink); line-height: 1.3; }

/* ---------- procurement data sheet ---------- */
.datasheet { border: 1px solid var(--gold-lo); background: linear-gradient(180deg, #17130c, #0d0b07); position: relative; }
.datasheet::before { content: ""; position: absolute; inset: 0; border-top: 2px solid var(--gold); pointer-events: none; }
.datasheet header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; border-bottom: 1px solid var(--line-dark); }
.datasheet header img { width: 44px; height: 44px; }
.datasheet header p { margin: 0; font-size: 14px; color: var(--on-dark-soft); }
.datasheet header b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 19px; color: var(--on-dark); }
.datasheet dl { margin: 0; display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.4fr); }
.datasheet dt, .datasheet dd { margin: 0; padding: 14px 28px; border-bottom: 1px solid #241f16; font-size: 15px; }
.datasheet dt { color: var(--on-dark-soft); }
.datasheet dd { color: var(--on-dark); }
.datasheet dl > :nth-last-child(-n+2) { border-bottom: 0; }
.datasheet .ar { font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--abyss); border-top: 1px solid var(--line-dark); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.cta-band svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.cta-band .wrap > * { position: relative; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- page header (inner pages) ---------- */
.page-head { position: relative; background: var(--abyss); border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.page-head .wrap { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(56px, 7vw, 88px); position: relative; z-index: 2; }
.page-head h1 { max-width: 18ch; margin-bottom: 22px; }
.page-head .lede { color: var(--on-dark-soft); }
.page-head svg.bg { position: absolute; right: -4%; top: 0; height: 100%; width: auto; opacity: .55; z-index: 1; pointer-events: none; }
.crumbs { font-size: 14px; color: var(--on-dark-soft); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--gold); }

/* ---------- service detail blocks ---------- */
.svc-block { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding: 72px 0; border-bottom: 1px solid var(--line-dark); scroll-margin-top: 90px; }
.sec-pearl .svc-block { border-bottom-color: var(--line-light); }
.svc-block:last-child { border-bottom: 0; }
.svc-block aside .code { font-size: 14px; color: var(--on-dark-soft); margin-top: 14px; }
.sec-pearl .svc-block aside .code { color: var(--ink-soft); }
.svc-block aside svg { width: 64px; height: 64px; margin-bottom: 22px; }
.svc-block .lede { margin-bottom: 30px; }
.chips { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.chips li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line-dark); position: relative; }
.sec-pearl .chips li { border-bottom-color: var(--line-light); }
.chips li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.sec-pearl .chips li::before { border-color: var(--gold-lo); }
.svc-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.svc-index a { font-size: 14px; text-decoration: none; padding: 9px 16px; border: 1px solid var(--line-dark); color: var(--on-dark); border-radius: 40px; }
.svc-index a:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- about ---------- */
.statement { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; max-width: 30ch; color: var(--ink); }
.leader { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; border-top: 1px solid var(--line-dark); padding-top: 48px; }
.monogram { aspect-ratio: 4 / 5; border: 1px solid var(--gold-lo); display: grid; place-items: center; background: linear-gradient(160deg, #1b160d, #050403); font-family: var(--f-display); font-size: 64px; color: var(--gold); letter-spacing: .05em; }
.leader .role { color: var(--gold); margin: 6px 0 20px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.values li { padding: 28px 26px 28px 0; }
.values li + li { padding-left: 26px; border-left: 1px solid var(--line-light); }
.values h3 { font-family: var(--f-text); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.values p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.field .opt { color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-text); color: var(--ink);
  background: #fff; border: 1px solid #b9bec3; border-radius: var(--r);
  padding: 13px 14px; min-height: 50px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-lo); box-shadow: 0 0 0 3px rgba(201, 162, 74, .3); }
.field .hint { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #a4291d; }
.field .err { display: none; color: #a4291d; font-size: 13.5px; margin-top: 6px; }
.field.invalid .err { display: block; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.form-status { grid-column: 1 / -1; border-left: 3px solid var(--gold-lo); background: #fff; padding: 16px 18px; color: var(--ink); display: none; }
.form-status.show { display: block; }
.form-status p:last-child { margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.contact-list li { padding: 22px 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.contact-list svg { width: 24px; height: 24px; margin-top: 3px; }
.contact-list h3 { font-family: var(--f-text); font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-bottom: 4px; }
.contact-list p { margin: 0; color: var(--ink); font-size: 17px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold-lo); text-decoration: underline; }

/* ---------- skyline panorama (above footer) ---------- */
.skyline { background: #000; border-top: 1px solid var(--line-dark); overflow: hidden; }
.skyline-stage { position: relative; }
.skyline-art { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .skyline-art { width: 760px; max-width: none; position: relative; left: 50%; transform: translateX(-50%); } }
.skyline-copy { padding-top: clamp(56px, 7vw, 96px); position: relative; z-index: 1; }
.skyline-line { font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; color: var(--on-dark); max-width: 24ch; margin: 0 0 -8px; }
.skyline .bb { fill: #120f0a; opacity: .9; }
.skyline .bf { fill: url(#skFill); stroke: url(#skRim); stroke-width: 1.1; stroke-linejoin: round; }
.skyline .win { fill: #f3cf7e; }
.skyline .tw { animation: twinkle 4.5s ease-in-out infinite; }
.skyline .rim { stroke: #e7c271; stroke-width: 1.2; }
.skyline .rim-soft { stroke: rgba(231, 194, 113, .55); stroke-width: 1; }
.skyline .beacon { fill: #ffdf9c; animation: twinkle 2.4s ease-in-out infinite; }
.skyline .horizon { stroke: rgba(242, 212, 138, .55); stroke-width: 1; }
.skyline .reflection { opacity: .55; }
.skyline .shimmer { stroke: #e9c477; stroke-width: 1.2; stroke-linecap: round; opacity: .35; animation: shimmer 6s ease-in-out infinite; }
.skyline .shimmer.s1 { animation-delay: -2s; }
.skyline .shimmer.s2 { animation-delay: -4s; }
.skyline .flare-glow { fill: #f2a640; opacity: .35; filter: url(#skSoft); }
.skyline .flame-o { fill: rgba(245, 170, 68, .95); }
.skyline .flame-i { fill: #fff3cc; }
.skyline .flame { animation: flicker 1.6s ease-in-out infinite alternate; }
.skyline .flame.f2 { animation-duration: 1.25s; animation-delay: -.4s; }
@keyframes flicker { 0% { transform: scale(1, 1); } 35% { transform: scale(.92, 1.12); } 70% { transform: scale(1.05, .9); } 100% { transform: scale(.96, 1.06); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes shimmer { 0%, 100% { opacity: .1; transform: translateX(0); } 50% { opacity: .5; transform: translateX(14px); } }
.js .skyline .sky-glow, .js .skyline .lights { opacity: 0; transition: opacity 2.4s ease; }
.js .skyline .lights { transition-delay: .8s; }
.js .skyline.in-view .sky-glow, .js .skyline.in-view .lights { opacity: 1; }
/* moving pieces: LNG carrier, dhow, aircraft, and depth parallax */
.skyline .mover { transform-box: view-box; }
.skyline .ship { animation: sail-ship 140s linear infinite; }
.skyline .ship-body { animation: bob 6s ease-in-out infinite; }
.skyline .dhow { animation: sail-dhow 95s linear infinite; animation-delay: -40s; }
.skyline .plane { animation: fly 46s linear infinite; animation-delay: -12s; }
.skyline .wake { stroke: rgba(242, 212, 138, .35); stroke-width: 1; stroke-dasharray: 3 5; }
.skyline .nav-red { fill: #ff6a4d; }
.skyline .nav-strobe { fill: #fff; animation: strobe 1.4s steps(1) infinite; }
@keyframes sail-ship { from { transform: translate(-260px, 0); } to { transform: translate(1700px, 0); } }
@keyframes sail-dhow { from { transform: translate(1660px, 0) scale(-1, 1); } to { transform: translate(860px, 0) scale(-1, 1); } }
@keyframes fly { from { transform: translate(1650px, 40px); } to { transform: translate(-60px, 96px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.2px); } }
@keyframes strobe { 0% { opacity: 1; } 12% { opacity: 0; } }
.skyline .back { transform: translateX(calc(var(--sky-p, 0) * -28px)); transition: transform .2s linear; }
#skyFront, .skyline .lights { transform: translateX(calc(var(--sky-p, 0) * -10px)); }
.skyline-cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 22px; font-size: 13.5px; color: var(--on-dark-soft); background: #000; }
@media (max-width: 640px) { .skyline-cap span:first-child { display: none; } .skyline-cap { justify-content: flex-end; } }

/* ---------- footer ---------- */
.site-foot { background: var(--bitumen); color: var(--on-dark-soft); font-size: 15px; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 72px 0 56px; }
.foot-brand img { width: 120px; height: 120px; margin-bottom: 18px; }
.foot-brand .ar { font-size: 15px; margin-top: 4px; display: block; text-align: left; }
.foot-brand p { max-width: 34ch; }
.site-foot h2 { font-family: var(--f-text); font-weight: 600; font-size: 14px; color: var(--on-dark); margin-bottom: 16px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 10px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--gold-hi); }
.foot-legal { border-top: 1px solid var(--line-dark); padding: 22px 0 30px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  background: #0f0c07; color: var(--on-dark); text-decoration: none;
  border: 1px solid var(--gold-lo); border-radius: 40px; padding: 10px 18px 10px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-size: 14.5px;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ---------- one orchestrated load reveal for hero copy ---------- */
.reveal > * { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.reveal > *:nth-child(1) { animation-delay: .15s; }
.reveal > *:nth-child(2) { animation-delay: .3s; }
.reveal > *:nth-child(3) { animation-delay: .5s; }
.reveal > *:nth-child(4) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .industries { grid-template-columns: repeat(3, 1fr); }
  .reg-row { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.2fr); }
  .reg-more { display: none; }
  .foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(3) { padding-left: 0; border-left: 0; }
  .values li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: #000; border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; display: none; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 44px; }
  .hero-fig { max-width: 520px; margin: 0 auto; }
  .hero-3d { position: relative; left: auto; height: 380px; margin-top: -24px; }
  .hero:has(.hero-3d.is-live) .hero-fig { display: none; }
  .hero:has(.hero-3d.is-live)::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 18%); }
  .facts dl { grid-template-columns: repeat(2, 1fr); }
  .facts dl > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .facts dl > div { padding: 24px 18px; }
  .facts dl > div:nth-child(odd) { padding-left: 0; }
  .sec-head, .split, .contact-grid, .cta-band .wrap { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article:nth-child(2n) { padding: 32px 0; border-left: 0; }
  .svc-block { grid-template-columns: 1fr; padding: 56px 0; }
  .leader { grid-template-columns: 1fr; }
  .monogram { max-width: 200px; }
  .page-head svg.bg { opacity: .25; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .registry .hide-sm { display: none; }
  .brand-name small { display: none; }
  .brand-mark { width: 56px; height: 40px; }
  .brand-word { width: 136px; height: 20px; }
  .reg-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .reg-code { padding-top: 0; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .chips { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .foot-main { grid-template-columns: 1fr; }
  .datasheet dl { grid-template-columns: 1fr; }
  .datasheet dt { padding-bottom: 2px; border-bottom: 0; }
  .datasheet dd { padding-top: 0; }
  .datasheet dl > :nth-last-child(-n+2) { border-bottom: 0; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .schedule tbody th { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .pid .flow { display: none; }
  .js .skyline .sky-glow, .js .skyline .lights { opacity: 1; }
  .skyline .mover { animation: none !important; display: none; }
  .reveal > * { opacity: 1; transform: none; }
}

@media print {
  .site-head, .registry, .wa-float, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
