/* ==========================================================================
   YAJOODA COMPANY FOR TRADING — MAIN STYLESHEET
   Design tokens + base + layout + components + utilities (single file by design)
   ========================================================================== */

/* ---------- Fonts (self-hosted, subset) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/cormorant-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Naskh Arabic';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/naskh-variable.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plexar-400-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plexar-500-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plexar-600-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --c-teal: #0F2F2E;
  --c-teal-700: #143c3a;
  --c-teal-600: #1b4d4a;
  --c-brown: #8B5E3C;
  --c-brown-600: #7a4f31;
  --c-sand: #C19A74;
  --c-beige: #DCC7A7;
  --c-cream: #F6EDE0;
  --c-white: #FFFFFF;

  /* Semantic */
  --bg-page: var(--c-cream);
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #FBF5EC;
  --bg-dark: var(--c-teal);
  --bg-dark-2: var(--c-teal-700);
  --text-primary: var(--c-teal);
  --text-muted: #4A5F5C;
  --text-inverse: var(--c-cream);
  --text-inverse-muted: #AFC3BF;
  --accent: var(--c-brown);
  --accent-2: var(--c-sand);
  --border-subtle: rgba(15, 47, 46, 0.12);
  --border-subtle-inverse: rgba(246, 237, 224, 0.18);
  --focus-ring: #1b4d4a;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lh-tight: 1.15;
  --lh-heading: 1.25;
  --lh-body: 1.65;
  --tracking-caps: 0.12em;

  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --fs-body: clamp(1rem, 0.96rem + 0.15vw, 1.08rem);
  --fs-lead: clamp(1.1rem, 1.02rem + 0.4vw, 1.35rem);
  --fs-h6: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --fs-h5: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
  --fs-h4: clamp(1.35rem, 1.22rem + 0.6vw, 1.65rem);
  --fs-h3: clamp(1.7rem, 1.5rem + 1vw, 2.2rem);
  --fs-h2: clamp(2.1rem, 1.8rem + 1.5vw, 2.9rem);
  --fs-h1: clamp(2.5rem, 2rem + 2.4vw, 4rem);
  --fs-stat: clamp(2.2rem, 1.9rem + 1.6vw, 3.2rem);

  /* Spacing */
  --sp-2xs: 0.375rem;
  --sp-xs: 0.625rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.25rem;
  --sp-xl: 3.5rem;
  --sp-2xl: 5rem;
  --sp-3xl: clamp(4.5rem, 3.8rem + 3vw, 8rem);
  --sp-section: clamp(4rem, 3.2rem + 4vw, 7.5rem);

  /* Layout */
  --container: min(1280px, 92vw);
  --container-narrow: min(860px, 90vw);
  --container-wide: min(1440px, 94vw);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 340ms;
  --dur-slow: 700ms;

  /* Shadow (warm-tinted) */
  --shadow-sm: 0 1px 2px rgba(15, 27, 26, 0.06), 0 1px 1px rgba(15, 27, 26, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(15, 47, 46, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(15, 47, 46, 0.28);

  --header-h: 84px;
}

@media (min-width: 900px) {
  :root { --header-h: 92px; }
}

/* Language-scoped font assignment */
html[lang="en"] {
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
html[lang="ar"] {
  --font-display: 'Noto Naskh Arabic', 'Traditional Arabic', 'Segoe UI', serif;
  --font-body: 'IBM Plex Sans Arabic', Tahoma, 'Segoe UI', sans-serif;
  --lh-body: 1.9;
  --lh-heading: 1.5;
  --tracking-caps: 0;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg-page);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--lh-heading);
  font-weight: 600;
  color: var(--text-primary);
  text-wrap: balance;
}
p { text-wrap: pretty; }
:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--c-sand); color: var(--c-teal); }

/* ---------- Layout primitives ---------- */
.container { width: var(--container); margin-inline: auto; }
.container-narrow { width: var(--container-narrow); margin-inline: auto; }
.container-wide { width: var(--container-wide); margin-inline: auto; }

.section { padding-block: var(--sp-section); position: relative; }
.section-tight { padding-block: var(--sp-2xl); }
.section-dark { background: var(--bg-dark); color: var(--text-inverse); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-inverse); }
.section-alt { background: var(--bg-surface-alt); }
.section-white { background: var(--bg-surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--accent);
}
.section-dark .eyebrow { color: var(--c-sand); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: var(--sp-lg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-brown); color: var(--c-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-brown-600); box-shadow: var(--shadow-md); }
.btn-outline { border-color: currentColor; color: var(--text-primary); background: transparent; }
.btn-outline:hover { background: var(--c-teal); color: var(--c-cream); border-color: var(--c-teal); }
.section-dark .btn-outline,
.hero .btn-outline,
.cta-banner .btn-outline { color: var(--text-inverse); }
.section-dark .btn-outline:hover,
.hero .btn-outline:hover,
.cta-banner .btn-outline:hover { background: var(--c-cream); color: var(--c-teal); border-color: var(--c-cream); }
.btn-ghost-inverse { background: rgba(246,237,224,0.1); color: var(--text-inverse); border-color: var(--border-subtle-inverse); }
.btn-ghost-inverse:hover { background: rgba(246,237,224,0.18); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; min-height: 38px; }
.btn-icon { transition: transform var(--dur) var(--ease); }
.btn:hover .btn-icon { transform: translateX(0.25em); }
[dir="rtl"] .btn-icon { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-icon { transform: scaleX(-1) translateX(0.25em); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 237, 224, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header[data-scrolled="true"] {
  border-color: var(--border-subtle);
  box-shadow: 0 8px 30px -20px rgba(15,47,46,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; flex-shrink: 0; min-height: 44px; }
.brand-mark { width: 42px; height: auto; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--c-teal);
}
html[lang="ar"] .brand-name-main { font-size: 1.2rem; }
.brand-name-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brown);
}
html[lang="ar"] .brand-name-sub { letter-spacing: 0; text-transform: none; font-size: 0.68rem; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: var(--sp-lg); }
.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding-block: 0.7rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0.35rem;
  width: 100%;
  height: 2px;
  background: var(--c-brown);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--c-brown); }

.nav-item { position: relative; display: flex; align-items: center; }
.nav-item.has-dropdown { gap: 0.15rem; }
.dropdown-toggle {
  background: none;
  border: none;
  font-size: 0.7rem;
  color: var(--text-primary);
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease);
}
[dir="rtl"] .dropdown-toggle { transform: scaleY(1); }
.nav-item.is-active > a, .nav-item.is-active .dropdown-toggle { color: var(--c-brown); }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-start: -1rem;
  min-width: 260px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  z-index: 50;
}
.nav-item.has-dropdown:hover .dropdown-panel,
.nav-item.has-dropdown:focus-within .dropdown-panel,
.nav-item[data-panel-open="true"] .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-item[data-panel-open="true"] .dropdown-toggle { transform: rotate(180deg); }
.dropdown-panel ul { display: grid; gap: 0.15rem; }
.dropdown-panel a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.dropdown-panel a:hover { background: var(--bg-surface-alt); }

