/* Gulf Trade — site stylesheet */

/* ---------- Tokens ---------- */

:root {
  --bg: #ffffff;
  --bg-2: #f5f4f0;
  --bg-3: #e9e7e1;
  --ink: #0d1b2a;
  --ink-2: #3a4655;
  --ink-3: #66717f;
  --line: #e1dfd8;
  --line-2: #c9c6bd;
  --brand: #0f2a45;
  --brand-hover: #173a5e;
  --brand-ink: #ffffff;
  --accent: #c9a227;
  --accent-text: #8a6a0f;
  --focus: #c9a227;
  --dark-panel: #0f2a45;
  --footer: #0a1724;
  --shadow: 0 12px 32px rgba(13, 27, 42, .10);

  --font: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(64px, 8vw, 112px);
  --radius: 2px;
  --hdr-h: 76px;
}

[data-theme="dark"] {
  --bg: #0b131d;
  --bg-2: #101a26;
  --bg-3: #172331;
  --ink: #edf0f3;
  --ink-2: #b6bfca;
  --ink-3: #8691a0;
  --line: #1f2c3b;
  --line-2: #2f3f52;
  --brand: #e8ecf0;
  --brand-hover: #ffffff;
  --brand-ink: #0b131d;
  --accent-text: #d4ad3d;
  --dark-panel: #13263a;
  --footer: #070e16;
  --shadow: 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

html[lang="ar"] { --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { line-height: 1.8; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
table { border-collapse: collapse; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--brand); color: var(--brand-ink); padding: 10px 16px;
}
.skip:focus { top: 12px; }

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

.i { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .i-arrow { transform: scaleX(-1); }

/* ---------- Type ---------- */

.h2 {
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
html[lang="ar"] .h2 { letter-spacing: 0; line-height: 1.4; font-weight: 600; }
html[lang="ar"] .h3 { line-height: 1.5; }

.eyebrow {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 14px;
}

.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose .h3 { margin-bottom: 16px; color: var(--ink); }
.prose .link-arrow { margin-top: 28px; }
.muted { color: var(--ink-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover .i { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .i { transform: scaleX(-1) translateX(3px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn .i { width: 17px; height: 17px; transition: transform .2s; }
.btn:hover .i-arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .i-arrow { transform: scaleX(-1) translateX(3px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .875rem; }

.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: #0d1b2a; }
.btn-light:hover { background: #ebe8e0; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .18s;
}
.icon-btn:hover { border-color: var(--line-2); }
.i-moon { display: none; }
[data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: block; }

/* ---------- Utility bar ---------- */

.utility { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); }
.utility-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 24px; }
.utility-list { display: flex; align-items: center; gap: 24px; }
.utility-list a { display: inline-flex; align-items: center; gap: 6px; transition: color .18s; }
.utility-list a:hover { color: var(--ink); }
.utility-list .i { width: 15px; height: 15px; }
.lang-link { font-weight: 600; }

/* Profile download menu */
.dl { position: relative; display: inline-block; }
.dl-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: color .18s; }
.dl-trigger:hover, .dl-trigger[aria-expanded="true"] { color: var(--ink); }
.dl-trigger .i { width: 15px; height: 15px; }
.dl .i-chev { width: 14px; height: 14px; transition: transform .2s; }
.dl [aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.dl-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 130;
  min-width: 230px; margin: 0; padding: 6px; list-style: none;
  background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(13, 27, 42, .16);
}
.dl-menu a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 11px 12px; color: var(--ink); font-size: .875rem; transition: background .15s; }
.dl-menu a:hover, .dl-menu a:focus-visible { background: var(--bg-2); }
.dl-menu li + li { border-top: 1px solid var(--line); }
.dl-lang { font-weight: 600; }
.dl-lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", var(--font); }
.dl-lang[lang="en"] { font-family: "IBM Plex Sans", var(--font); }
.dl-meta { font-size: .75rem; color: var(--ink-3); white-space: nowrap; }
.band .dl { margin-top: 32px; }
.band .dl .btn { margin-top: 0; }
.band .dl-menu, .drawer .dl-menu { inset-inline-end: auto; inset-inline-start: 0; }
.drawer .dl, .drawer .dl .btn { width: 100%; }
.drawer .dl-menu { top: auto; bottom: calc(100% + 8px); width: 100%; }

/* ---------- Header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.hdr.is-scrolled { box-shadow: 0 1px 14px rgba(0, 0, 0, .07); }
.hdr-in { display: flex; align-items: center; gap: 32px; height: var(--hdr-h); }

.logo { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.logo .mark { width: 38px; height: 38px; fill: var(--accent); }
.logo-rule { width: 1px; height: 32px; background: var(--line-2); }
.logo-words { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: .9375rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.logo-alt { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: .8125rem; color: var(--ink-3); margin-top: 3px; }
html[lang="ar"] .logo-name { font-size: 1.0625rem; letter-spacing: 0; }
html[lang="ar"] .logo-alt { font-family: "IBM Plex Sans", sans-serif; font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }

.nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: stretch; height: var(--hdr-h); }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 4px;
  height: 100%; padding: 0 14px;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
}
.nav-link .i-chev { width: 16px; height: 16px; color: var(--ink-3); transition: transform .2s; }
.nav-link::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.hdr-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

/* Mega menu */
.mega {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s, transform .18s;
}
.has-mega:hover .i-chev, .has-mega.is-open .i-chev { transform: rotate(180deg); }
.mega-in { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding-block: 40px 44px; }
.mega-title { font-size: 1.375rem; font-weight: 500; margin-bottom: 12px; }
.mega-intro p:not(.mega-title) { color: var(--ink-2); font-size: .9375rem; margin-bottom: 24px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
.mega-grid a { display: block; padding: 12px 14px; margin-inline: -14px; border-radius: var(--radius); transition: background-color .15s; }
.mega-grid a:hover { background: var(--bg-2); }
.mega-name { display: block; font-weight: 600; font-size: .9375rem; }
.mega-desc { display: block; color: var(--ink-3); font-size: .84375rem; line-height: 1.45; margin-top: 2px; }

/* Drawer (mobile) */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--bg); overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
}
.drawer[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; height: var(--hdr-h); border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding-block: 12px; }
.drawer-nav > a { padding: 16px 0; font-size: 1.25rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.drawer-sub { padding: 8px 0 12px; border-bottom: 1px solid var(--line); }
.drawer-sub a { display: block; padding: 8px 0; color: var(--ink-2); }
.drawer-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.drawer-foot .lang-link { text-align: center; padding: 12px; }

/* ---------- Home hero ---------- */

.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 800px);
  display: flex; color: #fff; background: #0a1724;
}
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before, .phero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 13, 21, .78) 0%, rgba(6, 13, 21, .45) 45%, rgba(6, 13, 21, .05) 80%),
    linear-gradient(0deg, rgba(6, 13, 21, .7) 0%, rgba(6, 13, 21, 0) 55%);
}
[dir="rtl"] .hero::before, [dir="rtl"] .phero::before {
  background:
    linear-gradient(270deg, rgba(6, 13, 21, .78) 0%, rgba(6, 13, 21, .45) 45%, rgba(6, 13, 21, .05) 80%),
    linear-gradient(0deg, rgba(6, 13, 21, .7) 0%, rgba(6, 13, 21, 0) 55%);
}
.hero-in { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding-top: 120px; }
.hero-copy { max-width: 760px; padding-bottom: 64px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -.025em;
}
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.3; font-weight: 600; }
.hero-copy p { margin-top: 24px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 620px; }
.hero .btn-row { margin-top: 36px; }

