/* ABSCO, concept two: "The air you can't see, we measure." Dark, cinematic, Arabic first. */
:root {
  --bg: #071816;
  --bg-2: #0c2321;
  --bg-3: #12302d;
  --ink: #eaf4f2;
  --ink-2: #a3bfbb;
  --brand: #38a0a0;
  --accent: #46c1b8;      /* buttons on dark: dark text 7:1 */
  --accent-hi: #6fe3d6;
  --air: #6fe3d6;
  --warn: #f2a93b;
  --light: #eef4f3;
  --light-ink: #0b1e1c;
  --light-ink-2: #3c5250;

  --t-display: clamp(36px, 4.4vw, 68px);
  --t-h2: clamp(30px, 3.6vw, 56px);
  --t-h3: clamp(19px, 1.5vw, 23px);
  --t-body: clamp(16px, 1.1vw, 18px);
  --t-small: 14px;

  --m: clamp(16px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 32px);
  --sec: clamp(96px, 11vw, 180px);
  --bar: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
:lang(ar) body, body:lang(ar) { line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--air); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--m); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 60; }
.skip:focus { top: 8px; }

h1, h2 { font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.3; }
.sec-p { font-size: var(--t-h3); line-height: 1.55; margin-top: 22px; max-width: 32em; color: var(--ink); }
figcaption { font-size: var(--t-small); color: var(--ink-2); margin-top: 12px; }
.sec-head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.sec-head p { font-size: var(--t-h3); line-height: 1.55; max-width: 26em; color: var(--ink-2); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--bg);
  font: inherit; font-weight: 600; font-size: var(--t-body); padding: 16px 28px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  transition: background-color .2s var(--ease), transform .15s var(--ease); }
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-ghost { background: var(--bg-3); color: var(--ink); font-weight: 500; }
.btn-ghost:hover { background: #1b4340; }
.link-arrow { font-weight: 500; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: .4em; }
.link-arrow::after { content: "→"; display: inline-block; margin-inline-start: .4em; transition: transform .2s var(--ease); }
[dir="rtl"] .link-arrow::after { content: "←"; }
.link-arrow:hover::after { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }

/* Header */
.bar { position: sticky; top: 0; z-index: 40; background: var(--bg); }
.bar-in { display: flex; align-items: center; gap: 32px; height: var(--bar); }
.brand img { height: 60px; width: auto; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 28px; }
.nav a, .lang { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); }
.nav a:hover, .lang:hover { text-decoration: underline; text-decoration-color: var(--air); text-underline-offset: .45em; }
.bar-end { display: flex; align-items: center; gap: 20px; }
.menu-btn { display: none; font: inherit; font-weight: 500; background: var(--ink); color: var(--bg); border: 0; padding: 10px 16px; cursor: pointer; }
.mnav { background: var(--bg); padding: 8px var(--m) 32px; }
.mnav ul { display: grid; gap: 2px; margin-bottom: 24px; }
.mnav a:not(.btn) { display: block; padding: 10px 0; font-size: 24px; font-weight: 500; text-decoration: none; }
.mnav .btn { width: 100%; }
.mnav .lang { display: inline-block; margin-top: 18px; font-size: 18px; }

/* Hero: text beside the live airflow rig */
.hero-in { display: grid; grid-template-columns: 5.5fr 6.5fr; gap: clamp(32px, 4vw, 80px); align-items: center;
  min-height: calc(100svh - var(--bar)); padding-block: clamp(24px, 3vw, 48px) clamp(40px, 4vw, 64px); }
.hero h1 { font-size: var(--t-display); line-height: 1.02; letter-spacing: -0.035em; }
:lang(ar) .hero h1 { line-height: 1.25; letter-spacing: 0; }
.lede { font-size: var(--t-h3); line-height: 1.6; margin-top: 28px; color: var(--ink-2); max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }

.air { background: var(--bg-2); padding: clamp(18px, 2.2vw, 32px); }
.air-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.air-title { font-size: var(--t-h3); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.air-hint { font-size: var(--t-small); color: var(--ink-2); max-width: 38em; }
.drag-hint { display: none; }
.js .drag-hint { display: inline; }
.air-stage { position: relative; margin-top: 18px; aspect-ratio: 2 / 1; background: var(--bg); overflow: hidden; touch-action: pan-y; cursor: ns-resize; }
.air-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.air-static { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .air-static { display: none; }
.s-ceiling { fill: #2d4e4c; } .s-diff { fill: #9dbcb8; } .s-target { fill: var(--ink); opacity: .7; }
.s-plume.ok { fill: var(--air); opacity: .35; } .s-plume.off { fill: var(--warn); opacity: .35; }
.air-outlets { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 18px; }
.ao-name { font-size: var(--t-small); color: var(--ink-2); }
.ao-q { font-size: clamp(22px, 2vw, 30px); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.25; }
.ao-q small { font-size: var(--t-small); font-weight: 400; color: var(--ink-2); }
.ao-status { font-size: var(--t-small); font-weight: 500; }
.ao.is-ok .ao-status { color: var(--air); }
.ao.is-off .ao-status { color: var(--warn); }
.ao-slider input { width: 100%; height: 32px; margin: 8px 0 0; accent-color: var(--air); cursor: pointer; }
.ao-pos { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ao-pos output { color: var(--ink); }
.air-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 18px; }
.air-msg { flex: 1 1 260px; font-weight: 500; }
.air.is-solved .air-msg { color: var(--air); }
.air-total { font-size: var(--t-small); color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Story */
.story { padding-block: var(--sec); }
.story-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 96px); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; margin-top: clamp(40px, 5vw, 64px); }
.stats dt { font-size: var(--t-small); color: var(--ink-2); order: 2; }
.stats div { display: flex; flex-direction: column; }
.stats dd { font-size: clamp(44px, 5vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--air); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.story-ph .ph { overflow: hidden; aspect-ratio: 4 / 3; }
.story-ph img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* Rail of recent handovers */
.rail { position: relative; background: var(--bg-2); }
.rail-sticky { padding-block: var(--sec) calc(var(--sec) * .7); overflow: hidden; }
.rail-head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.rail-head p { color: var(--ink-2); font-size: var(--t-h3); }
.rail-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--m); }
.rail-viewport::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: var(--gap); width: max-content; }
.slide { scroll-snap-align: start; flex: none; }
.slide .ph { height: clamp(360px, 56vh, 620px); overflow: hidden; background: var(--bg-3); }
.slide img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform .9s var(--ease); }
.slide:hover img { transform: scale(1.03); }
.slide figcaption { display: grid; gap: 2px; color: var(--ink); font-size: var(--t-body); margin-top: 16px; max-width: 34ch; }
.slide figcaption strong { font-weight: 600; }
.slide figcaption span { color: var(--ink-2); font-size: var(--t-small); }
.rail-progress { margin-top: 32px; }
.rail-progress span { display: block; height: 4px; width: 100%; background: var(--air); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .rail-progress span { transform-origin: right; }
.rail.is-pinned .rail-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--bar) + 16px) 32px; }
.rail.is-pinned .rail-viewport { overflow: visible; }
.rail.is-pinned .rail-track { will-change: transform; }