.header-actions { display: flex; align-items: center; gap: var(--sp-sm); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lang-switch:hover { background: var(--c-teal); color: var(--c-cream); border-color: var(--c-teal); }
.header-actions .btn-primary { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--c-teal);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--c-cream);
  z-index: 90;
  padding: var(--sp-lg) var(--sp-md) var(--sp-2xl);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.mobile-nav[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.mobile-nav a[aria-current="page"] { color: var(--c-brown); }
.mobile-nav-footer { margin-top: var(--sp-xl); display: flex; flex-direction: column; gap: var(--sp-md); }
.mobile-nav-footer .btn { width: 100%; }
body[data-nav-open="true"] { overflow: hidden; }

@media (min-width: 980px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .header-actions .btn-primary { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #0b2423;
  color: var(--text-inverse);
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(540px, calc(100svh - var(--header-h)), 860px);
  padding-block: clamp(2.75rem, 1.5rem + 3.5vw, 4.5rem);
}

/* Depth layer 1 — atmospheric gradient wash */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 72% 18%, rgba(193, 154, 116, 0.30), transparent 62%),
    radial-gradient(55% 50% at 8% 92%, rgba(139, 94, 60, 0.24), transparent 66%),
    linear-gradient(165deg, #0d2b29 0%, #0F2F2E 48%, #081f1e 100%);
  z-index: -3;
}

/* Depth layer 2 — fine engraved grid, fades outward */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(246, 237, 224, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246, 237, 224, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(75% 65% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 40%, #000 20%, transparent 78%);
  z-index: -2;
  pointer-events: none;
}

/* Depth layer 3 — the projected globe canvas */
.hero-visual {
  position: absolute;
  inset-block: -6% -2%;
  inset-inline-end: -6%;
  width: min(58%, 900px);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-visual[data-ready="true"] { opacity: 1; }
.hero-visual canvas { width: 100%; height: 100%; display: block; }

.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 60ch; }
.hero-eyebrow { color: var(--c-sand); }
.hero-title {
  font-size: var(--fs-h1);
  max-width: 20ch;
  color: var(--c-cream);
  letter-spacing: -0.015em;
  margin-top: var(--sp-md);
}
html[lang="ar"] .hero-title { letter-spacing: 0; }
.hero-title .t-line { display: block; }
.hero-title .t-accent { color: var(--c-sand); }
.hero-lead {
  font-size: var(--fs-lead);
  color: var(--text-inverse-muted);
  max-width: 54ch;
  margin-top: var(--sp-md);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-top: var(--sp-lg); }
.hero-profile-links { display: flex; flex-wrap: wrap; gap: var(--sp-md); margin-top: var(--sp-md); }
.hero-profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-inverse-muted);
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--border-subtle-inverse);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-profile-links a:hover { color: var(--c-cream); border-color: var(--c-sand); }
.hero-profile-links svg { width: 14px; height: 14px; }

/* Editorial figure rail */
.hero-figures {
  margin-top: clamp(2.25rem, 1.75rem + 2.5vw, 3.75rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-md) var(--sp-xl);
  max-width: 720px;
}
@media (min-width: 720px) {
  .hero-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hero-figure {
  border-top: 1px solid var(--border-subtle-inverse);
  padding-top: var(--sp-sm);
}
.hero-figure-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem);
  font-weight: 700;
  color: var(--c-cream);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.12em;
}
.hero-figure-label {
  font-size: 0.76rem;
  color: var(--text-inverse-muted);
  margin-top: 0.55rem;
  letter-spacing: 0.04em;
  max-width: 22ch;
}

/* ---------- Sector rail (multi-sector breadth band) ---------- */
.sector-rail {
  background: var(--c-teal-700);
  border-block: 1px solid rgba(246, 237, 224, 0.1);
  overflow: hidden;
  padding-block: 1.05rem;
  position: relative;
}
.sector-rail::before,
.sector-rail::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.sector-rail::before { inset-inline-start: 0; background: linear-gradient(to right, var(--c-teal-700), transparent); }
.sector-rail::after { inset-inline-end: 0; background: linear-gradient(to left, var(--c-teal-700), transparent); }
[dir="rtl"] .sector-rail::before { background: linear-gradient(to left, var(--c-teal-700), transparent); }
[dir="rtl"] .sector-rail::after { background: linear-gradient(to right, var(--c-teal-700), transparent); }

.sector-rail-track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  animation: rail-scroll 46s linear infinite;
  /* only animate while actually on screen — saves battery and compositing */
  animation-play-state: paused;
}
.sector-rail.is-onscreen .sector-rail-track { animation-play-state: running; }
[dir="rtl"] .sector-rail-track { animation-name: rail-scroll-rtl; }
.sector-rail:hover .sector-rail-track { animation-play-state: paused; }
@keyframes rail-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rail-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.sector-rail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 237, 224, 0.78);
  white-space: nowrap;
}
html[lang="ar"] .sector-rail-item { letter-spacing: 0; text-transform: none; font-size: 0.92rem; }
.sector-rail-item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-sand);
  opacity: 0.6;
}
@media (prefers-reduced-motion: reduce) {
  .sector-rail-track { animation: none; }
}