.hero-latest {
  display: flex; align-items: center; gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding: 22px 0 26px; font-size: .9375rem;
  color: rgba(255, 255, 255, .9);
}
.hero-latest-label { color: var(--accent); font-weight: 600; flex: none; }
.hero-latest-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-latest .i { width: 16px; height: 16px; transition: transform .2s; }
.hero-latest:hover .hero-latest-title { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Page hero / head ---------- */

.phero {
  position: relative; isolation: isolate; color: #fff; background: #0a1724;
  min-height: clamp(360px, 48vh, 480px); display: flex; align-items: flex-end;
}
.phero-in { width: 100%; padding-block: 120px 56px; }
.phero h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; max-width: 900px; }
html[lang="ar"] .phero h1 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.phero-lede { margin-top: 18px; font-size: 1.1875rem; color: rgba(255, 255, 255, .86); max-width: 680px; }

.phead { background: var(--bg-2); border-bottom: 1px solid var(--line); padding-block: 56px 60px; }
.phead h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; max-width: 900px; }
html[lang="ar"] .phead h1 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
.phead-lede { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); max-width: 720px; }
.phead-article h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.phead-article .meta { margin-bottom: 16px; }

.crumbs { margin-bottom: 28px; font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li { display: flex; gap: 8px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li[aria-current] { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phero .crumbs li { color: rgba(255, 255, 255, .7); }
.phero .crumbs li + li::before { color: rgba(255, 255, 255, .4); }
.phero .crumbs a:hover { color: #fff; }
.phero .crumbs li[aria-current] { color: #fff; }

/* ---------- Sections ---------- */

.section { padding-block: var(--sec); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-alt { background: var(--bg-2); }
.section-tight + .section-tight { padding-top: 0; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.sec-title { margin-bottom: 40px; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .prose { font-size: 1.125rem; }

/* Figures */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 88px); }
.figure { display: flex; flex-direction: column-reverse; justify-content: flex-end; border-top: 1px solid var(--line-2); padding-top: 22px; }
.figure dd { font-size: clamp(2.25rem, 3.6vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
html[lang="ar"] .figure dd { letter-spacing: 0; }
.figure dt { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }

/* Cards */
.cards { display: grid; gap: 48px 28px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card a { display: block; height: 100%; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.card a:hover .card-media img { transform: scale(1.035); }
.card-body { padding-top: 20px; }
.card-body h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.35; }
.card-body p:not(.meta) { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
.card-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: .9375rem; font-weight: 500; color: var(--ink);
}
.card-more .i { width: 16px; height: 16px; transition: transform .2s; }
.card a:hover .card-more .i { transform: translateX(3px); }
[dir="rtl"] .card a:hover .card-more .i { transform: scaleX(-1) translateX(3px); }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.card-post .card-media { aspect-ratio: 16 / 10; }
.card-post h3 { font-size: 1.25rem; font-weight: 500; }
html[lang="ar"] .card-post h3 { font-weight: 600; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84375rem; color: var(--ink-3); margin-bottom: 10px; }
.meta span { color: var(--accent-text); font-weight: 600; }

.cards-feature { margin-bottom: 64px; }
.card-feature a { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.card-feature .card-media { aspect-ratio: 16 / 10; }
.card-feature .card-body { padding-top: 0; }
.card-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; }
.card-feature p:not(.meta) { font-size: 1.0625rem; margin-top: 14px; }

/* Feature split (location) */
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); }
.feature-media { min-height: 560px; background: #0a1724; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 80px); max-width: 680px; }
.feature-text { margin-top: 20px; color: var(--ink-2); font-size: 1.0625rem; }
.feature .table-wrap { margin-block: 36px; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.spec { width: 100%; min-width: 560px; font-size: .9375rem; }
.spec th, .spec td { text-align: start; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec th:first-child, .spec td:first-child { padding-inline-start: 0; }
.spec thead th { font-size: .8125rem; font-weight: 600; color: var(--ink-3); padding-block: 14px; border-bottom-color: var(--line-2); }
.spec tbody th { font-weight: 600; color: var(--ink); }
.spec tbody td { color: var(--ink-2); }
.spec a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.spec-compact { min-width: 0; }
.spec-compact th, .spec-compact td { padding: 13px 16px; }
.section-alt .spec tbody tr:hover, .spec tbody tr:hover { background: color-mix(in srgb, var(--bg-3) 45%, transparent); }
.table-note { margin-top: 16px; font-size: .875rem; color: var(--ink-3); }

/* Division overview */
.overview { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.overview .prose { font-size: 1.125rem; }
.glance { border: 1px solid var(--line); padding: 32px; background: var(--bg); }
.glance .h3 { margin-bottom: 8px; }
.glance dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.glance dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance dt { color: var(--ink-3); font-size: .875rem; }
.glance dd { font-size: .9375rem; font-weight: 500; }

/* Enquiry band */
.enquire {
  display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: center;
  border: 1px solid var(--line); border-inline-start: 3px solid var(--accent);
  padding: clamp(28px, 4vw, 48px);
}
.enquire p { margin-top: 10px; color: var(--ink-2); max-width: 640px; }
.enquire-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.enquire-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .9375rem; }
.enquire-mail:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.enquire-mail .i { width: 17px; height: 17px; }

/* Link list */
.linklist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.linklist a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 0; border-top: 1px solid var(--line); font-weight: 500;
  transition: color .15s;
}
.linklist .i { width: 16px; height: 16px; color: var(--ink-3); transition: transform .2s, color .2s; }
.linklist a:hover { color: var(--accent-text); }
.linklist a:hover .i { color: var(--accent-text); transform: translateX(3px); }
[dir="rtl"] .linklist a:hover .i { transform: scaleX(-1) translateX(3px); }

/* Trade overview rows */
.trows { display: flex; flex-direction: column; }
.trow { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; padding-top: 0; }
.trow:nth-child(even) .trow-media { order: 2; }
.trow-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-3); }
.trow-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .6, .2, 1); }
.trow-media:hover img { transform: scale(1.03); }
.trow h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.2; }
html[lang="ar"] .trow h2 { font-weight: 600; line-height: 1.45; }
.trow h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.trow-body p { margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; max-width: 560px; }
.trow-body .trow-meta { font-size: .9375rem; color: var(--ink-3); }
.trow-body .link-arrow { margin-top: 24px; }

/* About */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.principles li { border-top: 2px solid var(--ink); padding-top: 22px; }
.principles h3 { font-size: 1.125rem; font-weight: 600; }
.principles p { margin-top: 10px; color: var(--ink-2); font-size: .9375rem; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; inset-inline-start: 0;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  font-size: .875rem; font-weight: 600; background: var(--bg);
}
.steps li::after {
  content: ""; position: absolute; top: 18px; inset-inline-start: 48px; inset-inline-end: -16px;
  height: 1px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.0625rem; font-weight: 600; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }

/* Closing bands */
.bands { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.band { padding: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; align-items: flex-start; }
.band h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.2; }
html[lang="ar"] .band h2 { font-weight: 600; line-height: 1.45; }
.band p { margin-top: 12px; max-width: 480px; }
.band .btn { margin-top: 32px; }
.band-meta { font-size: .875rem; }
.band .band-meta { margin-top: 16px; }
.band-dark { background: var(--dark-panel); color: #fff; }
.band-dark p { color: rgba(255, 255, 255, .78); }
.band-dark .band-meta { color: rgba(255, 255, 255, .55); }
.band-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); margin-bottom: 28px; color: var(--accent); }
.band-icon .i { width: 22px; height: 22px; }
.band-light { background: var(--bg-2); border: 1px solid var(--line); }
.band-light p { color: var(--ink-2); }
.band-light .band-meta { color: var(--ink-3); }
.band-light .band-meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.band-light h2 { margin-top: 72px; }

/* Article */
.section-article { padding-top: clamp(40px, 5vw, 64px); }
.article { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.article-figure { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); margin-bottom: 48px; }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.prose-article { font-size: 1.1875rem; line-height: 1.75; max-width: 720px; }
.prose-article p { color: var(--ink); }
.prose-article p + p { margin-top: 1.2em; }
html[lang="ar"] .prose-article { line-height: 1.95; }
.article-aside { position: sticky; top: calc(var(--hdr-h) + 32px); }
.aside-box { border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.aside-label { font-weight: 600; }
.aside-box p:not(.aside-label) { color: var(--ink-2); font-size: .9375rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 7fr 4.5fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.form .h3 { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 8px; }
.req { color: var(--accent-text); margin-inline-start: 3px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 160px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.field [aria-invalid="true"] { border-color: #c2412d; }
.select { position: relative; }
.select select { appearance: none; padding-inline-end: 40px; cursor: pointer; }
.select .i { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-3); }
.hint { margin-top: 6px; font-size: .84375rem; color: var(--ink-3); }
.field-check { display: flex; align-items: flex-start; gap: 12px; }
.field-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.field-check label { font-weight: 400; color: var(--ink-2); margin: 0; font-size: .9375rem; }
.form-status { margin-block: 24px; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; background: var(--bg-2); border-inline-start: 3px solid #2f8a5b; }
.form-status.is-err { padding: 14px 16px; background: var(--bg-2); border-inline-start: 3px solid #c2412d; }
.form .btn { margin-top: 28px; }
.form-status + .btn { margin-top: 0; }

.contact-aside { display: flex; flex-direction: column; gap: 48px; }
.cblock .h3 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.cline { display: flex; gap: 12px; padding-block: 8px; color: var(--ink-2); }
.cline .i { margin-top: 4px; color: var(--ink-3); }
.cline a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.desk-list > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.desk-list dt { color: var(--ink); font-weight: 500; }
.desk-list dd a { color: var(--ink-2); }
.desk-list dd a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.map { border-top: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }
[data-theme="dark"] .map iframe { filter: invert(.92) hue-rotate(180deg) brightness(.95) contrast(.9); }

/* Legal */
.legal { display: flex; flex-direction: column; gap: 64px; max-width: 880px; }
.legal .h3 { margin-bottom: 16px; }
.legal .muted { margin-bottom: 24px; }

/* ---------- Footer ---------- */

.ftr { background: var(--footer); color: #aeb8c4; font-size: .9375rem; padding-block: 72px 32px; }
.ftr .logo-name { color: #fff; }
.ftr .logo-alt { color: #8a96a4; }
.ftr .logo-rule { background: rgba(255, 255, 255, .2); }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; }
.ftr-brand p { margin-top: 24px; max-width: 340px; line-height: 1.65; }
.ftr-h { color: #fff; font-weight: 600; margin-bottom: 18px; }
.ftr-col li + li { margin-top: 10px; }
.ftr a { transition: color .15s; }
.ftr a:hover { color: #fff; }
.ftr address p + p { margin-top: 14px; }
.ftr-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .84375rem; color: #8a96a4;
}
.ftr-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav, .hdr-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-actions { margin-inline-start: auto; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 32px; padding-inline-start: 60px; }
  .steps li::after { top: 44px; bottom: 6px; height: auto; width: 1px; inset-inline-start: 18px; inset-inline-end: auto; }
  .steps li:last-child { padding-bottom: 0; }
  .linklist { grid-template-columns: repeat(2, 1fr); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split, .overview, .contact, .article, .bands, .feature, .card-feature a, .trow { grid-template-columns: 1fr; }
  .trow:nth-child(even) .trow-media { order: 0; }
  .feature-media { min-height: 320px; aspect-ratio: 16 / 10; }
  .feature-body { max-width: none; }
  .cards-3, .cards-2 { grid-template-columns: 1fr 1fr; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .article-aside { position: static; }
  .band-light h2 { margin-top: 0; }
  .card-feature a { gap: 24px; }
}

@media (max-width: 720px) {
  .utility { display: none; }
  body { font-size: 1rem; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .glance dl > div { grid-template-columns: 1fr; gap: 2px; }
  .principles, .linklist { grid-template-columns: 1fr; }
  .enquire { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: 640px; }
  .hero-latest { display: none; }
  .hero-copy { padding-bottom: 48px; }
  .logo-rule, .logo-alt { display: none; }
  .desk-list > div { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
