:root {
  --black: #090909;
  --ink: #111111;
  --white: #f4f2ed;
  --muted: #a8a8a2;
  --gold: #c6a45e;
  --gold-bright: #e2c57f;
  --line: rgba(255,255,255,.15);
  --shell: min(1600px, calc(100vw - 112px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; color: var(--white); background: var(--black); font-family: Manrope, Arial, sans-serif; overflow-x: hidden; }
body[dir="rtl"] { font-family: "Noto Kufi Arabic", Manrope, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: -.025em; text-transform: none; }
[dir="rtl"] h1 { max-width: 1180px; font-size: clamp(54px, 6.8vw, 116px); line-height: 1.14; }
[dir="rtl"] .hero-line { width: auto; }
[dir="rtl"] .display-title { font-size: clamp(44px, 5.2vw, 88px); line-height: 1.22; }
[dir="rtl"] .section-heading h2 { font-size: clamp(42px, 5vw, 82px); line-height: 1.2; }
[dir="rtl"] .vision-content h2 { font-size: clamp(50px, 6.5vw, 108px); line-height: 1.18; }
[dir="rtl"] .contact h2 { max-width: 900px; font-size: clamp(50px, 6.4vw, 108px); line-height: 1.24; }
[dir="rtl"] .resource-card h3 { font-size: clamp(36px, 3.4vw, 60px); line-height: 1.28; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 148px 0; position: relative; }

.cursor-glow { display: none; }

.site-header { position: fixed; inset: 0 0 auto; height: 88px; z-index: 50; display: flex; align-items: center; gap: 42px; padding: 0 48px; border-bottom: 1px solid rgba(255,255,255,.12); transition: background .35s, height .35s; }
.site-header.scrolled { height: 72px; background: rgba(9,9,9,.88); backdrop-filter: blur(18px); }
.brand { width: 180px; height: 64px; overflow: hidden; display: grid; place-items: center; padding: 4px 8px; box-sizing: border-box; background: #fff; }
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.desktop-nav { display: flex; gap: 25px; margin-inline: auto 0; }
.desktop-nav a { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #dfdfdb; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 -9px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.desktop-nav .hub-nav-link { color: var(--gold-bright); }
.desktop-nav .hub-nav-link::before { content: "↗"; margin-inline-end: 6px; font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { width: 40px; height: 40px; border: 1px solid var(--line); color: var(--white); background: transparent; cursor: pointer; }
.download-cta { border: 1px solid rgba(255,255,255,.35); padding: 13px 16px; color: var(--white); font-size: 10px; font-weight: 800; letter-spacing: .12em; transition: .3s; white-space: nowrap; }
.download-cta b { margin-inline-start: 7px; color: var(--gold-bright); }
.download-cta:hover { border-color: var(--gold); background: rgba(198,164,94,.12); }
.nav-cta { border: 1px solid var(--gold); padding: 13px 18px; color: var(--gold-bright); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: .3s; }
.nav-cta:hover { color: var(--black); background: var(--gold); }
.menu-button, .mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #080808; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #080808 0%, rgba(8,8,8,.96) 35%, rgba(8,8,8,.38) 72%, rgba(8,8,8,.18) 100%), linear-gradient(0deg, #080808 0%, transparent 38%); z-index: 1; pointer-events: none; }
.hero-media { position: absolute; inset: 0; background-image: url("assets/engex-contact-hero.jpg"); background-size: cover; background-position: 60% center; filter: grayscale(1) contrast(1.12) brightness(.72); transform: scale(1.015); animation: heroDrift 24s ease-in-out infinite alternate; }
.hero-grid, .hero-orbit { display: none; }
.hero-content { position: relative; z-index: 3; padding: 178px 0 74px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold-bright); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; }
h1 { margin: 30px 0 48px; max-width: 1050px; font-size: clamp(58px, 7.8vw, 132px); line-height: .84; letter-spacing: -.062em; text-transform: uppercase; }
.hero-line { display: block; width: max-content; }
.hero-line.outline { color: var(--white); -webkit-text-stroke: 0; margin-left: 0; }
.hero-line.gold { color: var(--gold-bright); margin: 24px 0 0; font-size: .38em; line-height: 1; letter-spacing: .035em; }
[dir="rtl"] .hero-line.outline, [dir="rtl"] .hero-line.gold { margin-left: 0; margin-right: 0; }
.hero-lower { display: flex; align-items: end; justify-content: space-between; max-width: 850px; margin-left: 0; gap: 48px; }
.hero-lower p { max-width: 590px; color: #c4c3bd; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.7; margin: 0; }
.magnetic-button { flex: 0 0 auto; min-width: 210px; height: auto; border: 1px solid rgba(255,255,255,.5); border-radius: 0; display: flex; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding: 17px 20px; color: white; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transition: background .35s, color .35s, border-color .35s, transform .2s; }
.magnetic-button b { margin: 0 0 0 20px; color: var(--gold); font-size: 18px; font-weight: 400; }
.magnetic-button:hover { background: var(--gold); color: var(--black); }
.hero-rail { position: absolute; right: 30px; top: 42%; display: flex; align-items: center; gap: 14px; z-index: 3; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .24em; color: #aaa; }
.hero-rail i { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); }

.statement { background: var(--white); color: var(--ink); }
.statement-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.section-index { font-size: 11px; letter-spacing: .22em; font-weight: 800; color: var(--gold); text-transform: uppercase; }
.kicker { margin: 0 0 24px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.display-title { max-width: 1200px; font-size: clamp(46px, 6.2vw, 108px); line-height: .98; letter-spacing: -.055em; margin: 0; }
.lead { max-width: 790px; margin: 48px 0 0 auto; font-size: clamp(18px, 1.7vw, 27px); color: #4a4a47; line-height: 1.65; }

.services { background: #0b0b0b; }
.section-heading { display: flex; justify-content: space-between; gap: 70px; align-items: end; margin-bottom: 72px; }
.section-heading h2 { max-width: 900px; margin: 20px 0 0; font-size: clamp(48px, 6vw, 100px); line-height: .95; letter-spacing: -.055em; }
.section-heading > p { max-width: 390px; color: var(--muted); line-height: 1.7; }
.service-stack { border-top: 1px solid var(--line); }
.service-card { min-height: 180px; display: grid; grid-template-columns: 100px minmax(360px,1fr) 290px 70px; gap: 32px; align-items: center; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: padding .35s, background .35s; }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(198,164,94,.12), transparent); transform: translateX(-105%); transition: transform .5s; }
.service-card:hover::before { transform: translateX(0); }
.service-number { color: var(--gold); font-size: 12px; letter-spacing: .15em; }
.service-copy { position: relative; z-index: 1; }
.service-copy h3 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 42px); letter-spacing: -.035em; }
.service-copy p { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.6; }
.service-card img { width: 100%; height: 112px; object-fit: cover; filter: grayscale(1); opacity: .62; transform: scale(1.03); transition: filter .4s, opacity .4s, transform .5s; }
.service-card:hover img { filter: grayscale(.2); opacity: 1; transform: scale(1.08); }
.card-arrow { font-size: 30px; justify-self: end; color: var(--gold); transition: transform .3s; }
.service-card:hover .card-arrow { transform: translate(6px,-6px); }
.service-card-link { color: inherit; }
.service-card-hub { min-height: 220px; border: 1px solid rgba(198,164,94,.48); border-top-width: 2px; background: linear-gradient(90deg, rgba(198,164,94,.14), rgba(198,164,94,.025) 58%, transparent); }
.service-card-hub::after { content: "ENGEX HUB"; position: absolute; inset-inline-end: 30%; bottom: -20px; color: rgba(198,164,94,.075); font-size: clamp(66px, 8vw, 130px); font-weight: 800; letter-spacing: -.08em; white-space: nowrap; pointer-events: none; }
.service-card-hub .service-copy, .service-card-hub img, .service-card-hub .card-arrow, .service-card-hub .service-number { position: relative; z-index: 1; }
.service-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--gold-bright); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.service-badge::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.numbers { border-block: 1px solid var(--line); background: #0d0d0d; }
.number-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.number-card { min-height: 260px; display: flex; flex-direction: column; justify-content: center; padding: 42px; border-right: 1px solid var(--line); }
[dir="rtl"] .number-card { border-right: 0; border-left: 1px solid var(--line); }
.number-card:last-child { border-inline-end: 0; }
.number-card strong { color: var(--white); font-size: clamp(70px, 7vw, 124px); line-height: .8; letter-spacing: -.07em; font-weight: 500; }
.number-card span { margin-top: 30px; color: #c6c5c0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }

.resources { background: var(--white); color: var(--ink); }
.resources .section-heading > p { color: #555550; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #cbc6bb; border-left: 1px solid #cbc6bb; }
.resource-card { min-height: 520px; padding: 46px; border-right: 1px solid #cbc6bb; border-bottom: 1px solid #cbc6bb; position: relative; display: flex; flex-direction: column; overflow: hidden; background: #f4f2ed; transition: background .35s, color .35s; }
[dir="rtl"] .resource-grid { border-left: 0; border-right: 1px solid #cbc6bb; }
[dir="rtl"] .resource-card { border-right: 0; border-left: 1px solid #cbc6bb; }
.resource-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(198,164,94,.18), transparent 46%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.resource-card:hover::before { opacity: 1; }
.resource-card > * { position: relative; z-index: 1; }
.resource-downloads { grid-row: span 2; min-height: 760px; background: #111; color: white; border-color: #2f2f2c; }
.resource-topline { display: flex; justify-content: space-between; align-items: center; color: #937333; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.resource-downloads .resource-topline { color: var(--gold-bright); }
.resource-card h3 { margin: 62px 0 22px; max-width: 620px; font-size: clamp(38px, 4vw, 72px); line-height: .96; letter-spacing: -.05em; }
.resource-card > p { max-width: 640px; margin: 0; color: #62625d; line-height: 1.7; }
.resource-downloads > p { color: #aaa9a3; }
.profile-edition { margin-top: auto; padding-top: 60px; display: flex; align-items: end; justify-content: space-between; gap: 25px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 26px; }
.profile-edition strong { color: var(--gold-bright); font-size: clamp(74px, 8vw, 144px); font-weight: 500; line-height: .8; letter-spacing: -.08em; }
.profile-edition span { max-width: 190px; color: #9b9a94; font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; text-align: end; }
.download-all { margin-top: 32px; padding: 19px 21px; background: var(--gold); color: #111; display: flex; justify-content: space-between; align-items: center; gap: 28px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.code-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 42px; }
.code-chips span { border: 1px solid #c9c4b9; padding: 9px 11px; color: #706c63; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.resource-link { margin-top: auto; padding-top: 42px; display: flex; justify-content: space-between; align-items: center; color: #916f32; }
.resource-link i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.resource-link b { font-size: 24px; font-weight: 400; transition: transform .3s; }
a.resource-card:hover .resource-link b { transform: translate(6px,-6px); }
.tool-list { margin-top: auto; padding-top: 40px; }
.tool-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid #cbc6bb; font-weight: 700; }
.tool-list a:last-child { border-bottom: 1px solid #cbc6bb; }
.tool-list b { color: #997537; font-size: 18px; font-weight: 400; }
.academy-mark { margin: 48px 0 12px; border-left: 3px solid var(--gold); padding-left: 20px; display: flex; flex-direction: column; }
[dir="rtl"] .academy-mark { border-left: 0; border-right: 3px solid var(--gold); padding-left: 0; padding-right: 20px; }
.academy-mark span { font-size: 12px; font-weight: 800; letter-spacing: .28em; color: #7a776f; }
.academy-mark strong { font-size: clamp(32px, 3.5vw, 58px); letter-spacing: -.05em; }
.resource-academy { grid-column: 1 / -1; min-height: 440px; padding-inline-end: 52%; background: linear-gradient(100deg, #ece9e1 0 52%, #111 52%); }
.resource-academy::after { content: "ENGEX\A ACADEMY"; white-space: pre; position: absolute; inset-inline-end: 7%; top: 50%; transform: translateY(-50%); color: var(--gold-bright); font: 800 clamp(34px, 5vw, 78px)/.95 Manrope, sans-serif; letter-spacing: -.055em; }
.resource-academy > * { max-width: 620px; }
.resource-disclaimer { max-width: 900px; margin: 28px 0 0 auto; color: #6f6e68; font-size: 12px; line-height: 1.7; }

.delivery { background: var(--white); color: var(--ink); }
.delivery .section-heading > p { color: #555550; }
.structure-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d8d4cb; }
.structure-card { padding: 48px; min-height: 430px; border-right: 1px solid #d8d4cb; position: relative; transition: background .35s, color .35s; }
[dir="rtl"] .structure-card { border-right: 0; border-left: 1px solid #d8d4cb; }
.structure-card:last-child { border-inline-end: 0; }
.structure-card.featured { background: var(--ink); color: var(--white); }
.structure-card > span { color: var(--gold); font-size: 11px; letter-spacing: .2em; }
.structure-card h3 { margin: 58px 0 50px; max-width: 320px; font-size: clamp(26px, 2.7vw, 45px); line-height: 1.05; letter-spacing: -.045em; }
.structure-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.structure-card li { color: #64645f; padding-bottom: 13px; border-bottom: 1px solid #d8d4cb; font-size: 14px; }
.structure-card.featured li { color: #b8b7b1; border-color: rgba(255,255,255,.14); }
.process-line { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 18px; margin-top: 74px; }
.process-line div { text-align: center; }
.process-line b { width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 12px; border: 1px solid var(--gold); border-radius: 50%; color: #926f31; font-size: 11px; }
.process-line span { font-weight: 800; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.process-line i { height: 1px; background: linear-gradient(90deg, var(--gold), #dad6cc); transform: translateY(-12px); }

.projects { background: #0a0a0a; }
.project-intro { margin-bottom: 92px; }
.projects .display-title { max-width: 1350px; margin-top: 24px; }
.projects .lead { margin-right: 8%; }
.project-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.project-tabs { display: flex; gap: 8px; }
.project-tab { padding: 18px 26px; border: 0; background: transparent; color: #7f7f79; font-size: 12px; font-weight: 800; letter-spacing: .14em; cursor: pointer; border-bottom: 2px solid transparent; }
.project-tab.active { color: var(--gold-bright); border-bottom-color: var(--gold); }
.project-search { min-width: min(420px, 100%); display: flex; align-items: center; gap: 14px; padding-bottom: 13px; border-bottom: 1px solid #555; }
.project-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font: inherit; font-size: 14px; }
.project-search input::placeholder { color: #777771; }
.project-search b { color: var(--gold); font-size: 22px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-card { min-height: 250px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.project-card::before { content: ""; position: absolute; inset: 100% 0 0; background: #f0eee8; transition: inset .45s cubic-bezier(.16,1,.3,1); }
.project-card:hover::before { inset: 0; }
.project-card > * { position: relative; z-index: 1; transition: color .3s; }
.project-card:hover * { color: #111 !important; }
.project-card small { color: var(--gold); font-size: 10px; letter-spacing: .18em; font-weight: 800; }
.project-card h3 { margin: 28px 0 18px; max-width: 430px; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.25; letter-spacing: -.025em; }
.project-card footer { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.project-card footer span { color: #8f8e88; font-size: 12px; line-height: 1.5; }
.project-card footer b { color: var(--gold); font-size: 20px; font-weight: 400; }
.empty-projects { grid-column: 1 / -1; padding: 80px 30px; text-align: center; color: #8e8d87; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.load-more { margin: 42px auto 0; border: 1px solid var(--gold); background: transparent; color: var(--gold-bright); min-width: 250px; padding: 17px 22px; display: flex; justify-content: center; align-items: center; gap: 30px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.load-more:hover { background: var(--gold); color: #111; }
.load-more.hidden { display: none; }

.credentials { background: #111; }
.iso-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.iso-card { min-height: 540px; background: #171717; border: 1px solid var(--line); position: relative; overflow: hidden; }
.iso-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .35s; pointer-events: none; }
.iso-card:hover::after { box-shadow: inset 0 0 0 1px var(--gold); }
.iso-card img { width: 100%; height: 420px; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); opacity: .82; transition: filter .4s, transform .5s, opacity .4s; }
.iso-card:hover img { filter: grayscale(.1); transform: scale(1.025); opacity: 1; }
.iso-card div { padding: 28px 30px; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.iso-card strong { color: var(--gold-bright); font-size: 24px; }
.iso-card span { color: #91918b; text-align: right; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.official-doc-heading { margin-top: 86px; padding-top: 36px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; gap: 60px; scroll-margin-top: 110px; }
.official-doc-heading > div > span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.official-doc-heading h3 { margin: 16px 0 0; font-size: clamp(34px, 3.7vw, 62px); letter-spacing: -.045em; }
.official-doc-heading p { max-width: 520px; margin: 0; color: #989791; font-size: 13px; line-height: 1.8; }
.official-doc-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
[dir="rtl"] .official-doc-grid { border-left: 0; border-right: 1px solid var(--line); }
.official-doc-grid a { min-height: 186px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template: "number body" auto "format body" 1fr / 34px minmax(0, 1fr); column-gap: 20px; row-gap: 18px; align-items: start; position: relative; overflow: hidden; transition: background .3s, color .3s; }
[dir="rtl"] .official-doc-grid a { border-right: 0; border-left: 1px solid var(--line); }
.official-doc-grid a::before { content: ""; position: absolute; inset: 100% 0 0; background: var(--gold); transition: inset .35s cubic-bezier(.16,1,.3,1); }
.official-doc-grid a:hover::before { inset: 0; }
.official-doc-grid a > * { position: relative; z-index: 1; }
.official-doc-grid small { grid-area: number; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.official-doc-grid a > div { grid-area: body; }
.official-doc-grid strong { display: block; color: #e3e1da; font-size: 17px; line-height: 1.55; }
.official-doc-grid span { display: block; margin-top: 14px; color: #85847e; font-size: 11px; line-height: 1.55; }
.official-doc-grid b { grid-area: format; align-self: end; color: var(--gold-bright); font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
.official-doc-grid a:hover small, .official-doc-grid a:hover strong, .official-doc-grid a:hover span, .official-doc-grid a:hover b { color: #111; }
.official-doc-grid .profile-document { grid-column: 1 / -1; min-height: 210px; background: linear-gradient(110deg, rgba(198,164,94,.2), rgba(198,164,94,.035) 55%, transparent); border-top: 2px solid var(--gold); }
.official-doc-grid .profile-document strong { color: var(--gold-bright); font-size: clamp(22px, 2.4vw, 38px); }
.official-doc-grid .profile-document b { font-size: 12px; }
.credential-note { margin: 36px 0 0 auto; max-width: 650px; color: #85847e; font-size: 13px; line-height: 1.7; }

.vision-panel { min-height: 92svh; position: relative; display: grid; align-items: end; overflow: hidden; }
.vision-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.25)), linear-gradient(0deg, #090909 0%, transparent 55%), url("assets/engex-field-team-safety-boots.png") center / cover; }
.vision-content { position: relative; z-index: 1; padding-bottom: 100px; }
.vision-content h2 { max-width: 1100px; margin: 24px 0 32px; font-size: clamp(54px, 8vw, 138px); line-height: .88; letter-spacing: -.065em; }
.vision-content p { max-width: 680px; margin: 0 0 0 auto; color: #cac8c1; font-size: clamp(17px, 1.45vw, 23px); line-height: 1.65; }

.contact { background: var(--white); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; }
.contact h2 { margin: 26px 0 38px; font-size: clamp(64px, 8vw, 140px); line-height: .84; letter-spacing: -.07em; }
.contact h2 + p { max-width: 700px; color: #53534f; font-size: 19px; line-height: 1.65; }
.contact-links { margin-top: 58px; border-top: 1px solid #d1cec6; }
.contact-links a { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #d1cec6; }
.contact-links small { color: #9a793c; font-weight: 800; letter-spacing: .13em; }
.contact-links span { font-weight: 700; }
.contact-form { align-self: start; background: #111; color: white; padding: 48px; }
.contact-form label { display: block; margin-bottom: 28px; }
.contact-form label > span { display: block; color: #aeadac; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #4a4a46; outline: 0; background: transparent; color: white; padding: 10px 0 14px; resize: vertical; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--gold); }
.contact-form button { width: 100%; border: 0; background: var(--gold); color: #111; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 800; cursor: pointer; }

.site-footer { background: #080808; padding: 58px 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 220px 1fr 1fr 60px; gap: 50px; align-items: end; }
.footer-grid img { width: 190px; }
.footer-grid p { margin: 0; color: #d0cec8; font-size: 20px; line-height: 1.4; }
[dir="rtl"] .footer-grid p { text-align: right; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; color: #777771; font-size: 12px; }
.footer-grid > a { width: 56px; height: 56px; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: .1s; }
.hero-line:nth-child(1) { transition-delay: .18s; }
.hero-line:nth-child(2) { transition-delay: .28s; }
.hero-line:nth-child(3) { transition-delay: .38s; }

@keyframes heroDrift { to { transform: scale(1.12) translate3d(-1.2%, -.8%, 0); } }
@keyframes rotateSlow { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 40px, 760px); }
  .site-header { padding: 0 20px; }
  .desktop-nav, .nav-cta { display: none; }
  .header-actions { margin-left: auto; }
  [dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
  .menu-button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; display: grid; place-content: center; gap: 6px; }
  .menu-button span { width: 18px; height: 1px; background: white; transition: .3s; }
  .mobile-menu { position: fixed; inset: 72px 0 auto; background: rgba(9,9,9,.96); backdrop-filter: blur(18px); padding: 28px 24px 38px; flex-direction: column; gap: 24px; border-bottom: 1px solid var(--line); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 20px; font-weight: 700; }
  .mobile-menu .hub-nav-link { color: var(--gold-bright); }
  .hero-content { padding-top: 160px; }
  h1 { font-size: clamp(54px, 14vw, 112px); }
  .hero-line.outline, .hero-line.gold { margin-left: 0; }
  .hero-lower { align-items: flex-start; flex-direction: column; margin-left: 0; }
  .magnetic-button { width: 142px; height: 142px; }
  .hero-rail, .cursor-glow { display: none; }
  .statement-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .service-card { grid-template-columns: 48px 1fr 72px; padding: 30px 0; }
  .service-card img { display: none; }
  .service-card-hub { min-height: 250px; padding-inline: 18px; }
  .service-card-hub::after { display: none; }
  .number-grid { grid-template-columns: repeat(2, 1fr); }
  .number-card { min-height: 210px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-downloads { grid-row: auto; min-height: 650px; }
  .structure-grid, .iso-grid { grid-template-columns: 1fr; }
  .structure-card { border-right: 0; border-bottom: 1px solid #d8d4cb; min-height: 360px; }
  [dir="rtl"] .structure-card { border-left: 0; }
  .process-line { grid-template-columns: repeat(5, 1fr); }
  .process-line i { display: none; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-toolbar { align-items: stretch; flex-direction: column; border-bottom: 0; }
  .project-tabs { border-bottom: 1px solid var(--line); }
  .iso-card { min-height: 420px; }
  .iso-card img { height: 330px; }
  .official-doc-heading { align-items: flex-start; flex-direction: column; }
  .official-doc-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .brand { width: 126px; height: 66px; padding: 0; overflow: visible; }
  .site-header { gap: 8px; padding-inline: 12px; }
  .header-actions { gap: 7px; }
  .language-switch { width: 36px; height: 36px; }
  .download-cta { padding: 11px 9px; font-size: 8px; letter-spacing: .08em; }
  .download-cta b { margin-inline-start: 3px; }
  .menu-button { width: 36px; height: 36px; }
  .section { padding: 96px 0; }
  h1 { font-size: clamp(48px, 15.5vw, 82px); line-height: .84; }
  .hero-content { padding-bottom: 48px; }
  .hero-lower { gap: 30px; }
  .service-card { grid-template-columns: 34px 1fr 32px; gap: 12px; }
  .service-card-hub { min-height: 280px; padding-inline: 12px; }
  .service-copy h3 { font-size: 24px; }
  .number-grid, .project-grid { grid-template-columns: 1fr; }
  .number-card { border-right: 0; border-bottom: 1px solid var(--line); }
  [dir="rtl"] .number-card { border-left: 0; }
  .structure-card { padding: 32px; }
  .resource-card { min-height: 460px; padding: 30px 24px; }
  .resource-downloads { min-height: 620px; }
  .resource-card h3 { margin-top: 45px; }
  .resource-academy { padding-inline-end: 24px; background: #ece9e1; }
  .resource-academy::after { display: none; }
  [dir="rtl"] h1 { font-size: clamp(44px, 12.5vw, 68px); line-height: 1.18; }
  [dir="rtl"] .display-title, [dir="rtl"] .section-heading h2 { font-size: clamp(38px, 10.5vw, 58px); line-height: 1.27; }
  [dir="rtl"] .vision-content h2, [dir="rtl"] .contact h2 { font-size: clamp(42px, 11vw, 64px); line-height: 1.3; }
  .process-line { grid-template-columns: 1fr; gap: 28px; }
  .project-tabs { flex-direction: column; }
  .project-tab { text-align: left; }
  [dir="rtl"] .project-tab { text-align: right; }
  .project-search { min-width: 100%; }
  .project-card { min-height: 220px; }
  .iso-card img { height: 250px; }
  .official-doc-grid { grid-template-columns: 1fr; }
  .official-doc-grid a { min-height: 154px; padding: 24px 20px; }
  .contact-form { padding: 30px 22px; }
  .contact-links a { grid-template-columns: 1fr; gap: 7px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