/* Page (interior) hero banner */
.page-hero {
  background: #0b2423;
  color: var(--text-inverse);
  padding-block: clamp(3.5rem, 3rem + 3vw, 6.5rem) clamp(2.75rem, 2rem + 2.5vw, 4.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 82% 0%, rgba(193, 154, 116, 0.26), transparent 62%),
    linear-gradient(160deg, #0d2b29 0%, #0F2F2E 60%, #081f1e 100%);
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(246, 237, 224, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246, 237, 224, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(80% 90% at 70% 10%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 90% at 70% 10%, #000 10%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}
.page-hero-arc {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(48%, 560px);
  z-index: -1;
  opacity: 0.85;
  pointer-events: none;
}
.page-hero-arc svg { width: 100%; height: 100%; }
.page-hero-arc path {
  fill: none;
  stroke: rgba(193, 154, 116, 0.42);
  stroke-width: 1;
}
.page-hero-arc circle { fill: rgba(193, 154, 116, 0.75); }
.page-hero .eyebrow { color: var(--c-sand); }
.page-hero-inner { position: relative; z-index: 1; max-width: 64ch; }
.page-hero-title { color: var(--c-cream); font-size: var(--fs-h2); letter-spacing: -0.01em; }
html[lang="ar"] .page-hero-title { letter-spacing: 0; }
.page-hero-lead { margin-top: var(--sp-md); color: var(--text-inverse-muted); font-size: var(--fs-lead); max-width: 54ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  color: var(--text-inverse-muted);
  margin-bottom: calc(var(--sp-md) - 0.7rem);
}
.breadcrumb a { display: inline-block; padding-block: 0.7rem; }
.breadcrumb a:hover { color: var(--c-cream); }

@media (max-width: 860px) {
  .hero-visual { inset-inline-end: -28%; width: 92%; opacity: 0; }
  .hero-visual[data-ready="true"] { opacity: 0.5; }
  .hero { min-height: auto; }
  .page-hero-arc { display: none; }
}
.prose { max-width: 68ch; color: var(--text-muted); font-size: var(--fs-body); }
.section-dark .prose { color: var(--text-inverse-muted); }
.prose p + p { margin-top: 1em; }
.prose-lg { font-size: var(--fs-lead); }

/* ---------- Cards / feature grid ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-md); }
.card-grid.cols-2 { grid-template-columns: 1fr; }
.card-grid.cols-3 { grid-template-columns: 1fr; }
.card-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-lg) var(--sp-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card { transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.section-alt .card, .section-white .card.on-alt { background: var(--bg-surface); }
.section-dark .card { background: rgba(246,237,224,0.05); border-color: var(--border-subtle-inverse); }
.section-dark .card:hover { background: rgba(246,237,224,0.09); }
.card-index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-brown);
  letter-spacing: 0.05em;
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
  color: var(--c-brown);
  flex-shrink: 0;
}
.section-dark .card-icon { background: rgba(246,237,224,0.08); color: var(--c-sand); }
.card-icon svg { width: 22px; height: 22px; }
.card h3, .card h4 { font-size: var(--fs-h5); margin-top: 0.15rem; }
.card p { color: var(--text-muted); margin-top: 0.5rem; font-size: 0.95rem; }
.section-dark .card p { color: var(--text-inverse-muted); }

.card-lg { padding: var(--sp-xl) var(--sp-lg); }
.card-lg h3 { font-size: var(--fs-h3); }
.card-lg p { font-size: var(--fs-body); margin-top: var(--sp-sm); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; }
@media (min-width: 760px) { .checklist.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.checklist-item { background: var(--bg-surface); padding: var(--sp-md); }
.checklist-item h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-teal);
  display: flex;
  gap: 0.5em;
}
.checklist-item h5::before { content: "—"; color: var(--c-brown); flex-shrink: 0; }
.checklist-item p { color: var(--text-muted); font-size: 0.87rem; margin-top: 0.35rem; margin-inline-start: 1.65em; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0F2F2E 0%, #163f3d 100%);
  color: var(--text-inverse);
  padding: clamp(2.5rem, 2rem + 3vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 15% 0%, rgba(193,154,116,0.25), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--c-cream); font-size: var(--fs-h2); max-width: 22ch; margin-inline: auto; }
.cta-banner p { color: var(--text-inverse-muted); margin-top: var(--sp-sm); max-width: 50ch; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); justify-content: center; margin-top: var(--sp-lg); }
.cta-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: var(--sp-lg); }
.cta-tag {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle-inverse);
  color: var(--text-inverse-muted);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-teal); color: var(--text-inverse-muted); padding-block: var(--sp-2xl) var(--sp-lg); }
.footer-top { display: grid; gap: var(--sp-xl); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: var(--sp-sm); }
.footer-brand img { width: 40px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--c-cream); }
.footer-desc { max-width: 34ch; font-size: 0.92rem; }
.footer-col h5 { color: var(--c-cream); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--sp-sm); }
html[lang="ar"] .footer-col h5 { letter-spacing: 0; text-transform: none; }
.footer-col ul { display: grid; gap: 0.1rem; }
.footer-col li > a,
.footer-contact li { display: block; padding-block: 0.8rem; }
.footer-col a:hover { color: var(--c-cream); }
.footer-contact li { font-size: 0.92rem; }
.footer-contact li a { display: inline-block; }
.footer-bottom {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--border-subtle-inverse);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--c-cream); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: var(--sp-xl); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.contact-info-card {
  background: var(--c-teal);
  color: var(--text-inverse);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
}
.contact-info-card h3 { color: var(--c-cream); font-size: var(--fs-h4); }
.contact-info-list { margin-top: var(--sp-lg); display: grid; gap: var(--sp-md); }
.contact-info-item { display: flex; gap: var(--sp-sm); align-items: flex-start; }
.contact-info-item .card-icon { background: rgba(246,237,224,0.08); color: var(--c-sand); margin-bottom: 0; }
.contact-info-item h6 { color: var(--c-cream); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-body); }
html[lang="ar"] .contact-info-item h6 { letter-spacing: 0; text-transform: none; }
.contact-info-item p { color: var(--text-inverse-muted); font-size: 0.95rem; margin-top: 0.2rem; }
.contact-info-item a { color: var(--text-inverse-muted); font-size: 0.95rem; display: inline-block; padding-block: 0.7rem; }
.contact-info-item a:hover { color: var(--c-cream); }

.form-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--sp-xl) var(--sp-lg); }
.form-grid { display: grid; gap: var(--sp-md); grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.field .req { color: var(--c-brown); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  background: var(--bg-surface-alt);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-brown); background: var(--bg-surface); }
.field textarea { min-height: 130px; resize: vertical; }
.field-full { grid-column: 1 / -1; }
.form-submit { margin-top: var(--sp-sm); display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap; }
.form-note { font-size: 0.82rem; color: var(--text-muted); }
.form-status { font-size: 0.9rem; font-weight: 600; }
.form-status[data-state="success"] { color: #2c6e49; }
.form-status[data-state="error"] { color: #a3402c; }
/* Visually hidden (not left:-9999px — that technique creates enormous
   negative-direction scrollable overflow on RTL pages, since RTL counts
   left-ward overflow as "forward" instead of clipping it like LTR does). */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Breadcrumb / misc ---------- */
.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; }
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 999;
  background: var(--c-teal);
  color: var(--c-cream);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.max-center { margin-inline: auto; }
.divider { height: 1px; background: var(--border-subtle); }
.section-dark .divider { background: var(--border-subtle-inverse); }

/* ---------- Responsive helpers ---------- */

/* =====================================================================
   EDITORIAL SECTION SYSTEM
   Varied, purposeful compositions — replaces repetitive card grids.
   ===================================================================== */

/* ---------- Section head with index numeral ---------- */
.section-head {
  display: grid;
  gap: var(--sp-sm);
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section-head-wide { max-width: none; }
.section-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-brown);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.section-index::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.section-title {
  font-size: var(--fs-h2);
  letter-spacing: -0.012em;
  text-wrap: balance;
}
html[lang="ar"] .section-title { letter-spacing: 0; }
.section-lead {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 58ch;
}
.section-dark .section-lead { color: var(--text-inverse-muted); }

/* Split head: title left, lead right — confident editorial masthead */
.section-head-split {
  display: grid;
  gap: var(--sp-lg);
  align-items: end;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
@media (min-width: 960px) {
  .section-head-split { grid-template-columns: 1.05fr 1fr; gap: var(--sp-2xl); }
  .section-head-split .section-lead { padding-bottom: 0.4rem; }
}

/* ---------- Sector index — editorial numbered register ---------- */
.sector-index {
  display: grid;
  border-top: 1px solid var(--border-subtle);
}
.section-dark .sector-index { border-color: var(--border-subtle-inverse); }
@media (min-width: 900px) {
  .sector-index { grid-template-columns: 1fr 1fr; column-gap: var(--sp-2xl); }
}
.sector-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-md);
  align-items: start;
  padding-block: clamp(1.25rem, 1rem + 0.8vw, 1.85rem);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  transition: background var(--dur) var(--ease);
}
.section-dark .sector-row { border-color: var(--border-subtle-inverse); }
a.sector-row::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline: min(calc(var(--sp-sm) * -1), 0px);
  background: var(--bg-surface);
  opacity: 0;
  border-radius: var(--radius-sm);
  transition: opacity var(--dur) var(--ease);
  z-index: -1;
}
a.sector-row:hover::after { opacity: 1; }
a.sector-row:hover .sector-row-title { color: var(--c-brown); }
.sector-row-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-brown);
  letter-spacing: 0.06em;
  padding-top: 0.45em;
  min-width: 2.2em;
}
.sector-row-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.45rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  transition: color var(--dur) var(--ease);
}
.section-dark .sector-row-title { color: var(--c-cream); }
.sector-row-desc {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  max-width: 44ch;
}
.section-dark .sector-row-desc { color: var(--text-inverse-muted); }
.sector-row-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-brown);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
html[lang="ar"] .sector-row-link { letter-spacing: 0; text-transform: none; }
a.sector-row:hover .sector-row-link { opacity: 1; transform: translateX(0); }
@media (hover: none) {
  .sector-row-link { opacity: 1; transform: none; }
}
[dir="rtl"] .sector-row-link { transform: translateX(4px); }
[dir="rtl"] a.sector-row:hover .sector-row-link { transform: translateX(0); }