/* Services with schematics */
.services { padding-block: var(--sec); }
.svc-row { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(72px, 8vw, 128px); }
.svc-row:nth-of-type(even) .svc-fig { order: 2; }
.svc-fig { background: var(--bg-2); padding: clamp(16px, 2vw, 28px); }
.sch { width: 100%; height: auto; display: block; }
.svc-tx h3 { font-size: clamp(24px, 2.3vw, 36px); }
.svc-p { margin-top: 12px; color: var(--ink-2); max-width: 36em; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; margin-top: 32px; }
.svc-list li { display: grid; gap: 2px; padding-inline-start: 18px; position: relative; }
.svc-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 7px; height: 7px; background: var(--air); }
.svc-list strong { font-weight: 500; }
.svc-list span { color: var(--ink-2); font-size: 15px; }
/* schematic parts */
.sch .duct { fill: #2d4e4c; } .sch .diff { fill: #9dbcb8; }
.sch .flow { stroke: var(--air); stroke-width: 3; fill: none; stroke-dasharray: 10 14; animation: dash 1.2s linear infinite; }
.sch .jets path { stroke: var(--air); stroke-width: 3; fill: none; stroke-dasharray: 8 10; animation: dash 0.9s linear infinite; opacity: .9; }
.sch .hood { fill: #2f6fd6; opacity: .9; }
.sch .wire { stroke: #2d4e4c; stroke-width: 4; }
.sch .wire-live { stroke: var(--air); stroke-width: 4; stroke-dasharray: 320; stroke-dashoffset: 320; animation: fill 4s var(--ease) infinite; }
.sch .node circle { fill: var(--bg-3); stroke: #2d4e4c; stroke-width: 3; animation: node 4s var(--ease) infinite; animation-delay: calc(var(--i) * .6s); }
.sch .node .tick { fill: none; stroke: var(--bg); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: tick 4s var(--ease) infinite; animation-delay: calc(var(--i) * .6s); }
.sch .room { fill: var(--bg-3); }
.sch .sign { fill: var(--ink); font: 600 64px "Readex Pro", sans-serif; text-anchor: middle; dominant-baseline: middle; }
.sch .arr { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; animation: breathe 1.8s var(--ease) infinite; animation-delay: calc(var(--i) * .15s); }
.sch .arr.out { stroke: var(--air); } .sch .arr.in { stroke: var(--warn); }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes fill { 0% { stroke-dashoffset: 320; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes node { 0%, 8% { fill: var(--bg-3); stroke: #2d4e4c; } 14%, 100% { fill: var(--air); stroke: var(--air); } }
@keyframes tick { 0%, 10% { opacity: 0; } 16%, 100% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* Map */
.map { background: var(--bg-2); padding-block: var(--sec); }
.map-in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
.map-box { position: relative; width: 100%; }
.ksa { position: absolute; inset: 0; width: 100%; height: 100%; }
.ksa .land { fill: var(--bg-3); stroke: var(--brand); stroke-width: 1.4; stroke-linejoin: round; }
.dot { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; }
.dot::before { content: ""; position: absolute; inset: 50% auto auto 50%; width: calc(26px * var(--s)); height: calc(26px * var(--s)); transform: translate(-50%, -50%); background: var(--air); border-radius: 50%; transition: transform .25s var(--ease), background-color .25s; }
.dot::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: calc(26px * var(--s)); height: calc(26px * var(--s)); transform: translate(-50%, -50%); border-radius: 50%; background: var(--air); opacity: .35; animation: ping 2.6s var(--ease) infinite; }
.dot.is-office::before { border-radius: 0; background: var(--ink); }
.dot.is-office::after { border-radius: 0; background: var(--ink); }
.dot:hover::before, .dot.is-on::before { transform: translate(-50%, -50%) scale(1.35); }
.dot.is-on::before { background: var(--warn); }
.dot-label { position: absolute; top: 50%; inset-inline-start: calc(50% + 16px); transform: translateY(-50%); white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--ink); pointer-events: none; opacity: 0; transition: opacity .2s; }
.dot:hover .dot-label, .dot:focus-visible .dot-label, .dot.is-on .dot-label, .dot.is-big .dot-label { opacity: 1; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(1); opacity: .45; } 100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }
.map-panel { position: sticky; top: calc(var(--bar) + 24px); }
.city-panel h3 { font-size: clamp(24px, 2.2vw, 34px); }
.city-panel h3 span { display: block; font-size: var(--t-small); font-weight: 400; color: var(--ink-2); margin-top: 4px; }
.office-note { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.cp-ph { margin-top: 20px; }
.cp-ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cp-list { display: grid; gap: 4px; margin-top: 20px; max-height: 360px; overflow: auto; }
.cp-list li { display: grid; gap: 2px; padding: 12px 14px; background: var(--bg-3); }
.cp-list strong { font-weight: 500; }
.cp-list span { font-size: var(--t-small); color: var(--ink-2); }
.all-projects { margin-top: clamp(48px, 6vw, 88px); background: var(--bg-3); }
.all-projects summary { cursor: pointer; list-style: none; padding: 22px clamp(18px, 2vw, 28px); font-size: var(--t-h3); font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.all-projects summary::-webkit-details-marker { display: none; }
.all-projects summary span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.all-projects summary::after { content: "+"; color: var(--air); }
.all-projects[open] summary::after { content: "−"; }
.ap-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; padding: 0 clamp(18px, 2vw, 28px) 28px; }
.ap-cols h3 { font-size: 16px; color: var(--air); margin-bottom: 10px; }
.ap-cols li { font-size: 15px; padding-block: 5px; }
.ap-cols li span { display: block; font-size: 13px; color: var(--ink-2); }

/* How we work: a light field, with a duct that fills as you read */
.how { background: var(--light); color: var(--light-ink); padding-block: var(--sec); }
.how .sec-head p { color: var(--light-ink-2); }
.how ::selection { background: var(--light-ink); color: var(--light); }
.how-in { position: relative; }
.how-duct { position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 14px; margin-inline-start: -7px; background: #cfdcda; }
.how-duct span { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(0); }
.how-steps { display: grid; gap: clamp(56px, 7vw, 112px); }
.hs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 128px); align-items: center; }
.hs-ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hs-tx { max-width: 30em; }
.hs-tx h3 { font-size: clamp(24px, 2.2vw, 34px); }
.hs-tx p { margin-top: 12px; color: var(--light-ink); }
.hs:nth-child(even) .hs-ph { order: 2; }
.hs:nth-child(even) .hs-tx { justify-self: end; }

/* Standards: the logo's teal as a field */
.standards { background: var(--brand); color: var(--light-ink); padding-block: var(--sec); }
.standards .sec-p { color: var(--light-ink); }
.standards ::selection { background: var(--light-ink); color: var(--brand); }
.standards-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.std { display: grid; gap: clamp(28px, 3.5vw, 48px); }
.std > div { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: baseline; }
.std dt { font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.std .std-note { grid-template-columns: 1fr; } .std .std-note dd { font-weight: 500; }

/* About */
.about { padding-block: var(--sec); }
.about-in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 96px); align-items: start; }
.about-ph img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.about .sec-p { color: var(--ink-2); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 40px; }
.people li { display: grid; gap: 2px; } .people strong { font-weight: 600; } .people span { font-size: var(--t-small); color: var(--ink-2); }
.about-more { margin-top: 24px; max-width: 32em; color: var(--ink-2); }
.about-more a { color: var(--ink); font-weight: 500; text-decoration-color: var(--air); }

/* FAQ */
.faq { background: var(--bg-2); padding-block: var(--sec); }
.faq-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.qa { display: grid; gap: 8px; }
.qa details { background: var(--bg-3); padding: 0 clamp(18px, 2vw, 28px); transition: background-color .2s var(--ease); }
.qa details[open] { background: #16403c; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; font-size: var(--t-h3); font-weight: 500; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--air); flex: none; transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding-bottom: 24px; color: var(--ink-2); max-width: 40em; }

/* Contact */
.contact { padding-block: var(--sec); }
.contact-in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact .sec-p { color: var(--ink-2); }
.form { display: grid; gap: 20px; margin-top: 40px; max-width: 760px; }
.form label { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg-2); border: 1px solid #2d4e4c; border-radius: 0; padding: 14px 16px; width: 100%; transition: border-color .2s; }
.form input:hover, .form textarea:hover { border-color: var(--ink-2); }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--accent-hi); outline-offset: 0; border-color: var(--accent-hi); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; } legend { font-size: 15px; font-weight: 500; padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { padding: 10px 16px; background: var(--bg-2); border: 1px solid #2d4e4c; font-weight: 400; transition: background-color .2s, color .2s; }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--air); color: var(--bg); border-color: var(--air); }
.chip input:focus-visible + span { outline: 3px solid var(--accent-hi); outline-offset: 2px; }
.form .btn { justify-self: start; margin-top: 8px; }
.form .btn:disabled { opacity: .7; cursor: progress; }
.form-status { font-weight: 500; color: var(--warn); max-width: 40em; }
.form-note { font-size: var(--t-small); color: var(--ink-2); }
.form-note a { color: var(--ink); text-decoration-color: var(--air); }
.contact-side { display: grid; gap: 48px; padding-top: 8px; }
.channels { display: grid; gap: 22px; }
.channels p { display: grid; gap: 2px; } .channels span { font-size: var(--t-small); color: var(--ink-2); }
.channels a { font-size: var(--t-h3); font-weight: 600; text-decoration: none; justify-self: start; }
.channels a:hover { text-decoration: underline; text-decoration-color: var(--air); }
.offices h3 { margin-bottom: 18px; }
.office { display: grid; gap: 4px; color: var(--ink-2); } .office + .office { margin-top: 22px; } .office strong { color: var(--ink); font-weight: 600; }
.office .link-arrow { justify-self: start; font-size: 15px; margin-top: 4px; color: var(--ink); }
.contact-ph img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* Footer */
.foot { background: #040e0d; color: var(--ink-2); padding-block: clamp(64px, 8vw, 120px) 40px; overflow: hidden; }
.foot-word { font-size: clamp(88px, 24vw, 400px); font-weight: 700; line-height: .78; letter-spacing: -0.05em; color: var(--brand); }
.foot-row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px 48px; align-items: end; margin-top: clamp(40px, 5vw, 72px); font-size: var(--t-small); }
.foot a { color: var(--ink); text-decoration-color: var(--brand); }
.social { display: flex; flex-wrap: wrap; gap: 20px; }

/* Short pages: privacy, thank-you, not found */
.doc { padding-block: clamp(56px, 8vw, 128px) var(--sec); min-height: calc(70svh - var(--bar)); }
.doc-in > * { max-width: 46em; }
.doc h1 { font-size: var(--t-h2); }
.doc h2 { font-size: var(--t-h3); margin-top: clamp(32px, 4vw, 48px); }
.doc p { margin-top: 12px; color: var(--ink-2); }
.doc a:not(.btn) { color: var(--ink); text-decoration-color: var(--air); }
.doc a[href^="tel:"] { white-space: nowrap; }
/* English block inside an Arabic page: arrows point the English way */
[dir="rtl"] [dir="ltr"] .link-arrow::after { content: "→"; }
[dir="rtl"] [dir="ltr"] .link-arrow:hover::after { transform: translateX(4px); }
.doc .doc-meta { font-size: var(--t-small); margin-top: 16px; }
.doc .doc-lede { font-size: var(--t-h3); line-height: 1.55; color: var(--ink); margin-top: 24px; }
.doc .doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 40px; }
.nf-code { font-size: clamp(88px, 16vw, 220px); font-weight: 700; line-height: .9; letter-spacing: -0.05em; color: var(--brand); margin-bottom: 24px; }
.doc .nf-code { color: var(--brand); margin-top: 0; }
.nf-en { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--bg-3); }
.nf-en h2 { margin-top: 0; }

/* Entrances */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity .3s linear; }
  .sch *, .dot::after { animation: none !important; }
  .sch .wire-live { stroke-dashoffset: 0; } .sch .node circle { fill: var(--air); stroke: var(--air); } .sch .node .tick { opacity: 1; }
  .slide img { transition: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .nav, .bar-end .btn-sm, .bar-end .lang { display: none; }
  .menu-btn { display: inline-block; }
  .bar-end { margin-inline-start: auto; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .sec-head, .rail-head, .story-in, .svc-row, .map-in, .standards-in, .about-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .svc-row:nth-of-type(even) .svc-fig { order: 0; }
  .map-panel { position: static; }
  .ap-cols { grid-template-columns: 1fr 1fr; }
  .how-duct { inset-inline-start: 7px; }
  .hs, .hs:nth-child(even) { grid-template-columns: 1fr; gap: 20px; padding-inline-start: 44px; }
  .hs:nth-child(even) .hs-ph { order: 0; } .hs:nth-child(even) .hs-tx { justify-self: start; }
}

/* Phone */
@media (max-width: 680px) {
  :root { --bar: 66px; }
  .brand img { height: 48px; }
  .actions .btn, .form .btn { width: 100%; }
  .air-stage { aspect-ratio: 4 / 3; }
  .air-outlets { gap: 10px; }
  .ao-q { font-size: 20px; }
  .ao-q small { display: block; }
  .svc-list, .people, .row2, .stats { grid-template-columns: 1fr 1fr; }
  .svc-list, .people, .row2 { grid-template-columns: 1fr; }
  .slide .ph { height: 420px; }
  .slide img { max-width: 82vw; width: 82vw; }
  .ap-cols { grid-template-columns: 1fr; }
  .std > div { grid-template-columns: 1fr; gap: 6px; }
  .foot-row { grid-template-columns: 1fr; align-items: start; }
  .dot-label { display: none; }
  .dot.is-on .dot-label { display: block; }
}
