/* =========================================================
   ASCO – Al-Shibel for Contracting
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/alexandria-arabic-300-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/alexandria-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/alexandria-arabic-500-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/alexandria-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/alexandria-arabic-700-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/alexandria-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/ibm-plex-sans-arabic-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --night: #0F1F14;        /* hero and dark bands */
  --night-2: #16291C;
  --forest: #23402A;       /* logo green, deep */
  --green: #2E5B35;        /* logo green, interactive */
  --green-hover: #234729;
  --leaf: #9CC488;         /* green text on dark */
  --amber: #E2A62B;        /* active slide, live status, primary action on dark */
  --amber-hover: #F0B940;
  --bg: #E7E8E3;           /* poured concrete */
  --paper: #F4F4F0;
  --white: #FFFFFF;
  --ink: #1A201B;
  --steel: #555E57;
  --line: #CDD0C8;
  --line-strong: #AEB3AA;
  --on-dark: #EEF2EC;
  --on-dark-2: rgba(238, 242, 236, .74);
  --line-dark: rgba(255, 255, 255, .16);
  --danger: #8E2A18;

  --display: 'Alexandria', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --radius: 2px;
  --section: 112px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.8;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
html:lang(en) body { line-height: 1.6; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.3; margin: 0; color: inherit; text-wrap: balance; }
h3 { font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.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; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.display-h { font-weight: 300; font-size: clamp(2rem, 3.7vw, 3.15rem); line-height: 1.2; }
.why-grid h2 { text-wrap: pretty; }
html:lang(en) .display-h { letter-spacing: -0.015em; line-height: 1.1; }

.kv {
  display: inline-block; font-family: var(--body); font-weight: 500; font-size: 0.8em; line-height: 1.5;
  padding: 0 6px; border: 1px solid var(--moss, #7E9A72); border-radius: var(--radius); color: var(--green);
  font-variant-numeric: tabular-nums; white-space: nowrap; vertical-align: 0.08em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 10px 24px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid { background: var(--green); border-color: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-hover); border-color: var(--green-hover); color: #fff; }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: inherit; }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 15px; }
.on-dark-zone .btn-solid, .hero .btn-solid, .site-header:not(.is-solid) .btn-solid { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.on-dark-zone .btn-solid:hover, .hero .btn-solid:hover, .site-header:not(.is-solid) .btn-solid:hover { background: var(--amber-hover); border-color: var(--amber-hover); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header::before {
  content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 31, 20, .7), rgba(15, 31, 20, 0));
  transition: opacity .3s ease;
}
.site-header.is-solid { background: rgba(244, 244, 240, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(244, 244, 240, .9); backdrop-filter: blur(10px); } }
.header-row { display: flex; align-items: center; gap: 30px; min-height: var(--header-h); position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand-mark, .brand-word { display: grid; }
.brand-mark img, .brand-word img { grid-area: 1 / 1; width: auto; transition: opacity .3s ease; }
.brand-mark img { height: 44px; }
.brand-word img { height: 13px; }
.brand .on-light { opacity: 0; }
.is-solid .brand .on-light { opacity: 1; }
.is-solid .brand .on-dark { opacity: 0; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.is-solid .brand-name { color: var(--forest); }
.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a { color: inherit; text-decoration: none; font-size: 15.5px; font-weight: 500; padding-block: 6px; border-bottom: 1.5px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: inherit; border-bottom-color: currentColor; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn, .menu-btn {
  background: transparent; border: 1px solid currentColor; border-radius: var(--radius);
  min-height: 40px; padding: 4px 12px; font-size: 14px; font-weight: 600; cursor: pointer; color: inherit;
  opacity: .92;
}
.lang-btn:hover, .menu-btn:hover { opacity: 1; }
.menu-btn { display: none; align-items: center; gap: 8px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; inset-inline-start: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.site-header :focus-visible { outline-color: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 640px; max-height: 1000px;
  background: var(--night); color: var(--on-dark);
}
.hero-sky { position: absolute; inset: 0; z-index: -2; }
.col {
  position: absolute; bottom: 0; overflow: hidden; background: var(--night-2);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.4) 84%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0,0,0,.4) 84%, transparent 100%);
}
.col .ph { position: absolute; inset: 0; background-size: cover; background-position: center; }
.col .ph.is-top { z-index: 1; }
.col .ph.is-enter { animation: colReveal 1.05s cubic-bezier(.65, 0, .25, 1) both; animation-delay: var(--d, 0s); }
@keyframes colReveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.col::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, var(--green) 0, var(--green) 5px, rgba(15, 31, 20, .55) 5px, rgba(15, 31, 20, .28) 26%, rgba(15, 31, 20, .1) 55%, rgba(15, 31, 20, 0) 72%);
}
.col::after, .col > i {
  content: ''; position: absolute; inset: 5px 0 0; z-index: 3;
  background: repeating-linear-gradient(90deg, transparent 0 21px, var(--night) 21px 23px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, rgba(0,0,0,.55) 46%, #000 72%);
          mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, rgba(0,0,0,.55) 46%, #000 72%);
}
.col > i {
  background: repeating-linear-gradient(90deg, transparent 0 15px, var(--night) 15px 23px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,.7) 80%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,.7) 80%, #000 100%);
}
/* Logo composition, placed from the end side so the short columns sit under the text */
.col-a { inset-inline-end: 0;   width: 26%; height: 60%; z-index: 1; }
.col-b { inset-inline-end: 23%; width: 22%; height: 88%; z-index: 2; border-inline-end: 6px solid var(--night); }
.col-c { inset-inline-end: 50%; width: 21%; height: 73%; z-index: 1; }
.col-d { inset-inline-end: 41%; width: 31%; height: 55%; z-index: 3; border-inline-end: 6px solid var(--night); }
.col-e { inset-inline-end: 68%; width: 32%; height: 43%; z-index: 4; border-inline-end: 6px solid var(--night); }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
html[dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(15,31,20,.92) 0%, rgba(15,31,20,.78) 30%, rgba(15,31,20,.2) 62%, rgba(15,31,20,0) 80%), linear-gradient(0deg, rgba(15,31,20,.85) 0%, rgba(15,31,20,0) 26%); }
html[dir="ltr"] .hero-shade { background: linear-gradient(90deg, rgba(15,31,20,.92) 0%, rgba(15,31,20,.78) 30%, rgba(15,31,20,.2) 62%, rgba(15,31,20,0) 80%), linear-gradient(0deg, rgba(15,31,20,.85) 0%, rgba(15,31,20,0) 26%); }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 11vh, 120px)); }
.hero h1 {
  font-weight: 300; color: #fff; max-width: 13ch;
  font-size: clamp(2.6rem, 5.8vw, 5rem); line-height: 1.12; margin-bottom: 24px;
}
html:lang(en) .hero h1 { max-width: 16ch; letter-spacing: -0.02em; line-height: 1.04; font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
.hero-lead { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--on-dark-2); max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero-bar {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: 30px;
}
.slide-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 150px)); gap: 14px; flex: 1; }
.slide-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--on-dark-2); text-align: start;
}
.slide-tab .n { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--on-dark-2); }
.slide-tab .t { font-size: 13.5px; line-height: 1.45; min-height: 2.9em; }
.slide-tab .prog { display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .28); margin-top: 6px; overflow: hidden; }
.slide-tab .prog i { display: block; height: 100%; width: 0; background: var(--amber); }
.slide-tab[aria-current="true"] { color: #fff; }
.slide-tab[aria-current="true"] .n { color: var(--amber); }
.slide-tab[aria-current="true"] .prog i { animation: prog var(--dur, 7s) linear forwards; }
.slide-tab.is-done .prog i { width: 100%; }
.hero.is-paused .slide-tab[aria-current="true"] .prog i { animation-play-state: paused; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.slide-tab:hover { color: #fff; }
.slide-now { display: none; font-family: var(--display); font-weight: 500; font-size: 16px; color: #fff; margin: 2px 0 0; }
.slide-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.slide-view {
  background: transparent; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--radius); color: #fff;
  min-height: 40px; padding: 4px 14px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.slide-view:hover { border-color: #fff; }
.slide-pause {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45);
  background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer;
}
.slide-pause:hover { border-color: #fff; }
.slide-pause .i-play, .hero.is-paused .slide-pause .i-pause { display: none; }
.hero.is-paused .slide-pause .i-play { display: block; }
.hero :focus-visible { outline-color: var(--amber); }

/* ---------- Clients band (logo marquee) ---------- */
.clients { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 26px 32px; }
.clients-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.clients-title { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--steel); }
.marquee-toggle {
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 32px; padding: 2px 12px; font-size: 13.5px; color: var(--steel); cursor: pointer;
}
.marquee-toggle:hover { border-color: var(--ink); color: var(--ink); }
.marquee {
  overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 75s linear infinite; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track, .marquee.is-offscreen .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; margin-right: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.marquee-track .logo-group { font-size: 12.5px; line-height: 1.3; color: var(--steel); white-space: nowrap; }
.marquee-track img { height: 56px; width: auto; }
.marquee-track .tall img { height: 78px; }
.marquee-track .logo-text { font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { margin-bottom: 48px; max-width: 780px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--steel); margin: 0; max-width: 62ch; }

/* reveal (only when motion is allowed) */
html.js-anim [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rd, 0s); }
html.js-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* About */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.about-lead { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.75; color: var(--ink); }
html:lang(en) .about-lead { line-height: 1.6; }
.about-copy p:last-child { font-size: 17.5px; color: var(--steel); margin: 0; }
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 72px; }
.vmv article { border-top: 2px solid var(--green); padding-top: 18px; }
.vmv h3 { font-size: 20px; margin-bottom: 10px; color: var(--forest); }
.vmv p { font-size: 16px; color: var(--steel); line-height: 1.8; margin: 0; }
.values li { font-size: 16px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.values li:last-child { border-bottom: 0; }

/* At a glance (dark) */
.glance { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); padding-block: var(--section); }
.glance-bars {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.glance-grid { position: relative; }
.glance-intro { max-width: 760px; margin-bottom: 64px; }
.glance-intro h2 { color: #fff; margin-bottom: 18px; }
.glance-intro p { font-size: 18.5px; color: var(--on-dark-2); margin: 0; max-width: 56ch; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.counters li { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.counters .big { display: flex; align-items: flex-start; font-family: var(--display); font-weight: 700; color: #fff; font-size: clamp(3.2rem, 6.6vw, 6.2rem); line-height: 1; letter-spacing: -0.02em; direction: ltr; justify-content: flex-end; }
html[dir="ltr"] .counters .big { justify-content: flex-start; }
.counters .plus { color: var(--amber); font-weight: 300; font-size: .62em; margin-inline: 4px; line-height: 1.1; }
.counters .lbl { display: block; margin-top: 14px; font-size: 16px; color: var(--on-dark-2); line-height: 1.5; }

/* Expertise panels */
.services { background: var(--paper); }
.xp { display: flex; gap: 10px; height: 500px; }
.xp-panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--night); color: #fff; transition: flex-grow .6s cubic-bezier(.2, .7, .2, 1);
}
.xp-panel.is-active { flex-grow: 3.2; }
.xp-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.xp-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,31,20,.94) 0%, rgba(15,31,20,.6) 45%, rgba(15,31,20,.12) 78%); pointer-events: none; }
.xp-panel.is-active img { transform: scale(1.04); }
.xp-head {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 24px; background: none; border: 0; color: #fff; text-align: start; cursor: pointer;
}
.xp-head::before { content: ''; position: absolute; inset: -1000px 0 0; }
.xp-panel.is-active .xp-head { padding-bottom: 0; }
.xp-count { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--amber); }
.xp-title { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.35; max-width: 18ch; }
.xp-body {
  position: relative; z-index: 3; padding: 0 24px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s ease, opacity .35s ease, padding .5s ease;
}
.xp-panel.is-active .xp-body { max-height: 340px; opacity: 1; padding-top: 14px; padding-bottom: 26px; transition-delay: .15s; }
.xp-body p { font-size: 15.5px; line-height: 1.75; color: var(--on-dark-2); max-width: 52ch; margin-bottom: 14px; }
.xp-body .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.xp :focus-visible { outline-color: var(--amber); outline-offset: -4px; }
.scope-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.scope-row h3 { font-size: 17px; }
.chips-static { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-static li { font-size: 15px; padding: 5px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); line-height: 1.5; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 40px; padding: 6px 16px; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip-n { font-size: 12.5px; font-weight: 600; margin-inline-start: 7px; padding: 0 6px; border-radius: var(--radius); background: rgba(35, 64, 42, .09); color: var(--green); }
.chip[aria-pressed="true"] .chip-n { background: rgba(255, 255, 255, .18); color: #fff; }
.nojs { background: var(--white); border: 1px dashed var(--line-strong); padding: 14px 18px; color: var(--steel); }

/* Project tiles */
.projects { background: var(--bg); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px 22px; grid-auto-flow: dense; }
.tile-big { grid-column: span 2; }
.tile-btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: start; cursor: pointer; }
.tile-img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); border-radius: var(--radius); }
.tile-big .tile-img { aspect-ratio: 16 / 10; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .5s ease; }
html.js-anim img.fade { opacity: 0; }
html.js-anim img.fade.is-loaded { opacity: 1; }
.tile-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,31,20,.5), rgba(15,31,20,0) 40%); opacity: 0; transition: opacity .4s ease; }
.tile-btn:hover .tile-img img { transform: scale(1.04); }
@media (hover: hover) { .tile-img { transition: box-shadow .4s ease; } .tile-btn:hover .tile-img { box-shadow: 0 18px 36px rgba(15, 31, 20, .18); } }
.tile-btn:hover .tile-img::after { opacity: 1; }
.tile-count { position: absolute; bottom: 10px; inset-inline-start: 10px; z-index: 1; background: rgba(15, 31, 20, .82); color: #fff; font-size: 13px; line-height: 1.4; padding: 3px 9px; border-radius: var(--radius); }
.tile-cap { display: block; padding-top: 12px; }
.tile-name { display: block; font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.45; color: var(--ink); }
.tile-btn:hover .tile-name { color: var(--green); }
.tile-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 4px; font-size: 14.5px; color: var(--steel); line-height: 1.6; }
.more-row { margin-top: 36px; display: flex; justify-content: center; }