/* ---------- Figure grid — large editorial numerals ---------- */
.figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 1.25rem + 2vw, 3.5rem) var(--sp-lg);
}
@media (min-width: 860px) {
  .figure-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.figure-item { border-top: 1px solid var(--border-subtle); padding-top: var(--sp-md); }
.section-dark .figure-item { border-color: var(--border-subtle-inverse); }
.figure-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--c-brown);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.06em;
}
.section-dark .figure-value { color: var(--c-sand); }
html[lang="ar"] .figure-value { letter-spacing: 0; font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.6rem); }
.figure-value .figure-suffix { font-size: 0.52em; font-weight: 600; }
.figure-label {
  margin-top: var(--sp-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 26ch;
  line-height: 1.5;
}
.section-dark .figure-label { color: var(--text-inverse-muted); }

/* ---------- Process flow — connected numbered path ---------- */
.process-flow { position: relative; display: grid; gap: var(--sp-lg); }
@media (min-width: 720px) {
  .process-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-xl) var(--sp-2xl); }
}
@media (min-width: 1100px) {
  .process-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-xl) var(--sp-lg); }
}
.process-step { position: relative; padding-top: var(--sp-lg); }
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: var(--border-subtle);
}
.section-dark .process-step::before { background: var(--border-subtle-inverse); }
.process-step::after {
  content: "";
  position: absolute;
  top: -4px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-sand);
  transform: scale(0);
  transition: transform 500ms var(--ease);
}
.process-step.is-visible::after { transform: scale(1); }
.process-step-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-brown);
  letter-spacing: 0.08em;
}
.process-step h4 {
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  margin-top: 0.45rem;
}
.section-dark .process-step h4 { color: var(--c-cream); }
.process-step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 34ch;
}
.section-dark .process-step p { color: var(--text-inverse-muted); }

/* ---------- Lane diagram — trade direction visual ---------- */
.lane-diagram { display: grid; gap: 0; border-top: 1px solid var(--border-subtle-inverse); }
.lane {
  display: grid;
  gap: var(--sp-sm) var(--sp-xl);
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2.35rem);
  border-bottom: 1px solid var(--border-subtle-inverse);
  align-items: center;
}
@media (min-width: 900px) {
  .lane { grid-template-columns: minmax(280px, 0.95fr) 1fr; }
}
.lane-path {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  font-weight: 700;
  color: var(--c-cream);
  line-height: 1.3;
}
.lane-node { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.lane-node::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-sand);
  flex-shrink: 0;
}
.lane-connector {
  flex: 1;
  min-width: 44px;
  height: 14px;
  position: relative;
  overflow: hidden;
}
.lane-connector::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: 0;
  height: 1px;
  background: repeating-linear-gradient(to right, rgba(193,154,116,0.85) 0 4px, transparent 4px 10px);
  animation: lane-travel 2.4s linear infinite;
  animation-play-state: paused;
}
.lane-diagram:not(.lane-diagram-compact) .lane-connector::before,
.lane.is-active .lane-connector::before { animation-play-state: running; }
[dir="rtl"] .lane-connector::before { animation-name: lane-travel-rtl; }
@keyframes lane-travel { to { background-position-x: 10px; } }
@keyframes lane-travel-rtl { to { background-position-x: -10px; } }
@media (prefers-reduced-motion: reduce) {
  .lane-connector::before { animation: none; }
}
.lane-desc { color: var(--text-inverse-muted); font-size: 0.95rem; max-width: 56ch; }

/* ---------- Pull quote ---------- */
.pull-quote {
  text-align: center;
  padding-block: clamp(3rem, 2.5rem + 2.5vw, 5.5rem);
  max-width: 30ch;
  margin-inline: auto;
}
.pull-quote::before,
.pull-quote::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  background: var(--c-sand);
  margin-inline: auto;
}
.pull-quote::before { margin-bottom: clamp(1.5rem, 1.2rem + 1vw, 2.5rem); }
.pull-quote::after { margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.5rem); }
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
html[lang="ar"] .pull-quote p { letter-spacing: 0; line-height: 1.55; }
.section-dark .pull-quote p { color: var(--c-cream); }

/* ---------- Capability panel — asymmetric feature block ---------- */
.capability-panel { display: grid; gap: var(--sp-xl); align-items: start; }
@media (min-width: 980px) {
  .capability-panel { grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-3xl); }
  .capability-panel-sticky { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.capability-list { display: grid; gap: 1px; background: var(--border-subtle); }
.section-dark .capability-list { background: var(--border-subtle-inverse); }
.capability-item {
  background: var(--bg-page);
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.85rem) 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-md);
  align-items: start;
}
.section-alt .capability-item { background: var(--bg-surface-alt); }
.section-white .capability-item { background: var(--bg-surface); }
.section-dark .capability-item { background: var(--bg-dark); }
.capability-item .card-icon { margin-bottom: 0; width: 40px; height: 40px; }
.capability-item h4 { font-size: 1.1rem; }
.section-dark .capability-item h4 { color: var(--c-cream); }
.capability-item p { font-size: 0.93rem; color: var(--text-muted); margin-top: 0.35rem; max-width: 52ch; }
.section-dark .capability-item p { color: var(--text-inverse-muted); }

/* Sand is the dark-background accent; brown is the light-background accent. */
.section-dark .section-index,
.section-dark .sector-row-num,
.section-dark .process-step-num,
.section-dark .card-index { color: var(--c-sand); }

/* ---------- Numerals ----------
   Cormorant defaults to old-style figures, where "1" reads as a small "I".
   Every display numeral on the site must use lining figures. */
.hero-figure-num,
.figure-value,
.section-index,
.sector-row-num,
.process-step-num,
.card-index,
[data-count] {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* =====================================================================
   NARROW-PHONE HARDENING (320px — the narrowest width we support)
   ===================================================================== */

/* 1. Header: brand lockup + actions must fit a 320px viewport */
@media (max-width: 400px) {
  .header-inner { gap: var(--sp-sm); }
  .brand { gap: 0.55rem; }
  .brand-mark { width: 34px; }
  .brand-name-main { font-size: 1.05rem; }
  html[lang="ar"] .brand-name-main { font-size: 1rem; }
  .brand-name-sub { font-size: 0.54rem; letter-spacing: 0.08em; }
  html[lang="ar"] .brand-name-sub { font-size: 0.6rem; }
  .lang-switch { width: 36px; height: 36px; font-size: 0.72rem; }
  .nav-toggle { width: 40px; }
}

/* 2. Trade lanes: stack origin / connector / destination when too narrow */
@media (max-width: 560px) {
  .lane-path {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .lane-node { white-space: normal; }
  .lane-connector { width: 100%; min-width: 0; height: 10px; }
}

/* 3. Form controls must never force the page wider than its container */
.form-grid { min-width: 0; }
.field { min-width: 0; }
.field input,
.field select,
.field textarea { min-width: 0; max-width: 100%; }
@media (max-width: 480px) {
  .contact-info-card,
  .form-card { padding: var(--sp-lg) var(--sp-md); }
}

/* Small caps label above a card heading (e.g. "What The Client Submits") */
.card .tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-brown);
  margin-bottom: 0.5rem;
}
html[lang="ar"] .card .tag { letter-spacing: 0; text-transform: none; font-size: 0.8rem; }
.section-dark .card .tag { color: var(--c-sand); }

/* =====================================================================
   V6 EXPANSION — photography bands, splits, sector showcase, journey,
   execution network, quality framework, profile links.
   Reuses every existing token; introduces no new color values.
   ===================================================================== */

/* ---------- Motion: desktop gets a visibly stronger reveal than mobile ---------- */
:root {
  --reveal-y: 16px;
  --reveal-dur: 640ms;
  --media-scale-from: 1.06;
}
@media (min-width: 900px) {
  :root { --reveal-y: 30px; --reveal-dur: 780ms; --media-scale-from: 1.1; }
}
[data-reveal] { transition-duration: var(--reveal-dur); transform: translateY(var(--reveal-y)); }

/* ---------- Image band (full-bleed photography statement) ---------- */
.img-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  color: var(--text-inverse);
  min-height: 56vh;
  z-index: 0;
}
.img-band--tall { min-height: 84vh; }
.img-band--md { min-height: 58vh; }
.img-band--end { align-items: flex-end; }
.img-band--start { align-items: flex-start; }
.img-band--center { align-items: center; }
.img-band-media {
  position: absolute;
  inset: -3% -1%;
  z-index: -2;
  transform: scale(var(--media-scale-from));
  transition: transform 1000ms var(--ease);
}
.img-band-media picture, .img-band-media img { width: 100%; height: 100%; object-fit: cover; }
.img-band[data-media-in] .img-band-media { transform: scale(1); }
.img-band-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(8, 24, 23, 0.88) 0%, rgba(8, 24, 23, 0.55) 38%, rgba(8, 24, 23, 0.22) 62%, rgba(8, 24, 23, 0.1) 100%);
}
.img-band--center .img-band-scrim {
  background: radial-gradient(65% 80% at 30% 50%, rgba(8, 24, 23, 0.82), rgba(8, 24, 23, 0.35) 70%);
}
.img-band-inner { width: var(--container); margin-inline: auto; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.img-band-content { max-width: 60ch; }
.img-band .eyebrow { color: var(--c-sand); }
.img-band-title { font-size: var(--fs-h2); color: var(--c-cream); letter-spacing: -0.01em; margin-top: var(--sp-sm); }
html[lang="ar"] .img-band-title { letter-spacing: 0; }
.img-band-title .t-line { display: block; }
.img-band-title .t-accent { color: var(--c-sand); }
.img-band-lead { margin-top: var(--sp-md); color: var(--text-inverse-muted); font-size: var(--fs-lead); max-width: 52ch; }
.img-band-actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-top: var(--sp-lg); }
@media (max-width: 640px) {
  .img-band--tall { min-height: 72vh; }
  .img-band--md { min-height: 48vh; }
}

/* ---------- Image split (side-by-side photo + editorial text) ---------- */
.img-split { display: grid; gap: var(--sp-xl); align-items: center; }
@media (min-width: 900px) {
  .img-split { grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); }
    .img-split--reverse .img-split-media { order: 2; }
  .img-split--reverse .img-split-content { order: 1; }
}
.img-split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  transform: scale(var(--media-scale-from));
  opacity: 0;
  transition: transform 1000ms var(--ease), opacity 900ms var(--ease);
}
.img-split-media.is-visible-media { transform: scale(1); opacity: 1; }
.img-split-media picture, .img-split-media img { width: 100%; height: 100%; object-fit: cover; }
.img-split-content .pull-quote-sm {
  text-align: start;
  margin-inline: 0;
  max-width: none;
  padding-block: var(--sp-lg) 0;
}
.img-split-content .pull-quote-sm::before { margin-inline: 0; }
.img-split-content .pull-quote-sm::after { display: none; }
.img-split-content .pull-quote-sm p { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.65rem); }

/* ---------- Sector showcase (4-photo featured strip) ---------- */
.sector-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-md);
}
@media (min-width: 760px) {
  .sector-showcase { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-sm); }
}
.sector-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  opacity: 0;
  transform: translateY(var(--reveal-y)) scale(0.98);
  transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.sector-card.is-visible-media { opacity: 1; transform: translateY(0) scale(1); }
.sector-card-media { position: absolute; inset: 0; }
.sector-card-media picture, .sector-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.sector-card:hover .sector-card-media img, .sector-card:focus-within .sector-card-media img { transform: scale(1.06); }
.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,24,23,0.85) 0%, rgba(8,24,23,0.15) 55%, transparent 75%);
}
.sector-card-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--sp-md) var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--c-cream);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
}
.sector-card-num { font-family: var(--font-display); color: var(--c-sand); font-size: 0.82rem; letter-spacing: 0.06em; }
@media (prefers-reduced-motion: reduce) {
  .sector-card, .img-split-media, .img-band-media { transition: none; opacity: 1; transform: none; }
}

/* ---------- Interactive supply journey ---------- */
.journey { margin-top: var(--sp-lg); }
.journey-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.journey-stage {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: transparent;
  border: none;
  border-top: 2px solid var(--border-subtle-inverse);
  padding: var(--sp-sm) var(--sp-md) var(--sp-sm) 0;
  min-width: 160px;
  text-align: start;
  color: var(--text-inverse-muted);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.journey-stage-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--c-brown); font-weight: 700; }
.journey-stage-title { font-size: 0.92rem; font-weight: 600; max-width: 16ch; }
.journey-stage:hover { color: var(--c-cream); }
.journey-stage.is-active { border-color: var(--c-sand); color: var(--c-cream); }
.journey-stage.is-active .journey-stage-num { color: var(--c-sand); }
.journey-panels { margin-top: var(--sp-xl); min-height: 160px; position: relative; }
.journey-panel {
  display: grid;
  gap: var(--sp-sm);
  max-width: 62ch;
  animation: journey-in 480ms var(--ease);
}
.journey-panel[hidden], .quality-panel[hidden] { display: none; }
@keyframes journey-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.journey-panel-num { font-family: var(--font-display); font-size: 1rem; color: var(--c-sand); font-weight: 700; }
.journey-panel h3 { color: var(--c-cream); font-size: var(--fs-h3); }
.journey-panel p { color: var(--text-inverse-muted); font-size: var(--fs-lead); }
@media (prefers-reduced-motion: reduce) { .journey-panel { animation: none; } }

/* ---------- Integrated trade execution network ---------- */
.network {
  display: grid;
  gap: var(--sp-lg);
  align-items: center;
  margin-top: var(--sp-lg);
}
@media (min-width: 980px) {
  .network { grid-template-columns: auto auto auto auto auto auto auto; }
}
.network-col { display: flex; justify-content: center; }
.network-col-parties { align-items: stretch; }
.network-endpoint, .network-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: var(--sp-md);
}
.network-hub {
  background: var(--c-teal);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}
.network-hub img { width: 44px; }
.network-endpoint .card-icon { margin-bottom: 0; }
.network-flow { display: flex; align-items: center; justify-content: center; }
.network-arrow {
  width: 100%;
  min-width: 28px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--c-sand) 0 4px, transparent 4px 9px);
  position: relative;
}
.network-arrow::after {
  content: "";
  position: absolute;
  inset-inline-end: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-inline-end: 1.6px solid var(--c-sand);
  border-block-end: 1.6px solid var(--c-sand);
  transform: translateY(-50%) rotate(-45deg);
}
[dir="rtl"] .network-arrow::after { transform: translateY(-50%) rotate(45deg); }
@media (max-width: 979px) {
  .network-flow { transform: rotate(90deg); width: 24px; margin-inline: auto; }
  [dir="rtl"] .network-flow { transform: rotate(-90deg); }
}
/* Seven auto tracks plus wide gutters overflow just above the breakpoint. */
@media (min-width: 980px) and (max-width: 1080px) {
  .network { column-gap: var(--sp-sm); }
}
.network-parties {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 640px) { .network-parties { grid-template-columns: repeat(2, 1fr); gap: 1px; } }
.network-node {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-surface);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.network-node .card-icon { width: 34px; height: 34px; margin-bottom: 0; }
.network-node .card-icon svg { width: 18px; height: 18px; }
/* ---------- Shared labelled tag register ("WE SERVE", "EXECUTION SCOPE") ---------- */
.tag-row { margin-top: var(--sp-xl); }
.tag-row-ruled { margin-top: var(--sp-2xl); padding-top: var(--sp-lg); border-top: 1px solid var(--border-subtle); }
.section-dark .tag-row-ruled { border-color: var(--border-subtle-inverse); }
.tag-row-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}
html[lang="ar"] .tag-row-label { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }
.section-dark .tag-row-label { color: var(--c-sand); }
.tag-row-items { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-row-items .cta-tag {
  color: var(--text-primary);
  border-color: var(--border-subtle);
  background: var(--bg-surface);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.section-dark .tag-row-items .cta-tag { color: var(--text-inverse-muted); border-color: var(--border-subtle-inverse); background: transparent; }

/* ---------- Quality framework: progressive disclosure ---------- */
.quality-framework { margin-top: var(--sp-lg); display: grid; gap: var(--sp-lg); }
@media (min-width: 860px) { .quality-framework { grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: var(--sp-2xl); } }
.quality-tabs { display: grid; gap: 0.6rem; }
.quality-tab {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  text-align: start;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.section-dark .quality-tab, .section-alt .quality-tab { background: var(--bg-surface); }
.quality-tab:hover { transform: translateX(2px); }
[dir="rtl"] .quality-tab:hover { transform: translateX(-2px); }
.quality-tab.is-active { border-color: var(--c-brown); background: var(--bg-surface); box-shadow: var(--shadow-sm); }
.quality-tab-num { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--c-brown); flex-shrink: 0; }
.quality-tab-label { display: block; font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.quality-tab-summary { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; }
.quality-panels { position: relative; }
.quality-panel { animation: journey-in 420ms var(--ease); }
.quality-items { display: grid; gap: 0.1rem; border-top: 1px solid var(--border-subtle); }
.quality-items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.98rem;
  font-weight: 600;
}
.check-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-brown); flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .quality-panel { animation: none; } }