/* Map */
.mapsec { background: var(--paper); border-block: 1px solid var(--line); }
.map-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.map-box { position: sticky; top: calc(var(--header-h) + 24px); }
.ksa { width: 100%; height: auto; display: block; overflow: visible; direction: ltr; }
.ksa .land { fill: url(#dots); stroke: var(--green); stroke-width: 1.2; stroke-opacity: .6; }
.ksa .sea { font-family: var(--body); fill: var(--steel); }
.ksa .pin { cursor: pointer; outline: none; }
.ksa .pin .halo { fill: rgba(46, 91, 53, .14); stroke: var(--green); stroke-width: 1.5; transition: fill .2s ease, transform .25s ease; transform-box: fill-box; transform-origin: center; }
.ksa .pin .core { fill: var(--green); transition: fill .2s ease; }
.ksa .pin .cnt { font-family: var(--display); font-weight: 700; fill: #fff; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.ksa .pin .lbl { font-family: var(--display); font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.ksa .pin:hover .halo, .ksa .pin:focus-visible .halo { transform: scale(1.12); fill: rgba(46, 91, 53, .26); }
.ksa .pin:hover .lbl, .ksa .pin:focus-visible .lbl, .ksa .pin.is-sel .lbl, .ksa .pin.is-major .lbl { opacity: 1; }
.ksa .pin:focus-visible .halo { stroke: var(--ink); stroke-width: 2.5; }
.ksa .pin.is-sel .halo { fill: rgba(226, 166, 43, .3); stroke: var(--amber); }
.ksa .pin.is-sel .core { fill: var(--amber); }
.ksa .pin.is-sel .cnt { fill: var(--ink); }
.ksa .ring { fill: none; stroke: var(--amber); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ksa .pin.is-sel .ring { animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.4); } }
.map-panel { background: var(--white); border: 1px solid var(--line); padding: 26px 26px 18px; min-height: 420px; }
.mp-title { font-family: var(--display); font-weight: 500; font-size: 22px; margin-bottom: 4px; }
.mp-sub { color: var(--steel); font-size: 15px; margin-bottom: 16px; }
.mp-back { background: none; border: 0; padding: 0; color: var(--green); font-weight: 600; font-size: 15px; cursor: pointer; margin-bottom: 12px; text-decoration: underline; text-underline-offset: 3px; }
.mp-cities li + li, .mp-projects li + li { border-top: 1px solid var(--line); }
.mp-city { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 11px 2px; background: none; border: 0; cursor: pointer; text-align: start; font-size: 16px; }
.mp-city:hover { color: var(--green); }
.mp-city .num { font-family: var(--display); font-weight: 500; color: var(--green); min-width: 2ch; text-align: end; }
.mp-projects li { padding-block: 12px; }
.mp-pname { font-weight: 500; line-height: 1.55; }
.mp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--steel); margin-top: 3px; }
.mp-live { display: inline-flex; align-items: center; gap: 6px; color: #8A5E06; font-weight: 600; }
.mp-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.mini-btn { background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1px 10px; font-size: 13px; font-weight: 600; color: var(--green); cursor: pointer; }
.mini-btn:hover { border-color: var(--green); }

/* Why */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 56px; align-items: start; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.why-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.why-list li { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.why-list h3 { font-size: 19px; margin-bottom: 6px; }
.why-list p { font-size: 15.5px; color: var(--steel); margin: 0; line-height: 1.75; }
.why-list p .num { font-family: var(--display); font-weight: 700; color: var(--green); }

/* Record */
.record { background: var(--paper); border-top: 1px solid var(--line); }
.record-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 8px 6px 10px; margin-inline-end: 18px; cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--steel); }
.tab .num { font-family: var(--body); font-size: 14px; font-weight: 600; background: var(--bg); border: 1px solid var(--line); padding: 0 7px; border-radius: var(--radius); margin-inline-start: 4px; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }
.search { display: block; width: min(100%, 360px); margin-bottom: 12px; }
.search input { width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); }
.table-wrap { background: var(--white); border: 1px solid var(--line); padding: 4px 20px 8px; }
.ledger { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.ledger th { text-align: start; font-size: 13.5px; font-weight: 600; color: var(--steel); padding: 12px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.ledger td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger tbody tr:hover { background: rgba(46, 91, 53, .045); }
.c-no { width: 56px; color: var(--steel); }
.c-name { font-weight: 500; }
.c-name .city { display: block; font-weight: 400; font-size: 14px; color: var(--steel); margin-top: 2px; }
.c-name .mini-btn { margin-inline-start: 6px; vertical-align: 1px; }
.c-client { font-size: 15.5px; }
.c-scope { font-size: 15px; color: var(--steel); }
.c-cat { font-size: 14px; color: var(--green); white-space: nowrap; }
.new-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--amber); border-radius: var(--radius); padding: 0 7px; margin-inline-start: 6px; vertical-align: 2px; }
.is-ongoing .c-no::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-inline-start: 7px; vertical-align: 1px; }
.empty { padding: 28px 4px; margin: 0; color: var(--steel); }