/* ---------- Company Profile links ---------- */
.profile-panel { display: grid; gap: var(--sp-lg); align-items: center; }
@media (min-width: 860px) { .profile-panel { grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); } }
.profile-rows { display: grid; gap: var(--sp-sm); }
.profile-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.section-dark .profile-row { border-color: var(--border-subtle-inverse); background: rgba(246,237,224,0.04); }
.profile-row-label { font-weight: 700; font-size: 0.95rem; }
.profile-row-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.profile-row-actions .btn svg { width: 15px; height: 15px; }
.footer-profile { display: grid; gap: var(--sp-sm); align-content: start; }
.footer-profile h5 { color: var(--c-cream); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.15rem; }
html[lang="ar"] .footer-profile h5 { letter-spacing: 0; text-transform: none; }
.profile-rows-compact { gap: 0.5rem; }
.profile-rows-compact .profile-row {
  background: rgba(246,237,224,0.04);
  border-color: var(--border-subtle-inverse);
  padding: 0.7rem 0.85rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.profile-rows-compact .profile-row-label { font-size: 0.82rem; color: var(--text-inverse-muted); }
.profile-rows-compact .btn { color: var(--text-inverse); border-color: var(--border-subtle-inverse); }
.profile-rows-compact .btn:hover { background: var(--c-cream); color: var(--c-teal); border-color: var(--c-cream); }

/* ---------- CTA banner with photography background ---------- */
.cta-banner--media { padding: clamp(3rem, 2.4rem + 4vw, 6rem) clamp(2rem, 1.6rem + 2vw, 3.5rem); }
.cta-banner-media { position: absolute; inset: 0; z-index: -2; }
.cta-banner-media picture, .cta-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,24,23,0.55) 0%, rgba(8,24,23,0.78) 100%); }
.cta-banner--media::before { display: none; }

/* ---------- Stronger, computed desktop stagger for grouped reveals ---------- */
@media (min-width: 900px) {
  .card-grid[class] .card:nth-child(1) { transition-delay: 0ms; }
  .card-grid[class] .card:nth-child(2) { transition-delay: 80ms; }
  .card-grid[class] .card:nth-child(3) { transition-delay: 160ms; }
  .card-grid[class] .card:nth-child(4) { transition-delay: 240ms; }
  .card-grid[class] .card:nth-child(5) { transition-delay: 320ms; }
  .card-grid[class] .card:nth-child(6) { transition-delay: 400ms; }
  .card-grid[class] .card:nth-child(n+7) { transition-delay: 460ms; }
  .checklist .checklist-item { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease); }
  .checklist.is-visible .checklist-item:nth-child(1) { transition-delay: 0ms; }
  .checklist.is-visible .checklist-item:nth-child(2) { transition-delay: 70ms; }
  .checklist.is-visible .checklist-item:nth-child(3) { transition-delay: 140ms; }
  .checklist.is-visible .checklist-item:nth-child(4) { transition-delay: 210ms; }
  .checklist.is-visible .checklist-item:nth-child(5) { transition-delay: 280ms; }
  .checklist.is-visible .checklist-item:nth-child(6) { transition-delay: 350ms; }
  .checklist.is-visible .checklist-item:nth-child(7) { transition-delay: 420ms; }
  .checklist.is-visible .checklist-item:nth-child(8) { transition-delay: 490ms; }
  .checklist.is-visible .checklist-item { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .checklist-item { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================================
   DIRECTOR PASS — composition, rhythm and typographic corrections.
   No new palette, no new components: proportion and restraint only.
   ===================================================================== */

/* ---------- Vertical rhythm: two same-surface sections should not
     stack two full paddings and leave a dead band between them ---------- */
.section:not(.section-dark):not(.section-alt) + .section:not(.section-dark):not(.section-alt),
.section-alt + .section-alt,
.section-dark + .section-dark,
.section-tight + .section:not(.section-dark):not(.section-alt) {
  padding-block-start: calc(var(--sp-section) * 0.42);
}
/* The quote is a breath between sections, not a section of its own. */
.section-quote > .container > .pull-quote { padding-block: clamp(2.25rem, 1.8rem + 2vw, 4rem); }
.section:not(.section-dark) + .section-quote:not(.section-dark):not(.section-alt),
.section-alt + .section-quote.section-alt { margin-block-start: calc(var(--sp-section) * -0.5); }

/* ---------- Pull quote: label above statement, and enough measure
     that short statements stop breaking into orphaned stacks ---------- */
.pull-quote { max-width: 46ch; }
.pull-quote-wide { max-width: 60ch; }
.pull-quote-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}
html[lang="ar"] .pull-quote-eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.88rem; }
.section-dark .pull-quote-eyebrow { color: var(--c-sand); }
.pull-quote p { text-wrap: balance; }

/* ---------- Checklist: a lone odd item leaves a torn corner ---------- */
@media (min-width: 760px) {
  .checklist.cols-2 > .checklist-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Commercial advantage: editorial numerals carry the section ---------- */
.card-numeral { padding-top: var(--sp-lg); }
.card-index-lg {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 2rem + 1.4vw, 3.4rem);
  line-height: 0.9;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
  font-variant-numeric: lining-nums tabular-nums;
}
.card-numeral .card-icon {
  width: 34px;
  height: 34px;
  background: transparent;
  margin-bottom: var(--sp-xs);
}
.card-numeral .card-icon svg { width: 20px; height: 20px; }

/* ---------- CTA: V6 sets the promise as a headline and the method
     as a secondary line, instead of one long wrapping sentence ---------- */
.cta-kicker {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  font-style: italic;
  color: var(--c-sand);
  margin-top: 0.6rem;
}
html[lang="ar"] .cta-kicker { font-style: normal; }
/* Enough scrim to read the copy, not so much that the photograph disappears. */
.cta-banner--media .cta-banner-scrim {
  background:
    radial-gradient(68% 85% at 50% 52%, rgba(8, 24, 23, 0.78), rgba(8, 24, 23, 0.34) 72%),
    linear-gradient(180deg, rgba(8, 24, 23, 0.34) 0%, rgba(8, 24, 23, 0.62) 100%);
}
.cta-banner--media p { color: rgba(246, 237, 224, 0.86); }

/* ---------- Photography: crop and scrim direction ---------- */
/* The cover vessel is a tall frame; a centred crop lands on open water,
   so favour the loaded deck and keep the bow in shot on wide viewports. */
.img-band-media img { object-position: center 42%; }
.img-band--tall .img-band-media img { object-position: center 30%; }
.img-band--end .img-band-scrim,
.img-band--start .img-band-scrim {
  background:
    linear-gradient(0deg, rgba(8, 24, 23, 0.9) 0%, rgba(8, 24, 23, 0.6) 34%, rgba(8, 24, 23, 0.18) 62%, rgba(8, 24, 23, 0.06) 100%),
    linear-gradient(to right, rgba(8, 24, 23, 0.66), rgba(8, 24, 23, 0.12) 62%, transparent 100%);
}
[dir="rtl"] .img-band--end .img-band-scrim,
[dir="rtl"] .img-band--start .img-band-scrim {
  background:
    linear-gradient(0deg, rgba(8, 24, 23, 0.9) 0%, rgba(8, 24, 23, 0.6) 34%, rgba(8, 24, 23, 0.18) 62%, rgba(8, 24, 23, 0.06) 100%),
    linear-gradient(to left, rgba(8, 24, 23, 0.66), rgba(8, 24, 23, 0.12) 62%, transparent 100%);
}
.img-band .eyebrow { color: var(--c-beige); text-shadow: 0 1px 12px rgba(8, 24, 23, 0.7); }
.img-band-title { text-shadow: 0 2px 26px rgba(8, 24, 23, 0.45); }

/* A quoted band is a statement, not a heading: italic, no accent line.
   The measure must be set on the title itself — a ch-based limit on the
   wrapper resolves in the body font and re-wraps the authored lines. */
.img-band--quoted .img-band-content { max-width: none; }
.img-band--quoted .img-band-title {
  font-style: italic;
  font-size: clamp(1.7rem, 1.25rem + 1.9vw, 3rem);
  line-height: 1.28;
  max-width: 17em;
}
html[lang="ar"] .img-band--quoted .img-band-title { font-style: normal; line-height: 1.55; }
.img-band--quoted .img-band-title .t-accent { color: var(--c-cream); }
.img-band--quoted .img-band-content::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--c-sand);
  margin-bottom: var(--sp-md);
}

/* ---------- Sector showcase: labels sized to the photography ---------- */
.sector-card-label { padding: var(--sp-md); font-size: 1rem; }
.sector-card-num { font-size: 0.9rem; letter-spacing: 0.08em; font-variant-numeric: lining-nums; }
.sector-card::after {
  background: linear-gradient(0deg, rgba(8, 24, 23, 0.92) 0%, rgba(8, 24, 23, 0.3) 48%, transparent 72%);
}

/* ---------- Figure suffix optical correction ---------- */
.figure-value .figure-suffix { font-size: 0.46em; font-weight: 600; align-self: flex-start; margin-top: 0.22em; }

/* ---------- Global sourcing: the sphere and the three trade flows ---------- */
.section-routes { overflow: hidden; }
.routes { display: grid; gap: var(--sp-xl); align-items: center; }
@media (min-width: 980px) {
  .routes { grid-template-columns: 0.92fr 1.08fr; gap: var(--sp-3xl); }
}
.routes-visual {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.routes-visual[data-ready="true"] { opacity: 1; }
.routes-visual canvas { width: 100%; height: 100%; }
@media (max-width: 979px) {
  .routes-visual { max-width: 340px; }
}

.lane-diagram-compact { border-top: 0; }
.lane {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-subtle-inverse);
  text-align: start;
  cursor: pointer;
  position: relative;
  padding-inline: 0;
  transition: background var(--dur) var(--ease);
}
.lane:hover, .lane.is-active { background: rgba(246, 237, 224, 0.05); }
/* The compact lane list sits beside the globe, so it must stay single-column
   regardless of the wide two-column rule the full-width diagram uses. */
.lane-diagram-compact .lane {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-inline: var(--sp-md);
  margin-inline: calc(var(--sp-md) * -1);
  border-radius: var(--radius-sm);
}
.lane-diagram-compact .lane-path { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); }
.lane-diagram-compact .lane-desc { font-size: 0.9rem; max-width: 48ch; }
.lane .lane-node { transition: color var(--dur) var(--ease); }
.lane.is-active .lane-node { color: var(--c-sand); }
.lane.is-active .lane-node::before { box-shadow: 0 0 0 4px rgba(193, 154, 116, 0.22); }
.lane:not(.is-active) .lane-connector::before { opacity: 0.45; }

/* ---------- Supply journey: one continuous rail, not a native scrollbar ---------- */
/* The rail lives outside the scroller so it always spans the section and
   reads as overall progress; the stage dots scroll along beneath it. */
.journey-track-wrap { position: relative; padding-top: var(--sp-md); }
.journey-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
  padding-top: 0;
  gap: 0;
  position: static;
}
.journey-track::-webkit-scrollbar { display: none; }
.journey-rail {
  position: absolute;
  top: calc(var(--sp-md) - 1px);
  inset-inline: 0;
  height: 2px;
  background: rgba(246, 237, 224, 0.16);
  overflow: hidden;
}
.journey-rail-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--c-sand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 560ms var(--ease);
}
[dir="rtl"] .journey-rail-fill { transform-origin: right center; }
.journey-stage {
  border-top: 0;
  padding: var(--sp-sm) var(--sp-md) var(--sp-sm) 0;
  min-width: 158px;
  position: relative;
  gap: 0.35rem;
}
[dir="rtl"] .journey-stage { padding: var(--sp-sm) 0 var(--sp-sm) var(--sp-md); }
.journey-stage-dot {
  position: absolute;
  top: -4px;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: inset 0 0 0 1.5px rgba(246, 237, 224, 0.3);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.journey-stage.is-done .journey-stage-dot { background: var(--c-sand); box-shadow: inset 0 0 0 1.5px var(--c-sand); }
.journey-stage.is-active .journey-stage-dot {
  background: var(--c-cream);
  box-shadow: 0 0 0 4px rgba(193, 154, 116, 0.28), inset 0 0 0 1.5px var(--c-cream);
  transform: scale(1.15);
}
.journey-stage.is-active .journey-stage-title { color: var(--c-cream); }
.journey-stage-title { transition: color var(--dur) var(--ease); }
.journey-panels { margin-top: var(--sp-lg); min-height: 0; }
.journey-panel { gap: 0.4rem; }
.journey-panel-count { font-family: var(--font-display); letter-spacing: 0.04em; }
.journey-panel-num { font-size: 1.15rem; color: var(--c-sand); font-weight: 700; }
.journey-panel-total { font-size: 0.9rem; color: var(--text-inverse-muted); }
.journey-panel h3 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem); margin-top: 0.15rem; }
.journey-panel-detail { max-width: 56ch; }
.journey-note { margin-top: var(--sp-lg); font-size: 0.88rem; }

/* ---------- Quality: three phases read as a progression ---------- */
.quality-tabs { position: relative; }
.quality-tab { position: relative; }
.quality-tab-num { transition: color var(--dur) var(--ease); }
.quality-tab:not(.is-active) .quality-tab-num { color: var(--text-muted); }
.quality-tab.is-active { transform: none; }
.quality-tab.is-active .quality-tab-num { color: var(--accent); }
.quality-tab:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(var(--sp-md) + 0.6rem);
  top: 100%;
  width: 1.5px;
  height: 0.6rem;
  background: var(--border-subtle);
}
.quality-items li {
  opacity: 0;
  transform: translateY(6px);
  animation: quality-item-in 420ms var(--ease) forwards;
  animation-delay: calc(var(--n, 0) * 55ms);
}
@keyframes quality-item-in { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .quality-items li { animation: none; opacity: 1; transform: none; }
}