/* Capacity */
.capacity { background: var(--bg); }
.cap-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; }
.team h3, .equipment h3 { font-size: 21px; margin-bottom: 22px; }
.team h3 .num { font-weight: 700; color: var(--green); }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.bar-label { grid-row: 1; grid-column: 1; font-size: 15.5px; }
.bar-num { grid-row: 1; grid-column: 2; font-family: var(--display); font-weight: 500; font-size: 16px; }
.bar-track { grid-row: 2; grid-column: 1 / -1; height: 8px; background: rgba(35, 64, 42, .1); border-radius: 1px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--green); transform-origin: var(--origin, right); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
html[dir="ltr"] .bar-fill { --origin: left; }
html.js-anim .bars:not(.is-in) .bar-fill { transform: scaleX(0); }
.equip-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.eq-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.eq-row dd { font-family: var(--display); font-weight: 500; color: var(--green); }
.yard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.yard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Credentials (dark) */
.creds { background: var(--night-2); color: var(--on-dark); }
.creds h2 { color: #fff; }
.creds :focus-visible { outline-color: var(--amber); }
.cred-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred-list li { padding: 2px 24px 4px; border-inline-start: 1px solid var(--line-dark); }
.cred-list h3 { color: #fff; font-size: 18.5px; margin-bottom: 10px; line-height: 1.45; }
.cred-list p { font-size: 15.5px; line-height: 1.75; color: var(--on-dark-2); margin: 0; }
.cred-list .num { color: #fff; font-family: var(--display); font-weight: 500; }

/* Contact */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { font-size: 18px; color: var(--steel); max-width: 52ch; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.office { font-style: normal; border-top: 2px solid var(--green); padding-top: 12px; }
.office h3 { font-size: 17px; margin-bottom: 4px; }
.office p { font-size: 15.5px; color: var(--steel); line-height: 1.7; margin-bottom: 6px; }
.map-link { font-size: 15px; font-weight: 500; }
.contact-lines { margin-top: 30px; }
.contact-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.contact-lines dt { font-size: 15px; color: var(--steel); }
.contact-lines dd a { font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--ink); text-decoration: none; }
.contact-lines dd a:hover { color: var(--green); text-decoration: underline; }
.rfq { background: var(--white); border: 1px solid var(--line); padding: 32px; }
.rfq h3 { font-size: 22px; margin-bottom: 20px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-size: 16px; line-height: 1.5; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-error { background: #F6E4DF; color: var(--danger); padding: 10px 14px; border-radius: var(--radius); font-size: 15px; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-2); padding: 64px 0 22px; font-size: 15px; line-height: 1.7; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr; gap: 40px; }
.footer-brand img { width: 96px; height: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer-legal p { margin-bottom: 6px; }
.footer-legal p:first-child { color: #fff; font-weight: 500; }
.footer-legal .num { color: #fff; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; align-content: start; }
.footer-base { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-base p { margin: 0; }

/* Back to top */
.to-top {
  position: fixed; left: 20px; bottom: 20px; z-index: 45; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(15, 31, 20, .18);
  transition: transform .3s ease, opacity .3s ease, border-color .2s ease;
}
.to-top:hover { border-color: var(--ink); }
.to-top.is-hidden { transform: translateY(90px); opacity: 0; pointer-events: none; }
html[dir="rtl"] .to-top { left: auto; right: 20px; }

/* ---------- Viewer ---------- */
.viewer { padding: 0; border: 0; border-radius: var(--radius); width: min(1180px, calc(100% - 32px)); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); overflow: hidden; }
.viewer::backdrop { background: rgba(10, 18, 12, .88); }
.viewer-inner { display: grid; grid-template-columns: 1.65fr 1fr; max-height: calc(100vh - 32px); }
.viewer-media { position: relative; background: var(--night); display: flex; align-items: center; justify-content: center; }
.viewer-media img { width: 100%; height: min(80vh, 760px); object-fit: contain; }
.v-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: var(--radius); cursor: pointer; background: rgba(244, 244, 240, .92); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.v-nav:hover { background: #fff; }
.v-prev { inset-inline-start: 12px; }
.v-next { inset-inline-end: 12px; }
html[dir="ltr"] .v-prev svg, html[dir="rtl"] .v-next svg { transform: scaleX(-1); }
.v-counter { position: absolute; bottom: 12px; inset-inline-start: 12px; margin: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; padding: 2px 9px; border-radius: var(--radius); }
.viewer-side { padding: 24px 26px 26px; overflow-y: auto; display: flex; flex-direction: column; }
.v-close { align-self: flex-end; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); min-height: 40px; padding: 4px 16px; font-size: 14.5px; font-weight: 600; cursor: pointer; margin-bottom: 14px; }
.v-close:hover { border-color: var(--ink); }
.viewer-side h2 { font-size: 23px; line-height: 1.4; margin-bottom: 16px; }
.v-meta > div { padding-block: 9px; border-top: 1px solid var(--line); }
.v-meta dt { font-size: 13.5px; font-weight: 600; color: var(--steel); }
.v-meta dd { font-size: 15.5px; line-height: 1.7; }
.v-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.v-thumbs button { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: none; border-radius: var(--radius); overflow: hidden; opacity: .72; }
.v-thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--green); outline-offset: 1px; }
.v-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .main-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0; margin: 0; color: var(--ink);
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 6px var(--gutter) 14px;
    box-shadow: 0 14px 28px rgba(15, 31, 20, .12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
  .cred-list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

@media (max-width: 960px) {
  :root { --section: 80px; }
  .about-grid, .cap-grid, .contact-grid, .why-grid, .spot-grid, .map-grid { grid-template-columns: 1fr; gap: 36px; }
  .counters { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .vmv { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .xp { flex-direction: column; height: auto; }
  .xp-panel { flex: none; min-height: 100px; }
  .xp-panel.is-active { min-height: 360px; }
  .xp-head { flex-direction: row; align-items: flex-end; gap: 14px; padding: 20px; }
  .xp-body { padding-inline: 20px; }
  .xp-count { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .viewer-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .viewer-media img { height: 52vh; }
  .map-panel { min-height: 0; }
  .map-box { position: relative; top: auto; }
  .hero-bar { flex-direction: column; align-items: stretch; gap: 14px; padding-bottom: 22px; }
  .slide-tabs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .slide-tab .t { display: none; }
  .slide-tools { justify-content: space-between; }
  .slide-now { display: block; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --section: 64px; --header-h: 64px; }
  body { font-size: 16px; }
  .header-cta { display: none; }
  .header-row { gap: 12px; }
  .lang-btn, .menu-btn { padding-inline: 10px; }
  .brand-mark img { height: 36px; }
  .brand-word img { height: 11px; }
  .brand-name { font-size: 12px; }
  .hero { min-height: 600px; max-height: 860px; }
  .hero-inner { padding-top: calc(var(--header-h) + 36px); }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); max-width: 12ch; }
  html:lang(en) .hero h1 { font-size: clamp(2.1rem, 9.6vw, 2.8rem); }
  .hero-lead { font-size: 16.5px; margin-bottom: 26px; }
  .col-a { width: 30%; height: 44%; }
  .col-b { inset-inline-end: 26%; width: 24%; height: 58%; }
  .col-c { inset-inline-end: 54%; width: 22%; height: 50%; }
  .col-d { inset-inline-end: 46%; width: 30%; height: 38%; }
  .col-e { inset-inline-end: 72%; width: 28%; height: 32%; }
  html[dir] .hero-shade { background: linear-gradient(180deg, rgba(15,31,20,.85) 0%, rgba(15,31,20,.6) 48%, rgba(15,31,20,.2) 66%, rgba(15,31,20,.85) 100%); }
  .slide-view { flex: 1; text-align: start; }
  .marquee-track img { height: 42px; }
  .marquee-track .tall img { height: 60px; }
  .marquee-track li { margin-right: 44px; }
  .counters .big { font-size: clamp(2.8rem, 15vw, 4rem); }
  .tiles { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .tile-big { grid-column: 1 / -1; }
  .tile-name { font-size: 16px; }
  .tile-meta { font-size: 13.5px; }
  .why-list { grid-template-columns: 1fr; gap: 22px; }
  .tab { font-size: 16.5px; margin-inline-end: 8px; }
  .search { width: 100%; }
  .table-wrap { padding: 0 14px; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody { display: block; }
  .ledger tr { display: grid; grid-template-columns: 40px 1fr; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .ledger tr:last-child { border-bottom: 0; }
  .ledger td { padding: 0; border: 0; }
  .ledger .c-no { grid-row: 1 / span 4; width: auto; }
  .ledger .c-name, .ledger .c-client, .ledger .c-scope, .ledger .c-cat { grid-column: 2; }
  .ledger .c-client { margin-top: 2px; }
  .equip-list { grid-template-columns: 1fr; }
  .yard { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 40px; }
  .cred-list { grid-template-columns: 1fr; }
  .cred-list li { padding-inline: 16px 0; }
  .offices, .field-row { grid-template-columns: 1fr; }
  .rfq { padding: 22px 18px; }
  .form-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-lines > div { flex-direction: column; gap: 0; }
  .to-top { left: 14px; bottom: 14px; width: 42px; height: 42px; }
  html[dir="rtl"] .to-top { right: 14px; }
}

@media (max-width: 420px) {
  .menu-btn [data-i18n] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 360px) {
  .brand-name { display: none; }
  .tiles { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .col .ph.is-enter { animation: none; }
  .slide-tab[aria-current="true"] .prog i { animation: none; width: 100%; }
  .xp-panel, .xp-panel img, .xp-body, .tile-img img, .bar-fill { transition: none; }
  .dot-live, .ksa .pin.is-sel .ring { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 20px; padding-inline: var(--gutter); }
  .marquee-track li { margin-inline: 22px; }
  .marquee-track li[aria-hidden="true"], .marquee-toggle { display: none; }
}

/* ---------- Print ---------- */
@media print {
  :root { --section: 28px; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .site-header { position: static; background: #fff; color: #000; box-shadow: none; }
  .site-header::before, .header-actions, .main-nav, .hero-sky, .hero-shade, .hero-bar, .hero-actions, .clients, .to-top,
  .marquee-toggle, .filters, .more-row, .search, .xp-go, .tabs, .mini-btn, .map-box, .yard, .rfq, .skip { display: none !important; }
  .brand .on-dark { opacity: 0; } .brand .on-light { opacity: 1; }
  .hero { height: auto; min-height: 0; max-height: none; background: #fff; color: #000; padding: 12px 0 0; }
  .hero h1 { color: #000; font-size: 26pt; } .hero-lead { color: #333; }
  .glance, .creds, .site-footer { background: #fff !important; color: #000 !important; }
  .glance h2, .creds h2, .counters .big, .cred-list h3, .cred-list .num, .footer-legal p:first-child, .footer-legal .num { color: #000 !important; }
  .counters .lbl, .cred-list p, .glance-intro p, .site-footer, .site-footer a { color: #333 !important; }
  .xp { display: block; height: auto; }
  .xp-panel { display: block; height: auto; background: none; color: #000; break-inside: avoid; margin-bottom: 10px; }
  .xp-panel img, .xp-panel::after { display: none; }
  .xp-head { position: static; padding: 0; color: #000; flex-direction: row; gap: 10px; } .xp-count { color: #000; font-size: 18pt; }
  .xp-body { position: static; max-height: none; opacity: 1; padding: 0; } .xp-body p { color: #333; }
  .map-grid { display: block; } .map-panel { border: 0; padding: 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; } .tile-img { aspect-ratio: 4 / 3; } .tile-big { grid-column: auto; }
  .table-wrap { border: 0; padding: 0; } .ledger { font-size: 10.5pt; }
  html.js-anim [data-reveal] { opacity: 1; transform: none; }
  a[href^="http"]::after { content: ''; }
  section { break-inside: auto; } h2 { break-after: avoid; }
}