/* ---------- Footer: contact belongs in the grid, not in a dead band ---------- */
@media (min-width: 860px) {
  .footer-top { grid-template-columns: 1.15fr 0.75fr 0.85fr 1fr; }
  .site-footer .footer-contact { margin-top: var(--sp-xl) !important; }
  /* Same column template as the row above, so contact lines up with it. */
  .footer-contact ul {
    display: grid;
    grid-template-columns: 1.15fr 0.75fr 0.85fr 1fr;
    gap: var(--sp-sm) var(--sp-xl);
  }
}

/* ---------- Profile entry reads as a corporate asset ---------- */
.profile-row-id { display: grid; gap: 0.15rem; }
.profile-row-meta { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
html[lang="ar"] .profile-row-meta { letter-spacing: 0; text-transform: none; font-size: 0.78rem; }
.section-dark .profile-row-meta, .profile-rows-compact .profile-row-meta { color: var(--text-inverse-muted); }

/* ---------- Hero: one deliberate entrance, then stillness ----------
   The hero was the only major moment with no motion of its own. A single
   staggered settle reads as intent; anything more would be decoration. */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(var(--hero-in-y, 14px)); }
  to { opacity: 1; transform: none; }
}
.hero-eyebrow,
.hero-title .t-line,
.hero-lead,
.hero-actions,
.hero-profile-links,
.hero-figure {
  opacity: 0;
  animation: hero-in 700ms var(--ease) forwards;
}
.hero-eyebrow { animation-delay: 60ms; }
.hero-title .t-line:nth-child(1) { animation-delay: 140ms; }
.hero-title .t-line:nth-child(2) { animation-delay: 220ms; }
.hero-title .t-line:nth-child(3) { animation-delay: 300ms; }
.hero-lead { animation-delay: 400ms; }
.hero-actions { animation-delay: 480ms; }
.hero-profile-links { animation-delay: 560ms; }
.hero-figure:nth-child(1) { animation-delay: 620ms; }
.hero-figure:nth-child(2) { animation-delay: 700ms; }
.hero-figure:nth-child(3) { animation-delay: 780ms; }
@media (min-width: 900px) {
  /* Laptops and up carry a longer, slightly deeper settle. */
  .hero-eyebrow, .hero-title .t-line, .hero-lead,
  .hero-actions, .hero-profile-links, .hero-figure {
    --hero-in-y: 26px;
    animation-duration: 860ms;
  }
}
.hero-visual { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title .t-line, .hero-lead,
  .hero-actions, .hero-profile-links, .hero-figure {
    animation: none;
    opacity: 1;
  }
}

/* ---------- Hero typography at laptop and phone widths ---------- */
.hero-lead { max-width: 46ch; }
@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.05rem, 1.5rem + 4.2vw, 2.6rem); }
  .hero-lead { font-size: 1.02rem; }
}
@media (min-width: 900px) and (max-height: 820px) {
  /* Normal laptops: keep the proof figures within reach of the fold. */
  .hero { padding-block: clamp(2rem, 1rem + 2.5vw, 3rem); }
  .hero-figures { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
  .hero-lead { margin-top: var(--sp-sm); }
  .hero-actions { margin-top: var(--sp-md); }
}

/* Multi-line quotes: one sentence per line beats a balanced but mid-sentence wrap. */
.pull-quote p .t-line { display: block; }

/* =====================================================================
   REVIEW PASS — accessibility, Arabic typography, reveal robustness
   ===================================================================== */

/* Focus was drawn in teal-on-teal (1.5:1) everywhere the surface is dark. */
.hero, .page-hero, .section-dark, .cta-banner, .img-band,
.site-footer, .contact-info-card, .journey, .routes {
  --focus-ring: var(--c-sand);
}

/* Latin tracking breaks joined Arabic letterforms. */
html[lang="ar"] .cta-tag,
html[lang="ar"] .hero-figure-label,
html[lang="ar"] .hero-profile-links a,
html[lang="ar"] .lang-switch { letter-spacing: 0; }

/* Comfortable touch targets without inflating the desktop button scale. */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; }
  .lang-switch { width: 44px; height: 44px; }
  .hero-profile-links a { padding-block: 0.7rem; }
}

/* The reveal system hides content until JS runs; without JS it must not. */
.no-js [data-reveal],
.no-js .checklist-item,
.no-js .sector-card,
.no-js .img-split-media { opacity: 1 !important; transform: none !important; }

/* The container fades in; its items stagger. Doing both compounds the move. */
.checklist[data-reveal] { opacity: 1; transform: none; }

/* The journey rail scrolls with its stages, so the fill ends under the dot. */
.journey-track { position: relative; }
.journey-rail { position: absolute; top: -1px; inset-inline-start: 0; width: 100%; }
.journey-rail-fill { width: 0; transform: none; transition: width 520ms var(--ease); }
.journey-track-wrap {
  -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, #000 88%, transparent 100%);
}
[dir="rtl"] .journey-track-wrap {
  -webkit-mask-image: linear-gradient(to left, #000 88%, transparent 100%);
  mask-image: linear-gradient(to left, #000 88%, transparent 100%);
}

[dir="rtl"] .main-nav a::after { transform-origin: right center; }

/* Field labels in the contact card (were h6 after an h3 — a two-level skip). */
.contact-info-label {
  display: block;
  color: var(--c-cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[lang="ar"] .contact-info-label { letter-spacing: 0; text-transform: none; }

/* A 3-card grid at the 2-up breakpoint leaves a half-width orphan; let the
   last card take the full row instead, as the checklist already does. */
@media (min-width: 640px) and (max-width: 899px) {
  .card-grid.cols-3 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* =====================================================================
   SUPPLY JOURNEY AS A MAP
   The horizontal scroller showed 3 of 10 stages on a phone and 8 of 10 on a
   laptop, so the shape of the journey was never visible. Now the whole path
   is always on screen: a vertical map on phones and tablets, and an
   edge-to-edge horizontal map on desktop.
   ===================================================================== */

/* ---- Desktop: every stage shares the width, so nothing scrolls ---- */
@media (min-width: 1200px) {
  .journey-track { overflow-x: visible; }
  /* Tighter gutters so ten equal stages fit a 1366 laptop without scrolling. */
  .journey-stage { flex: 1 1 0; min-width: 0; padding-inline-end: var(--sp-xs); }
  .journey-stage:last-child { padding-inline-end: 0; }
  .journey-track-wrap { -webkit-mask-image: none; mask-image: none; }
  .journey-stage-title { max-width: none; }
}

/* ---- Phone / tablet: the same map, turned on its side ---- */
@media (max-width: 1199px) {
  .journey-track-wrap {
    padding-top: 0;
    padding-inline-start: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .journey-track {
    display: grid;
    grid-auto-flow: row;
    gap: 0;
    overflow-x: visible;
    padding-inline-start: var(--sp-lg);
  }
  [dir="rtl"] .journey-track { padding-inline-start: var(--sp-lg); }

  /* one continuous rail down the side, with the dots sitting on it */
  .journey-rail {
    top: 0.75rem;
    bottom: 0.75rem;
    height: auto;
    width: 2px;
    inset-inline-start: 4px;
  }
  .journey-rail-fill {
    width: 100% !important;
    height: 0;
    transition: height 520ms var(--ease);
  }

  .journey-stage {
    flex: none;
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: var(--sp-sm);
    row-gap: 0;
    padding: 0.55rem 0;
    text-align: start;
  }
  [dir="rtl"] .journey-stage { padding: 0.55rem 0; }
  .journey-stage-dot {
    position: absolute;
    top: 1.05rem;
    inset-inline-start: calc(var(--sp-lg) * -1 + 1px);
  }
  .journey-stage-num { grid-column: 1; }
  .journey-stage-title { grid-column: 2; max-width: none; }

  /* the detail for the selected stage reads directly under the map */
  .journey-panels {
    margin-top: var(--sp-lg);
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--border-subtle-inverse);
  }
}
